Update Dutch translation
[platform/upstream/glibc.git] / ChangeLog
1 2014-08-26  Allan McRae  <allan@archlinux.org>
2
3         * po/nl.po: Update Dutch translation from translation project.
4
5         * po/es.po: Update Spanish translation from translation project.
6
7 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8
9         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10
11         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13         (CPPFLAGS-iconvconfig): Likewise.
14         * timezone/Makefile (CPPFLAGS-zic): Likewise.
15
16         * include/libc-symbols.h: Remove unnecessary check for
17         NOT_IN_libc.
18         * nptl/pthreadP.h: Likewise.
19         * sysdeps/aarch64/setjmp.S: Likewise.
20         * sysdeps/alpha/setjmp.S: Likewise.
21         * sysdeps/arm/sysdep.h: Likewise.
22         * sysdeps/i386/setjmp.S: Likewise.
23         * sysdeps/m68k/setjmp.c: Likewise.
24         * sysdeps/posix/getcwd.c: Likewise.
25         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29         * sysdeps/sh/sh3/setjmp.S: Likewise.
30         * sysdeps/sh/sh4/setjmp.S: Likewise.
31         * sysdeps/unix/alpha/sysdep.h: Likewise.
32         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
44         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45         * sysdeps/x86_64/setjmp.S: Likewise.
46
47 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
48
49         [BZ #17263]
50         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
51         <stdint.h>.
52         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
53         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
54
55 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56
57         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
58
59         [BZ #17262]
60         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
61         and __x86_64__ when disabling x87 inline functions.
62
63 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
64
65         [BZ #17259]
66         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
67         asm statement with __cpuid_count.
68
69 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
70
71         * configure.ac: Change __ehdr_start code to dereference the struct.
72         Run readelf on the output to look for relocations.
73         * configure: Regenerated.
74
75 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
76
77         [BZ #17261]
78         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
79         value to 0.
80         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
81
82 2014-08-12  Roland McGrath  <roland@hack.frob.com>
83
84         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
85
86 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
87
88         [BZ #16892]
89         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
90         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
91
92 2014-08-12  Sean Anderson  <seanga2@gmail.com>
93
94         * malloc/malloc.c: Fix typo in comment.
95
96 2014-08-09  Allan McRae  <allan@archlinux.org>
97
98         * Regenerate libc.po.
99
100 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
101
102         * intl/tst-gettext2.sh: Check every lang file for creation.
103
104 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
105
106         * sysdeps/aarch64/fpu/math_private.h
107         (libc_feholdsetround_noex_aarch64_ctx): New function.
108
109 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
110
111         * sysdeps/arm/armv6/strcpy.S (strcpy):
112         Fix performance issue in misaligned cases.
113
114 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
115
116         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
117         Move definition from termios.h.
118         (struct termio): Likewise.
119         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
120         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
121         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
122         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
123         Likewise.
124         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
125         Move definition to ioctl-types.h
126         (struct termio): Likewise.
127         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
128         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
129         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
130         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
131         Likewise.
132
133 2014-08-05  Richard Henderson  <rth@redhat.com>
134
135         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
136         exceptions.
137         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
138         Add fraiseexcpt.
139         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
140         Use __feraiseexcept.
141         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
142         Protect libm symbols with IS_IN_libm.
143
144         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
145
146 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
147
148         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
149
150 2014-08-04  Will Newton  <will.newton@linaro.org>
151
152         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
153         file.
154
155 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
156
157         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
158         variants for each function.
159
160 2014-08-04  Roland McGrath  <roland@hack.frob.com>
161
162         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
163         appended ...
164         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
165         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
166         appended ...
167         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
168         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
169         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
170         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
171         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
172         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
173         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
174         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
175         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
176         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
177         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
178         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
179         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
180         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
181         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
182         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
183         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
184         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
185         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
186         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
187         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
188         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
189         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
190         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
191         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
192         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
193         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
194         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
195         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
196         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
197         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
198         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
199         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
200         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
201         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
202         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
203         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
204         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
205         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
206         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
207         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
208         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
209         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
210         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
211         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
212         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
213         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
214         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
215         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
216         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
217         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
218         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
219         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
220         Update #include.
221         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
222         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
223
224 2014-08-04  Roland McGrath  <roland@hack.frob.com>
225
226         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
227         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
228         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
229         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
230         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
231         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
232
233 2014-08-04  Roland McGrath  <roland@hack.frob.com>
234
235         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
236         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
237         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
238         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
239
240 2014-08-04  Roland McGrath  <roland@hack.frob.com>
241
242         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
243         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
244         (__libc_vfork): Define function under this name.
245         (__vfork): Define as an alias.
246         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
247         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
248
249 2014-08-04  Roland McGrath  <roland@hack.frob.com>
250
251         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
252         that was previously under [RESET_PID].
253         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
254
255 2014-08-04  Andreas Schwab  <schwab@suse.de>
256
257         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
258
259 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
260
261         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
262         (main): Likewise.
263
264 2014-08-01  Roland McGrath  <roland@hack.frob.com>
265
266         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
267
268 2014-08-01  Richard Henderon  <rth@redhat.com>
269
270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
271         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
272         typo in exact zero test.
273         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
274         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
276
277 2014-08-01  Roland McGrath  <roland@hack.frob.com>
278
279         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
280         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
281         * sysdeps/arm/sysdep.h: ... here.
282         [!__ASSEMBLER__]: Include <stdint.h>.
283
284 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
285
286         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
287         (HAVE_WCTYPE_H): Likewise.
288         (HAVE_ISWCTYPE): Likewise.
289         (ENABLE_NLS): Likewise.
290         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
291         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
292
293         * posix/regex_internal.c: Check if DEBUG is defined and is
294         set.
295
296         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
297         (HAVE_MBSRTOWCS): Likewise.
298         * posix/fnmatch.c: Include string.h unconditionally.
299
300 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
301
302         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
303         reversal.
304
305 2014-07-31  Roland McGrath  <roland@hack.frob.com>
306
307         * sysdeps/generic/safe-fatal.h: New file.
308         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
309         * nptl/forward.c: Include it.
310         (__pthread_unwind): Use __safe_fatal as default action, rather
311         than a bogus use of INTERNAL_SYSCALL that could never work.
312
313         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
314         * configure.ac (libc_cv_builtin_trap): New test.
315         * configure: Regenerated.
316         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
317         (ABORT_INSTRUCTION): Define using __builtin_trap.
318
319         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
320         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
321         * sysdeps/nptl/nptl-signals.h: New file.
322         * nptl/pthreadP.h: Include <nptl-signals.h>.
323
324 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
325
326         * sysdeps/s390/s390-64/utf16-utf32-z9.c
327         (ONE_DIRECTION): Define.
328         * sysdeps/s390/s390-64/utf8-utf16-z9.c
329         (ONE_DIRECTION): Define.
330         * sysdeps/s390/s390-64/utf8-utf32-z9.c
331         (ONE_DIRECTION): Define.
332
333 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
334
335         * sysdeps/s390/Makefile: Delete file.
336         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
337         * sysdeps/s390/__longjmp.c: Delete file.
338         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
339         Remove fields __flags and __reserved.
340         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
341         and add versioning.
342         * sysdeps/s390/rtld-__longjmp.c: Delete file.
343         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
344         * sysdeps/s390/rtld-setjmp.S: Likewise.
345         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
346         * sysdeps/s390/s390-32/__longjmp.c: ... here.
347         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
348         * sysdeps/s390/s390-32/setjmp.S: ... here.
349         Add versioning.
350         (__sigsetjmp): Remove setting __flags field.
351         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
352         * sysdeps/s390/s390-64/__longjmp.c: ... here.
353         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
354         * sysdeps/s390/s390-64/setjmp.S: ... here.
355         Add versioning.
356         (__sigsetjmp): Remove setting __flags field.
357         * sysdeps/s390/setjmp.S: Delete file.
358         * sysdeps/s390/sigjmp.c: Likewise.
359         * sysdeps/s390/v1-longjmp.c: Likewise.
360         * sysdeps/s390/v1-setjmp.h: Likewise.
361         * sysdeps/s390/v1-sigjmp.c: Likewise.
362         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
363         Remove v1-longjmp_chk.
364         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
365         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
366         Include debug/longjmp_chk.c and add versioning.
367         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
368         Include nptl/pt-longjmp.c and add versioning.
369         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
370         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
371         Include __longjmp.c.
372         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
373         Move to ...
374         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
375         (__getcontext): Remove setting __flags field.
376         Add versioning.
377         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
378         Don't restore upper high grps.
379         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
380         Likewise.
381         (__swapcontext): Remove setting uc_flags field.
382         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
383         Delete file.
384         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
385         Include __longjmp.c.
386         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
387         Move to ...
388         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
389         (__getcontext): Remove setting __flags field.
390         Add versioning.
391         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
392         (__swapcontext): Remove setting uc_flags field.
393         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
394         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
395         Remove fields uc_high_gprs and __reserved.
396         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
397         New file with reverted content.
398         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
399         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
400         Regenerated.
401         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
402         Regenerated.
403
404 2014-07-31  Andreas Schwab  <schwab@suse.de>
405
406         * config.h.in (HAVE_IFUNC): Define to 0.
407         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
408         definedness.
409
410 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
411
412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
413         memmove-avx-unaligned, memcpy-avx-unaligned and
414         mempcpy-avx-unaligned.
415         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
416         Add tests for AVX memcpy functions.
417         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
418         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
419         memcpy_chk.
420         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
421         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
422         memmove_chk.
423         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
424         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
425         mempcpy_chk.
426         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
427         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
428         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
429
430 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
431
432         [BZ #17213]
433         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
434         powerpc64le.
435
436 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
437
438         [BZ #16839]
439         * manual/llio.texi: Add section about open file description locks.
440         * manual/examples/ofdlocks.c: Example of open file description
441         lock usage.
442         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
443         F_OFD_SETLK, and F_OFD_SETLKW.
444
445 2014-07-23  Allan McRae  <allan@archlinux.org>
446
447         * po/es.po: Update Spanish translation from translation project.
448
449 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
450
451         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
452
453 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
454
455         [BZ #17078]
456         * sysdeps/arm/dl-machine.h (elf_machine_rela)
457         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
458         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
459
460 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
461
462         [BZ #17088]
463         * math/fesetenv.c (__fesetenv)
464         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
465         * math/feupdateenv.c (__feupdateenv)
466         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
467
468         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
469         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
470         (__ASSUME_SOCKETCALL): Do not define.
471
472         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
473         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
474         (__ASSUME_SOCKETCALL): Do not define.
475         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
476         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
477         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
478         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
479         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
480         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
481         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
482         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
483
484         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
485         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
486         (__ASSUME_SOCKETCALL): Do not define.
487         (__ASSUME_IPC64): Define unconditionally.
488         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
489         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
490         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
491         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
492         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
493         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
494         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
495         Likewise.
496
497         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
498         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
499         (__ASSUME_SOCKETCALL): Do not define.
500         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
501         (__ASSUME_FUTEX_LOCK_PI): Likewise.
502         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
503         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
504         (__ASSUME_REQUEUE_PI): Define unconditionally.
505         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
506         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
507         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
508         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
509         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
510         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
511
512         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
513         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
514         (__ASSUME_SOCKETCALL): Do not define.
515         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
516         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
517         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
518         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
519         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
520         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
521
522         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
523         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
524         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
525         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
526         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
527         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
528         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
529         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
530         (__ASSUME_GETCPU_SYSCALL): Likewise.
531
532         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
533         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
534         cases for individual architectures.
535         * sysdeps/gnu/configure: Regenerated.
536         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
537         LIBC_SLIBDIR_RTLDDIR.
538         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
539         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
540         LIBC_SLIBDIR_RTLDDIR.
541         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
543         LIBC_SLIBDIR_RTLDDIR.
544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
545         Regenerated.
546         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
547         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
548         file.
549         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
550         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
551         file.
552         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
553         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
554         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
555         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
556
557         * sysdeps/aarch64/shlib-versions: Move to ...
558         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
559         * sysdeps/alpha/shlib-versions: Move to ...
560         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
561         * sysdeps/arm/shlib-versions: Move to ...
562         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
563         * sysdeps/hppa/shlib-versions: Move all contents except for
564         libgcc_s entry to ...
565         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
566         entry from ...
567         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
568         * sysdeps/ia64/shlib-versions: Move to ...
569         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
570         entry from ...
571         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
572         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
573         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
574         * sysdeps/microblaze/shlib-versions: Move to ...
575         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
576         * sysdeps/mips/shlib-versions: Move to ...
577         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
578         entry from ...
579         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
580         * sysdeps/tile/shlib-versions: Move to ...
581         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
582         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
583         from ...
584         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
585         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
586         entry from ...
587         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
588
589 2014-07-17  Will Newton  <will.newton@linaro.org>
590
591         * sysdeps/arm/bits/atomic.h
592         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
593         (__arch_compare_and_exchange_bool_16_int): Likewise.
594         (__arch_compare_and_exchange_bool_64_int): Likewise.
595
596         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
597         into an #else block.
598
599 2014-07-16  Roland McGrath  <roland@hack.frob.com>
600
601         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
602         just Linux configurations.  Test empirically that the compiler sets
603         __ARM_EABI__, rather than using the tuple to decide.
604         * sysdeps/arm/preconfigure: Regenerated.
605         * sysdeps/unix/sysv/linux/arm/configure: File removed.
606         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
607         contents appended ...
608         * sysdeps/arm/configure.ac: ... here.
609         * sysdeps/arm/configure: Regenerated.
610
611 2014-07-15  Roland McGrath  <roland@hack.frob.com>
612
613         * nptl/pthread_kill.c: New file.
614         * nptl/pthread_sigmask.c: New file.
615         * nptl/pthread_sigqueue.c: New file.
616
617         * sysdeps/nptl/lowlevellock.h: New file.
618         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
619         * sysdeps/nptl/lowlevellock-futex.h: New file.
620
621         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
622         Remove dead declarations.
623
624 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
625
626         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
627         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
628         config-cflags-avx2.
629         * sysdeps/x86_64/configure.ac: Likewise.
630         * sysdeps/i386/configure: Regenerated.
631         * sysdeps/x86_64/configure: Likewise.
632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
633         memset-avx2 only if config-cflags-avx2 is yes.
634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
635         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
636         defined.
637         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
638         only if HAVE_AVX2_SUPPORT is defined.
639         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
640
641 2014-07-14  Alan Modra  <amodra@gmail.com>
642
643         [BZ #17153]
644         * elf/elf.h (DT_PPC64_NUM): Correct value.
645         * NEWS: Add to fixed bug list.
646
647 2014-07-13  Jim Meyering  <meyering@fb.com>
648
649         [BZ 17150]
650         regex: don't deref NULL upon heap allocation failure
651         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
652         failure in one more place.
653         To trigger the segfault, configure grep -with-included-regex,
654         build it, and run these commands:
655         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
656
657 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
658
659         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
660
661 2014-07-11  Richard Henderson  <rth@redhat.com>
662
663         * sysdeps/aarch64/libm-test-ulps: Update.
664
665 2014-07-10  Florian Weimer  <fweimer@redhat.com>
666
667         [BZ #17135]
668         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
669         * nptl/allocatestack.c (__nptl_setxid_error): New function.
670         (__nptl_setxid): Initialize error member.  Call
671         __nptl_setxid_error.
672         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
673         * nptl/descr.h (struct xid_command): Add error member.
674         * nptl/tst-setuid3.c: New file.
675         * nptl/Makefile (tests): Add it.
676
677 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
678
679         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
680         New define.
681         (__lll_trylock): Use __lll_base_trylock.
682         (__lll_cond_trylock): Likewise.
683
684 2014-07-10  Roland McGrath  <roland@hack.frob.com>
685
686         * nptl/pthread_create.c (start_thread): Use atomic_or and
687         lll_futex_wake directly rather than lll_robust_dead.
688         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
689         (lll_robust_dead): Macro removed.
690         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
691         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
692         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
693         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
694         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
695         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
696         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
697         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
698         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
699         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
700         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
701         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
702         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
703         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
704         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
705
706         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
707         Use atomic_compare_and_exchange_val_acq directly rather than
708         lll_robust_trylock.
709         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
710         (__lll_robust_trylock, lll_robust_trylock): Removed.
711         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
712         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
713         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
714         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
715         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
716         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
717         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
718         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
719         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
720         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
721         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
722         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
723         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
724         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
725
726 2014-07-02  Florian Weimer  <fweimer@redhat.com>
727
728         * manual/locale.texi (Locale Names): New section documenting
729         locale name syntax.  Adjust menu and node chaining accordingly.
730         (Choosing Locale): Reference Locale Names, Locale Categories.
731         Mention setting LC_ALL=C.  Reflect that name syntax is now
732         documented.
733         (Locale Categories): New section title.  Reference Locale Names.
734         LC_ALL is an environment variable, but not a category.
735         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
736         description, now in Locale Name.  Reference that section.  Locale
737         name syntax is now documented.
738
739 2014-07-02  Florian Weimer  <fweimer@redhat.com>
740
741         [BZ #17137]
742         * locale/findlocale.c (name_present, valid_locale_name): New
743         functions.
744         (_nl_find_locale): Use the loc_name variable to store name
745         candidates.  Call name_present and valid_locale_name to check and
746         validate locale names.  Return an error if the locale is invalid.
747
748 2014-07-02  Florian Weimer  <fweimer@redhat.com>
749
750         * locale/setlocale.c (setlocale): Use strdup for allocating
751         composite name copy.
752
753 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
754
755         Sync up with gnulib.
756         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
757         [!_LIBC && ENABLE_NLS]: Include gettext.h.
758         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
759         and _GL_ARG_NONNULL.
760         [USE_UNLOCKED_IO]: Include unlocked-io.h.
761         [!_LIBC]: Include code for Windows and Cygwin.
762         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
763         Include prototype for int strerror_r.
764         [!_LIBC] (is_open): New function.
765         (flush_stdout): New function.
766         (print_errno_message): Use it.
767         (error): Likewise.
768         (error_at_line): Likewise.
769         (error_tail) Add function attribute macros.  Use
770         __builtin_expect.
771
772         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
773
774         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
775
776         * io/ftw.c: Include sys/param.h unconditionally.
777
778         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
779
780         [BZ #17125]
781         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
782         libc_freeres_ptr.
783         (freecache): New function to free CACHE on exit.
784
785         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
786         initialization.
787
788 2014-07-09  David S. Miller  <davem@davemloft.net>
789
790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
791
792         * sysdeps/sparc/nptl/internaltypes.h: Delete.
793         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
794         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
795         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
796         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
797         * sysdeps/sparc/nptl/sem_init.c: Likewise.
798         * sysdeps/sparc/nptl/sem_post.c: Likewise.
799         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
800         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
801         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
802         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
803         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
804         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
805
806 2014-07-09  Andreas Schwab  <schwab@suse.de>
807
808         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
809         output.
810         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
811         (do_test): Likewise.
812
813         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
814
815 2014-07-09  Will Newton  <will.newton@linaro.org>
816
817         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
818         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
819         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
820         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
821         * sysdeps/hppa/start.S (_start): Likewise.
822
823 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
824
825         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
826
827         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
828         defined.
829
830 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
831
832         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
833         after checking that it is non-NULL.
834
835         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
836
837 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
838
839         * sysdeps/powerpc/memmove.c: Remove file.
840         * sysdeps/powerpc/powerpc32/power4/memcopy.h
841         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
842         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
843         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
844         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
845         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
846         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
847         string memmove instead of removed powerpc one.
848
849         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
850         [weak_alias]: Fix compiler warning due trailing data.
851         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
852         [weak_alias]: Likewise.
853         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
854         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
855
856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
857         (__libc_ifunc_impl_list): Add memmove functions.
858
859 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
860
861         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
862         Remove code.
863         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
864         Likewise
865         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
866         Likewise
867         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
868         Likewise
869         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
870         Likewise
871         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
872         Likewise
873         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
874         Likewise
875         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
876         Likewise
877         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
878         Likewise
879         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
880         Likewise
881         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
882         Likewise
883         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
884         Likewise
885         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
886         Likewise
887         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
888         Likewise
889         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
890         Likewise
891         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
892         Likewise
893         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
894         Likewise
895
896 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
897
898         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
899         to avoid alignment traps in non-cacheable memory.
900         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
901
902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
903         multiarch objects.
904         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
905         file: multiarch power7 memmove.
906         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
907         multiarch default memmove.
908         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
909         multiarch memove for powerpc32/power4.
910
911         * string/bcopy.c: Use full path to include memmove.c.
912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
913         multiarch objects.
914         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
915         bcopy for powerpc64.
916         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
917         bcopy for powerpc64.
918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
919         and memmove implementations.
920         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
921         optimized multiarch memmove for POWER7/powerpc64.
922         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
923         default multiarch memmove for powerpc64.
924         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
925         multiarch for powerpc64.
926         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
927         for POWER7/powerpc64.
928         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
929         memmove for POWER7/powerpc64.
930
931         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
932         glibc default one.
933
934         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
935         __ELF_NATIVE_CLASS equal to 64.
936
937 2014-07-07  Roland McGrath  <roland@hack.frob.com>
938
939         * sysdeps/nptl/lowlevellock.h: File removed.
940
941         * NEWS: NPTL is no longer an add-on!
942         * nptl/internaltypes.h: Moved ...
943         * sysdeps/nptl/internaltypes.h: ... here.
944         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
945         * sysdeps/nptl/fork.c: Likewise.
946         * sysdeps/nptl/gai_misc.h: Likewise.
947         * sysdeps/nptl/librt-cancellation.c: Likewise.
948         * sysdeps/nptl/jmp-unwind.c: Likewise.
949         * sysdeps/nptl/setxid.h: Likewise.
950         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
951         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
952         * sysdeps/unix/sysv/linux/arm/Implies: New file.
953         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
954         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
955         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
956         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
957         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
958         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
959         * sysdeps/unix/sysv/linux/mips/Implies: New file.
960         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
961         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
962         * sysdeps/unix/sysv/linux/sh/Implies: New file.
963         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
964         * sysdeps/unix/sysv/linux/tile/Implies: New file.
965         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
966         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
967         * nptl/Makeconfig: Moved ...
968         * sysdeps/nptl/Makeconfig: ... here.
969         * nptl/configure: File removed.
970         * nptl/ANNOUNCE: File removed.
971         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
972         * sysdeps/unix/sysv/linux/configure: Regenerated.
973
974         * nptl/Makefile (routines): Add libc_pthread_init,
975         libc_multiple_threads, register-atfork and unregister-atfork.
976         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
977         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
978         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
979         pthread-pi-defines.sym, structsem.sym.
980         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
981         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
982         [$(subdir) = nptl] (tests): Add tst-setgetname.
983         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
984         * sysdeps/unix/sysv/linux/sigaction.c: Just include
985         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
986         [!LIBC_SIGACTION]: Remove aliases.
987         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
988         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
989         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
990         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
991         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
992         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
993         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
994         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
995         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
996         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
997         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
998         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
999         __libc_allocate_rtsig_private.
1000         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1001         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1002         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1003         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1004         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1005         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1006         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1007         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1008         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1009         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1010         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1011         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1012         * nptl/internaltypes.h: ... here.
1013         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1014         * sysdeps/nptl/jmp-unwind.c: ... here.
1015         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1016         * nptl/libc-lowlevellock.c: ... here.
1017         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1018         * nptl/libc_multiple_threads.c: ... here.
1019         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1020         * nptl/libc_pthread_init.c: ... here.
1021         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1022         * nptl/lowlevelbarrier.sym: ... here.
1023         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1024         * nptl/lowlevelcond.sym: ... here.
1025         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1026         * nptl/lowlevellock.c: ... here.
1027         * nptl/lowlevellock.h: Moved ...
1028         * sysdeps/nptl/lowlevellock.h: ... here.
1029         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1030         * nptl/lowlevelrobustlock.c: ... here.
1031         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1032         * nptl/lowlevelrobustlock.sym: ... here.
1033         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1034         * nptl/lowlevelrwlock.sym: ... here.
1035         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1036         * nptl/pt-fork.c: ... here.
1037         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1038         * nptl/pthread-pi-defines.sym: ... here.
1039         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1040         * nptl/pthread_attr_getaffinity.c: ... here.
1041         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1042         * nptl/pthread_attr_setaffinity.c: ... here.
1043         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1044         * nptl/pthread_mutex_cond_lock.c: ... here.
1045         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1046         Update #include.
1047         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1048         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1049         * nptl/pthread_once.c: ... here, replacing old file.
1050         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1051         * nptl/pthread_yield.c: ... here.
1052         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1053         * nptl/register-atfork.c: ... here.
1054         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1055         * nptl/sem_post.c: ... here.
1056         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1057         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1058         * nptl/sem_timedwait.c: ... here.
1059         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1060         * nptl/sem_trywait.c: ... here.
1061         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1062         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1063         * nptl/sem_wait.c: ... here.
1064         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1065         * nptl/structsem.sym: ... here.
1066         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1067         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1068         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1069         * nptl/unregister-atfork.c: ... here.
1070         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1071         * nptl/unwindbuf.sym: ... here.
1072         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1073         * sysdeps/nptl/fork.c: ... here.
1074         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1075         * sysdeps/nptl/fork.h: ... here.
1076         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1077         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1078         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1079         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1080         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1081         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1082         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1083         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1084         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1085         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1086         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1087         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1088         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1089         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1090         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1091         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1092         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1093         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1094         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1095         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1096         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1097         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1098         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1099         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1100         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1101         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1102         * sysdeps/unix/sysv/linux/raise.c: ... here.
1103         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1104         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1105         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1106         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1107         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1108         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1109         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1110         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1111         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1112         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1113         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1114         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1115         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1116         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1117         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1118
1119 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1120
1121         * sysdeps/generic/memcopy.h: Add comment for
1122         MEMCPY_OK_FOR_FWD_MEMMOVE.
1123
1124 2014-07-04  Will Newton  <will.newton@linaro.org>
1125
1126         * string/memchr.c: Merge from gnulib.
1127         [_LIBC]: Remove conditionals.
1128         (__ptr_t): Remove define.
1129         (LONG_MAX_32_BITS): Likewise.
1130         (LONG_MAX): Likewise.
1131         (MEMCHR): Use ANSI prototype and optimize algorithm.
1132
1133         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1134
1135 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1136
1137         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1138         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1139
1140         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1141         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1142         in a bare environment with no <stdlib.h> installed.
1143         * sysdeps/nptl/configure: Regenerated.
1144
1145         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1146
1147         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1148         AC_EGREP_CPP for kernel header checks, so they only succeed if
1149         including <linux/version.h> actually works right.
1150         * sysdeps/unix/sysv/linux/configure: Regenerated.
1151
1152         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1153         value so it's not diagnosed as unused.
1154
1155         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1156         thing) with "ifeq ($(subdir),rt)".
1157
1158 2014-07-03  Richard Henderson  <rth@redhat.com>
1159
1160         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1161         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1162         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1163
1164         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1165         (math_force_eval): New.
1166
1167         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1168         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1169
1170         * sysdeps/alpha/fpu/s_round.c: Remove file.
1171         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1172
1173         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1174         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1175         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1176         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1177         (_dl_start, print_statistics): Likewise.
1178         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1179         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1180
1181         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1182         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1183         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1184         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1185         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1186         (HP_SMALL_TIMING_AVAIL): Define.
1187         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1188         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1189         (HP_SMALL_TIMING_AVAIL): Define.
1190         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1191         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1192
1193         * sysdeps/aarch64/hp-timing.h: New file.
1194
1195         * sysdeps/generic/hp-timing.h: Remove dead comment.
1196         * sysdeps/generic/hp-timing-common.h: New file.
1197         * sysdeps/alpha/hp-timing.h: Include it.
1198         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1199         * sysdeps/i386/i686/hp-timing.h: Likewise.
1200         * sysdeps/ia64/hp-timing.h: Likewise.
1201         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1202         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1203         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1204         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1205         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1206         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1207         (hp_timing_t): New.
1208
1209         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1210         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1211         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1212         * elf/rtld.c (_dl_start_final): Likewise.
1213         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1214         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1215         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1216         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1217         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1218         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1219         (HP_TIMING_DIFF_INIT): Remove.
1220         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1221         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1222         (HP_TIMING_DIFF_INIT): Remove.
1223         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1224         * sysdeps/i386/i686/hp-timing.c: Remove file.
1225         * sysdeps/x86_64/hp-timing.c: Remove file.
1226         * sysdeps/ia64/hp-timing.c: Remove file.
1227         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1228         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1229         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1230         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1231
1232         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1233         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1234         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1235         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1236         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1237         (HP_TIMING_ACCUM): Remove.
1238         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1239         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1240         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1241
1242         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1243         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1244         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1245         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1246         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1247         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1248         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1249         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1250
1251         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1252
1253 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1254
1255         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1256
1257 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1258
1259         Sync up with gettext.
1260         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1261         [_MSC_VER]: Include malloc.h
1262         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1263         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1264         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1265         TEMP_FAILURE_RETRY.  Cast return of alloca.
1266         [!_LIBC] Call gl_rwlock_init.
1267         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1268
1269 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1270
1271         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1272         before checking its value.
1273
1274 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1275
1276         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1277
1278         * debug/memcpy_chk.c: Don't include pagecopy.h.
1279         * debug/mempcpy_chk.c: Likewise.
1280         * string/memcpy.c: Likewise.
1281         * string/memmove.c: Likewise.
1282         * sysdeps/powerpc/memmove.c: Likewise.
1283         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1284         definition of PAGE_COPY_FWD_MAYBE here...
1285         * sysdeps/generic/pagecopy.h: ... from here.
1286         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1287
1288 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1289             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1290
1291         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1293         optimizations.
1294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1295         (__libc_ifunc_impl_list): Likewise.
1296         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1297         multiarch strcat for PPC64.
1298         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1299         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1300
1301 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1302
1303         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1304
1305 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1306
1307         * intl/loadmsgcat.c: Remove declaration of
1308         get_sysdep_segment_value.
1309         (get_sysdep_segment_value): Use ISO C style.
1310         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1311         semicolon.  Fix typo and formatting in comment.
1312         (_nl_unload_domain): Use ISO C style.
1313
1314         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1315
1316 2014-07-02  Will Newton  <will.newton@linaro.org>
1317
1318         * malloc/obstack.c: Merge from gnulib master.
1319         [HAVE_CONFIG_H]: Remove conditional code.
1320         [!_LIBC]: Include config.h.
1321         [!ELIDE_CODE]: Don't include inttypes.h, include
1322         stdint.h unconditionally.
1323         (print_and_abort): Mark as _Noreturn.
1324         (_obstack_allocated_p): Mark as __attribute_pure__.
1325         (obstack_free): Rename to __obstack_free.
1326         [!__attribute__]: Remove conditional code.
1327         * malloc/obstack.h: Merge from gnulib master.
1328         [__cplusplus]: Move conditional down.
1329         [!__attribute_pure__]: Define __attribute_pure__ here
1330         if it is not already defined.
1331         (_obstack_memory_used): Mark as __attribute_pure__.
1332         [!__obstack_free]: Define as obstack_free.
1333         [__GNUC__]: Remove check for ancient NeXT gcc.
1334
1335 2014-07-02  Will Newton  <will.newton@linaro.org>
1336             Paul Eggert  <eggert@cs.ucla.edu>
1337
1338         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1339
1340 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1341
1342         * resolv/gethnamaddr.c: Add comment warning that the file is
1343         not maintained.
1344
1345 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1346
1347         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1348         entries.
1349
1350         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1351         entry for aio_cancel and aio_cancel64.
1352         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1353         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1354         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1355         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1356         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1357         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1358         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1359         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1360         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1361         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1362         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1363         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1364         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1365
1366 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1367
1368         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1369         * nptl/pthread_mutex_lock.c: Likewise.
1370         * nptl/pthread_mutex_timedlock.c: Likewise.
1371         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1372
1373 2014-07-01  Richard henderson  <rth@redhat.com>
1374
1375         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1376         (__isnan, __isnanl): Remove.
1377         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1378
1379         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1380
1381 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1382
1383         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1384
1385 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1386
1387         * resolv/nss_dns/dns-host.c (getanswer_r)
1388         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1389
1390 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1391
1392         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1393         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1394         undefine.
1395         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1396         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1397
1398 2014-07-01  Roland McGrath <roland@hack.frob.com>
1399
1400         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1401         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1402
1403         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1404         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1405
1406         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1407         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1408         ... here.
1409         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1410         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1411
1412         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1413         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1414         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1415         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1416
1417         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1418         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1419         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1420         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1421         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1422         Moved ...
1423         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1424         ... here.
1425         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1426         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1427         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1428         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1429         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1430         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1431         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1432         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1433         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1434         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1435         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1436         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1437         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1438         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1439         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1440         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1441         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1442         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1443         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1444         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1445         ... here.
1446         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1447         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1448         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1449         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1450         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1451         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1452         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1453         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1454
1455 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1456
1457         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1458         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1459         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1460         Add sysdep.
1461
1462 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1463
1464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1465
1466 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1467
1468         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1469         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1470
1471         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1472
1473         * sysdeps/arm/libm-test-ulps: Regenerated.
1474
1475 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1476             Roland McGrath <roland@hack.frob.com>
1477
1478         * test-skeleton.c (signal_handler): Kill the whole process group
1479         before killing the child individually.
1480         (main): Report any failure on `setpgid'.
1481
1482 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1483
1484         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1485         from _TLS_H to _ARM_NPTL_TLS_H.
1486         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1487         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1488
1489 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1490
1491         [BZ #16539]
1492         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1493         (__expm1l): Return argument unchanged when small but not
1494         subnormal.
1495
1496         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1497         include macro name.
1498         (_FP_UNPACK_RAW_1_P): Likewise.
1499         (_FP_PACK_RAW_1): Likewise.
1500         (_FP_PACK_RAW_1_P): Likewise.
1501         (_FP_MUL_MEAT_1_wide): Likewise.
1502         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1503         (_FP_MUL_MEAT_1_hard): Likewise.
1504         (_FP_DIV_MEAT_1_imm): Likewise.
1505         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1506         (_FP_DIV_MEAT_1_udiv): Likewise.
1507         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1508         (_FP_UNPACK_RAW_2): Likewise.
1509         (_FP_UNPACK_RAW_2_P): Likewise.
1510         (_FP_PACK_RAW_2): Likewise.
1511         (_FP_PACK_RAW_2_P): Likewise.
1512         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1513         (_FP_MUL_MEAT_2_wide): Likewise.
1514         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1515         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1516         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1517         (_FP_MUL_MEAT_2_gmp): Likewise.
1518         (_FP_DIV_MEAT_2_udiv): Likewise.
1519         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1520         (_FP_FRAC_SRL_4): Likewise.
1521         (_FP_FRAC_SRST_4): Likewise.
1522         (_FP_FRAC_SRS_4): Likewise.
1523         (_FP_UNPACK_RAW_4): Likewise.
1524         (_FP_UNPACK_RAW_4_P): Likewise.
1525         (_FP_PACK_RAW_4): Likewise.
1526         (_FP_PACK_RAW_4_P): Likewise.
1527         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1528         (_FP_MUL_MEAT_4_wide): Likewise.
1529         (_FP_MUL_MEAT_4_gmp): Likewise.
1530         (umul_ppppmnnn): Likewise.
1531         (_FP_DIV_MEAT_4_udiv): Likewise.
1532         (__FP_FRAC_ADD_4): Likewise.
1533         (__FP_FRAC_SUB_3): Likewise.
1534         (__FP_FRAC_SUB_4): Likewise.
1535         (__FP_FRAC_DEC_3): Likewise.
1536         (__FP_FRAC_DEC_4): Likewise.
1537         (__FP_FRAC_ADDI_4): Likewise.
1538         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1539         (_FP_FRAC_SRL_8): Likewise.
1540         (_FP_FRAC_SRS_8): Likewise.
1541
1542         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1543         include macro name.
1544         (FP_UNPACK_RAW_EP): Likewise.
1545         (FP_PACK_RAW_E): Likewise.
1546         (FP_PACK_RAW_EP): Likewise.
1547         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1548         (_FP_ISSIGNAN): Likewise.
1549         (_FP_ADD_INTERNAL): Likewise.
1550         (_FP_FMA): Likewise.
1551         (_FP_CMP): Likewise.
1552         (_FP_SQRT): Likewise.
1553         (_FP_TO_INT): Likewise.
1554         (_FP_FROM_INT): Likewise.
1555         (FP_EXTEND): Likewise.
1556         (_FP_DIV_MEAT_N_loop): Likewise.
1557
1558 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1559
1560         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1561         throughout.
1562
1563 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1564
1565         [BZ #17097]
1566         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1567         result with correct sign in case of exponents that produce
1568         overflow except for X very close to 1.
1569
1570 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1571
1572         mktime: merge #if/#ifdef usage from glibc
1573         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1574         as that works with both Glibc's and Gnulib's style.
1575         See thread starting at Siddhesh Poyarekar's bug report at:
1576         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1577
1578 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1579
1580         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1581         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1582         * sysdeps/tile/tilegx/memmove.c: Remove file.
1583
1584 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1585
1586         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1587         abi-name definition.
1588         * scripts/soversions.awk: Do not handle or generate ABI lines.
1589         * shlib-versions: Remove ABI entries.
1590         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1591         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1592
1593 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1594
1595         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1596         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1597         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1600         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1601         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1602         Moved ...
1603         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1604         ... here.
1605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1606         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1607         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1608         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1610         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1614         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1618         Moved ...
1619         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1620         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1621         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1622         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1623         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1624         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1625         Moved ...
1626         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1628         Moved ...
1629         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1630         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1631         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1632         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1633         Moved ...
1634         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1636         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1637         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1638         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1639         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1640         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1641         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1642         Moved ...
1643         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1645         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1646         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1647         Moved ...
1648         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1649         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1650         Moved ...
1651         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1652         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1653         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1654         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1655         Moved ...
1656         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1657         ... here.
1658         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1659         Identical file removed.
1660         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1661         Moved ...
1662         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1663         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1664         Identical file removed.
1665         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1666         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1667         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1668         Moved ...
1669         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1670         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1671         Identical file removed.
1672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1673         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1674         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1675         Identical file removed.
1676         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1677         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1678         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1679         Identical file removed.
1680         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1681         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1683         Identical file removed.
1684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1685         Moved ...
1686         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1687         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1688         Identical file removed.
1689         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1690         Moved ...
1691         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1693         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1694         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1695         Identical file removed.
1696         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1697         Moved ...
1698         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1699         ... here.
1700         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1701         Identical file removed.
1702         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1703         Moved ...
1704         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1705         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1706         Identical file removed.
1707         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1708         Moved ...
1709         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1710         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1711         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1712         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1713         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1714         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1715         Moved ...
1716         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1717         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1718         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1719
1720         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1721         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1722         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1723         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1724         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1725
1726 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1727
1728         [BZ #17092]
1729         * nscd/nscd.c (monitor_child): Return exit status of child
1730         instead of return value from wait syscall.
1731
1732 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1733
1734         * configure.ac (libc_commonpagesize): Remove variable.
1735         (libc_relro_required): Likewise.
1736         (libc_cv_z_relro): Remove configure test.
1737         * configure: Regenerated.
1738         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1739         variable.
1740         (libc_relro_required): Likewise.
1741         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1742         (libc_relro_required): Likewise.
1743         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1744         (libc_relro_required): Likewise.
1745         * sysdeps/arm/preconfigure: Regenerated.
1746         * sysdeps/ia64/preconfigure: Remove file.
1747         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1748         variable.
1749         (libc_relro_required): Likewise.
1750
1751         [BZ #16561]
1752         [BZ #16562]
1753         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1754         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1755         recompute overflowing results in original rounding mode.
1756         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1757         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1758         recompute overflowing results in original rounding mode.
1759         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1760         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1761         recompute overflowing results in original rounding mode.
1762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1763         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1764         recompute overflowing results in original rounding mode.
1765         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1766         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1767         recompute overflowing results in original rounding mode.
1768         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1769         (libc_feholdsetround_ctx): New macro.
1770         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1771         * sysdeps/i386/fpu/libm-test-ulps: Update.
1772         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1773
1774 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1775
1776         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1777         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1778         corresponding .cpsetup call.
1779
1780 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1781
1782         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1783         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1784         * sysdeps/arm/Makefile [$(subdir) = csu]
1785         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1786         (static-only-routines): Add aeabi_read_tp here.
1787         (shared-only-routines): Add libc-aeabi_read_tp here.
1788         (CFLAGS-libc-start.c): Add -fexceptions here.
1789         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1790         (sysdep_routines, static-only-routines, shared-only-routines):
1791         Don't add to these here.
1792         (CFLAGS-libc-start.c): Likewise.
1793
1794         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1795         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1796         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1797         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1798         * sysdeps/arm/Makefile [$(subdir) = rt]
1799         (librt-sysdep_routines, librt-shared-only-routines):
1800         Append rt-aeabi_unwind_cpp_pr1 here.
1801         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1802         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1803         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1804         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1805         Append nptl-aeabi_unwind_cpp_pr1 here.
1806         (tests): Filter out tst-cleanupx4 here.
1807         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1808         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1809         Don't do those here.
1810
1811 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1812
1813         * scripts/list-sources.sh: Do not handle ports specially.
1814
1815 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1816
1817         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1818         * sysdeps/arm/feupdateenv.c: Likewise.
1819
1820         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1821
1822 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1823
1824         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1825         trailing whitespace removed.
1826         * scripts/config.guess: Update to version 2014-03-23.
1827         * scripts/config.sub: Update to version 2014-05-01
1828         * scripts/install-sh: Update to version 2013-12-25.23.
1829         * scripts/move-if-change: Update from gnulib.
1830
1831 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1832
1833         * debug/memmove_chk.c: Remove pagecopy.h include.
1834
1835 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1836
1837         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1838         identical to gnulib mktime.
1839
1840 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1841
1842         * configure.ac: Do not test for machine being rs6000.  Do not test
1843         for powerpc*-*soft.
1844         * configure: Regenerated.
1845
1846         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1847         test.
1848         * configure: Regenerated.
1849         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1850         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1851         Remove configure test.
1852         * sysdeps/arm/configure: Regenerated.
1853         * sysdeps/nptl/configure.ac: Do not check
1854         libc_cv_asm_cfi_directives.
1855         * sysdeps/nptl/configure: Regenerated.
1856         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1857         * sysdeps/x86_64/nptl/configure: Remove generated file.
1858         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1859         unconditional.
1860         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1861
1862 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1863
1864         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1865         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1866         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1867         it is defined.
1868
1869         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1870         instead of whether it is defined.
1871         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1872         * sysdeps/hppa/dl-machine.h: Likewise.
1873         * sysdeps/ia64/dl-machine.h: Likewise.
1874         * sysdeps/m68k/dl-machine.h: Likewise.
1875         * sysdeps/microblaze/dl-machine.h: Likewise.
1876         * sysdeps/mips/dl-machine.: Likewise.
1877         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1878         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1879         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1880         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1881         * sysdeps/sh/dl-machine.h: Likewise.
1882         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1883         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1884         * sysdeps/tile/dl-machine.h: Likewise.
1885         * sysdeps/x86_64/dl-machine.h: Likewise.
1886
1887         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1888         code.
1889         (verify_persistent_db): Likewise.
1890
1891 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1892
1893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1894         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1896         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1898         Moved ...
1899         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1900         ... here.
1901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1902         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1904         Identical file removed.
1905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1906         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1908         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1910         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1912         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1914         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1916         Moved ...
1917         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1919         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1921         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1923         Moved ...
1924         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1926         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1928         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1930         Identical file removed.
1931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1932         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1934         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1936         Moved ...
1937         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1938         ... here.
1939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1940         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1942         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1944         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1946         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1948         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1950         Moved ...
1951         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1953         Moved ...
1954         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1958         Moved ...
1959         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1961         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1962
1963         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1964         folded into ...
1965         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1966         * sysdeps/unix/sysv/linux/s390/Versions
1967         (libpthread: GLIBC_2.19): New version set.
1968         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1969         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1970         (librt: GLIBC_2.3.3): New version set.
1971         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1972         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1973         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1974         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1975         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1976         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1977         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1978         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1979         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1980         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1981         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1982         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1983         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1984         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1985         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1986         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1987         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1988         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1989         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1990         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1991         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1992         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1993         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1994         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1995         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1996         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1997         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1998         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1999         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2000         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2001         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2002         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2004         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2007         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2008         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2009         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2010         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2011         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2012         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2013         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2014         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2015         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2016
2017         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2018         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2019         (__libc_vfork): Define the function under this name.
2020         [!NOT_IN_libc] (__vfork): Make this an alias.
2021         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2023         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2024         (__libc_vfork): Define the function under this name.
2025         [!NOT_IN_libc] (__vfork): Make this an alias.
2026         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2027         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2028         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2030         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2031         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2032
2033         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2034         code that was previously under [RESET_PID].
2035         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2036         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2037         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2038
2039         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2040         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2041         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2042         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2043         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2044         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2045         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2046         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2047         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2048         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2049         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2050         Moved ...
2051         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2052         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2053         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2054         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2055         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2056         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2057         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2058         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2059         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2060         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2061         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2062         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2063         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2064         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2065         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2066         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2067         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2068         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2069         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2070         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2071         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2072         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2073         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2074         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2075         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2076         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2077         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2078         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2079         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2080
2081 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2082
2083         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2084         that was previously under [RESET_PID].
2085         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2086
2087 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2088
2089         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2090         not undefine and redefine.
2091         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2092         [O_CLOEXEC]: Make code unconditional.
2093         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2094         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2095         <kernel-features.h>.
2096         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2097         conditional variable definition.
2098         (shm_open) [O_CLOEXEC]: Make code unconditional.
2099         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2100         code.
2101
2102         * configure.ac (USE_REGPARMS): Don't define here.
2103         * configure: Regenerated.
2104         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2105         * sysdeps/i386/configure: Regenerated.
2106
2107         * nptl/createthread.c: Don't include kernel-features.h.
2108         * nptl/pthread_cancel.c: Likewise.
2109         * nptl/pthread_condattr_setclock.c: Likewise.
2110         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2111         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2112         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2113         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2114         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2115         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2116         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2118         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2119         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2120         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2121         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2122         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2123         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2124         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2125         * nscd/gai.c: Likewise.
2126         * nss/nss_db/db-open.c: Likewise.
2127         * sysdeps/generic/ldsodefs.h: Likewise.
2128         * sysdeps/sh/nptl/tls.h: Likewise.
2129         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2130         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2131         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2132         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2133         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2134         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2135         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2136         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2137         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2138         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2139         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2140         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2141         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2142         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2143         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2144         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2145         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2146         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2147         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2148         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2149         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2150         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2151         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2152         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2153         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2154         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2155         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2157         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2158         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2159         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2160         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2161         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2162         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2163         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2164         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2165         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2166         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2167         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2168         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2169         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2170         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2171         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2172         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2173         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2174         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2175         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2176         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2177         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2178         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2179         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2180         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2181         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2182         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2183         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2184         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2185         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2186         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2209         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2210         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2211         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2212         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2213         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2214         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2215         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2216         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2217         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2218         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2219         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2220         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2221         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2222         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2223         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2224         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2225         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2226         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2227         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2228         * sysdeps/unix/sysv/linux/system.c: Likewise.
2229         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2230         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2231         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2232         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2233         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2234         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2235         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2236
2237         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2238         * configure: Regenerated.
2239         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2240
2241         * configure.ac (base_machine): Do not set specially for particular
2242         machines here.
2243         * configure: Regenerated.
2244         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2245         settings from configure.ac.
2246         * sysdeps/i386/preconfigure: New file.
2247         * sysdeps/s390/preconfigure: Likewise.
2248         * sysdeps/sh/preconfigure: Likewise.
2249         * sysdeps/sparc/preconfigure: Likewise.
2250
2251 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2252
2253         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2254         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2255         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2256         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2257         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2258         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2259         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2260         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2261         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2262         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2263         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2264         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2265         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2266         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2267         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2268         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2269         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2270         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2271         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2272
2273         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2274         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2275         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2276         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2277         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2278         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2279         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2280         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2281         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2282         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2283         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2284         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2285         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2286         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2287         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2288         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2289         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2290         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2291         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2292         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2293         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2294         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2295         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2296         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2297         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2298         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2300         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2301         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2302         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2303         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2304         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2305         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2306         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2307         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2308         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2309         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2310         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2311
2312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2313         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2315         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2317         Moved ...
2318         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2319         ... here.
2320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2321         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2323         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2325         Moved ...
2326         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2328         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2334         Moved ...
2335         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2337         Moved ...
2338         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2342         Moved ...
2343         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2345         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2347         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2349         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2351         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2353         Moved ...
2354         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2355         ... here.
2356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2357         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2361         Moved ...
2362         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2364         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2366         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2368         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2370         Moved ...
2371         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2373         Moved ...
2374         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2376         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2378         Moved ...
2379         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2381         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2383         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2384
2385 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2386
2387         * timezone/checktab.awk: Update from tzcode 2014e.
2388         * timezone/private.h: Likewise.
2389         * timezone/tzfile.h: Likewise.
2390         * timezone/zdump.c: Likewise.
2391         * timezone/zic.c: Likewise.
2392
2393         * sysdeps/unix/sysv/linux/kernel-features.h
2394         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2395         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2396         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2397         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2398         Remove conditional code.
2399
2400 2014-06-25  Will Newton  <will.newton@linaro.org>
2401
2402         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2403         (_dl_arm_cap_flags): Add HWCAP2 values.
2404         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2405         (_DL_HWCAP_COUNT): Increase to 37.
2406         (_DL_HWCAP_LAST): New define.
2407         (_DL_HWCAP2_LAST): New define.
2408         (_dl_procinfo): Add support for printing
2409         AT_HWCAP2 entries.
2410         (_dl_string_hwcap): Use _dl_hwcap_string.
2411
2412 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2413
2414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2415
2416 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2417
2418         * README: Do not mention ports directory.
2419
2420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2421         Remove macro.
2422         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2423         <kernel-features.h>.
2424         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2425         conditional variable definition.
2426         (__futimes): Update comment.
2427         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2428         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2429
2430         [BZ #16560]
2431         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2432         arguments close to 0.
2433         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2434         Likewise.
2435         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2436         Likewise.
2437         * math/auto-libm-test-in: Add more tests of exp10.
2438         * math/auto-libm-test-out: Regenerated.
2439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2440
2441         * sysdeps/unix/sysv/linux/kernel-features.h
2442         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2443         * sysdeps/unix/sysv/linux/readv.c: Do not include
2444         <kernel-features.h>.
2445         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2446         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2447         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2448         unconditional.
2449         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2450         conditional code.
2451         * sysdeps/unix/sysv/linux/writev.c: Do not include
2452         <kernel-features.h>.
2453         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2454         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2455         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2456         unconditional.
2457         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2458         conditional code.
2459
2460 2014-06-25  Will Newton  <will.newton@linaro.org>
2461
2462         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2463         comment changes throughout the file.  Remove checks
2464         for HAVE_*_H definitions that are not required.
2465         (__gen_tempname): Call abort if an unknown kind value is
2466         passed.
2467
2468 2014-06-25  Andreas Schwab  <schwab@suse.de>
2469
2470         [BZ #17086]
2471         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2472         scalbln, scalblnf, scalblnl in libc.
2473
2474 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2475
2476         [BZ #17086]
2477         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2478         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2479         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2480
2481 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2482
2483         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2484         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2485         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2486         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2487         Update #include.
2488         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2489         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2490         Update #include.
2491         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2492         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2493         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2494         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2495         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2496         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2497         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2498         * sysdeps/x86/bits/semaphore.h: ... here.
2499         * sysdeps/x86/nptl/elide.h: Moved ...
2500         * sysdeps/x86/elide.h: ... here.
2501         * sysdeps/x86_64/nptl/Implies: File removed.
2502         * sysdeps/i386/nptl/Implies: File removed.
2503
2504 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2505
2506         [BZ #16539]
2507         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2508         return the argument for normal arguments with exponent below -64.
2509         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2510         Likewise.
2511         * math/auto-libm-test-in: Add another test of expm1.
2512         * math/auto-libm-test-out: Regenerated.
2513
2514         [BZ #16287]
2515         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2516         calling __erfcl for arguments at least 16.
2517         * math/auto-libm-test-in: Add more tests of erf.
2518         * math/auto-libm-test-out: Regenerated.
2519
2520         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2521         individual architectures.
2522         * sysdeps/unix/sysv/linux/configure: Regenerated.
2523         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2524         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2525         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2526         (ldd_rewrite_script): Define variable.
2527         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2529         file.
2530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2531         generated file.
2532         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2533         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2534         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2535         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2536         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2537         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2538         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2539         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2540
2541 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2542
2543         [BZ #17084]
2544         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2545         Rename member __data.d to __data.__elision_data.
2546
2547 2014-06-24  Wilco  <wdijkstr@arm.com>
2548
2549         * NEWS: Add 16918 to fixed bug list.
2550
2551 2014-06-24  Wilco  <wdijkstr@arm.com>
2552
2553         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2554
2555 2014-06-24  Wilco  <wdijkstr@arm.com>
2556
2557         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2558         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2559         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2560         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2561         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2562         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2563         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2564         Use _FPU_MASK_RM.
2565
2566 2014-06-24  Wilco  <wdijkstr@arm.com>
2567
2568         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2569
2570 2014-06-24  Wilco  <wdijkstr@arm.com>
2571
2572         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2573         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2574         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2575         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2576
2577 2014-06-24  Wilco  <wdijkstr@arm.com>
2578
2579         [BZ #16918]
2580         * sysdeps/arm/feupdateenv.c (feupdateenv):
2581         Rewrite to reduce FPSCR accesses and fix return value.
2582
2583 2014-06-24  Wilco  <wdijkstr@arm.com>
2584
2585         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2586         Optimize to avoid unnecessary FPSCR writes.
2587         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2588         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2589         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2590         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2591
2592 2014-06-24  Wilco  <wdijkstr@arm.com>
2593
2594         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2595         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2596         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2597         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2598         Call libc_fetestexcept_vfp.
2599         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2600         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2601         __SOFTFP__ ifdef so that they can be built for softfp.
2602
2603 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2604
2605         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2606         argument type signed char.
2607
2608         * Makerules (check-abi): Dump diff of symlist if the test
2609         fails.
2610
2611 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2612
2613         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2614         using abort.
2615
2616         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2617         Remove unused variable ST.
2618
2619 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2620
2621         [BZ #16354]
2622         [BZ #17061]
2623         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2624         small arguments before calling __expm1.
2625         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2626         small arguments before calling __expm1f.
2627         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2628         small arguments before calling __expm1l.
2629         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2630         Likewise.
2631         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2632         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2633         spurious underflow for some cosh tests.
2634         * math/auto-libm-test-out: Regenerated.
2635         * sysdeps/i386/fpu/libm-test-ulps: Update.
2636
2637         [BZ #17050]
2638         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2639         (__ieee754_y1): Set errno if return value overflows.
2640         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2641         (__ieee754_y1f): Set errno if return value overflows.
2642         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2643         (__ieee754_y1l): Set errno if return value overflows.
2644         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2645         (__ieee754_y1l): Set errno if return value overflows.
2646         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2647         * math/auto-libm-test-out: Regenerated.
2648
2649         * math/gen-auto-libm-tests.c: Document use of
2650         ignore-zero-inf-sign.
2651         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2652         (input_flags): Add ignore-zero-inf-sign.
2653         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2654         * math/gen-libm-test.pl (generate_testfile): Handle
2655         ignore-zero-inf-sign.
2656         * math/auto-libm-test-in: Mark some cpow tests with
2657         ignore-zero-inf-sign and some with xfail-rounding.
2658         * math/auto-libm-test-out: Regenerated.
2659         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2660         * sysdeps/i386/fpu/libm-test-ulps: Update.
2661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2662
2663         [BZ #16315]
2664         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2665         overflowing or underflowing operations take place with sign of
2666         result.
2667         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2668         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2669         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2670         (__ieee754_pow): Recompute overflowing and underflowing results in
2671         original rounding mode.
2672         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2673         (__powl_helper): Allow negative argument X and scale negated value
2674         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2675         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2676         overflowing or underflowing operations take place with sign of
2677         result.
2678         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2679         Include <math.h>.
2680         * math/auto-libm-test-in: Add more tests of pow.
2681         * math/auto-libm-test-out: Regenerated.
2682         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2683         (pow_tonearest_test_data): Remove.
2684         (pow_test_tonearest): Likewise.
2685         (pow_towardzero_test_data): Likewise.
2686         (pow_test_towardzero): Likewise.
2687         (pow_downward_test_data): Likewise.
2688         (pow_test_downward): Likewise.
2689         (pow_upward_test_data): Likewise.
2690         (pow_test_upward): Likewise.
2691         (main): Don't call removed functions.
2692         * sysdeps/i386/fpu/libm-test-ulps: Update.
2693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2694
2695 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2696
2697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2698         Moved ...
2699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2701         Moved ...
2702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2704         Moved ...
2705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2707         Moved ...
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2710         File removed.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2712         File removed.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2714         File removed.
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2716         File removed.
2717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2718         File removed.
2719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2720         File removed.
2721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2722         File removed.
2723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2724         File removed.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2726         File removed.
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2728         File removed.
2729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2730         File removed.
2731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2732         File removed.
2733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2734         Moved ...
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2737         Moved ...
2738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2739         ... here.
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2741         Moved ...
2742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2744         Moved ...
2745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2747         Moved ...
2748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2750         Moved ...
2751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2753         Moved ...
2754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2756         Moved ...
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2759         Moved ...
2760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2763         ... here.
2764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2765         Moved ...
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2768         Moved ...
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2770         ... here.
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2772         Moved ...
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2774         ... here.
2775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2776         Moved ...
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2778         ... here.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2780         Moved ...
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2783         Moved ...
2784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2788         Moved ...
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2790         ... here.
2791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2792         Moved ...
2793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2794         ... here.
2795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2796         Moved ...
2797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2799         Moved ...
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2802         Moved ...
2803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2805         Moved ...
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2808         Moved ...
2809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2810         ... here.
2811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2812         Moved ...
2813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2815         Moved ...
2816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2818         Moved ...
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2821         Moved ...
2822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2826         Moved ...
2827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2829         Moved ...
2830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2832         Moved ...
2833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2834         ... here.
2835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2836         Moved ...
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2838         ... here.
2839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2840         Moved ...
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2842         ... here.
2843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2844         Moved ...
2845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2847         Moved ...
2848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2850         Moved ...
2851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2853         Moved ...
2854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2855         ... here.
2856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2857         Moved ...
2858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2859         ... here.
2860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2861         Moved ...
2862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2863         ... here.
2864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2865         Moved ...
2866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2868         Moved ...
2869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2870
2871 2014-06-23  Will Newton  <will.newton@linaro.org>
2872             Wilco  <wdijkstr@arm.com>
2873
2874         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2875         implementation.  Include get-rounding-mode.h.
2876         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2877         [!libc_feholdsetround_noex_ctx]: Define
2878         libc_feholdsetround_noex_ctx.
2879         [!libc_feholdsetround_noexf_ctx]: Define
2880         libc_feholdsetround_noexf_ctx.
2881         [!libc_feholdsetround_noexl_ctx]: Define
2882         libc_feholdsetround_noexl_ctx.
2883         (libc_feholdsetround_ctx): New function.
2884         (libc_feresetround_ctx): New function.
2885         (libc_feholdsetround_noex_ctx): New function.
2886         (libc_feresetround_noex_ctx): New function.
2887
2888 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2889
2890         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2891         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2892         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2893         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2894         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2895         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2896
2897         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2898         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2899         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2900         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2901         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2902         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2903         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2904         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2905         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2906         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2907         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2908         Moved ...
2909         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2910         ... here.
2911         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2912         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2914         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2915         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2916         Moved ...
2917         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2919         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2920         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2921         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2922         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2923         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2924         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2925         Moved ...
2926         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2927         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2928         Moved ...
2929         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2933         Moved ...
2934         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2935         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2936         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2937         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2938         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2939         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2940         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2941         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2942         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2943         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2944         Moved ...
2945         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2946         ... here.
2947         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2949         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2950         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2952         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2953         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2954         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2956         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2957         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2958         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2959         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2960         Moved ...
2961         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2962         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2963         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2964         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2965         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2966         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2967         Moved ...
2968         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2969         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2970         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2971         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2972         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2973
2974         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2975         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2976         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2977         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2978         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2979         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2980         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2981         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2982         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2983         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2985         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2986         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2987         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2988         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2989         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2990         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2991         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2992         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2993         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2994         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2995         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2996         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2997         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2998         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2999         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3000         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3001         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3002
3003 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3004
3005         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3006         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3007         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3008         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3009         (IPV6_PMTUDISC_INTERFACE): Likewise.
3010         (IPV6_PMTUDISC_OMIT): Likewise.
3011
3012 2014-06-23  Andreas Schwab  <schwab@suse.de>
3013
3014         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3015         Remove unused errout label.
3016
3017 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3018
3019         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3020         macro: hardware supports Vector Crypto instructions.
3021
3022 2014-06-23  Will Newton  <will.newton@linaro.org>
3023
3024         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3025         rather than __builtin_expect.
3026
3027         * elf/dl-lookup.c (undefined_msg): Remove variable.
3028         (_dl_lookup_symbol_x): Replace undefined_msg with string
3029         literal.
3030
3031         * elf/dl-lookup.c (do_lookup_unique): New function.
3032         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3033         to a separate function.
3034
3035 2014-06-23  Andreas Schwab  <schwab@suse.de>
3036
3037         [BZ #17079]
3038         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3039         before reading the next line.
3040
3041 2014-06-23  Will Newton  <will.newton@linaro.org>
3042
3043         * test-skeleton.c (signal_handler): Use printf and %m
3044         rather than perror.  Use printf rather than fprintf to
3045         stderr.  Use puts rather than fputs to stderr.
3046         (main): Likewise.
3047
3048 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3049
3050         * nscd/nscd.c (thread_info_t): Remove typedef.
3051         (thread_info): Remove variable.
3052
3053 2014-06-21  Allan McRae  <allan@archlinux.org>
3054
3055         * NEWS: Mention CVE-2014-4043.
3056
3057 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3058
3059         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3060         * nptl/smp.h: ... here.
3061
3062         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3063
3064         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3065         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3066         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3067         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3068
3069         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3070         * nptl/stack-aliasing.h: New file.
3071         * sysdeps/i386/i686/stack-aliasing.h: New file.
3072         * sysdeps/i386/i686/nptl/Makefile: File removed.
3073         * sysdeps/x86_64/stack-aliasing.h: New file.
3074         * sysdeps/x86_64/nptl/Makefile
3075         (CFLAGS-pthread_create.c): Variable removed.
3076
3077         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3078         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3079         old file.
3080         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3081         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3082         old file.
3083
3084 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3085
3086         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3087         (__ASSUME_SIGFRAME_V2): Remove macro.
3088         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3089         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3090         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3091         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3092         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3093         Declare as function.  Remove conditional macro definitions.
3094         (__default_rt_sa_restorer): Likewise.
3095         (__default_sa_restorer_v1): Remove declaration.
3096         (__default_sa_restorer_v2): Likewise.
3097         (__default_rt_sa_restorer_v1): Likewise.
3098         (__default_rt_sa_restorer_v2): Likewise.
3099         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3100         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3101         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3102
3103 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3104
3105         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3106         (libpthread-routines): Add sysdep.
3107         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3108         * sysdeps/unix/sysv/linux/sparc/Versions
3109         (libpthread: GLIBC_2.3.3): New version set.
3110         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3111         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3112         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3113         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3114         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3115         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3116         Moved ...
3117         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3118         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3119         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3120         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3121         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3122         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3123         * sysdeps/sparc/nptl/sem_init.c: ... here.
3124         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3125         * sysdeps/sparc/nptl/sem_post.c: ... here.
3126         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3127         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3128         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3129         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3130         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3131         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3132         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3133         (libpthread-routines): Add cpu_relax.
3134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3135         File removed.
3136         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3137         (librt: GLIBC_2.3.3): New version set.
3138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3139         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3140         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3141         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3144         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3146         Moved ...
3147         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3149         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3151         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3153         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3155         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3157         Moved ...
3158         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3159         Update #include.
3160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3161         Moved ...
3162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3163         Update #include.
3164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3165         Moved ...
3166         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3167         Update #include.
3168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3169         Moved ...
3170         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3171         Update #include.
3172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3173         Moved ...
3174         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3175         Update #include.
3176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3177         Moved ...
3178         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3179         Update #include.
3180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3181         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3183         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3185         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3187         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3189         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3191         Moved ...
3192         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3194         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3196         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3197
3198 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3199
3200         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3201         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3202         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3203         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3204         * nscd/nscd.c: Likewise.
3205         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3206         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3207         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3208         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3209
3210         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3211         <kernel-features.h>.
3212         (init_mq_netlink): Remove conditional have_sock_cloexec
3213         definitions.  Remove code conditional on have_sock_cloexec < 0.
3214         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3215         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3216         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3217         <kernel-features.h>.
3218         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3219         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3220
3221 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3222
3223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3224         Add tests for memset_chk and memset.
3225
3226         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3227         with AVX2_Usable.
3228
3229 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3230
3231         [BZ #16046]
3232         * elf/tst-dl-iter-static.c: New file.
3233         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3234
3235         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3236         error.
3237
3238 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3239
3240         * sysdeps/unix/sysv/linux/kernel-features.h
3241         (__ASSUME_F_GETOWN_EX): Remove macro.
3242         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3243         <kernel-features.h>.
3244         (miss_F_GETOWN_EX): Remove variable or macro.
3245         (do_fcntl): Do not check miss_F_GETOWN_EX.
3246         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3247
3248         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3249         Remove macro.
3250         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3251         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3252         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3253
3254         * sysdeps/unix/sysv/linux/kernel-features.h
3255         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3256         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3257         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3258         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3259
3260 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3261
3262         [BZ #17075]
3263         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3264         Fix calculation of the symbol's value.
3265         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3266         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3267         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3268         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3269         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3270         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3271         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3272         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3273         (modules-names): Add `tst-armtlsdescmod',
3274         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3275         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3276         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3277         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3278         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3279         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3280         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3281         ($(objpfx)tst-armtlsdescloc): New dependency.
3282         ($(objpfx)tst-armtlsdescextnow): Likewise.
3283         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3284         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3285         TLS scheme support.
3286         * sysdeps/arm/configure: Regenerate.
3287
3288 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3289
3290         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3291         (__atfct_seterrno_2): Likewise.
3292         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3293         <kernel-features.h>.
3294         (__ASSUME_ATFCTS): Do not undefine and redefine.
3295         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3296         (__have_atfcts): Remove conditional definition.
3297         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3298         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3299         unreachable if [__ASSUME_ATFCTS].
3300         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3301         not undefine and redefine.
3302         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3303         <kernel-features.h>.
3304         (faccessat) [__NR_faccessat]: Make code unconditional.
3305         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3306         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3307         <kernel-features.h>.
3308         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3309         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3310         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3311         <kernel-features.h>.
3312         (fchownat) [__NR_fchownat]: Make code unconditional.
3313         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3314         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3315         <kernel-features.h>.
3316         (futimesat) [__NR_futimesat]: Make code unconditional.
3317         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3318         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3319         <kernel-features.h>.
3320         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3321         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3322         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3323         <kernel-features.h>.
3324         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3325         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3326         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3327         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3328         <kernel-features.h>.
3329         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3330         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3331         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3332         <kernel-features.h>.
3333         (linkat) [__NR_linkat]: Make code unconditional.
3334         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3335         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3336         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3337         <kernel-features.h>.
3338         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3339         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3340         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3341         <kernel-features.h>.
3342         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3343         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3344         * sysdeps/unix/sysv/linux/openat.c: Do not include
3345         <kernel-features.h>.
3346         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3347         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3348         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3349         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3350         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3351         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3352         <kernel-features.h>.
3353         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3354         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3355         result of INLINE_SYSCALL directly, not via int variable.
3356         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3357         <kernel-features.h>.
3358         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3359         (renameat) [__NR_renameat]: Make code unconditional.
3360         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3361         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3362         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3363         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3364         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3365         (__ASSUME_ATFCTS): Do not undefine and redefine.
3366         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3367         <kernel-features.h>.
3368         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3369         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3370         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3371         <kernel-features.h>.
3372         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3373         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3374         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3375         (__ASSUME_ATFCTS): Do not undefine and redefine.
3376         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3377         <kernel-features.h>.
3378         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3379         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3380         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3381         <kernel-features.h>.
3382         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3383         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3384
3385 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3386
3387         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3388
3389 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3390
3391         [BZ #17069]
3392         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3393         constructed tree before returning error.
3394         * posix/bug-regexp36.c: Expand test case.
3395
3396 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3397
3398         [BZ #6803]
3399         * math/libm-test.inc (scalbln_test_date):
3400         Add errno expectations.
3401         * math/w_scalblnf.c: New File.
3402         Add wrapper which checks for setting errno to ERANGE.
3403         Add weak_alias for corresponding scalbln function.
3404         * math/w_scalbln.c: Likewise.
3405         * math/w_scalblnl.c: Likewise.
3406         * math/Makefile (libm-calls): Add w_scalbln.
3407         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3408         Remove weak_alias for corresponding scalbln function.
3409         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3410         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3411         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3412         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3413         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3414         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3415         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3416         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3417         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3418         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3419         Remove long_double_symbol for scalblnl function in libm, libc.
3420         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3421         Add wrapper which checks for setting errno to ERANGE.
3422         Add long_double_symbol for scalblnl function in libm, libc.
3423         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3424         Remove long_double_symbol for scalblnl in libm.
3425         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3426         Add wrapper which checks for setting errno to ERANGE.
3427         Add long_double_symbol for scalblnl function in libm.
3428         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3429         Do not use wrapper because of own implementation.
3430
3431 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3432
3433         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3434         3 bytes for __pad1 for x32.
3435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3436
3437 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3438             H.J. Lu  <hongjiu.lu@intel.com>
3439
3440         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3441         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3442         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3443         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3444         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3445
3446 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3447
3448         [BZ #17069]
3449         * posix/regcomp.c (parse_expression): Deallocate partially
3450         constructed tree before returning error.
3451         * posix/Makefile.c (tests): Add bug-regex36.
3452         (generated): Add bug-regex36.mtrace.
3453         (tests-special): Add $(objpfx)bug-regex36-mem.out
3454         (bug-regex36-ENV): New variable.
3455         ($(objpfx)bug-regex36-mem.out): New rule.
3456         * posix/bug-regex36.c: New file.
3457
3458 2014-06-19  Will Newton  <will.newton@linaro.org>
3459
3460         * malloc/malloc.c (systrim): If extra is zero then return
3461         early.
3462
3463 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3464
3465         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3466
3467 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3468
3469         * sysdeps/aarch64/strchr.S: New file.
3470
3471 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3472
3473         [BZ #17022]
3474         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3475         from arguments -2 or below.
3476         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3477         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3478
3479 2014-06-18  Andreas Schwab  <schwab@suse.de>
3480
3481         [BZ #17062]
3482         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3483         of a bracket expr not to run off the end of the string.
3484         * posix/Makefile (tests): Add tst-fnmatch3.
3485         * posix/tst-fnmatch3.c: New file.
3486
3487 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3488
3489         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3490         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3491         [$(cross-compiling) = no]: Likewise.
3492         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3493         [$(cross-compiling) = no]: Likewise.
3494
3495 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3496
3497         [BZ #17031]
3498         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3499         double, adjusted for any remainder from the high double.
3500         * math/libm-test.inc (nearbyint): Add tests.
3501         (rint): Likewise.
3502
3503 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3504
3505         * nptl/sysdeps/powerpc/Makefile: Moved ...
3506         * sysdeps/powerpc/nptl/Makefile: ... here.
3507         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3508         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3509         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3510         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3511         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3512         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3513         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3514         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3515         * nptl/sysdeps/powerpc/tls.h: Moved ...
3516         * sysdeps/powerpc/nptl/tls.h: ... here.
3517
3518 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3519
3520         [BZ #16681]
3521         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3522         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3523         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3524         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3525         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3526         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3527         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3528         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3529         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3530
3531 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3532
3533         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3534
3535 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3536
3537         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3538         defined operator.
3539
3540         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3541         $TIMEOUTFACTOR.
3542
3543 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3544
3545         [BZ #17058]
3546         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3547         non-executed part of the test.
3548
3549 2014-06-16  Andreas Schwab  <schwab@suse.de>
3550
3551         * string/bits/string2.h (strdup, strndup): Update feature guard.
3552
3553 2014-06-14  David S. Miller  <davem@davemloft.net>
3554
3555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3556
3557 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3558
3559         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3560         that was previously under [RESET_PID].
3561         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3562
3563         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3564         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3565         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3566         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3567         (__libc_vfork): New strong alias.
3568         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3569
3570 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3571
3572         * sysdeps/generic/elide.h: New file.
3573
3574 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3575
3576         * Makefile (installed-headers): Adjust path of pthread.h header.
3577
3578 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3579
3580         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3581         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3582         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3583         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3584
3585         * nptl/sysdeps/s390/Makefile: Moved ...
3586         * sysdeps/s390/nptl/Makefile: ... here.
3587         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3588         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3589         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3590         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3591         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3592         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3593         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3594         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3595         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3596         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3597         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3598         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3599         * nptl/sysdeps/s390/tls.h: Moved ...
3600         * sysdeps/s390/nptl/tls.h: ... here.
3601
3602         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3603         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3604
3605 2014-06-13  David S. Miller  <davem@davemloft.net>
3606
3607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3610         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3614         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3615         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3616         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3617         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3618         Remove RESET_PID cpp guards.
3619         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3620         Remove RESET_PID cpp guards.
3621         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3622
3623 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3624
3625         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3626         __sp to uintptr_t.
3627
3628 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3629
3630         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3631         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3632         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3633         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3634         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3635         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3636         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3637         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3638         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3639         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3640         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3641         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3642         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3643         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3644         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3645         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3646         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3647         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3648         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3649         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3650
3651         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3652         (pthread_rwlock_rdlock): Add elision.
3653         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3654         (pthread_rwlock_wrlock): Add elision.
3655         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3656         (pthread_rwlock_trywrlock): Add elision.
3657         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3658         (pthread_rwlock_tryrdlock): Add elision.
3659         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3660         (pthread_rwlock_tryrdlock): Add elision unlock.
3661         * nptl/sysdeps/pthread/pthread.h:
3662         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3663         (PTHREAD_RWLOCK_INITIALIZER,
3664         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3665         Handle new elision field.
3666         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3667         * sysdeps/arm/nptl/bits/pthreadtypes.h
3668         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3669         * sysdeps/sh/nptl/bits/pthreadtypes.h
3670         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3671         * sysdeps/tile/nptl/bits/pthreadtypes.h
3672         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3673         * sysdeps/a/nptl/bits/pthreadtypes.h
3674         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3675         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3676         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3677         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3678         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3679         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3680         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3681         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3682         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3683         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3684         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3685         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3687         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3688         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3689         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3690         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3691         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3692         (elision_init): Set try_xbegin to zero when no RTM.
3693         * sysdeps/x86/nptl/bits/pthreadtypes.h
3694         (pthread_rwlock_t): Change __pad1 to __rwelision.
3695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3696
3697 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3698
3699         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3700         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3701         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3702         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3703
3704 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3705
3706         [BZ #16996]
3707         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3708         that the cached result has been set before returning it.
3709
3710 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3711
3712         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3713         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3714         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3715         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3716         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3717         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3718
3719         * nptl/sysdeps/sparc/Makefile: Moved ...
3720         * sysdeps/sparc/nptl/Makefile: ... here.
3721         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3722         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3723         * nptl/sysdeps/sparc/tls.h: Moved ...
3724         * sysdeps/sparc/nptl/tls.h: ... here.
3725         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3726         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3727         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3728         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3729         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3730         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3731         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3732         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3733         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3734         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3735         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3736         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3737         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3738         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3739         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3740         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3741         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3742         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3743         Update #include.
3744         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3745         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3746         Update #include.
3747         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3748         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3749         Update #include.
3750         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3751         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3752         Update #include.
3753
3754         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3755
3756         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3757         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3758
3759         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3760         (struct list_links): Type removed.
3761         (struct thread_node, struct timer_node): Replace struct list_links
3762         with struct list_head.
3763         (list_unlink_ip): Likewise.
3764         * sysdeps/pthread/timer_routines.c
3765         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3766         (list_append, list_insbefore): Likewise.
3767         (list_init): Function removed.
3768         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3769         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3770         * sysdeps/pthread/Makefile: ... here, new file.
3771
3772         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3773         * sysdeps/nptl/Implies: ... here.
3774         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3775         * nptl/sysdeps/pthread/list.h: Moved ...
3776         * include/list.h: ... here.
3777         * nptl/sysdeps/pthread/createthread.c: Moved ...
3778         * nptl/createthread.c: ... here.
3779         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3780         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3781         * nptl/pt-longjmp.c: ... here.
3782         * nptl/sysdeps/pthread/Makefile: Moved ...
3783         * sysdeps/nptl/Makefile: ... here.
3784         * nptl/sysdeps/pthread/Subdirs: Moved ...
3785         * sysdeps/nptl/Subdirs: ... here.
3786         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3787         * sysdeps/nptl/aio_misc.h: ... here.
3788         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3789         * sysdeps/nptl/bits/libc-lock.h: ... here.
3790         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3791         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3792         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3793         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3794         * nptl/sysdeps/pthread/configure: Moved ...
3795         * sysdeps/nptl/configure: ... here.
3796         * nptl/sysdeps/pthread/configure.ac: Moved ...
3797         * sysdeps/nptl/configure.ac: ... here.
3798         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3799         * sysdeps/nptl/gai_misc.h: ... here.
3800         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3801         * sysdeps/nptl/librt-cancellation.c: ... here.
3802         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3803         * sysdeps/nptl/malloc-machine.h: ... here.
3804         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3805         * sysdeps/nptl/pthread-functions.h: ... here.
3806         * nptl/sysdeps/pthread/pthread.h: Moved ...
3807         * sysdeps/nptl/pthread.h: ... here.
3808         * nptl/sysdeps/pthread/setxid.h: Moved ...
3809         * sysdeps/nptl/setxid.h: ... here.
3810         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3811         * sysdeps/nptl/sigfillset.c: ... here.
3812         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3813         * sysdeps/nptl/tcb-offsets.h: ... here.
3814         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3815         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3816         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3817         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3818         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3819         * sysdeps/pthread/allocalim.h: ... here.
3820         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3821         * sysdeps/pthread/bits/sigthread.h: ... here.
3822         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3823         * sysdeps/pthread/flockfile.c: ... here.
3824         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3825         * sysdeps/pthread/ftrylockfile.c: ... here.
3826         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3827         * sysdeps/pthread/funlockfile.c: ... here.
3828         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3829         * sysdeps/pthread/posix-timer.h: ... here.
3830         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3831         * sysdeps/pthread/timer_create.c: ... here.
3832         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3833         * sysdeps/pthread/timer_delete.c: ... here.
3834         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3835         * sysdeps/pthread/timer_getoverr.c: ... here.
3836         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3837         * sysdeps/pthread/timer_gettime.c: ... here.
3838         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3839         * sysdeps/pthread/timer_routines.c: ... here.
3840         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3841         * sysdeps/pthread/timer_settime.c: ... here.
3842         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3843         * sysdeps/pthread/tst-timer.c: ... here.
3844         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3845         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3846
3847         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3848         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3849
3850         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3851         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3852         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3853         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3854         Update #include target.
3855         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3856         * sysdeps/i386/i686/nptl/Makefile: ... here.
3857         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3858         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3859         Update #include target.
3860         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3861         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3862         * nptl/sysdeps/i386/Makefile: Moved ...
3863         * sysdeps/i386/nptl/Makefile: ... here.
3864         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3865         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3866         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3867         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3868         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3869         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3870         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3871         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3872         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3873         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3874         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3875         * nptl/sysdeps/i386/tls.h: Moved ...
3876         * sysdeps/i386/nptl/tls.h: ... here.
3877
3878         * sysdeps/sh/Makefile [$(subdir) = csu]
3879         (gen-as-const-headers): Add tcb-offsets.sym.
3880         * nptl/sysdeps/sh/Makefile: File removed.
3881         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3882         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3883         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3884         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3885         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3886         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3887         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3888         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3889         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3890         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3891         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3892         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3893         * nptl/sysdeps/sh/tls.h: Moved ...
3894         * sysdeps/sh/nptl/tls.h: ... here.
3895         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3896         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3897         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3898         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3899         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3900         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3901         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3902         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3903         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3904         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3905         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3906         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3907         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3908         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3909         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3910         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3911         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3912         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3913         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3914         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3915         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3916         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3917         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3918         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3919         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3920         Moved ...
3921         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3922         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3923         Moved ...
3924         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3925         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3926         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3927         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3928         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3929         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3930         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3931         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3932         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3933         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3934         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3935         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3936         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3937         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3938         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3939         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3940         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3941         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3942         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3943
3944 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3945
3946         * posix/spawn_faction_addopen.c: Include string.h.
3947
3948 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3949
3950         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3951         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3952         * nptl/sysdeps/x86_64/Makefile: Moved ...
3953         * sysdeps/x86_64/nptl/Makefile: ... here.
3954         * nptl/sysdeps/x86_64/configure: Moved ...
3955         * sysdeps/x86_64/nptl/configure: ... here.
3956         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3957         * sysdeps/x86_64/nptl/configure.ac: ... here.
3958         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3959         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3960         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3961         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3962         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3963         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3964         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3965         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3966         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3967         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3968         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3969         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3970         * nptl/sysdeps/x86_64/tls.h: Moved ...
3971         * sysdeps/x86_64/nptl/tls.h: ... here.
3972         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3973         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3974         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3975         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3976
3977         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3978
3979 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3980
3981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3982
3983 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3984
3985         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3986         type.
3987         [POSIX] (off_t): Likewise.
3988         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3989         [POSIX] (S_ISBLK): Require macro.
3990         [POSIX] (S_ISCHR): Likewise.
3991         [POSIX] (S_ISDIR): Likewise.
3992         [POSIX] (S_ISFIFO): Likewise.
3993         [POSIX] (S_ISREG): Likewise.
3994         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3995         optional-macro.
3996         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3997         type.
3998         [POSIX] (time_t): Likewise.
3999         [POSIX] (timer_t): Likewise.
4000
4001 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4002
4003         [BZ #17048]
4004         * posix/spawn_int.h (struct __spawn_action): Make the path string
4005         non-const to support deallocation.
4006         * posix/spawn_faction_addopen.c
4007         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4008         * posix/spawn_faction_destroy.c
4009         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4010         path in all spawn_do_open actions.
4011         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4012         posix_spawn_file_actions_addopen.
4013
4014 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4015
4016         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4017         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4018         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4019         conditional code always true.
4020         (__libc_vfork): New alias.
4021
4022 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4023
4024         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4025         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4026
4027         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4028
4029         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4030         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4031
4032         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4033         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4034
4035         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4036         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4037
4038 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4039
4040         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4041         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4042         multiarch strcmp for PPC64.
4043         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4044         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4046         multiarch optimizations.
4047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4048         (__libc_ifunc_impl_list): Likewise.
4049
4050 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4051
4052         * benchtests/scripts/validate_benchout.py: New script.
4053         * benchtests/Makefile (bench-func): Call it.
4054         * benchtests/scripts/benchout.schema.json: New file.
4055
4056 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4057
4058         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4059         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4060         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4061         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4062         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4063         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4064         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4065         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4066         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4067         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4068         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4069         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4070         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4071         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4072         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4073         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4075         Moved ...
4076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4077         ... here.
4078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4079         Moved ...
4080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4082         Moved ...
4083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4084         ... here.
4085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4086         Moved ...
4087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4088         ... here.
4089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4090         Moved ...
4091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4093         Moved ...
4094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4095         ... here.
4096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4097         Moved ...
4098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4099         ... here.
4100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4101         Moved ...
4102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4104         Moved ...
4105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4106         ... here.
4107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4108         Moved ...
4109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4110         ... here.
4111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4112         Moved ...
4113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4114         ... here.
4115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4116         Moved ...
4117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4119         Moved ...
4120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4121         ... here.
4122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4123         Moved ...
4124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4125         ... here.
4126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4127         Moved ...
4128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4129         ... here.
4130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4131         Moved ...
4132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4134         Moved ...
4135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4136         ... here.
4137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4138         Moved ...
4139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4140         ... here.
4141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4142         Moved ...
4143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4145         Moved ...
4146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4147         ... here.
4148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4149         Moved ...
4150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4152         Moved ...
4153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4155         Moved ...
4156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4157         ... here.
4158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4159         Moved ...
4160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4161         ... here.
4162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4163         Moved ...
4164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4165         ... here.
4166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4167         Moved ...
4168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4170         Moved ...
4171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4172         ... here.
4173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4174         Moved ...
4175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4176         ... here.
4177         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4178         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4179         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4180         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4181         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4182         Moved ...
4183         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4184         ... here.
4185         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4186         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4187         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4188         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4189         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4190         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4192         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4193         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4194         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4195         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4196         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4197         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4198         Moved ...
4199         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4200         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4201         Moved ...
4202         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4203         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4204         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4205         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4206         Moved ...
4207         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4208         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4209         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4210         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4211         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4212         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4213         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4214
4215 2014-06-10  Wilco  <wdijkstr@arm.com>
4216
4217         * math/test-fenv-return.c: New file.
4218         * math/Makefile: Add new test test-fenv-return.
4219
4220 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4221
4222         [BZ #17042]
4223         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4224         when x - 1 is zero.
4225         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4226         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4227         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4228         0.0L for an argument of 1.0L.
4229         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4230         Likewise.
4231         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4232         value when x - 1 is zero.
4233         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4234         * sysdeps/i386/fpu/libm-test-ulps: Update.
4235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4236
4237 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4238
4239         [BZ #15119]
4240         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4241
4242 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4243
4244         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4245         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4246
4247 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4248
4249         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4250         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4251
4252         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4253         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4254
4255         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4256         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4257
4258         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4259         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4260
4261         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4262         if not already defined.
4263         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4264         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4265         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4266         (TLS_INIT_TP): Use it.
4267         (TLS_DEFINE_INIT_TP): New macro.
4268         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4269
4270 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4271
4272         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4273         constant.
4274         [POSIX] (IXANY): Likewise.
4275         [POSIX] (OLCUC): Likewise.
4276         [POSIX || POSIX2008] (CBAUD): Do not allow.
4277         [POSIX || POSIX2008] (DEFECHO): Likewise.
4278         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4279         [POSIX || POSIX2008] (ECHOKE): Likewise.
4280         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4281         [POSIX || POSIX2008] (EXTA): Likewise.
4282         [POSIX || POSIX2008] (EXTB): Likewise.
4283         [POSIX || POSIX2008] (FLUSHO): Likewise.
4284         [POSIX || POSIX2008] (LOBLK): Likewise.
4285         [POSIX || POSIX2008] (PENDIN): Likewise.
4286         [POSIX || POSIX2008] (SWTCH): Likewise.
4287         [POSIX || POSIX2008] (VDISCARD): Likewise.
4288         [POSIX || POSIX2008] (VDSUSP): Likewise.
4289         [POSIX || POSIX2008] (VLNEXT): Likewise.
4290         [POSIX || POSIX2008] (VREPRINT): Likewise.
4291         [POSIX || POSIX2008] (VSTATUS): Likewise.
4292         [POSIX || POSIX2008] (VWERASE): Likewise.
4293         (B*): Change to B[0123456789]*.
4294         * conform/data/time.h-data [POSIX || UNIX98]
4295         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4296         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4297         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4298         [POSIX] (tm_*): Do not allow.
4299
4300 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4301
4302         * Makefile (install): Don't set LANGUAGE.
4303         * Makefile.in (install): Likewise.
4304         * assert/Makefile (test-assert-ENV): Remove variable.
4305         (test-assert-perr-ENV): Likewise.
4306         * elf/Makefile (neededtest4-ENV): Likewise.
4307         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4308         [$(cross-compiling) = no]: Don't set LANGUAGE.
4309         * io/ftwtest-sh (LANG): Remove variable.
4310         * libio/Makefile (tst-widetext-ENV): Likewise.
4311         * manual/install.texi (Running make install): Don't refer to
4312         environment settings for make install.
4313         * INSTALL: Regenerated.
4314         * nptl/tst-tls6.sh: Don't set LANG.
4315         * posix/globtest.sh (LANG): Remove variable.
4316         * string/Makefile (tester-ENV): Likewise.
4317         (inl-tester-ENV): Likewise.
4318         (noinl-tester-ENV): Likewise.
4319         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4320         [$(cross-compiling) = no]: Don't set LANGUAGE.
4321         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4322         without explicit environment settings.
4323
4324 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4325
4326         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4327         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4328         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4329         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4330
4331 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4332
4333         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4334         other files in the crypt directory.
4335         * crypt/crypt.c: Remove duplicate includes.
4336         * crypt/crypt-entry.c: Likewise.
4337         * crypt/crypt_util.c: Likewise.
4338
4339 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4340
4341         * Makeconfig (run-program-env): New variable.
4342         (run-program-prefix-before-env): Likewise.
4343         (run-program-prefix-after-env): Likewise.
4344         (run-program-prefix): Define in terms of new variables.
4345         (built-program-cmd-before-env): New variable.
4346         (built-program-cmd-after-env): Likewise.
4347         (built-program-cmd): Define in terms of new variables.
4348         (test-program-prefix-before-env): New variable.
4349         (test-program-prefix-after-env): Likewise.
4350         (test-program-prefix): Define in terms of new variables.
4351         (test-program-cmd-before-env): New variable.
4352         (test-program-cmd-after-env): Likewise.
4353         (test-program-cmd): Define in terms of new variables.
4354         * Rules (make-test-out): Use $(run-program-env).
4355         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4356         (help): Do not mention environment variables.  Mention
4357         --timeoutfactor option.
4358         (timeoutfactor): New variable.
4359         (blacklist_exports): Remove function.
4360         (exports): Remove variable.
4361         (command): Do not include ${exports}.
4362         * manual/install.texi (Configuring and compiling): Do not mention
4363         test wrappers preserving environment variables.  Mention that last
4364         assignment to a variable must take precedence.
4365         * INSTALL: Regenerated.
4366         * benchtests/Makefile (run-bench): Use $(run-program-env).
4367         * catgets/Makefile ($(objpfx)test1.cat): Use
4368         $(built-program-cmd-before-env), $(run-program-env) and
4369         $(built-program-cmd-after-env).
4370         ($(objpfx)test2.cat): Do not specify environment variables
4371         explicitly.
4372         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4373         $(run-program-env) and $(built-program-cmd-after-env).
4374         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4375         $(run-program-env) and $(test-program-cmd-after-env).
4376         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4377         explicitly.
4378         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4379         run_program_env and test_program_cmd_after_env arguments.
4380         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4381         * elf/tst-pathopt.sh: Use run_program_env argument.
4382         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4383         $(test-wrapper-env) and $(run-program-env).
4384         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4385         run_program_env arguments.
4386         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4387         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4388         $(test-program-prefix-before-env), $(run-program-env) and
4389         $(test-program-prefix-after-env).
4390         ($(objpfx)tst-gettext2.out): Likewise.
4391         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4392         run_program_env and test_program_prefix_after_env arguments.
4393         * intl/tst-gettext2.sh: Likewise.
4394         * intl/tst-gettext4.sh: Do not set environment variables
4395         explicitly.
4396         * intl/tst-gettext6.sh: Likewise.
4397         * intl/tst-translit.sh: Likewise.
4398         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4399         $(test-program-prefix-before-env), $(run-program-env) and
4400         $(test-program-prefix-after-env).
4401         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4402         run_program_env and test_program_prefix_after_env arguments.
4403         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4404         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4405         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4406         explicitly with each use of ${test_wrapper_env}.
4407         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4408         $(test-program-prefix-before-env), $(run-program-env) and
4409         $(test-program-prefix-after-env).
4410         * posix/tst-getconf.sh: Do not set environment variables
4411         explicitly.
4412         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4413         run_program_env and test_program_prefix_after_env arguments.
4414         * stdio-common/tst-printf.sh: Do not set environment variables
4415         explicitly.
4416         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4417         $(test-program-prefix-before-env), $(run-program-env) and
4418         $(test-program-prefix-after-env).
4419         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4420         run_program_env and test_program_prefix_after_env arguments.
4421         Split $test calls into $test_pre and $test.
4422         * timezone/Makefile (build-testdata): Use
4423         $(built-program-cmd-before-env), $(run-program-env) and
4424         $(built-program-cmd-after-env).
4425
4426 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4427
4428         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4429         strlen for non SHARED builds.
4430
4431 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4432
4433         * nptl/allocatestack.c (check_list): Inlined function...
4434         (__reclaim_stacks): ... here.
4435
4436 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4437
4438         [BZ #15698]
4439         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4440         memory overrun.
4441
4442 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4443
4444         * Rules (make-test-out): Include
4445         LOCPATH=$(common-objpfx)localedata in default environment.
4446         * debug/Makefile (tst-chk1-ENV): Remove variable.
4447         (tst-chk2-ENV): Likewise.
4448         (tst-chk3-ENV): Likewise.
4449         (tst-chk4-ENV): Likewise.
4450         (tst-chk5-ENV): Likewise.
4451         (tst-chk6-ENV): Likewise.
4452         (tst-lfschk1-ENV): Likewise.
4453         (tst-lfschk2-ENV): Likewise.
4454         (tst-lfschk3-ENV): Likewise.
4455         (tst-lfschk4-ENV): Likewise.
4456         (tst-lfschk5-ENV): Likewise.
4457         (tst-lfschk6-ENV): Likewise.
4458         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4459         (tst-iconv7-ENV): Likewise.
4460         * intl/Makefile (LOCPATH-ENV): Likewise.
4461         (tst-codeset-ENV): Likewise.
4462         (tst-gettext3-ENV): Likewise.
4463         (tst-gettext5-ENV): Likewise.
4464         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4465         (tst-fopenloc-ENV): Likewise.
4466         (tst-fgetws-ENV): Remove variable.
4467         (tst-ungetwc1-ENV): Likewise.
4468         (tst-ungetwc2-ENV): Likewise.
4469         (bug-ungetwc2-ENV): Likewise.
4470         (tst-swscanf-ENV): Likewise.
4471         (bug-ftell-ENV): Likewise.
4472         (tst-fgetwc-ENV): Likewise.
4473         (tst-fseek-ENV): Likewise.
4474         (tst-ftell-partial-wide-ENV): Likewise.
4475         (tst-ftell-active-handler-ENV): Likewise.
4476         (tst-ftell-append-ENV): Likewise.
4477         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4478         (tst-regexloc-ENV): Likewise.
4479         (bug-regex1-ENV): Likewise.
4480         (tst-regex-ENV): Likewise.
4481         (tst-regex2-ENV): Likewise.
4482         (bug-regex5-ENV): Likewise.
4483         (bug-regex6-ENV): Likewise.
4484         (bug-regex17-ENV): Likewise.
4485         (bug-regex18-ENV): Likewise.
4486         (bug-regex19-ENV): Likewise.
4487         (bug-regex20-ENV): Likewise.
4488         (bug-regex22-ENV): Likewise.
4489         (bug-regex23-ENV): Likewise.
4490         (bug-regex25-ENV): Likewise.
4491         (bug-regex26-ENV): Likewise.
4492         (bug-regex30-ENV): Likewise.
4493         (bug-regex32-ENV): Likewise.
4494         (bug-regex33-ENV): Likewise.
4495         (bug-regex34-ENV): Likewise.
4496         (bug-regex35-ENV): Likewise.
4497         (tst-rxspencer-ENV): Likewise.
4498         (tst-rxspencer-no-utf8-ENV): Likewise.
4499         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4500         (tst-sscanf-ENV): Likewise.
4501         (tst-swprintf-ENV): Likewise.
4502         (tst-swscanf-ENV): Likewise.
4503         (test-vfprintf-ENV): Likewise.
4504         (scanf13-ENV): Likewise.
4505         (bug14-ENV): Likewise.
4506         (tst-grouping-ENV): Likewise.
4507         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4508         (tst-strtod3-ENV): Likewise.
4509         (tst-strtod4-ENV): Likewise.
4510         (tst-strtod5-ENV): Likewise.
4511         (testmb2-ENV): Likewise./
4512         * string/Makefile (tst-strxfrm-ENV): Likewise.
4513         (tst-strxfrm2-ENV): Likewise.
4514         (bug-strcoll1-ENV): Likewise.
4515         (test-strcasecmp-ENV): Likewise.
4516         (test-strncasecmp-ENV): Likewise.
4517         * time/Makefile (tst-strptime-ENV): Likewise.
4518         (tst-ftime_l-ENV): Likewise.
4519         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4520         (tst-mbrtowc-ENV): Likewise.
4521         (tst-wcrtomb-ENV): Likewise.
4522         (tst-mbrtowc2-ENV): Likewise.
4523         (tst-c16c32-1-ENV): Likewise.
4524         (tst-mbsnrtowcs-ENV): Likewise.
4525
4526 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4527
4528         * manual/resource.texi (How to get information about the memory
4529         subsystem?): Fix typo.
4530         Reported by Peon de la Parra Ivan <peon@keba.com>
4531
4532 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4533
4534         [BZ #16882]
4535         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4536         (pthread_spin_lock): Branch out of spin loop to proper location.
4537         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4538         (pthread_spin_lock): Likewise.
4539
4540         * nptl/tst-spin4.c: New test.
4541         * nptl/Makefile (tests): Add tst-spin4.
4542
4543 2014-06-03  Andreas Schwab  <schwab@suse.de>
4544
4545         [BZ #15946]
4546         * resolv/res_send.c (send_dg): Reload file descriptor after
4547         calling reopen.
4548
4549 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4550
4551         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4552
4553 2014-06-03  Richard Henderson  <rth@redhat.com>
4554
4555         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4556         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4557         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4558         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4559         in the SAVE_PID block.
4560         (__libc_vfork): New alias.
4561         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4562
4563         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4564         child in registers, not on the stack.  Remove RESET_PID conditionals.
4565         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4566
4567 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4568
4569         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4570
4571 2014-06-03  Wilco  <wdijkstr@arm.com>
4572
4573         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4574         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4575         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4576         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4577         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4578         Likewise.
4579
4580 2014-06-03  Wilco  <wdijkstr@arm.com>
4581
4582         * sysdeps/aarch64/fpu/math_private.h
4583         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4584         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4585         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4586         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4587         Fix declarations.
4588
4589 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4590
4591         * crypt/crypt-private.h: Include ufc-crypt.h.
4592         (__b64_from_24bit): Declare extern.
4593         * crypt/crypt_util.c(__b64_from_24bit): New function.
4594         (b64t): New static const variable.
4595         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4596         (b64t): Remove variable.
4597         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4598         * crypt/sha256-crypt.c: Include crypt-private.h.
4599         (b64t): Remove variable.
4600         (__sha256_crypt_r): Remove b64_from_24bit and replace
4601         with __b64_from_24bit.
4602         * crypt/sha512-crypt.c: Likewise.
4603
4604 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4605
4606         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4607         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4608         Label the code __libc_vfork rather than __vfork.
4609         [!NOT_IN_libc] (vfork): Define as weak alias.
4610         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4611         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4612         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4613
4614 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4615
4616         * malloc/malloc.c (malloc_info): Fix format specifier for
4617         n_mmaps.
4618
4619 2014-06-02  Wilco  <wdijkstr@arm.com>
4620
4621         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4622         FPCR write.
4623
4624 2014-06-02  Wilco  <wdijkstr@arm.com>
4625
4626         [BZ #17009]
4627         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4628         Rewrite to reduce FPCR/FPSR accesses.
4629
4630 2014-06-01  David S. Miller  <davem@davemloft.net>
4631
4632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4633
4634 2014-05-31  David S. Miller  <davem@davemloft.net>
4635
4636         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4637         to occur in round to nearest mode when |x| >= 2.0
4638
4639 2014-05-30  Richard Henderson  <rth@twiddle.net>
4640
4641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4642         (PSEUDO_RET_NOERRNO): Remove.
4643         (ret): Don't redefine.
4644         (ret_NOERRNO): Define in terms of ret.
4645         (ret_ERRVAL): Likewise.
4646
4647         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4648         use of PSEUDO_RET; perform the error check directly.
4649
4650 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4651
4652         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4653         with __int128_t.
4654
4655 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4656
4657         * malloc/malloc (malloc_info): Fix formatting.
4658
4659 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4660             Roland McGrath  <roland@hack.frob.com>
4661
4662         * malloc/malloc (malloc_info): Also print mmapped statistics.
4663
4664 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4665
4666         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4667         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4668
4669 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4670
4671         * malloc/malloc.c (malloc_info): Inline mi_arena.
4672
4673 2014-05-29  Richard Henderson  <rth@twiddle.net>
4674
4675         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4676         Remove comma before expanding ASM_ARGS_##nr.
4677         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4678         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4679         of ASM_ARGS_##nr.
4680         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4681         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4682         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4683         (ASM_ARGS_1): Add leading comma.
4684
4685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4686         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4687         to __errno_location.
4688         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4689         Remove the expected plt for __errno_location.
4690
4691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4692         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4693         call to __read_tp.
4694
4695         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4696         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4697         it and break it down.
4698         (DOCARGS_0, DOCARGS_1): Do nothing.
4699         (DOCARGS_2): Update to store into the new stack frame.
4700         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4701         (UNDOCARGS_1): Update to restore from the new stack frame.
4702         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4703         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4704
4705         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4706         (SINGLE_THREAD_P): New parameter for result regno.
4707         (PSEUDO): Update to match; use cbz instead of beq.
4708
4709         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4710         Use ENTRY to define the _nocancel entry point.  Share the syscall
4711         and syscall error check paths with the cancel path.
4712         (PSEUDO_END): New.
4713
4714         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4715         whitespace; tabs before and after asm mnemonics.
4716
4717 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4718
4719         [BZ #15132]
4720         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4721         Call fstat64 or stat64 internally, depending on arguments passed.
4722         Replace stat buffer argument with file descriptor argument.
4723         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4724         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4725         Pass fd to __internal_statvfs instead of calling fstat64.
4726         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4727         Pass fd to __internal_statvfs64 instead of calling fstat64.
4728         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4729         Pass -1 to __internal_statvfs instead of calling stat64.
4730         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4731         Pass -1 to __internal_statvfs64 instead of calling stat64.
4732
4733 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4734
4735         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4736         that was previously under [RESET_PID].
4737         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4738
4739         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4740         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4741
4742 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4743
4744         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4745
4746         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4747         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4748
4749 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4750
4751         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4752
4753 2014-05-27  Andreas Schwab  <schwab@suse.de>
4754
4755         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4756         TLS_INIT_TP macro.
4757         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4758         * elf/rtld.c (init_tls, dl_main): Likewise.
4759         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4760         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4761         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4762         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4763         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4764         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4765         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4766         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4767         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4768         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4769         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4770         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4771         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4772         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4773         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4774         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4775         * sysdeps/generic/tls.h: Update description.
4776
4777 2014-05-27  Will Newton  <will.newton@linaro.org>
4778
4779         [BZ #16990]
4780         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4781         and restore r2 rather than just restoring.
4782
4783 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4784
4785         [BZ #16724]
4786         * libio/tst-ftell-append.c: New test case.
4787         * libio/Makefile (tests): Add test case.
4788         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4789         append mode.
4790         * libio/wfileops.c (do_ftell_wide): Likewise.
4791
4792 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4793
4794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4795
4796         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4797         ...
4798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4800         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4801         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4802         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4803         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4804         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4805         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4807         Moved ...
4808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4809         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4810         Moved ...
4811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4812         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4813         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4814         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4815         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4816         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4817         ...
4818         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4819         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4820         Moved ...
4821         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4822         here.
4823         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4824         ...
4825         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4826         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4827         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4828
4829         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4830         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4831         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4832         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4833
4834         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4835         merge into ...
4836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4837         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4838         ...
4839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4841         ...
4842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4844         Moved ...
4845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4846         here.
4847         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4848         Moved ...
4849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4851         Moved ...
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4853
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4855         conditional [RESET_PID].
4856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4858         removed.
4859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4860         removed.
4861
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4863         <tcb-offsets.h>.
4864         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4865         (__libc_vfork): New strong alias.
4866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4867         removed.
4868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4869         Removed.
4870
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4872         <tcb-offsets.h>.
4873         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4874         (__libc_vfork): New strong alias.
4875         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4876         removed.
4877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4878         removed.
4879
4880 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4881
4882         * malloc/malloc.c (mi_arena): New function.
4883         (malloc_info): Remove nested function mi_arena. Call non-nosted
4884         function mi_arena.
4885
4886 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4887
4888         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4889         by insrwi.
4890         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4891         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4892         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4893         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4894         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4895         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4896         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4897
4898 2014-05-26  Andreas Schwab  <schwab@suse.de>
4899
4900         [BZ #16984]
4901         * locale/programs/repertoire.c (repertoire_read): Add slash
4902         between I18NPATH element and file name.
4903         * locale/programs/locfile.c (locfile_read): Likewise.
4904
4905 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4906
4907         * nptl/pthread_mutexattr_settype.c
4908         (__pthread_mutexattr_settype):
4909         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4910
4911 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4912
4913         * nptl/tst-mutex5 (do_test):
4914         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4915
4916 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4917
4918         * benchtests/README: Document 'init' directive.
4919         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4920         BENCH_INIT.
4921         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4922         (parse_file): Recognize 'init' directive.
4923
4924 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4925
4926         [BZ #16796]
4927         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4928         alignment of struct pthread.
4929
4930 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4931
4932         [BZ #16878]
4933         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4934         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4935         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4936         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4937
4938 2014-05-25  Richard Henderson  <rth@twiddle.net>
4939
4940         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4941         (SINGLE_THREAD_P_PIC): Remove.
4942         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4943         (SINGLE_THREAD_P_PIC): Remove.
4944
4945         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4946         branch to syscall error ...
4947         (PSEUDO): ... here.
4948         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4949         from __local_syscall_error to .Lsyscall_error.
4950         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4951         (SYSCALL_ERROR): Update label name.
4952
4953         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4954         Do not use DOARGS/UNDOARGS.
4955         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4956         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4957         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4958         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4959         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4960
4961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4962         block comment.
4963
4964         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4965         define if !NOT_IN_libc.
4966         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4967         define with non-default symbol versions.
4968
4969 2014-05-23  Richard Henderson  <rth@twiddle.net>
4970
4971         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4972         (vfork, __vfork): Define via compat_symbol.
4973
4974         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4975         [!HAVE_IFUNC] (vfork_compat): Remove.
4976         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4977
4978 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4979
4980         [BZ #16978]
4981         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4982         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4983         variable.
4984
4985 2014-05-23  Richard Henderson  <rth@twiddle.net>
4986
4987         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4988         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4989         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4990         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4991
4992         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4993         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4994         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4995         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4996         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4997         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4998         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4999         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5000         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5001         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5002         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5003         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5004         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5005         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5006         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5007         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5008         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5009         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5010         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5011         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5012         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5013         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5014         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5015         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5016         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5017         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5018         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5019         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5020         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5021         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5022         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5023         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5024         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5025         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5026         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5027         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5028         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5029         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5030         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5031         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5032         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5033         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5034         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5035         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5036         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5037         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5038         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5039         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5040         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5041         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5042         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5043         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5044         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5045         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5046         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5047         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5048
5049         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5050         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5051         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5052         before exiting on error.
5053         (__libc_vfork): New strong alias.
5054         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5055         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5056
5057         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5058         that was previously under [RESET_PID].
5059         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5060
5061         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5062
5063 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5064
5065         [BZ #16977]
5066         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5067         value when x - 1 is zero.
5068         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5069         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5070         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5071         0.0L for an argument of 1.0L.
5072         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5073         Likewise.
5074         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5075         value when x - 1 is zero.
5076         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5077         * sysdeps/i386/fpu/libm-test-ulps: Update.
5078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5079
5080 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5081
5082         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5083         alphasort and versionsort.
5084
5085 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5086
5087         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5088         macro.
5089         [copysignf]: Likewise.
5090
5091 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5092
5093         * crypt/md5-crypt.c: Fix formatting.
5094
5095 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5096
5097         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5098         (b64_from_24bit): New function.
5099
5100 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5101
5102         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5103         libc_hidden_builtin_def to ifunc.
5104         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5105         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5106
5107 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5108
5109         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5110         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5111
5112 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5113
5114         * nscd/Depend (linuxthreads): Remove.
5115         (nptl): Add.
5116         * resolv/Depend (linuxthreads): Remove.
5117         * rt/Depend (linuxthreads): Remove.
5118
5119         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5120         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5121         $(common-objpfx)elf/.
5122         (link-libc-before-gnulib): Likewise.
5123         (elfobjdir): Remove variable.
5124         * Makefile (install): Use $(elf-objpfx) instead of
5125         $(common-objpfx)elf/.
5126         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5127         $(elfobjdir)/.
5128         (link-libc-deps): Likewise.
5129         ($(common-objpfx)libc.so): Likewise.
5130         ($(common-objpfx)linkobj/libc.so): Likewise.
5131         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5132         instead of $(common-objpfx)elf/.
5133         (symbolic-link-list): Likewise.
5134         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5135         [$(cross-compiling) = no]: Likewise.
5136         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5137         $(elfobjdir)/.
5138         (static-gnulib-arch): Likewise.
5139         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5140         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5141         $(common-objpfx)elf/.
5142
5143 2014-05-21  Richard Henderson  <rth@redhat.com>
5144
5145         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5146         (SINGLE_THREAD_P): Use the correct width load.  Fold
5147         into the ldr offset.
5148
5149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5150         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5151
5152 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5153
5154         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5155         (libgcc_s_resume): Use __attribute_used__.
5156         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5157         Likewise.
5158
5159 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5160
5161         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5162         optimization when used with float constants.
5163
5164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5165
5166 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5167
5168         [BZ #16915]
5169         * locale/nl_langinfo_l.c: Make direct reference to every
5170         _nl_current_CATEGORY symbol.
5171         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5172         (tests-static): Add tst-langinfo-static.
5173         (tests-special): Add tst-langinfo-static.out.
5174         ($(objpfx)tst-langinfo.out): Redirect output.
5175         ($(objpfx)tst-langinfo-static.out): New.
5176         * localedata/tst-langinfo.sh: Send output to stdout.
5177         * localedata/tst-langinfo-static.c: New file.
5178
5179         [BZ #16965]
5180         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5181         when the shift amount is modulo the limb size.
5182
5183 2014-05-20  Richard Henderson  <rth@redhat.com>
5184
5185         [BZ #16967]
5186         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5187         Change type of sa_flags from unsigned int to int.
5188
5189         [BZ #16966]
5190         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5191
5192         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5193
5194 2014-05-20  Will Newton  <will.newton@linaro.org>
5195
5196         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5197         Test the return value of the system call in the nocancel case.
5198
5199 2014-05-20  Will Newton  <will.newton@linaro.org>
5200             Yvan Roux  <yvan.roux@linaro.org>
5201
5202         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5203         #include of asm/ptrace.h.
5204         (PTRACE_GET_THREAD_AREA): Remove #undef.
5205         (PTRACE_GETHBPREGS): Likewise.
5206         (PTRACE_SETHBPREGS): Likewise.
5207         (struct user_regs_struct): New structure.
5208         (struct user_fpsimd_struct): New structure.
5209         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5210         #include of asm/ptrace.h and second #include of sys/user.h.
5211         (PTRACE_GET_THREAD_AREA): Remove #undef.
5212         (PTRACE_GETHBPREGS): Likewise.
5213         (PTRACE_SETHBPREGS): Likewise.
5214         (ELF_NGREG): Use new struct user_regs_struct.
5215         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5216
5217 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5218
5219         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5220         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5221
5222 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5223
5224         [BZ #16958]
5225         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5226         membar to avoid block loads/stores to overlap previous stores.
5227
5228 2014-05-17  Richard Henderson  <rth@redhat.com>
5229
5230         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5231         Create the __##syscall_name##_nocancel entry point.
5232         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5233         Remove; let the sysdep-cancel.h code create it.
5234
5235 2014-05-17  David S. Miller  <davem@davemloft.net>
5236
5237         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5238         Protect with __USE_GNU.
5239         (TIOCSET_TEMPT): Likewise.
5240         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5241         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5242         these are already provided in bits/ioctl-types.h
5243
5244 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5245
5246         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5247         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5248
5249         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5250         Use wait4 regardless of [__NR_waitpid].
5251
5252 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5253
5254         PR libgcc/60166
5255         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5256         (_FP_NANSIGN_Q): Set the quiet bit.
5257
5258 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5259
5260         * benchtests/Makefile
5261         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5262         not $(common-objpfx)math/libm.so.
5263         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5264         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5265         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5266         $(common-objpfx)dlfcn/libdl.so.
5267         ($(objpfx)tst-audit8): Depend on $(libm), not
5268         $(common-objpfx)math/libm.so.
5269         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5270         not $(common-objpfx)dlfcn/libdl.so.
5271         * math/Makefile
5272         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5273         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5274         [$(build-shared) = yes].
5275         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5276         $(common-objpfx)nptl/libpthread.so.
5277         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5278         $(common-objpfx)math/libm.so$(libm.so-version) or
5279         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5280         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5281         $(common-objpfx)dlfcn/libdl.so.
5282         * setjmp/Makefile (link-libm): Remove variable.
5283         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5284         * stdio-common/Makefile (link-libm): Remove variable.
5285         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5286         * stdlib/Makefile (link-libm): Remove variable.
5287         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5288         ($(objpfx)tst-strtod-round): Likewise.
5289         ($(objpfx)tst-tininess): Likewise.
5290         ($(objpfx)tst-strtod-underflow): Likewise.
5291         ($(objpfx)tst-strtod6): Likewise.
5292         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5293         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5294         $(common-objpfx)dlfcn/libdl.so.
5295
5296 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5297
5298         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5299         BSD terminal modes definitions.
5300
5301 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5302
5303         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5304         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5305
5306         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5307         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5308         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5309         Don't do #include_next.
5310         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5311         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5312         Don't do #include_next.
5313         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5314         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5315         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5316         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5317
5318 2014-05-16  Allan McRae  <allan@archlinux.org>
5319
5320         * po/sv.po: Update Swedish translation from translation project.
5321
5322         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5323         in sed expression.
5324
5325 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5326
5327         [BZ #16917]
5328         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5329         errno if the TIOCGPTN ioctl fails with an error different than
5330         EINVAL.
5331         * login/tst-ptsname.c: New file.
5332         * login/Makefile (tests): Add tst-ptsname.
5333
5334         [BZ #16943]
5335         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5336         and prlimit64.
5337
5338 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5339
5340         [BZ #16849]
5341         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5342         herrno to return EAI_AGAIN.
5343
5344 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5345
5346         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5347         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5348         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5349         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5350         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5351         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5352         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5353         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5354         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5355         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5356         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5357         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5358         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5359         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5360         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5361         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5362         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5363         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5364         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5365         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5366         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5367         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5368         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5369         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5370         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5371         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5372         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5373         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5374         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5375         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5377         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5379         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5381         Moved ...
5382         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5384         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5386         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5388         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5390         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5392         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5394         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5396         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5398         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5400         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5402         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5404         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5406         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5408         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5410         Moved ...
5411         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5413         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5415         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5417         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5419         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5421         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5423         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5425         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5427         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5429         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5431         Moved ...
5432         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5434         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5435
5436         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5437         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5438         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5439         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5440         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5441         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5442         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5443         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5444         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5445         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5446         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5447         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5448         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5449         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5450         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5451         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5452         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5453         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5454         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5455         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5456         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5457         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5458         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5459         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5460         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5461         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5462         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5463         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5464         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5465         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5466         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5467
5468         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5469         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5470
5471         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5472         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5473         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5474         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5475         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5476         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5477         Moved ...
5478         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5479         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5480         Moved ...
5481         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5482         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5483         Moved ...
5484         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5485         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5486         Moved ...
5487         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5488         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5489         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5490         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5491         Moved ...
5492         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5493         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5494         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5495         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5496         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5497         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5498         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5499         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5500         Moved ...
5501         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5502         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5503         Moved ...
5504         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5505         ... here.
5506         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5507         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5508         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5509         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5510         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5511         Moved ...
5512         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5513         ... here.
5514         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5515         Moved ...
5516         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5517         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5518         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5519         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5520         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5521         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5522         Moved ...
5523         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5524         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5525         Moved ...
5526         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5527         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5528         Moved ...
5529         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5530         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5531         Moved ...
5532         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5533         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5534         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5535         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5536         Moved ...
5537         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5538         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5539         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5540         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5541         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5542         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5543         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5544         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5545         Moved ...
5546         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5547         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5548         Moved ...
5549         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5550         ... here.
5551         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5552         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5553         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5554         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5555         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5556         Moved ...
5557         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5558         ... here.
5559         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5560         Moved ...
5561         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5562         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5563         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5564         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5565         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5566         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5568         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5569         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5570         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5571         Moved ...
5572         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5573         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5574         Moved ...
5575         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5576         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5577         Moved ...
5578         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5579         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5580         Moved ...
5581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5582         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5583         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5584         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5585         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5586         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5587         Moved ...
5588         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5589         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5590         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5591         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5592         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5593         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5594         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5595         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5596         Moved ...
5597         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5598         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5599         Moved ...
5600         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5601         ... here.
5602         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5603         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5604         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5605         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5606         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5607         Moved ...
5608         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5609         ... here.
5610         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5611         Moved ...
5612         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5613         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5614         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5615         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5616         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5617         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5618         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5619         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5620         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5622         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5623
5624         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5625         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5626
5627         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5628         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5629
5630         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5631         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5632         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5633         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5634         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5635         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5636         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5637         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5638         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5639         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5640         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5641         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5642         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5643         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5644         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5645         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5646         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5647         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5648         Moved ...
5649         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5651         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5653         Moved ...
5654         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5655         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5656         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5657         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5658         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5659         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5660         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5661         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5662         Moved ...
5663         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5664         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5665         Moved ...
5666         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5667         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5668         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5669         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5670         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5671         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5672         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5673         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5674         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5675         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5676         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5677         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5678         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5679         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5680         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5681         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5682         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5683
5684         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5685         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5686         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5687         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5688         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5689
5690         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5691         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5692         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5693         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5694         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5695         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5696         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5697         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5698         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5699         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5700
5701         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5702         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5703
5704         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5705         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5706         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5707         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5708         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5709         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5710         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5711         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5712         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5713         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5714         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5715         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5716         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5717         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5719         Update #include.
5720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5721         Likewise.
5722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5723         Likewise.
5724         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5725         Likewise.
5726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5727         Likewise.
5728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5729         Likewise.
5730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5731         Likewise.
5732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5733         Likewise.
5734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5735         Likewise.
5736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5737         Likewise.
5738         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5740         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5742         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5743         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5744         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5745         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5746         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5747         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5748         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5749         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5750         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5751         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5752         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5753
5754         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5755         that was previously under [RESET_PID].
5756         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5757         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5758         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5759
5760         * sysdeps/i386/nptl/Implies: New file.
5761         * sysdeps/x86_64/nptl/Implies: New file.
5762         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5763         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5764         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5765         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5766
5767         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5768         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5769         (__libc_vfork): New strong alias.
5770         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5771         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5772
5773         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5774         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5775         (__libc_vfork): New strong alias.
5776         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5777         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5778
5779         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5780         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5781         (__libc_vfork): New strong alias.
5782         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5783         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5784         * nptl/pt-vfork.c: New file.
5785         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5786         (libpthread: GLIBC_2.20): New version set (empty).
5787
5788 2014-05-14  Will Newton  <will.newton@linaro.org>
5789
5790         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5791         rather than #if.
5792
5793 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5794
5795         [BZ #16564]
5796         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5797         arguments with exponent 65 or above.
5798         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5799         arguments 0x1p113L or above.
5800         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5801         to arguments 0x1p107L or above.
5802         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5803         positive arguments with exponent 65 or above.
5804         * math/auto-libm-test-in: Add more tests of log1p.
5805         * math/auto-libm-test-out: Regenerated.
5806
5807         [BZ #16928]
5808         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5809         non-finite arguments is +0.
5810         * math/s_cacosf.c (__cacosf): Likewise.
5811         * math/s_cacosl.c (__cacosl): Likewise.
5812         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5813         * sysdeps/i386/fpu/libm-test-ulps: Update.
5814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5815
5816         [BZ #16927]
5817         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5818         value.
5819         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5820         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5821         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5822         for explicit high bit of mantissa when testing for argument equal
5823         to 1.
5824         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5825         * sysdeps/i386/fpu/libm-test-ulps: Update.
5826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5827
5828         [BZ #16516]
5829         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5830         (__erf): Scale by 16 instead of 8 in potentially underflowing
5831         case.  Ensure exception if result actually underflows.
5832         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5833         (__erff): Scale by 16 instead of 8 in potentially underflowing
5834         case.  Ensure exception if result actually underflows.
5835         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5836         (efx8): Remove variable.
5837         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5838         case.  Ensure exception if result actually underflows.
5839         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5840         (efx8): Remove variable.
5841         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5842         case.  Ensure exception if result actually underflows.
5843         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5844         (efx8): Remove variable.
5845         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5846         case.  Ensure exception if result actually underflows.
5847         * math/auto-libm-test-in: Add more tests of erf.
5848         * math/auto-libm-test-out: Regenerated.
5849
5850 2014-05-14  Andreas Schwab  <schwab@suse.de>
5851
5852         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5853         Remove code conditionalized on USE___THREAD.
5854
5855         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5856         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5857         not definedness.
5858
5859 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5860
5861         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5862         Define unconditionally.
5863         (__ASSUME_O_CLOEXEC): Likewise.
5864         (__ASSUME_SOCK_CLOEXEC): Likewise.
5865         (__ASSUME_IN_NONBLOCK): Likewise.
5866         (__ASSUME_PIPE2): Likewise.
5867         (__ASSUME_EVENTFD2): Likewise.
5868         (__ASSUME_SIGNALFD4): Likewise.
5869         (__ASSUME_DUP3): Likewise.
5870         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5871         (__ASSUME_DUP3): Do not define.
5872         (__ASSUME_EVENTFD2): Likewise.
5873         (__ASSUME_IN_NONBLOCK): Likewise.
5874         (__ASSUME_O_CLOEXEC): Likewise.
5875         (__ASSUME_PIPE2): Likewise.
5876         (__ASSUME_SIGNALFD4): Likewise.
5877         (__ASSUME_SOCK_CLOEXEC): Likewise.
5878         (__ASSUME_UTIMES): Undefine.
5879         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5880         (__ASSUME_UTIMES): Do not define.
5881         (__ASSUME_O_CLOEXEC): Likewise.
5882         (__ASSUME_SOCK_CLOEXEC): Likewise.
5883         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5884         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5885         0x020621].
5886         (__ASSUME_PIPE2): Likewise.
5887         (__ASSUME_EVENTFD2): Likewise.
5888         (__ASSUME_SIGNALFD4): Likewise.
5889         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5890         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5891         Do not define.
5892         (__ASSUME_EVENTFD2): Likewise.
5893         (__ASSUME_SIGNALFD4): Likewise.
5894         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5895         (__ASSUME_32BITUIDS): Likewise.
5896         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5897         (__ASSUME_IPC64): Likewise.
5898         (__ASSUME_ST_INO_64_BIT): Likewise.
5899         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5900         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5901         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5902         (__ASSUME_UTIMES): Do not define.
5903         (__ASSUME_PSELECT): Likewise.
5904         (__ASSUME_PPOLL): Likewise.
5905         (__ASSUME_O_CLOEXEC): Likewise.
5906         (__ASSUME_SOCK_CLOEXEC): Likewise.
5907         (__ASSUME_IN_NONBLOCK): Likewise.
5908         (__ASSUME_PIPE2): Likewise.
5909         (__ASSUME_EVENTFD2): Likewise.
5910         (__ASSUME_SIGNALFD4): Likewise.
5911         (__ASSUME_DUP3): Likewise.
5912         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5913         (__ASSUME_UTIMES): Likewise.
5914         (__ASSUME_O_CLOEXEC): Likewise.
5915         (__ASSUME_SOCK_CLOEXEC): Likewise.
5916         (__ASSUME_IN_NONBLOCK): Likewise.
5917         (__ASSUME_PIPE2): Likewise.
5918         (__ASSUME_EVENTFD2): Likewise.
5919         (__ASSUME_SIGNALFD4): Likewise.
5920         (__ASSUME_DUP3): Likewise.
5921         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5922         (__ASSUME_UTIMES): Likewise.
5923         (__ASSUME_O_CLOEXEC): Likewise.
5924         (__ASSUME_SOCK_CLOEXEC): Likewise.
5925         (__ASSUME_IN_NONBLOCK): Likewise.
5926         (__ASSUME_PIPE2): Likewise.
5927         (__ASSUME_EVENTFD2): Likewise.
5928         (__ASSUME_SIGNALFD4): Likewise.
5929         (__ASSUME_DUP3): Likewise.
5930         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5931         Likewise.
5932         (__ASSUME_UTIMES): Likewise.
5933         (__ASSUME_EVENTFD2): Likewise.
5934         (__ASSUME_SIGNALFD4): Likewise.
5935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5936         (__ASSUME_O_CLOEXEC): Likewise.
5937         (__ASSUME_SOCK_CLOEXEC): Likewise.
5938         (__ASSUME_IN_NONBLOCK): Likewise.
5939         (__ASSUME_PIPE2): Likewise.
5940         (__ASSUME_EVENTFD2): Likewise.
5941         (__ASSUME_SIGNALFD4): Likewise.
5942         (__ASSUME_DUP3): Likewise.
5943         (__ASSUME_UTIMES): Undefine.
5944
5945         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5946         feclearexcept.  Remove symbol versioning code.
5947         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5948         symbol versioning code.
5949         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5950         symbol versioning code.
5951         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5952         feupdateenv.  Remove symbol versioning code.
5953         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5954         fegetexceptflag.  Remove symbol versioning code.
5955         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5956         fesetexceptflag.  Remove symbol versioning code.
5957         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5958         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5959         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5960         (__posix_fadvise64_l32): Remove prototype.
5961         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5962         code.
5963
5964 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5965
5966         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5967         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5968         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5969         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5970
5971 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5972
5973         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5974         current working directory
5975
5976 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5977
5978         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5979         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5980         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5981         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5982         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5983         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5984         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5985         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5986         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5987         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5988         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5989         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5990         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5991         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5992         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5993         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5994         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5995         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5996         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5997         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5998         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5999         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6000         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6001         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6002         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6003         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6004         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6005         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6006         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6007         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6008         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6009         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6010         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6011         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6012         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6013         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6014         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6015         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6016         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6017         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6018         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6019         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6020
6021         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6022         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6023
6024         * sysdeps/unix/sysv/linux/arm/Makefile
6025         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6026         Add rt-aeabi_unwind_cpp_pr1.
6027         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6028         Add nptl-aeabi_unwind_cpp_pr1.
6029         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6030         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6031         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6032         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6033         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6034         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6035
6036         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6037         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6038         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6039         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6040
6041         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6042         Deconditionalize the code that was previously under [RESET_PID].
6043         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6044
6045         * sysdeps/generic/exit-thread.h: New file.
6046         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6047         * include/unistd.h (__exit_thread): Remove declaration.
6048         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6049         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6050         * csu/libc-start.c: Include <exit-thread.h>.
6051         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6052         * nptl/pthread_create.c: Include <exit-thread.h>.
6053         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6054         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6055         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6056         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6057         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6058         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6059         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6060         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6061         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6062         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6063         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6064         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6065         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6066         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6067         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6068         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6069         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6070
6071 2014-05-13  Andreas Schwab  <schwab@suse.de>
6072
6073         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6074
6075 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6076
6077         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6078         (__ASSUME_UTIMES): Do not condition on kernel version.
6079         (__ASSUME_PSELECT): Define unconditionally.
6080         (__ASSUME_PPOLL): Likewise.
6081         (__ASSUME_ATFCTS): Likewise.
6082         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6083         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6084         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6085         (__ASSUME_UTIMENSAT): Define unconditionally.
6086         (__ASSUME_PRIVATE_FUTEX): Likewise.
6087         (__ASSUME_FALLOCATE): Likewise.
6088         (__ASSUME_O_CLOEXEC): Likewise.
6089         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6090         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6091         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6092         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6093         (__ASSUME_IN_NONBLOCK): Likewise.
6094         (__ASSUME_PIPE2): Likewise.
6095         (__ASSUME_EVENTFD2): Likewise.
6096         (__ASSUME_SIGNALFD4): Likewise.
6097         (__ASSUME_DUP3): Likewise.
6098         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6099         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6100         (__ASSUME_AT_RANDOM): Likewise.
6101         (__ASSUME_PREADV): Likewise.
6102         (__ASSUME_PWRITEV): Likewise.
6103         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6104         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6105         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6106         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6107         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6108         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6109         (__ASSUME_O_CLOEXEC): Define unconditionally.
6110         (__ASSUME_PSELECT): Do not undefine conditionally.
6111         (__ASSUME_PPOLL): Likewise.
6112         (__ASSUME_ATFCTS): Likewise.
6113         (__ASSUME_SET_ROBUST_LIST): Likewise.
6114         (__ASSUME_UTIMENSAT): Likewise.
6115         (__ASSUME_FDATASYNC): Define unconditionally.
6116         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6117         (__ASSUME_SIGFRAME_V2): Likewise.
6118         )__ASSUME_EVENTFD2): Likewise.
6119         (__ASSUME_SIGNALFD4): Likewise.
6120         (__ASSUME_PSELECT): Do not undefine conditionally.
6121         (__ASSUME_PPOLL): Likewise.
6122         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6123         (__ASSUME_PSELECT): Define unconditionally.
6124         (__ASSUME_PPOLL): Likewise.
6125         (__ASSUME_O_CLOEXEC): Likewise.
6126         (__ASSUME_SOCK_CLOEXEC): Likewise.
6127         (__ASSUME_IN_NONBLOCK): Likewise.
6128         (__ASSUME_PIPE2): Likewise.
6129         (__ASSUME_EVENTFD2): Likewise.
6130         (__ASSUME_SIGNALFD4): Likewise.
6131         (__ASSUME_DUP3): Likewise.
6132         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6133         (__ASSUME_O_CLOEXEC): Likewise.
6134         (__ASSUME_SOCK_CLOEXEC): Likewise.
6135         (__ASSUME_IN_NONBLOCK): Likewise.
6136         (__ASSUME_PIPE2): Likewise.
6137         (__ASSUME_EVENTFD2): Likewise.
6138         (__ASSUME_SIGNALFD4): Likewise.
6139         (__ASSUME_DUP3): Likewise.
6140         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6141         (__ASSUME_EVENTFD2): Likewise.
6142         (__ASSUME_SIGNALFD4): Likewise.
6143         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6144
6145 2014-05-12  Andreas Schwab  <schwab@suse.de>
6146
6147         [BZ #16932]
6148         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6149         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6150         than maximum RPC packet size.
6151         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6152         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6153         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6154         (_nss_nis_getservbyport_r): Likewise.
6155
6156 2014-05-12  Will Newton  <will.newton@linaro.org>
6157
6158         * malloc/Makefile (tests): Add tst-mallopt.
6159         * malloc/tst-mallopt.c: New file.
6160
6161 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6162
6163         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6164         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6165
6166 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6167
6168         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6169         (tst-tlsmod6.so): Likewise.
6170
6171 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6172
6173         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6174
6175 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6176
6177         [BZ #16064]
6178         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6179         and <dl-procinfo.h>.
6180         (__fegetenv): Save SSE state in envp->__eip if supported.
6181         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6182         envp->__eip if supported.
6183         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6184         and <dl-procinfo.h>.
6185         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6186         __data_offset and __data_selector in environment to 0.  Set SSE
6187         state if supported.
6188         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6189         test-fenv-sse.
6190         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6191         -mfpmath=sse.
6192         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6193
6194 2014-05-09  Will Newton  <will.newton@linaro.org>
6195
6196         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6197         and libc_relro_required for ARM.
6198         * sysdeps/arm/preconfigure: Regenerate.
6199
6200 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6201             Stefan Liebler  <stli@linux.vnet.ibm.com>
6202
6203         * config.make.in (enable-lock-elision): New Makefile variable.
6204         * configure.ac: Likewise.
6205         * configure: Regenerate.
6206         * sysdeps/s390/configure.ac:
6207         Add check for gcc transactions support.
6208         * sysdeps/s390/configure: Regenerate.
6209         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6210         Build elision files if enabled.
6211         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6212         Add lock elision support for s390.
6213         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6214         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6215         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6216         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6217         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6218         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6219         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6220         Likewise.
6221         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6222         Likewise.
6223         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6224         Likewise.
6225         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6226         Likewise.
6227         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6228         (__lll_timedlock_elision, __lll_lock_elision)
6229         (__lll_unlock_elision, __lll_trylock_elision)
6230         (lll_timedlock_elision, lll_lock_elision)
6231         (lll_unlock_elision, lll_trylock_elision): Add.
6232         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6233         (pthread_mutex_t): Add lock elision support for s390.
6234
6235 2014-05-14  Wilco  <wdijkstr@arm.com>
6236
6237         * sysdeps/arm/fclrexcpt.c: Cleanup.
6238         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6239         * sysdeps/arm/feenablxcpt.c: Cleanup.
6240         * sysdeps/arm/fegetenv.c: Cleanup.
6241         * sysdeps/arm/fegetexcept.c: Cleanup.
6242         * sysdeps/arm/fegetround.c: Cleanup.
6243         * sysdeps/arm/feholdexcpt.c: Cleanup.
6244         * sysdeps/arm/fesetenv.c: Cleanup.
6245         * sysdeps/arm/fesetround.c: Cleanup.
6246         * sysdeps/arm/feupdateenv.c: Cleanup.
6247         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6248         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6249         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6250         * sysdeps/arm/ftestexcept.c: Cleanup.
6251         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6252         * sysdeps/arm/setfpucw.c: Cleanup.
6253
6254 2014-05-09  Will Newton  <will.newton@linaro.org>
6255
6256         * sysdeps/arm/armv7/strcmp.S: New file.
6257         * NEWS: Mention addition of ARMv7 optimized strcmp.
6258
6259 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6260
6261         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6262         look for %.ac rather than %.in.
6263
6264         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6265         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6266         * sysdeps/mach/hurd/configure: Regenerated.
6267         * sysdeps/unix/sysv/linux/configure: Regenerated.
6268
6269         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6270
6271 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6272
6273         [BZ# 16922]
6274         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6275         (LONG_SUB): Ditto.
6276         (PTR_SUB): Ditto.
6277
6278 2014-05-07  Andreas Schwab  <schwab@suse.de>
6279
6280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6281         when skipping over non-matching result from nscd.
6282
6283 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6284
6285         [BZ #16876]
6286         * nptl/sockperf.c (client): Check socket return value.
6287
6288         [BZ #16877]
6289         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6290         nscd security class.
6291
6292 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6293
6294         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6295         * sysdeps/arm/unwind.h: ... here.
6296
6297 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6298
6299         [BZ# 16916]
6300         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6301         Define.
6302
6303 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6304
6305         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6306         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6307         multiarch strncpy for PPC64.
6308         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6309         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6311         multiarch optimizations.
6312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6313         (__libc_ifunc_impl_list): Likewise.
6314         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6315         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6316         multiarch stpncpy for PPC64.
6317         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6318         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6319
6320 2014-05-06  Andreas Schwab  <schwab@suse.de>
6321
6322         [BZ #16912]
6323         * gmon/mcount.c (_MCOUNT_DECL): Use
6324         atomic_compare_and_exchange_bool_acq instead of
6325         catomic_compare_and_exchange_bool_acq.
6326
6327 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6328
6329         * elf/Makefile (others, install-bin): Remove pldd.
6330         (pldd-modules): Variable removed.
6331         ($(objpfx)pldd): Target removed.
6332         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6333         (others, install-bin): Append pldd here.
6334         ($(objpfx)pldd): New target.
6335
6336         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6337         to 0, so the first #if test emitted later doesn't see it undefined.
6338         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6339         * sysdeps/gnu/errlist.c: Regenerated.
6340
6341 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6342
6343         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6344         [libc_hidden_builtin_def]: Define to empty value.
6345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6346         [libc_hidden_builtin_def]: Likewise.
6347         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6348         [libc_hidden_builtin_def]: Likewise.
6349         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6350         [libc_hidden_builtin_def]: Likewise.
6351         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6352         __redirect_memcpy and define ifunc as default hidden symbol.
6353         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6354         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6355
6356 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6357
6358         * locale/iso-4217.def: Reintroduce XDR currency.
6359
6360 2014-05-04  Allan McRae  <allan@archlinux.org>
6361
6362         * po/eo.po: Update Esperanto translation from translation project.
6363
6364 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6365
6366         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6367         and FEATURE_INDEX_MAX to 1.
6368         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6369
6370 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6371
6372         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6373         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6374         * iconvdata/big5.c (ONE_DIRECTION): Define.
6375         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6376         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6377         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6378         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6379         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6380         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6381         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6382         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6383         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6384         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6385         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6386         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6387         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6388         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6389         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6390         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6391         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6392         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6393         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6394         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6395         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6396         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6397         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6398         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6399         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6400         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6401         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6402         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6403         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6404         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6405         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6406         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6407         * iconvdata/johab.c (ONE_DIRECTION): Define.
6408         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6409         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6410         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6411         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6412         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6413         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6414         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6415         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6416         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6417         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6418
6419 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6420
6421         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6422         (_IO_JUMPS_OFFSET): Define to 0.
6423
6424         * nptl/sysdeps/pthread/bits/libc-lock.h
6425         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6426         (__libc_lock_define_initialized_recursive): Always define using
6427         initializer.  Modern compilers treat uninitialized (implicit zero) and
6428         explicit zero initializers the same (i.e. put the datum in bss).
6429
6430 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6431
6432         * nscd/nscd-client.h: Include <string.h>.
6433
6434 2014-05-01  David S. Miller  <davem@davemloft.net>
6435
6436         [BZ #16885]
6437         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6438         multiple zero bytes exist at the end of a string.
6439         Reported by Aurelien Jarno <aurelien@aurel32.net>
6440
6441         * string/test-strcmp.c (check): Add explicit test for situations where
6442         there are multiple zero bytes after the first.
6443
6444 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6445
6446         [BZ #16890]
6447         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6448         when compiling wprintf.
6449         * stdio-common/tstdiomisc.c (t3): New function.
6450         (main): Call it.
6451
6452 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6453
6454         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6455         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6456         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6457         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6458
6459 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6460
6461         * stdlib/longlong.h: Updated from GCC.
6462
6463 2014-05-01  Will Newton  <will.newton@linaro.org>
6464             Bernard Ogden  <bernie.ogden@linaro.org>
6465
6466         * NEWS: Update fixed bug list.
6467
6468         [BZ #15119]
6469         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6470
6471 2014-04-30  David S. Miller  <davem@davemloft.net>
6472
6473         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6474         (libc_feholdexcept_setround_sparc_ctx): New function.
6475         (libc_fesetenv_sparc_ctx): Likewise.
6476         (libc_feupdateenv_sparc_ctx): Likewise.
6477         (libc_feholdsetround_sparc_ctx): Likewise.
6478         (libc_feholdexcept_setround_ctx): Define.
6479         (libc_feholdexcept_setroundf_ctx): Likewise.
6480         (libc_feholdexcept_setroundl_ctx): Likewise.
6481         (libc_fesetenv_ctx): Likewise.
6482         (libc_fesetenvf_ctx): Likewise.
6483         (libc_fesetenvl_ctx): Likewise.
6484         (libc_feupdateenv_ctx): Likewise.
6485         (libc_feupdateenvf_ctx): Likewise.
6486         (libc_feupdateenvl_ctx): Likewise.
6487         (libc_feresetround_ctx): Likewise.
6488         (libc_feresetroundf_ctx): Likewise.
6489         (libc_feresetroundl_ctx): Likewise.
6490         (libc_feholdsetround_ctx): Likewise.
6491         (libc_feholdsetroundf_ctx): Likewise.
6492         (libc_feholdsetroundl_ctx): Likewise.
6493
6494         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6495         with __USE_GNU instead of XOPEN cpp guards.
6496
6497         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6498         0.
6499
6500         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6501         with XOPEN cpp guards.
6502
6503 2014-04-30  Julian Brown  <julian@codesourcery.com>
6504
6505         [BZ #16888]
6506         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6507         handling.
6508
6509 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6510
6511         [BZ #9894]
6512         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6513         Change to 2.6.32.
6514         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6515         * sysdeps/unix/sysv/linux/configure: Regenerated.
6516         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6517         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6518         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6519         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6520         * README: Update reference to required Linux kernel version.
6521         * manual/install.texi (Linux): Update reference to required Linux
6522         kernel headers version.
6523         * INSTALL: Regenerated.
6524
6525         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6526         header inclusion.
6527         [POSIX] (limits.h): Likewise.
6528         [POSIX] (math.h): Likewise.
6529         [POSIX] (sys/wait.h): Likewise.
6530         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6531         function.
6532         [POSIX] (stddef.h): Do not allow header inclusion.
6533
6534 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6535
6536         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6537
6538 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6539
6540         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6541         Return immediately after lll_futex_wake.
6542
6543 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6544
6545         [BZ #16791]
6546         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6547         structure.
6548         (datahead_init_pos): Call datahead_init_common early.
6549         (datahead_init_neg): Likewise.
6550
6551         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6552         datahead_init_neg): New functions.
6553         * nscd/aicache.c (addhstaiX): Use them.
6554         * nscd/grpcache.c (cache_addgr): Likewise.
6555         * nscd/hstcache.c (cache_addhst): Likewise.
6556         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6557         * nscd/netgroupcache.c (do_notfound): Likewise.
6558         (addgetnetgrentX): Likewise.
6559         (addinnetgrX): Likewise.
6560         * nscd/pwdcache.c (cache_addpw): Likewise.
6561         * nscd/servicescache.c (cache_addserv): Likewise.
6562
6563 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6564             Atsushi Onoe  <atsushi@onoe.org>
6565
6566         [BZ #14308]
6567         [BZ #12994]
6568         [BZ #13651]
6569         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6570         one response is valid.
6571         * resolv/res_send.c (send_dg): Check for validity of other
6572         response if the current response is a referral.
6573
6574 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6575
6576         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6577
6578 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6579
6580         [BZ #16823]
6581         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6582         Always divide by positive zero when computing -Inf result.
6583         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6584         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6585
6586 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6587
6588         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6589         FPSCR if value do not change.
6590         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6591         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6592         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6593         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6594         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6595         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6596         function.
6597
6598 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6599
6600         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6601         * sysdeps/unix/sysv/linux/hppa: Move directory from
6602         ports/systeps/unix/sysv/linux/hppa.
6603         * README: Update listing for hppa-*-linux-gnu.
6604
6605 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6606
6607         [BZ #16754]
6608         * manual/stdio.texi (Hook functions): Fix types of stream hook
6609         functions.
6610         [BZ #16854]
6611         * socket/sys/socket.h: Fix typo in comment.
6612
6613 2014-04-28  Wilco  <wdijkstr@arm.com>
6614
6615         * sysdeps/arm/fenv_private.h: New file.
6616         * sysdeps/arm/math_private.h: New file.
6617         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6618
6619 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6620
6621         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6622         with __int128_t.
6623         (La_x86_64_retval): Likewise.
6624
6625 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6626
6627         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6628         fpsr if value didn't change.
6629         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6630         to fpcr if value didn't change.
6631         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6632         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6633         fpsr or fpcr if value didn't change.
6634         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6635         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6636         fpcr if value didn't change.
6637         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6638         to fpsr if value didn't change.
6639
6640 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6641
6642         * nptl/tst-sem3.c: Use test-skeleton.c
6643         (main): Rename to do_test.  Use return instead of
6644         exit.
6645         * nptl/tst-sem4.c: Use test-skeleton.c
6646         (main): Rename to do_test.
6647
6648 2014-04-22  David S. Miller  <davem@davemloft.net>
6649
6650         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6651         (struct sigaction): New struct member __glibc_reserved0, change
6652         type of sa_flags to int.
6653
6654 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6655
6656         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6657         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6658
6659 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6660
6661         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6662         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6663
6664 2014-04-22  Will Newton  <will.newton@linaro.org>
6665             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6666
6667         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6668         (__longjmp): Add longjmp and longjmp_target SystemTap
6669         probes.
6670         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6671         (__sigsetjmp): Add setjmp SystemTap probe.
6672
6673 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6674
6675         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6676         match manual order.
6677
6678 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6679
6680         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6681
6682         * sysdeps/powerpc/fpu/fenv_private.h
6683         (libc_feholdexcept_setroundl_ctx): Define to
6684         libc_feholdexcept_setround_ppc_ctx.
6685         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6686         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6687         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6688         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6689
6690 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6691
6692         * sysdeps/aarch64/math-tests.h: New file.
6693
6694 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6695
6696         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6697         New.
6698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6699         Check and set bit_AVX2_Usable.
6700         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6701         macro.
6702         (bit_AVX2): Likewise.
6703         (index_AVX2_Usable): Likewise.
6704         (CPUID_AVX2): Likewise.
6705         (HAS_AVX2): Likewise.
6706
6707 2014-04-17  Will Newton  <will.newton@linaro.org>
6708
6709         * manual/setjmp.texi (System V contexts): Add note that
6710         calling setcontext on a context created by a call to a
6711         signal handler is undefined.  Update text to note that
6712         setcontext from a signal handler is possible but not
6713         recommended.
6714
6715         [BZ #16629]
6716         * stdlib/tst-setcontext.c: Include signal.h.
6717         (main): Check that the signal stack before and
6718         after swapcontext is the same.
6719
6720         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6721         Re-implement to restore registers in user code and avoid
6722         rt_sigreturn system call.
6723
6724 2014-04-17  Wilco  <wdijkstr@arm.com>
6725
6726         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6727         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6728         * math/test-fenv.c: Skip exception trap tests on targets which only
6729         support non-stop mode.
6730
6731 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6732             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6733
6734         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6735         (libc_feholdsetround_aarch64_ctx)
6736         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6737         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6738         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6739         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6740         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6741         (libc_feresetround_noexl_ctx): Define.
6742
6743 2014-04-16  Richard Henderson  <rth@redhat.com>
6744
6745         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6746
6747         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6748         unwind tables.
6749
6750         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6751         const from the non-libc, non-ldso copy.
6752
6753         * sysdeps/alpha/libm-test-ulps: Regenerate.
6754
6755 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6756             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6757
6758         * sysdeps/aarch64/fpu/math_private.h: New file.
6759
6760 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6761
6762         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6763
6764 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6765
6766         [BZ #16275]
6767         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6768         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6769         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6770         Intel MPX bound registers before _dl_profile_fixup.
6771         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6772         registers after _dl_profile_fixup.  Save and restore bound
6773         registers bnd0/bnd1 when calling _dl_call_pltexit.
6774         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6775         (LR_BND_OFFSET): Likewise.
6776         (LRV_BND0_OFFSET): Likewise.
6777         (LRV_BND1_OFFSET): Likewise.
6778
6779 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6780
6781         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6782         to...
6783         * sysdeps/mach/hurd/i386/tls.h: ... here.
6784         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6785         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6786         fields.
6787
6788 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6789
6790         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6791
6792 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6793
6794         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6795
6796 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6797
6798         [BZ #14770]
6799         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6800         * sysdeps/s390/configure: Regenerate.
6801
6802         [BZ #16824]
6803         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6804         Set round-to-nearest internally to reduce error accumulation.
6805
6806 2014-04-16  Alan Modra  <amodra@gmail.com>
6807
6808         [BZ #16740]
6809         [BZ #16619]
6810         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6811         * math/libm-test.inc (frexp_test_data): Add tests.
6812         * NEWS: Update fixed bug list.
6813
6814 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6815
6816         * benchtests/Makefile: Depend on libraries in build directory.
6817         (bench-math): Separate out math tests.
6818         (bench-pthread): Separate out pthread tests.
6819         (bench): Include math and pthread tests.
6820
6821 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6822
6823         [BZ #16831]
6824         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6825         _dl_debug_initialize.
6826
6827         * configure.ac: Remove SELinux header check.
6828         * configure: Regenerate.
6829         * nscd/selinux.c (perms): Array of const char* to permission names.
6830         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6831         default policy. Call string_to_security_class and string_to_av_perm to
6832         translate strings. Enforce default policy and call avs_has_perm with
6833         results of translated strings.
6834
6835 2014-04-13  David S. Miller  <davem@davemloft.net>
6836
6837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6838
6839 2014-04-12  Allan McRae  <allan@archlinux.org>
6840
6841         [BZ #16838]
6842         * manual/string.texi (Collation Functions): Fix qsort argument
6843         order in example.
6844         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6845
6846 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6847
6848         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6849         Make the test a no-op if there are no exceptions defined.
6850
6851 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6852
6853         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6854         enable-hardcoded-path-in-tests
6855
6856 2014-04-11  Will Newton  <will.newton@linaro.org>
6857
6858         * benchtests/Makefile (extra-objs): Add json-lib.o.
6859         (bench-func): Tidy up JSON output.
6860         * benchtests/bench-skeleton.c: Include json-lib.h.
6861         (main): Use JSON library functions to do output of
6862         benchmark results.
6863         * benchtests/bench-timing-type.c (main): Output the
6864         timing type simply, leaving formatting to the user.
6865         * benchtests/json-lib.c: New file.
6866         * benchtests/json-lib.h: Likewise.
6867
6868 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6869
6870         [BZ #15215]
6871         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6872         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6873         memory barriers.  Add comments.
6874         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6875         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6876         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6877         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6878         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6879         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6880
6881 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6882
6883         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6884         * sysdeps/s390/s390-64/configure.ac: ... this ...
6885         * sysdeps/s390/configure.ac: ... to here.
6886         * sysdeps/s390/s390-32/configure: Delete file.
6887         * sysdeps/s390/s390-64/configure: Delete file.
6888         * sysdeps/s390/configure: Regenerate.
6889
6890 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6891
6892         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6893
6894 2014-04-11  Will Newton  <will.newton@linaro.org>
6895
6896         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6897         to zero if it is not defined elsewhere.  (mtrim): Test
6898         the value of MALLOC_DEBUG with #if rather than #ifdef.
6899
6900 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6901
6902         * benchtests/pthread_once-inputs: New file.
6903         * benchtests/pthread_once-source.c: New file.
6904         * benchtests/README: Update documentation.
6905
6906 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6907             H.J. Lu  <hongjiu.lu@intel.com>
6908
6909         [BZ #16275]
6910         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6911         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6912         * sysdeps/x86_64/configure: Regenerated.
6913         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6914         macro.
6915         (REGISTER_SAVE_RAX): Likewise.
6916         (REGISTER_SAVE_RCX): Likewise.
6917         (REGISTER_SAVE_RDX): Likewise.
6918         (REGISTER_SAVE_RSI): Likewise.
6919         (REGISTER_SAVE_RDI): Likewise.
6920         (REGISTER_SAVE_R8): Likewise.
6921         (REGISTER_SAVE_R9): Likewise.
6922         (REGISTER_SAVE_BND0): Likewise.
6923         (REGISTER_SAVE_BND1): Likewise.
6924         (REGISTER_SAVE_BND2): Likewise.
6925         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6926         bound registers when calling _dl_fixup.
6927
6928 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6929
6930         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6931         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6932         of its definition.
6933         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6934         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6935         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6936         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6937         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6938         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6939         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6940
6941 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6942
6943         [BZ #15514]
6944         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6945         pathconf(_PC_NAME_MAX).
6946
6947 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6948
6949         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6950         Remove macro usage.
6951         (__PTHREAD_SPINS): Move definition to ...
6952         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6953         (__PTHREAD_SPINS): ... here.
6954         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6955         (__PTHREAD_SPIN): Likewise.
6956         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6957         (__PTHREAD_SPIN): Likewise.
6958         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6959         (__PTHREAD_SPIN): Likewise.
6960         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6961         (__PTHREAD_SPIN): Likewise.
6962         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6963         (__PTHREAD_SPIN): Likewise.
6964         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6965         (__PTHREAD_SPIN): Likewise.
6966         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6967         (__PTHREAD_SPIN): Likewise.
6968         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6969         (__PTHREAD_SPIN): Likewise.
6970         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6971         (__PTHREAD_SPIN): Likewise.
6972         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6973         (__PTHREAD_SPIN): Likewise.
6974         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6975         (__PTHREAD_SPIN): Likewise.
6976         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6977         (__PTHREAD_SPIN): Likewise.
6978
6979         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6980         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6981         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6982         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6983         imply folder.
6984         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6985         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6986         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6987         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6988         correct imply path.
6989         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6990         strlen symbol for non multi-arch builds.
6991         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6992         missing hidden_def and weak_alias.
6993
6994 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6995
6996         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6997
6998 2014-04-07  Will Newton  <will.newton@linaro.org>
6999
7000         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7001         and contents.  [!_LIBC] Remove #ifndef and contents.
7002         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7003         * string/memccpy.c (__memccpy): Use ANSI prototype.
7004         * string/memfrob.c (memfrob): Likewise.
7005         * string/strcoll.c (STRCOLL): Likewise.
7006         * string/strlen.c (strlen): Likewise.
7007         * string/strtok.c (STRTOK): Likewise.
7008         * string/strcat.c: Remove unused #include of memcopy.h.
7009         (strcat): Use ANSI prototype.
7010         * string/strchr.c: Remove unused #include of memcopy.h.
7011         (strchr): Use ANSI prototype.
7012         * string/strcmp.c: Remove unused #include of memcopy.h.
7013         (strcmp): Use ANSI prototype.
7014         * string/strcpy.c: Remove unused #include of memcopy.h.
7015         (strcpy): Use ANSI prototype.
7016
7017 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7018
7019         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7020         * config.make.in (config-extra-cppflags): Set it from
7021         libc_extra_cppflags.
7022         * configure.ac (libc_extra_cflags): Make it accumulate over
7023         configure fragments.
7024         (libc_extra_cppflags): New flag.
7025         * configure. Regenerate.
7026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7027         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7028         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7030
7031         [BZ #16815]
7032         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7033         result for FE_DOWNWARD rounding mode.
7034         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7035         Likewise.
7036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7037
7038 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7039
7040         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7041         in function argument name.
7042
7043 2014-04-03  David Svoboda  <svoboda@cert.org>
7044
7045         [BZ #5666]
7046         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7047         explicitly.
7048
7049 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7050
7051         * elf/dl-unmap-segments.h: New file.
7052         * sysdeps/generic/ldsodefs.h
7053         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7054         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7055         * elf/dl-fptr.c: Likewise.
7056         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7057         * sysdeps/aarch64/tlsdesc.c: Likewise.
7058         * sysdeps/arm/tlsdesc.c: Likewise.
7059         * sysdeps/i386/tlsdesc.c: Likewise.
7060         * sysdeps/tile/dl-runtime.c: Likewise.
7061         * sysdeps/x86_64/tlsdesc.c: Likewise.
7062         * elf/dl-load.h: New file.
7063         * elf/dl-load.c: Include it.
7064         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7065         Macros moved to dl-load.h.
7066         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7067         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7068         Use _dl_unmap_segments in place of __munmap.
7069         Break out segment-mapping loop into ...
7070         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7071
7072 2014-04-03  Will Newton  <will.newton@linaro.org>
7073
7074         * elf/dl-lookup.c (do_lookup_x): Remove comment
7075         referring to nested function and move variable
7076         declarations down to before first use.
7077
7078 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7079
7080         [BZ #16799]
7081         [BZ #16800]
7082         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7083         with 0 numerator.
7084         * math/s_catanf.c (__catanf): Likewise.
7085         * math/s_catanh.c (__catanh): Likewise.
7086         * math/s_catanhf.c (__catanhf): Likewise.
7087         * math/s_catanhl.c (__catanhl): Likewise.
7088         * math/s_catanl.c (__catanl): Likewise.
7089         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7090         by positive zero when computing -Inf result.
7091         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7092         (catanh_test): Likewise.
7093         * sysdeps/i386/fpu/libm-test-ulps: Update.
7094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7095
7096         [BZ #16789]
7097         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7098         instead of using underflowing value in computing result.
7099         * math/s_clog10.c (__clog10): Likewise.
7100         * math/s_clog10f.c (__clog10f): Likewise.
7101         * math/s_clog10l.c (__clog10l): Likewise.
7102         * math/s_clogf.c (__clogf): Likewise.
7103         * math/s_clogl.c (__clogl): Likewise.
7104         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7105         (clog10_test): Likewise.
7106         * sysdeps/i386/fpu/libm-test-ulps: Update.
7107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7108
7109 2014-04-02  Alan Modra  <amodra@gmail.com>
7110
7111         [BZ #16739]
7112         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7113         output when value is near a power of two.  Use int64_t for lx and
7114         remove casts.  Use decimal rather than hex exponent constants.
7115         Don't use long double multiplication when double will suffice.
7116         * math/libm-test.inc (nextafter_test_data): Add tests.
7117         * NEWS: Add 16739 and 16786 to bug list.
7118
7119         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7120
7121         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7122
7123 2014-04-01  Will Newton  <will.newton@linaro.org>
7124
7125         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7126         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7127
7128 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7129
7130         [BZ #13347]
7131         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7132         * nptl/tst-setuid2.c: New file.
7133         * nptl/Makefile (xtests): Add tst-setuid2.
7134
7135 2014-04-01  Alan Modra  <amodra@gmail.com>
7136
7137         [BZ #16786]
7138         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7139
7140 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7141
7142         [BZ #6803]
7143         [BZ #6804]
7144         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7145         set errno as appropriate.
7146         * math/w_scalbf.c (__scalbf): Likewise.
7147         * math/w_scalbl.c (__scalbl): Likewise.
7148         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7149         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7150         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7151         Add more NaN tests.
7152
7153         [BZ #16349]
7154         * math/w_atan2.c: Include <errno.h>.
7155         (__atan2): Set errno for result underflowing to zero.
7156         * math/w_atan2f.c: Include <errno.h>.
7157         (__atan2f): Set errno for result underflowing to zero.
7158         * math/w_atan2l.c: Include <errno.h>.
7159         (__atan2l): Set errno for result underflowing to zero.
7160         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7161         tests.
7162         * math/auto-libm-test-out: Regenerated.
7163
7164 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7165
7166         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7167         Encode instruction correctly in little endian.
7168         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7169         Likewise.
7170         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7171         Likewise.
7172         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7173         Likewise.
7174         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7175         Likewise.
7176
7177 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7178
7179         [BZ #9894]
7180         * sysdeps/unix/sysv/linux/kernel-features.h
7181         [__sparc__ && !__arch64__ && !__sparc_v9__]
7182         (__ASSUME_SET_ROBUST_LIST): Do not define.
7183         [__sparc__ && !__arch64__ && !__sparc_v9__]
7184         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7185         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7188         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7189         (__ASSUME_REQUEUE_PI): Likewise.
7190         (__ASSUME_SET_ROBUST_LIST): Likewise.
7191         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7192         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7193         Undefine.
7194         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7195         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7196         Likewise.
7197         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7198         Likewise.
7199         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7200         Likewise.
7201         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7202         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7203         Undefine.
7204         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7205         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7206         Likewise.
7207
7208         [BZ #16648]
7209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7210         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7211         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7212
7213 2014-03-31  Will Newton  <will.newton@linaro.org>
7214
7215         * benchtests/Makefile (bench): Add ffs and ffsll to list
7216         of tests.
7217         * benchtests/ffs-inputs: New file.
7218         * benchtests/ffsll-inputs: Likewise.
7219
7220 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7221
7222         [BZ #16770]
7223         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7224         too large before casting to int.
7225         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7226         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7227         * math/libm-test.inc (scalb_test_data): Add more tests.
7228
7229 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7230
7231         * benchtests/Makefile (DETAILED_OPT): New make option.
7232         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7233         set.
7234         * benchtests/bench-skeleton.c: Include stdbool.h.
7235         (main): Store and print timings per input.
7236         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7237         member to each argument value.
7238         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7239         (_print_arg_data): Initialize per-input timing to 0.
7240
7241         * benchtests/Makefile (timing-type): New binary.
7242         (bench-clean): Also remove bench-timing-type.
7243         (bench): New target for timing-type.
7244         (bench-func): Print output in JSON format.
7245         * benchtests/bench-skeleton.c (main): Print output in JSON
7246         format.
7247         * benchtests/bench-timing-type.c: New file.
7248         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7249         (TIMING_PRINT_STATS): Remove.
7250         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7251         name separately.
7252
7253         * benchtests/bench-modf.c: Remove.
7254         * benchtests/modf-inputs: New inputs file.
7255
7256 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7257
7258         [BZ #16362]
7259         * math/s_clog10.c (M_PI_LOG10E): New macro.
7260         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7261         imaginary parts are 0.
7262         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7263         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7264         imaginary parts are 0.
7265         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7266         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7267         imaginary parts are 0.
7268         * math/libm-test.inc (clog10_test_data): Update expected results
7269         for when real and imaginary parts are 0.
7270
7271 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7272
7273         * elf/dl-load.c: Finish conversion of __builtin_expect into
7274         __glibc_{un}likely.
7275
7276 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7277
7278         [BZ #16348]
7279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7280         1+x for argument with exponent below -67.
7281         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7282         Likewise.
7283         * math/auto-libm-test-in: Add more tests of exp.
7284         * math/auto-libm-test-out: Regenerated.
7285
7286 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7287
7288         [BZ #16759]
7289         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7290         (nscd_getnetgrent): Use it.
7291
7292         [BZ #16760]
7293         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7294         of stpcpy.
7295
7296 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7297
7298         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7299         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7300         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7301         (lll_robust_unlock): Remove out of line section. Use cfi
7302         intrinsics.
7303         (LLL_STUB_UNWIND_INFO*): Remove.
7304         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7305         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7306         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7307         (lll_robust_unlock): Remove out of line section. Use cfi
7308         intrinsics.
7309         (LLL_STUB_UNWIND_INFO*): Remove.
7310
7311 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7312
7313         [BZ #16758]
7314         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7315         blank values.
7316
7317 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7318
7319         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7320
7321 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7322
7323         [BZ #16198]
7324         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7325         fnstenv.
7326         * math/test-fenv-preserve.c: New file.
7327         * math/Makefile (tests): Add test-fenv-preserve.
7328
7329 2014-03-26  Will Newton <will.newton@linaro.org>
7330
7331         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7332
7333 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7334
7335         * scripts/versionlist.awk: Partition the version sets and emit all
7336         GLIBC_* (sorted) before all others (sorted).
7337
7338 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7339
7340         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7341         GLIBC_2.2.5 version.
7342
7343 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7344
7345         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7346         calls.
7347
7348         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7349         previous change.
7350
7351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7352
7353 2014-03-25  Andreas Schwab  <schwab@suse.de>
7354
7355         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7356         label to be used after in6ailist is initialized.
7357
7358 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7359
7360         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7361         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7362
7363 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7364
7365         [BZ #16357]
7366         [BZ #16599]
7367         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7368         min_plus_half.
7369         (fp_formats): Update initializers.
7370         (init_fp_formats): Initialize new field.
7371         (output_for_one_input_case): Allow underflow for results up to
7372         min_plus_half.
7373         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7374         * math/auto-libm-test-in: Don't mark some underflows from asin and
7375         atanh as spurious.
7376         * math/auto-libm-test-out: Regenerated.
7377         * sysdeps/i386/fpu/libm-test-ulps: Update.
7378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7379
7380 2014-03-25  Andreas Schwab  <schwab@suse.de>
7381
7382         * libio/Makefile (tst-ftell-partial-wide-ENV)
7383         (tst-ftell-active-handler-ENV): Define.
7384
7385 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7386
7387         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7388
7389 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7390
7391         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7392
7393 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7394
7395         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7396         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7397         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7398
7399 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7400
7401         [BZ #16634]
7402         * elf/dl-load.c (open_verify): Add mode parameter.
7403         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7404         (open_path): Change from boolean 'secure' to complete flag 'mode'
7405         (_dl_map_object): Adjust.
7406         * elf/Makefile (tests): Add tst-dlopen-aout.
7407         * elf/tst-dlopen-aout.c: New test.
7408
7409 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7410
7411         [BZ #16714]
7412         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7413         (struct stat): Rename member pad0 to __glibc_reserved0.
7414
7415         [BZ #16712]
7416         * sysdeps/s390/s390-32/bits/wordsize.h
7417         (__WORDSIZE32_SIZE_ULONG): New define.
7418         * sysdeps/s390/s390-64/bits/wordsize.h
7419         (__WORDSIZE32_SIZE_ULONG): Likewise.
7420         * sysdeps/generic/stdint.h (SIZE_MAX):
7421         Define as UL if __WORDSIZE32_SIZE_ULONG.
7422
7423         [BZ #16713]
7424         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7425         (__glibc_reserved0): New variable.
7426         (sa_flags): Change type to int.
7427
7428         * posix/Makefile (before-compile): Use += before-compile instead
7429         of a :=.
7430
7431         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7432         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7433
7434 2014-03-20  Andreas Schwab  <schwab@suse.de>
7435
7436         [BZ #16743]
7437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7438         non-matching result from nscd.
7439
7440 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7441
7442         * scripts/bench.py: Moved to ...
7443         * benchtests/scripts/bench.py: ... here.
7444         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7445
7446 2014-03-24  Andreas Schwab  <schwab@suse.de>
7447
7448         [BZ #16002]
7449         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7450         alloca_account and account alloca use for struct in6ailist.
7451
7452 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7453
7454         [BZ #16284]
7455         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7456         rounding mode to recompute results that overflow to infinity or
7457         underflow to zero.
7458         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7459         bug 16284.
7460         * math/auto-libm-test-out: Regenerated.
7461         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7462         (ccosh_test): Likewise.
7463         (csin_test_data): Use plus_oflow.
7464         (csin_test): Use ALL_RM_TEST.
7465         (csinh_test_data): Use plus_oflow.
7466         (csinh_test): Use ALL_RM_TEST.
7467         * sysdeps/i386/fpu/libm-test-ulps: Update.
7468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7469
7470 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7471
7472         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7473         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7474         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7475
7476         [BZ #16731]
7477         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7478         when x - 1 is zero.
7479         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7480         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7481         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7482         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7483         argument is 1.
7484         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7485         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7486         zero.
7487         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7488         * sysdeps/i386/fpu/libm-test-ulps: Update.
7489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7490
7491 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7492
7493         * scripts/bench.pl: Remove file.
7494         * scripts/bench.py: New benchmark script.
7495         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7496         * benchtests/README: Mention python dependency.
7497         * scripts/pylintrc: New file.
7498         * scripts/pylint: New file.
7499
7500         * bits/mathdef.h: Use #ifdef instead of #if.
7501         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7502         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7503         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7504         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7505         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7506         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7507
7508 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7509             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7510
7511         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7513         and strpbrk-ppc64 objects.
7514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7515         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7516         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7517         multiarch strpbrk for POWER7.
7518         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7519         multiarch strpbrk for PPC64.
7520         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7521         ifunc selector.
7522         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7523         strpbrk for POWER7.
7524
7525 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7526
7527         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7528         (atan_test): Likewise.
7529         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7530         (atanh_test): Use ALL_RM_TEST.
7531         (atan2_test_data): Likewise.
7532         (cabs_test): Likewise.
7533         (cacosh_test): Likewise.
7534         (carg_test): Likewise.
7535         (casin_test): Likewise.
7536         (casinh_test): Likewise.
7537         (cbrt_test): Likewise.
7538         (csqrt_test): Likewise.
7539         (erf_test): Likewise.
7540         (erfc_test): Likewise.
7541         (pow10_test): Likewise.
7542         (exp2_test): Likewise.
7543         (hypot_test): Likewise.
7544         (j0_test): Likewise.
7545         (j1_test): Likewise.
7546         (lgamma_test): Likewise.
7547         (gamma_test): Likewise.
7548         (sincos_test): Likewise.
7549         (tanh_test): Likewise.
7550         (y0_test): Likewise.
7551         (y1_test): Likewise.
7552         * sysdeps/i386/fpu/libm-test-ulps: Update.
7553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7554
7555 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7556
7557         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7559         and strcspn-ppc64 objects.
7560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7561         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7562         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7563         multiarch strcspn for POWER7.
7564         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7565         multiarch strcspn for PPC64.
7566         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7567         ifunc selector.
7568         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7569         strcspn for POWER7.
7570
7571 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7572
7573         * math/gen-libm-test.pl (generate_testfile): Expect only function
7574         name as argument to AUTO_TESTS_* and pass results for all rounding
7575         modes to parse_args.
7576         (parse_auto_input): Separate inputs of automatic tests from
7577         outputs before storing in %auto_tests.
7578         * math/libm-test.inc (acos_test_data): Update call to
7579         AUTO_TESTS_f_f.
7580         (acos_test): Use ALL_RM_TEST.
7581         (acos_tonearest_test_data): Remove.
7582         (acos_test_tonearest): Likewise.
7583         (acos_towardzero_test_data): Likewise.
7584         (acos_test_towardzero): Likewise.
7585         (acos_downward_test_data): Likewise.
7586         (acos_test_downward): Likewise.
7587         (acos_upward_test_data): Likewise.
7588         (acos_test_upward): Likewise.
7589         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7590         (asin_test_data): Likewise.
7591         (asin_test): Use ALL_RM_TEST.
7592         (asin_tonearest_test_data): Remove.
7593         (asin_test_tonearest): Likewise.
7594         (asin_towardzero_test_data): Likewise.
7595         (asin_test_towardzero): Likewise.
7596         (asin_downward_test_data): Likewise.
7597         (asin_test_downward): Likewise.
7598         (asin_upward_test_data): Likewise.
7599         (asin_test_upward): Likewise.
7600         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7601         (atan_test_data): Likewise.
7602         (atanh_test_data): Likewise.
7603         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7604         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7605         (carg_test_data): Likewise.
7606         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7607         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7608         (ccosh_test_data): Likewise.
7609         (cexp_test_data): Likewise.
7610         (clog_test_data): Likewise.
7611         (clog10_test_data): Likewise.
7612         (cos_test_data): Update call to AUTO_TESTS_f_f.
7613         (cos_test): Use ALL_RM_TEST.
7614         (cos_tonearest_test_data): Remove.
7615         (cos_test_tonearest): Likewise.
7616         (cos_towardzero_test_data): Likewise.
7617         (cos_test_towardzero): Likewise.
7618         (cos_downward_test_data): Likewise.
7619         (cos_test_downward): Likewise.
7620         (cos_upward_test_data): Likewise.
7621         (cos_test_upward): Likewise.
7622         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7623         (cosh_test): Use ALL_RM_TEST.
7624         (cosh_tonearest_test_data): Remove.
7625         (cosh_test_tonearest): Likewise.
7626         (cosh_towardzero_test_data): Likewise.
7627         (cosh_test_towardzero): Likewise.
7628         (cosh_downward_test_data): Likewise.
7629         (cosh_test_downward): Likewise.
7630         (cosh_upward_test_data): Likewise.
7631         (cosh_test_upward): Likewise.
7632         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7633         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7634         (ctan_test_data): Likewise.
7635         (ctan_test): Use ALL_RM_TEST.
7636         (ctan_tonearest_test_data): Remove.
7637         (ctan_test_tonearest): Likewise.
7638         (ctan_towardzero_test_data): Likewise.
7639         (ctan_test_towardzero): Likewise.
7640         (ctan_downward_test_data): Likewise.
7641         (ctan_test_downward): Likewise.
7642         (ctan_upward_test_data): Likewise.
7643         (ctan_test_upward): Likewise.
7644         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7645         (ctanh_test): Use ALL_RM_TEST.
7646         (ctanh_tonearest_test_data): Remove.
7647         (ctanh_test_tonearest): Likewise.
7648         (ctanh_towardzero_test_data): Likewise.
7649         (ctanh_test_towardzero): Likewise.
7650         (ctanh_downward_test_data): Likewise.
7651         (ctanh_test_downward): Likewise.
7652         (ctanh_upward_test_data): Likewise.
7653         (ctanh_test_upward): Likewise.
7654         (erf_test_data): Update call to AUTO_TESTS_f_f.
7655         (erfc_test_data): Likewise.
7656         (exp_test_data): Likewise.
7657         (exp_test): Use ALL_RM_TEST.
7658         (exp_tonearest_test_data): Remove.
7659         (exp_test_tonearest): Likewise.
7660         (exp_towardzero_test_data): Likewise.
7661         (exp_test_towardzero): Likewise.
7662         (exp_downward_test_data): Likewise.
7663         (exp_test_downward): Likewise.
7664         (exp_upward_test_data): Likewise.
7665         (exp_test_upward): Likewise.
7666         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7667         (exp10_test): Use ALL_RM_TEST.
7668         (exp10_tonearest_test_data): Remove.
7669         (exp10_test_tonearest): Likewise.
7670         (exp10_towardzero_test_data): Likewise.
7671         (exp10_test_towardzero): Likewise.
7672         (exp10_downward_test_data): Likewise.
7673         (exp10_test_downward): Likewise.
7674         (exp10_upward_test_data): Likewise.
7675         (exp10_test_upward): Likewise.
7676         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7677         (expm1_test_data): Likewise.
7678         (expm1_test): Use ALL_RM_TEST.
7679         (expm1_tonearest_test_data): Remove.
7680         (expm1_test_tonearest): Likewise.
7681         (expm1_towardzero_test_data): Likewise.
7682         (expm1_test_towardzero): Likewise.
7683         (expm1_downward_test_data): Likewise.
7684         (expm1_test_downward): Likewise.
7685         (expm1_upward_test_data): Likewise.
7686         (expm1_test_upward): Likewise.
7687         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7688         (fma_test): Use ALL_RM_TEST.
7689         (fma_towardzero_test_data): Remove.
7690         (fma_test_towardzero): Likewise.
7691         (fma_downward_test_data): Likewise.
7692         (fma_test_downward): Likewise.
7693         (fma_upward_test_data): Likewise.
7694         (fma_test_upward): Likewise.
7695         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7696         (j0_test_data): Update call to AUTO_TESTS_f_f.
7697         (j1_test_data): Likewise.
7698         (jn_test_data): Update call to AUTO_TESTS_if_f.
7699         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7700         (log_test_data): Update call to AUTO_TESTS_f_f.
7701         (log10_test_data): Likewise.
7702         (log1p_test_data): Likewise.
7703         (log2_test_data): Likewise.
7704         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7705         (pow_tonearest_test_data): Likewise.
7706         (sin_test_data): Update call to AUTO_TESTS_f_f.
7707         (sin_test): Use ALL_RM_TEST.
7708         (sin_tonearest_test_data): Remove.
7709         (sin_test_tonearest): Likewise.
7710         (sin_towardzero_test_data): Likewise.
7711         (sin_test_towardzero): Likewise.
7712         (sin_downward_test_data): Likewise.
7713         (sin_test_downward): Likewise.
7714         (sin_upward_test_data): Likewise.
7715         (sin_test_upward): Likewise.
7716         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7717         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7718         (sinh_test): Use ALL_RM_TEST.
7719         (sinh_tonearest_test_data): Remove.
7720         (sinh_test_tonearest): Likewise.
7721         (sinh_towardzero_test_data): Likewise.
7722         (sinh_test_towardzero): Likewise.
7723         (sinh_downward_test_data): Likewise.
7724         (sinh_test_downward): Likewise.
7725         (sinh_upward_test_data): Likewise.
7726         (sinh_test_upward): Likewise.
7727         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7728         (sqrt_test): Use ALL_RM_TEST.
7729         (sqrt_tonearest_test_data): Remove.
7730         (sqrt_test_tonearest): Likewise.
7731         (sqrt_towardzero_test_data): Likewise.
7732         (sqrt_test_towardzero): Likewise.
7733         (sqrt_downward_test_data): Likewise.
7734         (sqrt_test_downward): Likewise.
7735         (sqrt_upward_test_data): Likewise.
7736         (sqrt_test_upward): Likewise.
7737         (tan_test_data): Update call to AUTO_TESTS_f_f.
7738         (tan_test): Use ALL_RM_TEST.
7739         (tan_tonearest_test_data): Remove.
7740         (tan_test_tonearest): Likewise.
7741         (tan_towardzero_test_data): Likewise.
7742         (tan_test_towardzero): Likewise.
7743         (tan_downward_test_data): Likewise.
7744         (tan_test_downward): Likewise.
7745         (tan_upward_test_data): Likewise.
7746         (tan_test_upward): Likewise.
7747         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7748         (tgamma_test_data): Likewise.
7749         (y0_test_data): Likewise.
7750         (y1_test_data): Likewise.
7751         (yn_test_data): Update call to AUTO_TESTS_if_f.
7752         (main): Do not call removed functions.
7753
7754 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7755
7756         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7757         (ldexp_test_data): Remove.
7758         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7759         scalbn_test_data.
7760         (scalb_test): Use ALL_RM_TEST.
7761
7762 2014-03-19  Andreas Schwab  <schwab@suse.de>
7763
7764         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7765
7766 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7767
7768         [BZ #16649]
7769         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7770         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7771         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7772         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7773         (__ASSUME_PREADV): Undefine.
7774         (__ASSUME_PWRITEV): Likewise.
7775
7776 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7777
7778         * bits/mman-linux.h: Add comment about non-Linux use.
7779         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7780         bits/mman-linux.h resting place.
7781
7782         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7783         * bits/mman-linux.h: ... here.
7784
7785 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7786
7787         * conform/conformtest.pl: Add standard definition when calling C
7788         preprocessor on data files.
7789         (checknamespace): Remove unused variable.
7790
7791 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7792
7793         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7794         minus_oflow, plus_uflow and minus_uflow in expected results.
7795         * math/libm-test.inc (scalbn_test_data): Add more tests of
7796         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7797         minus_uflow.
7798         (scalbn_test): Use ALL_RM_TEST.
7799         (scalbln_test_data): Add more tests of negative arguments.  Use
7800         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7801         (scalbln_test): Use ALL_RM_TEST.
7802
7803 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7804
7805         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7806
7807 2014-03-18  Will Newton  <will.newton@linaro.org>
7808
7809         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7810         inaccurate comment.
7811
7812 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7813
7814         * Makerules [!subdir] (check-abi): Exit with error status if a
7815         test failed.
7816
7817 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7818
7819         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7820         for rint.  Include results for all rounding modes.
7821         (nearbyint_test): Use ALL_RM_TEST.
7822         (rint_test_data): Include all tests used for nearbyint.
7823
7824 2014-03-17  Will Newton  <will.newton@linaro.org>
7825
7826         * nptl/sysdeps/pthread/pthread.h: Revert previous
7827         change.
7828
7829         * sysdeps/generic/ldsodefs.h: Revert previous
7830         change.
7831
7832         * libio/genops.c: Revert previous change.
7833         * libio/libioP.h: Likewise.
7834         * stdio-common/vfprintf.c: Likewise.
7835
7836         * sysdeps/generic/math_private.h: Revert previous
7837         change.
7838
7839         * sysdeps/generic/math_private.h: Check whether
7840         HAVE_RM_CTX is defined with #ifdef rather
7841         than #if.
7842
7843         * argp/argp-fmtstream.h: Check whether
7844         __STRICT_ANSI__ is defined with #ifdef rather
7845         than #if.
7846         * argp/argp.h: Likewise.
7847
7848         * libio/genops.c: Check whether
7849         _IO_JUMPS_OFFSET is defined with #ifdef rather
7850         than #if.
7851         * libio/libioP.h: Likewise.
7852         * stdio-common/vfprintf.c: Likewise.
7853
7854         * sysdeps/generic/ldsodefs.h: Check whether
7855         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7856         than #if.
7857
7858         * nptl/sysdeps/pthread/pthread.h: Check
7859         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7860         its value.
7861
7862 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7863
7864         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7865         setting O_APPEND.
7866         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7867         test case.
7868
7869         [BZ #16680]
7870         * libio/fileops.c (_IO_file_open): Seek to end of file but
7871         don't cache the offset.
7872         (get_file_offset): Remove function.
7873         (do_ftell): Use cached offset when available.
7874         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7875         don't cache the offset.
7876         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7877         case.
7878         (do_one_test): Call it.
7879         (do_ftell_test): Fix up expected old offset for a+ mode.
7880         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7881         available.
7882
7883         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7884         up test status with function return status.
7885         (do_write_test): Likewise.
7886         (do_append_test): Likewise.
7887
7888         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7889         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7890         Remove.
7891
7892 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7893
7894         * math/gen-libm-test.pl (parse_args): Handle results specified for
7895         each rounding mode separately.
7896         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7897         tests and results from lrint_tonearest_test_data,
7898         lrint_towardzero_test_data, lrint_downward_test_data and
7899         lrint_upward_test_data.
7900         (lrint_test): Use ALL_RM_TEST.
7901         (lrint_tonearest_test_data): Remove.
7902         (lrint_test_tonearest): Likewise.
7903         (lrint_towardzero_test_data): Likewise.
7904         (lrint_test_towardzero): Likewise.
7905         (lrint_downward_test_data): Likewise.
7906         (lrint_test_downward): Likewise.
7907         (lrint_upward_test_data): Likewise.
7908         (lrint_test_upward): Likewise.
7909         (llrint_test_data): Merge in per-rounding-mode tests and results
7910         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7911         llrint_downward_test_data and llrint_upward_test_data.
7912         (llrint_test): Use ALL_RM_TEST.
7913         (llrint_tonearest_test_data): Remove.
7914         (llrint_test_tonearest): Likewise.
7915         (llrint_towardzero_test_data): Likewise.
7916         (llrint_test_towardzero): Likewise.
7917         (llrint_downward_test_data): Likewise.
7918         (llrint_test_downward): Likewise.
7919         (llrint_upward_test_data): Likewise.
7920         (llrint_test_upward): Likewise.
7921         (rint_test_data): Merge in per-rounding-mode tests and results
7922         from rint_tonearest_test_data, rint_towardzero_test_data,
7923         rint_downward_test_data and rint_upward_test_data.  Add
7924         per-rounding-mode results for tests not in those arrays.
7925         (rint_test): Use ALL_RM_TEST.
7926         (rint_tonearest_test_data): Remove.
7927         (rint_test_tonearest): Likewise.
7928         (rint_towardzero_test_data): Likewise.
7929         (rint_test_towardzero): Likewise.
7930         (rint_downward_test_data): Likewise.
7931         (rint_test_downward): Likewise.
7932         (rint_upward_test_data): Likewise.
7933         (rint_test_upward): Likewise.
7934         (main): Don't call removed functions.
7935
7936 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7937
7938         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7939         "Compiled on ..." crapola.  It is anti-useful.
7940
7941 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7942
7943         * scripts/evaluate-test.sh: Handle fourth argument to determine
7944         whether test run should stop on failure.
7945         * Makeconfig (stop-on-test-failure): New variable.
7946         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7947         $(stop-on-test-failure).
7948         * Makefile (tests): Give a summary of results from testing and
7949         exit with failure status if they include an ERROR or FAIL.
7950         (xtests): Likewise.
7951         * manual/install.texi (Configuring and compiling): Mention
7952         stop-on-test-failure=y.
7953         * INSTALL: Regenerated.
7954
7955 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7956
7957         * scripts/versionlist.awk: New file.
7958         * Makerules [$(build-shared) = yes]
7959         (postclean-generated): Add Versions.def, not Versions.def.v and
7960         Versions.def.v.i.
7961         ($(common-objpfx)Versions.def.v.i): Target removed.
7962         ($(common-objpfx)Versions.def): New target.
7963         ($(common-objpfx)Versions.all): Depend on that rather that
7964         $(common-objpfx)Versions.def.v.
7965         * Versions.def: File removed.
7966
7967         * Makeconfig (+gccwarn): Add -Wundef.
7968         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7969         a dl-sysdep.h breaking its contract.
7970         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7971         * include/stackinfo.h: New file.
7972         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7973         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7974         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7975         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7976         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7977         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7978         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7979         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7980         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7981         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7982         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7983         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7984         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7985         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7986         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7987
7988 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7989
7990         [BZ #16707]
7991         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7992         implementation.
7993         * math/libm-test.inc (round_test_data): Add more tests.
7994
7995         [BZ #16706]
7996         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7997         implementation.
7998         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7999
8000         [BZ #16701]
8001         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8002         implementation.
8003         * math/libm-test.inc (ceil_test_data): Add more tests.
8004
8005         * math/libm-test.inc (trunc_test_data): Add more tests related to
8006         BZ#16414.
8007
8008 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8009
8010         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8011         with #if rather than #ifdef.
8012         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8013
8014 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8015
8016         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8017         first.  Disable AVX-512 GCC support if assembler doesn't support
8018         it.
8019         * sysdeps/x86_64/configure: Regenerated.
8020
8021 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8022
8023         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8024         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8025         (__old_pthread_attr_setstack): Likewise.
8026         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8027         [!_STACK_GROWS_DOWN]: Likewise.
8028
8029 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8030
8031         * config.make.in (have-bash2): Delete.
8032         * configure.ac (libc_cv_have_bash2): Delete.
8033         * configure: Regenerate.
8034         * elf/Makefile (common-ldd-rewrite): Rename to ...
8035         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8036         (sh-ldd-rewrite): Delete.
8037         (bash-ldd-rewrite): Delete.
8038         (have-bash2): Delete checks.
8039         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8040         ldd-rewrite.
8041
8042         * config.make.in (have-ksh): Delete.
8043         (KSH): Delete.
8044         * configure.ac (libc_cv_have_ksh): Delete.
8045         * configure: Regenerate.
8046
8047         * elf/Makefile: Delete $(have-ksh) check.
8048         ($(objpfx)sotruss): Change KSH to BASH.
8049         * elf/sotruss.ksh: Rename to ...
8050         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8051         function style to match POSIX.  Drop ksh vim mode setting.
8052
8053         * manual/time.texi (Specifying the Time Zone with TZ): Change
8054         Tuesday to Thursday.
8055
8056         * debug/tst-longjmp_chk2.c: Update header comment.
8057         (stackoverflow_handler): Add comment.  Call assert on pass value.
8058
8059 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8060
8061         [BZ #16194]
8062         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8063         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8064         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8065         (La_x86_64_vector): Add zmm.
8066         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8067         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8068         ($(objpfx)tst-audit10): New target.
8069         ($(objpfx)tst-audit10.out): Likewise.
8070         (tst-audit10-ENV): New.
8071         (AVX512-CFLAGS): Likewise.
8072         (CFLAGS-tst-audit10.c): Likewise.
8073         (CFLAGS-tst-auditmod10a.c): Likewise.
8074         (CFLAGS-tst-auditmod10b.c): Likewise.
8075         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8076         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8077         * sysdeps/x86_64/configure: Regenerated.
8078         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8079         AVX-512 zmm register support.
8080         (_dl_x86_64_save_sse): Likewise.
8081         (_dl_x86_64_restore_sse): Likewise.
8082         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8083         size vector registers.
8084         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8085         (ZMM_SIZE): Likewise.
8086         * sysdeps/x86_64/tst-audit10.c: New file.
8087         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8088         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8089
8090 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8091
8092         * configure.ac (HAVE_EHDR_START): New check.
8093         * configure: Regenerated.
8094         * config.h.in (HAVE_EHDR_START): New #undef.
8095         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8096         assuming the lowest-addressed segment maps the start of the file.
8097
8098 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8099
8100         * INSTALL: Regenerated.
8101
8102 2014-03-13  Will Newton  <will.newton@linaro.org>
8103
8104         * manual/setjmp.texi (System V contexts): Improve
8105         clarity and grammar of documentation.
8106
8107 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8108
8109         [BZ #16381]
8110         * elf/Makefile (tests): Add tst-pie2.
8111         (tests-pie): Add tst-pie2.
8112         * elf/tst-pie2.c: New file.
8113         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8114         for ET_EXEC.
8115         * elf/rtld.c (map_doit): Load executable as lt_executable.
8116         (dl_main): Likewise.
8117
8118 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8119
8120         [BZ #16642]
8121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8122         (__ASSUME_PSELECT): Undefine.
8123
8124 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8125
8126         [BZ #16689]
8127         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8128         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8129         static build.
8130         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8131         selector for static builds.
8132
8133 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8134
8135         [BZ #16695]
8136         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8137         key in the buffer.
8138
8139 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8140
8141         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8142         IFUNC selector for static builds.
8143
8144 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8145
8146         * sysdeps/mips/math_private.h [__mips_hard_float]
8147         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8148         libc_feresetround_mips_ctx.
8149         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8150         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8151         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8152
8153         [BZ #16677]
8154         * math/s_nextafter.c (__nextafter): Do not return value from
8155         overflowing computation.
8156         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8157         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8158         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8159         Likewise.
8160         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8161         Likewise.
8162         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8163         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8164
8165 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8166
8167         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8168         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8169         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8170         the new mov targetting sp.
8171
8172 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8173
8174         [BZ #16683]
8175         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8176         Define it for static builds as well.
8177         (NO_BZERO_IMPL): Likewise.
8178
8179 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8180
8181         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8182         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8183         multiarch strspn for PPC64.
8184         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8185         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8187         (__libc_ifunc_impl_list): Likewise.
8188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8189         multiarch optimizations
8190         * string/strspn.c (strspn): Using macro to redefine symbol name.
8191
8192 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8193             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8194
8195         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8196         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8197         multiarch strncat for PPC64.
8198         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8199         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8201         (__libc_ifunc_impl_list): Likewise.
8202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8203         multiarch optimizations
8204
8205 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8206
8207         [BZ #16639]
8208         * nscd/nscd.service: Make service type forking.
8209
8210 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8211
8212         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8213         sign in non default rounding modes.
8214         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8215
8216 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8217
8218         * math/libm-test.inc (ALL_RM_TEST): New macro.
8219         (ceil_test): Use ALL_RM_TEST.
8220         (cimag_test): Likewise.
8221         (conj_test): Likewise.
8222         (copysign_test): Likewise.
8223         (cproj_test): Likewise.
8224         (creal_test): Likewise.
8225         (fabs_test): Likewise.
8226         (floor_test): Likewise.
8227         (fmax_test): Likewise.
8228         (fmin_test): Likewise.
8229         (fmod_test): Likewise.
8230         (fpclassify_test): Likewise.
8231         (frexp_test): Likewise.
8232         (ilogb_test): Likewise.
8233         (isfinite_test): Likewise.
8234         (finite_test): Likewise.
8235         (isgreater_test): Likewise.
8236         (isgreaterequal_test): Likewise.
8237         (isinf_test): Likewise.
8238         (isless_test): Likewise.
8239         (islessequal_test): Likewise.
8240         (islessgreater_test): Likewise.
8241         (isnan_test): Likewise.
8242         (isnormal_test): Likewise.
8243         (issignaling_test): Likewise.
8244         (isunordered_test): Likewise.
8245         (logb_test): Likewise.
8246         (logb_downward_test_data): Remove.
8247         (logb_test_downward): Likewise.
8248         (lround_test): Use ALL_RM_TEST.
8249         (llround_test): Likewise.
8250         (modf_test): Likewise.
8251         (nexttoward_test): Likewise.
8252         (remainder_test): Likewise.
8253         (drem_test): Likewise.
8254         (remainder_tonearest_test_data): Likewise.
8255         (remainder_test_tonearest): Likewise.
8256         (drem_test_tonearest): Likewise.
8257         (remainder_towardzero_test_data): Likewise.
8258         (remainder_test_towardzero): Likewise.
8259         (drem_test_towardzero): Likewise.
8260         (remainder_downward_test_data): Likewise.
8261         (remainder_test_downward): Likewise.
8262         (drem_test_downward): Likewise.
8263         (remainder_upward_test_data): Likewise.
8264         (remainder_test_upward): Likewise.
8265         (drem_test_upward): Likewise.
8266         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8267         (round_test): Use ALL_RM_TEST.
8268         (signbit_test): Likewise.
8269         (trunc_test): Likewise.
8270         (significand_test): Likewise.
8271         (main): Don't call removed functions.
8272
8273 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8274
8275         [BZ #16674]
8276         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8277         || __USE_XOPEN2K8].
8278         (ILL_ILLOPN): Likewise.
8279         (ILL_ILLADR): Likewise.
8280         (ILL_ILLTRP): Likewise.
8281         (ILL_PRVOPC): Likewise.
8282         (ILL_PRVREG): Likewise.
8283         (ILL_COPROC): Likewise.
8284         (ILL_BADSTK): Likewise.
8285         (FPE_INTDIV): Likewise.
8286         (FPE_INTOVF): Likewise.
8287         (FPE_FLTDIV): Likewise.
8288         (FPE_FLTOVF): Likewise.
8289         (FPE_FLTUND): Likewise.
8290         (FPE_FLTRES): Likewise.
8291         (FPE_FLTINV): Likewise.
8292         (FPE_FLTSUB): Likewise.
8293         (SEGV_MAPERR): Likewise.
8294         (SEGV_ACCERR): Likewise.
8295         (BUS_ADRALN): Likewise.
8296         (BUS_ADRERR): Likewise.
8297         (BUS_OBJERR): Likewise.
8298         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8299         (TRAP_TRACE): Likewise.
8300         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8301         __USE_XOPEN2K8].
8302         (CLD_KILLED): Likewise.
8303         (CLD_DUMPED): Likewise.
8304         (CLD_TRAPPED): Likewise.
8305         (CLD_STOPPED): Likewise.
8306         (CLD_CONTINUED): Likewise.
8307         (POLL_IN): Likewise.
8308         (POLL_OUT): Likewise.
8309         (POLL_MSG): Likewise.
8310         (POLL_ERR): Likewise.
8311         (POLL_PRI): Likewise.
8312         (POLL_HUP): Likewise.
8313         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8314         Likewise.
8315         (ILL_ILLOPN): Likewise.
8316         (ILL_ILLADR): Likewise.
8317         (ILL_ILLTRP): Likewise.
8318         (ILL_PRVOPC): Likewise.
8319         (ILL_PRVREG): Likewise.
8320         (ILL_COPROC): Likewise.
8321         (ILL_BADSTK): Likewise.
8322         (FPE_INTDIV): Likewise.
8323         (FPE_INTOVF): Likewise.
8324         (FPE_FLTDIV): Likewise.
8325         (FPE_FLTOVF): Likewise.
8326         (FPE_FLTUND): Likewise.
8327         (FPE_FLTRES): Likewise.
8328         (FPE_FLTINV): Likewise.
8329         (FPE_FLTSUB): Likewise.
8330         (SEGV_MAPERR): Likewise.
8331         (SEGV_ACCERR): Likewise.
8332         (BUS_ADRALN): Likewise.
8333         (BUS_ADRERR): Likewise.
8334         (BUS_OBJERR): Likewise.
8335         (BUS_MCEERR_AR): Likewise.
8336         (BUS_MCEERR_AO): Likewise.
8337         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8338         (TRAP_TRACE): Likewise.
8339         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8340         __USE_XOPEN2K8].
8341         (CLD_KILLED): Likewise.
8342         (CLD_DUMPED): Likewise.
8343         (CLD_TRAPPED): Likewise.
8344         (CLD_STOPPED): Likewise.
8345         (CLD_CONTINUED): Likewise.
8346         (POLL_IN): Likewise.
8347         (POLL_OUT): Likewise.
8348         (POLL_MSG): Likewise.
8349         (POLL_ERR): Likewise.
8350         (POLL_PRI): Likewise.
8351         (POLL_HUP): Likewise.
8352         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8353         (ILL_ILLOPN): Likewise.
8354         (ILL_ILLADR): Likewise.
8355         (ILL_ILLTRP): Likewise.
8356         (ILL_PRVOPC): Likewise.
8357         (ILL_PRVREG): Likewise.
8358         (ILL_COPROC): Likewise.
8359         (ILL_BADSTK): Likewise.
8360         (FPE_INTDIV): Likewise.
8361         (FPE_INTOVF): Likewise.
8362         (FPE_FLTDIV): Likewise.
8363         (FPE_FLTOVF): Likewise.
8364         (FPE_FLTUND): Likewise.
8365         (FPE_FLTRES): Likewise.
8366         (FPE_FLTINV): Likewise.
8367         (FPE_FLTSUB): Likewise.
8368         (SEGV_MAPERR): Likewise.
8369         (SEGV_ACCERR): Likewise.
8370         (BUS_ADRALN): Likewise.
8371         (BUS_ADRERR): Likewise.
8372         (BUS_OBJERR): Likewise.
8373         (BUS_MCEERR_AR): Likewise.
8374         (BUS_MCEERR_AO): Likewise.
8375         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8376         (TRAP_TRACE): Likewise.
8377         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8378         __USE_XOPEN2K8].
8379         (CLD_KILLED): Likewise.
8380         (CLD_DUMPED): Likewise.
8381         (CLD_TRAPPED): Likewise.
8382         (CLD_STOPPED): Likewise.
8383         (CLD_CONTINUED): Likewise.
8384         (POLL_IN): Likewise.
8385         (POLL_OUT): Likewise.
8386         (POLL_MSG): Likewise.
8387         (POLL_ERR): Likewise.
8388         (POLL_PRI): Likewise.
8389         (POLL_HUP): Likewise.
8390         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8391         Likewise.
8392         (ILL_ILLOPN): Likewise.
8393         (ILL_ILLADR): Likewise.
8394         (ILL_ILLTRP): Likewise.
8395         (ILL_PRVOPC): Likewise.
8396         (ILL_PRVREG): Likewise.
8397         (ILL_COPROC): Likewise.
8398         (ILL_BADSTK): Likewise.
8399         (ILL_BADIADDR): Likewise.
8400         (ILL_BREAK): 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         (FPE_DECOVF): Likewise.
8410         (FPE_DECDIV): Likewise.
8411         (FPE_DECERR): Likewise.
8412         (FPE_INVASC): Likewise.
8413         (FPE_INVDEC): Likewise.
8414         (SEGV_MAPERR): Likewise.
8415         (SEGV_ACCERR): Likewise.
8416         (SEGV_PSTKOVF): Likewise.
8417         (BUS_ADRALN): Likewise.
8418         (BUS_ADRERR): Likewise.
8419         (BUS_OBJERR): Likewise.
8420         (BUS_MCEERR_AR): Likewise.
8421         (BUS_MCEERR_AO): Likewise.
8422         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8423         (TRAP_TRACE): Likewise.
8424         (TRAP_BRANCH): Likewise.
8425         (TRAP_HWBKPT): Likewise.
8426         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8427         __USE_XOPEN2K8].
8428         (CLD_KILLED): Likewise.
8429         (CLD_DUMPED): Likewise.
8430         (CLD_TRAPPED): Likewise.
8431         (CLD_STOPPED): Likewise.
8432         (CLD_CONTINUED): Likewise.
8433         (POLL_IN): Likewise.
8434         (POLL_OUT): Likewise.
8435         (POLL_MSG): Likewise.
8436         (POLL_ERR): Likewise.
8437         (POLL_PRI): Likewise.
8438         (POLL_HUP): Likewise.
8439         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8440         (ILL_ILLOPN): Likewise.
8441         (ILL_ILLADR): Likewise.
8442         (ILL_ILLTRP): Likewise.
8443         (ILL_PRVOPC): Likewise.
8444         (ILL_PRVREG): Likewise.
8445         (ILL_COPROC): Likewise.
8446         (ILL_BADSTK): Likewise.
8447         (FPE_INTDIV): Likewise.
8448         (FPE_INTOVF): Likewise.
8449         (FPE_FLTDIV): Likewise.
8450         (FPE_FLTOVF): Likewise.
8451         (FPE_FLTUND): Likewise.
8452         (FPE_FLTRES): Likewise.
8453         (FPE_FLTINV): Likewise.
8454         (FPE_FLTSUB): Likewise.
8455         (SEGV_MAPERR): Likewise.
8456         (SEGV_ACCERR): Likewise.
8457         (BUS_ADRALN): Likewise.
8458         (BUS_ADRERR): Likewise.
8459         (BUS_OBJERR): Likewise.
8460         (BUS_MCEERR_AR): Likewise.
8461         (BUS_MCEERR_AO): Likewise.
8462         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8463         (TRAP_TRACE): Likewise.
8464         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8465         __USE_XOPEN2K8].
8466         (CLD_KILLED): Likewise.
8467         (CLD_DUMPED): Likewise.
8468         (CLD_TRAPPED): Likewise.
8469         (CLD_STOPPED): Likewise.
8470         (CLD_CONTINUED): Likewise.
8471         (POLL_IN): Likewise.
8472         (POLL_OUT): Likewise.
8473         (POLL_MSG): Likewise.
8474         (POLL_ERR): Likewise.
8475         (POLL_PRI): Likewise.
8476         (POLL_HUP): Likewise.
8477         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8478         (ILL_ILLOPN): Likewise.
8479         (ILL_ILLADR): Likewise.
8480         (ILL_ILLTRP): Likewise.
8481         (ILL_PRVOPC): Likewise.
8482         (ILL_PRVREG): Likewise.
8483         (ILL_COPROC): Likewise.
8484         (ILL_BADSTK): Likewise.
8485         (FPE_INTDIV): Likewise.
8486         (FPE_INTOVF): Likewise.
8487         (FPE_FLTDIV): Likewise.
8488         (FPE_FLTOVF): Likewise.
8489         (FPE_FLTUND): Likewise.
8490         (FPE_FLTRES): Likewise.
8491         (FPE_FLTINV): Likewise.
8492         (FPE_FLTSUB): Likewise.
8493         (SEGV_MAPERR): Likewise.
8494         (SEGV_ACCERR): Likewise.
8495         (BUS_ADRALN): Likewise.
8496         (BUS_ADRERR): Likewise.
8497         (BUS_OBJERR): Likewise.
8498         (BUS_MCEERR_AR): Likewise.
8499         (BUS_MCEERR_AO): Likewise.
8500         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8501         (TRAP_TRACE): Likewise.
8502         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8503         __USE_XOPEN2K8].
8504         (CLD_KILLED): Likewise.
8505         (CLD_DUMPED): Likewise.
8506         (CLD_TRAPPED): Likewise.
8507         (CLD_STOPPED): Likewise.
8508         (CLD_CONTINUED): Likewise.
8509         (POLL_IN): Likewise.
8510         (POLL_OUT): Likewise.
8511         (POLL_MSG): Likewise.
8512         (POLL_ERR): Likewise.
8513         (POLL_PRI): Likewise.
8514         (POLL_HUP): Likewise.
8515         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8516         (ILL_ILLOPN): Likewise.
8517         (ILL_ILLADR): Likewise.
8518         (ILL_ILLTRP): Likewise.
8519         (ILL_PRVOPC): Likewise.
8520         (ILL_PRVREG): Likewise.
8521         (ILL_COPROC): Likewise.
8522         (ILL_BADSTK): Likewise.
8523         (FPE_INTDIV): Likewise.
8524         (FPE_INTOVF): Likewise.
8525         (FPE_FLTDIV): Likewise.
8526         (FPE_FLTOVF): Likewise.
8527         (FPE_FLTUND): Likewise.
8528         (FPE_FLTRES): Likewise.
8529         (FPE_FLTINV): Likewise.
8530         (FPE_FLTSUB): Likewise.
8531         (SEGV_MAPERR): Likewise.
8532         (SEGV_ACCERR): Likewise.
8533         (BUS_ADRALN): Likewise.
8534         (BUS_ADRERR): Likewise.
8535         (BUS_OBJERR): Likewise.
8536         (BUS_MCEERR_AR): Likewise.
8537         (BUS_MCEERR_AO): Likewise.
8538         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8539         (TRAP_TRACE): Likewise.
8540         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8541         __USE_XOPEN2K8].
8542         (CLD_KILLED): Likewise.
8543         (CLD_DUMPED): Likewise.
8544         (CLD_TRAPPED): Likewise.
8545         (CLD_STOPPED): Likewise.
8546         (CLD_CONTINUED): Likewise.
8547         (POLL_IN): Likewise.
8548         (POLL_OUT): Likewise.
8549         (POLL_MSG): Likewise.
8550         (POLL_ERR): Likewise.
8551         (POLL_PRI): Likewise.
8552         (POLL_HUP): Likewise.
8553         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8554         (ILL_ILLOPN): Likewise.
8555         (ILL_ILLADR): Likewise.
8556         (ILL_ILLTRP): Likewise.
8557         (ILL_PRVOPC): Likewise.
8558         (ILL_PRVREG): Likewise.
8559         (ILL_COPROC): Likewise.
8560         (ILL_BADSTK): Likewise.
8561         (ILL_DBLFLT): Likewise.
8562         (ILL_HARDWALL): Likewise.
8563         (FPE_INTDIV): Likewise.
8564         (FPE_INTOVF): Likewise.
8565         (FPE_FLTDIV): Likewise.
8566         (FPE_FLTOVF): Likewise.
8567         (FPE_FLTUND): Likewise.
8568         (FPE_FLTRES): Likewise.
8569         (FPE_FLTINV): Likewise.
8570         (FPE_FLTSUB): Likewise.
8571         (SEGV_MAPERR): Likewise.
8572         (SEGV_ACCERR): Likewise.
8573         (BUS_ADRALN): Likewise.
8574         (BUS_ADRERR): Likewise.
8575         (BUS_OBJERR): Likewise.
8576         (BUS_MCEERR_AR): Likewise.
8577         (BUS_MCEERR_AO): Likewise.
8578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8579         (TRAP_TRACE): Likewise.
8580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8581         __USE_XOPEN2K8].
8582         (CLD_KILLED): Likewise.
8583         (CLD_DUMPED): Likewise.
8584         (CLD_TRAPPED): Likewise.
8585         (CLD_STOPPED): Likewise.
8586         (CLD_CONTINUED): Likewise.
8587         (POLL_IN): Likewise.
8588         (POLL_OUT): Likewise.
8589         (POLL_MSG): Likewise.
8590         (POLL_ERR): Likewise.
8591         (POLL_PRI): Likewise.
8592         (POLL_HUP): Likewise.
8593         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8594         (ILL_ILLOPN): Likewise.
8595         (ILL_ILLADR): Likewise.
8596         (ILL_ILLTRP): Likewise.
8597         (ILL_PRVOPC): Likewise.
8598         (ILL_PRVREG): Likewise.
8599         (ILL_COPROC): Likewise.
8600         (ILL_BADSTK): Likewise.
8601         (FPE_INTDIV): Likewise.
8602         (FPE_INTOVF): Likewise.
8603         (FPE_FLTDIV): Likewise.
8604         (FPE_FLTOVF): Likewise.
8605         (FPE_FLTUND): Likewise.
8606         (FPE_FLTRES): Likewise.
8607         (FPE_FLTINV): Likewise.
8608         (FPE_FLTSUB): Likewise.
8609         (SEGV_MAPERR): Likewise.
8610         (SEGV_ACCERR): Likewise.
8611         (BUS_ADRALN): Likewise.
8612         (BUS_ADRERR): Likewise.
8613         (BUS_OBJERR): Likewise.
8614         (BUS_MCEERR_AR): Likewise.
8615         (BUS_MCEERR_AO): Likewise.
8616         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8617         (TRAP_TRACE): Likewise.
8618         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8619         __USE_XOPEN2K8].
8620         (CLD_KILLED): Likewise.
8621         (CLD_DUMPED): Likewise.
8622         (CLD_TRAPPED): Likewise.
8623         (CLD_STOPPED): Likewise.
8624         (CLD_CONTINUED): Likewise.
8625         (POLL_IN): Likewise.
8626         (POLL_OUT): Likewise.
8627         (POLL_MSG): Likewise.
8628         (POLL_ERR): Likewise.
8629         (POLL_PRI): Likewise.
8630         (POLL_HUP): Likewise.
8631         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8632         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8633
8634         [BZ #16670]
8635         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8636         before #include of <time.h>.
8637         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8638         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8639         (test-xfail-UNIX98/sched.h/conform): Likewise.
8640
8641 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8642
8643         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8644         error absence of trapping exception support.
8645         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8646
8647 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8648
8649         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8650         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8651         * timezone/Makefile (testdata): Move definition above include of
8652         Rules.
8653         (test-zones): New variable.
8654         (tests-special): Add zone files.
8655         (build-testdata): Use $(evaluate-test).
8656
8657         * elf/Makefile (tests-special): Rename tests to end with .out.
8658         ($(objpfx)noload-mem): Likewise.
8659         ($(objpfx)tst-leaks1-mem): Likewise.
8660         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8661         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8662         $(objpfx)test-iconvconfig.out.
8663         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8664         set -e inside subshell and redirect output to file.
8665         * iconvdata/Makefile (generated): Rename tests to end with .out.
8666         Correct type.
8667         (tests-special): Rename tests to end with .out.
8668         ($(objpfx)mtrace-tst-loading): Likewise.
8669         * intl/Makefile (generated): Likewise.
8670         (tests-special): Likewise.
8671         ($(objpfx)mtrace-tst-gettext): Likewise.
8672         * misc/Makefile (generated): Likewise.
8673         (tests-special): Likewise.
8674         ($(objpfx)tst-error1-mem): Likewise.
8675         * nptl/Makefile (tests-special): Likewise.
8676         ($(objpfx)tst-stack3-mem): Likewise.
8677         (generated): Likewise.
8678         * posix/Makefile (generated): Likewise.
8679         (tests-special): Likewise.
8680         (xtests-special): Likewise.
8681         ($(objpfx)tst-fnmatch-mem): Likewise.
8682         ($(objpfx)bug-regex2-mem): Likewise.
8683         ($(objpfx)bug-regex14-mem): Likewise.
8684         ($(objpfx)bug-regex21-mem): Likewise.
8685         ($(objpfx)bug-regex31-mem): Likewise.
8686         ($(objpfx)tst-vfork3-mem): Likewise.
8687         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8688         ($(objpfx)tst-pcre-mem): Likewise.
8689         ($(objpfx)tst-boost-mem): Likewise.
8690         ($(objpfx)bug-ga2-mem): Likewise.
8691         ($(objpfx)bug-glob2-mem): Likewise.
8692         * resolv/Makefile (generate): Likewise.
8693         (tests-special): Likewise.
8694         (xtests-special): Likewise.
8695         (generated): Likewise.
8696         ($(objpfx)mtrace-tst-leaks): Likewise.
8697         ($(objpfx)mtrace-tst-leaks2): Likewise.
8698
8699         * scripts/merge-test-results.sh: New file.
8700         * Makefile (tests-special-notdir): New variable.
8701         (tests): Run merge-test-results.sh.
8702         (xtests): Likewise.
8703         * Rules (tests-special-notdir): New variable.
8704         (xtests-special-notdir): Likewise.
8705         (tests): Run merge-test-results.sh
8706         (xtests): Likewise.
8707
8708         * Makeconfig (test-xfail-name): New variable.
8709         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8710         compute variable name for expected failures.
8711         * conform/Makefile (conformtest-headers-data): New variable.
8712         (conformtest-standards): Likewise.
8713         (conformtest-headers-ISO): Likewise.
8714         (conformtest-headers-ISO99): Likewise.
8715         (conformtest-headers-ISO11): Likewise.
8716         (conformtest-headers-POSIX): Likewise.
8717         (conformtest-headers-XPG3): Likewise.
8718         (conformtest-headers-XPG4): Likewise.
8719         (conformtest-headers-UNIX98): Likewise.
8720         (conformtest-headers-XOPEN2K): Likewise.
8721         (conformtest-headers-POSIX2008): Likewise.
8722         (conformtest-headers-XOPEN2K8): Likewise.
8723         (conformtest-header-list-base): Likewise.
8724         (conformtest-header-list-tests): Likewise.
8725         (conformtest-header-base): Likewise.
8726         (conformtest-header-tests): Likewise.
8727         (tests-special): Add $(conformtest-header-list-tests).  If
8728         [$(fast-check) && !$(cross-compiling)], add
8729         $(conformtest-header-tests) instead of
8730         $(objpfx)run-conformtest.out.
8731         (generated): Add $(conformtest-header-list-base).  If
8732         [$(fast-check) && !$(cross-compiling)], add
8733         $(conformtest-header-base).  Remove previous setting.
8734         ($(conformtest-header-list-tests)): New target.
8735         (test-xfail-run-conformtest): Remove variable.
8736         ($(objpfx)run-conformtest.out): Remove target.
8737         (test-xfail-ISO11/complex.h/conform): New variable.
8738         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8739         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8740         (test-xfail-XPG3/varargs.h/conform): Likewise.
8741         (test-xfail-XPG4/varargs.h/conform): Likewise.
8742         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8743         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8744         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8745         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8746         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8747         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8748         (test-xfail-XPG3/ftw.h/conform): Likewise.
8749         (test-xfail-XPG3/grp.h/conform): Likewise.
8750         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8751         (test-xfail-XPG3/limits.h/conform): Likewise.
8752         (test-xfail-XPG3/pwd.h/conform): Likewise.
8753         (test-xfail-XPG3/search.h/conform): Likewise.
8754         (test-xfail-XPG3/signal.h/conform): Likewise.
8755         (test-xfail-XPG3/stdio.h/conform): Likewise.
8756         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8757         (test-xfail-XPG3/string.h/conform): Likewise.
8758         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8759         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8760         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8761         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8762         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8763         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8764         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8765         (test-xfail-XPG3/termios.h/conform): Likewise.
8766         (test-xfail-XPG3/time.h/conform): Likewise.
8767         (test-xfail-XPG3/unistd.h/conform): Likewise.
8768         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8769         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8770         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8771         (test-xfail-XPG4/netdb.h/conform): Likewise.
8772         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8773         (test-xfail-XPG4/signal.h/conform): Likewise.
8774         (test-xfail-XPG4/stdio.h/conform): Likewise.
8775         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8776         (test-xfail-XPG4/stropts.h/conform): Likewise.
8777         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8778         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8779         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8780         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8781         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8782         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8783         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8784         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8785         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8786         (test-xfail-XPG4/termios.h/conform): Likewise.
8787         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8788         (test-xfail-XPG4/unistd.h/conform): Likewise.
8789         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8790         (test-xfail-POSIX/sched.h/conform): Likewise.
8791         (test-xfail-POSIX/signal.h/conform): Likewise.
8792         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8793         (test-xfail-POSIX/tar.h/conform): Likewise.
8794         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8795         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8796         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8797         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8798         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8799         (test-xfail-UNIX98/sched.h/conform): Likewise.
8800         (test-xfail-UNIX98/signal.h/conform): Likewise.
8801         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8802         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8803         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8804         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8805         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8806         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8807         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8808         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8809         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8810         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8811         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8812         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8813         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8814         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8815         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8816         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8817         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8818         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8819         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8820         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8821         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8822         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8823         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8824         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8825         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8826         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8827         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8828         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8829         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8830         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8831         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8832         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8833         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8834         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8835         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8836         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8837         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8838         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8839         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8840         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8841         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8842         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8843         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8844         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8845         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8846         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8847         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8848         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8849         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8850         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8851         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8852         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8853         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8854         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8855         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8856         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8857         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8858         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8859         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8860         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8861         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8862         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8863         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8864         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8865         (conformtest-cc-flags): Likewise.
8866         ($(conformtest-header-tests): New target.
8867         * conform/check-header-lists.sh: New file.
8868         * conform/run-conformtest.sh: Remove.
8869
8870         * conform/conformtest.pl: Allow ' and \ in values given for
8871         constants.
8872         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8873         inclusion.
8874         [POSIX] (sys/types.h): Likewise.
8875         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8876         inclusion.
8877         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8878         inclusion.
8879         * conform/data/signal.h-data (SIGIO): Remove expectation.
8880         [XPG3] (SIGBUS): Do not expect.
8881         [POSIX || XPG3] (SIGPOLL): Likewise.
8882         [POSIX || XPG3] (SIGPROF): Likewise.
8883         [POSIX || XPG3] (SIGSYS): Likewise.
8884         [XPG3] (SIGTRAP): Likewise.
8885         [POSIX || XPG3] (SIGURG): Likewise.
8886         [POSIX || XPG3] (SIGVTALRM): Likewise.
8887         [POSIX || XPG3] (SIGXCPU): Likewise.
8888         [POSIX || XPG3] (SIGXFSZ): Likewise.
8889         [POSIX] (SA_SIGINFO): Expect.
8890         [XPG3] (siginfo_t): Do not expect type or contents.
8891         [POSIX] (si_pid): Do not expect element.
8892         [POSIX] (si_uid): Likewise.
8893         [POSIX] (si_addr): Likewise.
8894         [POSIX] (si_status): Likewise.
8895         [POSIX] (si_band): Likewise.
8896         [XPG4] (si_value): Likewise.
8897         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8898         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8899         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8900         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8901         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8902         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8903         [POSIX || XPG3] (ILL_COPROC): Likewise.
8904         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8905         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8906         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8907         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8908         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8909         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8910         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8911         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8912         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8913         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8914         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8915         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8916         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8917         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8918         [POSIX || XPG3] (CLD_EXITED): Likewise.
8919         [POSIX || XPG3] (CLD_KILLED): Likewise.
8920         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8921         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8922         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8923         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8924         [POSIX || XPG3] (POLL_IN): Likewise.
8925         [POSIX || XPG3] (POLL_OUT): Likewise.
8926         [POSIX || XPG3] (POLL_MSG): Likewise.
8927         [POSIX || XPG3] (POLL_ERR): Likewise.
8928         [POSIX || XPG3] (POLL_PRI): Likewise.
8929         [POSIX || XPG3] (POLL_HUP): Likewise.
8930         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8931         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8932         (SIG*): Do not allow.
8933         [XPG3] (si_*): Likewise.
8934         [XPG3] (SI_*): Likewise.
8935         [XPG3 || XPG4] (sigev_*): Likewise.
8936         [XPG3 || XPG4] (SIGEV_*): Likewise.
8937         [XPG3 || XPG4] (sival_*): Likewise.
8938         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8939         [POSIX || XPG3] (BUS_*): Likewise.
8940         [POSIX || XPG3] (CLD_*): Likewise.
8941         [POSIX || XPG3] (FPE_*): Likewise.
8942         [POSIX || XPG3] (ILL_*): Likewise.
8943         [POSIX || XPG3] (POLL_*): Likewise.
8944         [POSIX || XPG3] (SEGV_*): Likewise.
8945         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8946         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8947         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8948         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8949         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8950         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8951         Specify type and value.
8952         (TVERSLEN): Likewise.
8953         (REGTYPE): Likewise.
8954         (AREGTYPE): Likewise.
8955         (LNKTYPE): Likewise.
8956         (SYMTYPE): Likewise.
8957         (CHRTYPE): Likewise.
8958         (BLKTYPE): Likewise.
8959         (DIRTYPE): Likewise.
8960         (FIFOTYPE): Likewise.
8961         (CONTTYPE): Likewise.
8962         (TSUID): Likewise.
8963         (TSGID): Likewise.
8964         (TSVTX): Likewise.
8965         (TUREAD): Likewise.
8966         (TUWRITE): Likewise.
8967         (TUEXEC): Likewise.
8968         (TGREAD): Likewise.
8969         (TGWRITE): Likewise.
8970         (TGEXEC): Likewise.
8971         (TOREAD): Likewise.
8972         (TOWRITE): Likewise.
8973         (TOEXEC): Likewise.
8974         [POSIX] (TSVTX): Expect constant.
8975
8976 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8977
8978         * Makefile (tests): Change dependencies to ....
8979         (tests-special): ... additions to this variable.
8980         (tests): Depend on $(tests-special).
8981         * Makerules (check-abi-list): New variable.
8982         (check-abi): Depend on $(check-abi-list).
8983         [$(subdir) = elf] (tests-special): Add
8984         $(objpfx)check-abi-libc.out.
8985         [$(build-shared) = yes && subdir] (tests-special): Add
8986         $(check-abi-list).
8987         [$(build-shared) = yes && subdir] (tests): Do not depend on
8988         check-abi.
8989         * Rules (tests): Depend on $(tests-special).
8990         (xtests): Depend on $(xtests-special).
8991         * catgets/Makefile (tests): Change dependencies to ....
8992         (tests-special): ... additions to this variable.
8993         * conform/Makefile (tests): Change dependencies to ....
8994         (tests-special): ... additions to this variable.
8995         * elf/Makefile (tests): Change dependencies to ....
8996         (tests-special): ... additions to this variable.
8997         * grp/Makefile (tests): Change dependencies to ....
8998         (tests-special): ... additions to this variable.
8999         * iconv/Makefile (xtests): Change dependencies to ....
9000         (xtests-special): ... additions to this variable.
9001         * iconvdata/Makefile (tests): Change dependencies to ....
9002         (tests-special): ... additions to this variable.
9003         * intl/Makefile (tests): Change dependencies to ....
9004         (tests-special): ... additions to this variable.  Also add
9005         $(objpfx)tst-gettext.out.
9006         * io/Makefile (tests): Change dependencies to ....
9007         (tests-special): ... additions to this variable.
9008         * libio/Makefile (tests): Change dependencies to ....
9009         (tests-special): ... additions to this variable.
9010         * malloc/Makefile (tests): Change dependencies to ....
9011         (tests-special): ... additions to this variable.
9012         * misc/Makefile (tests): Change dependencies to ....
9013         (tests-special): ... additions to this variable.
9014         * nptl/Makefile (tests): Change dependencies to ....
9015         (tests-special): ... additions to this variable.
9016         * nptl_db/Makefile (tests): Change dependencies to ....
9017         (tests-special): ... additions to this variable.
9018         * posix/Makefile (tests): Change dependencies to ....
9019         (tests-special): ... additions to this variable.
9020         (xtests): Change dependencies to ....
9021         (xtests-special): ... additions to this variable.
9022         * resolv/Makefile (tests): Change dependencies to ....
9023         (tests-special): ... additions to this variable.
9024         (xtests): Change dependencies to ....
9025         (xtests-special): ... additions to this variable.
9026         * stdio-common/Makefile (tests): Change dependencies to ....
9027         (tests-special): ... additions to this variable.
9028         (do-tst-unbputc): Remove target.
9029         (do-tst-printf): Likewise.
9030         * stdlib/Makefile (tests): Change dependencies to ....
9031         (tests-special): ... additions to this variable.
9032         * string/Makefile (tests): Change dependencies to ....
9033         (tests-special): ... additions to this variable.
9034         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9035         (tests-special): ... additions to this variable.
9036
9037         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9038         whole file.
9039         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9040         whole file.
9041         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9042         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9043
9044         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9045         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9046         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9047         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9048         * conform/data/libgen.h-data [XPG3]: Likewise.
9049         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9050         * conform/data/ndbm.h-data [XPG3]: Likewise.
9051         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9052         * conform/data/netdb.h-data [XPG3]: Likewise.
9053         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9054         * conform/data/poll.h-data [XPG3]: Likewise.
9055         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9056         * conform/data/strings.h-data [XPG3]: Likewise.
9057         * conform/data/stropts.h-data [XPG3]: Likewise.
9058         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9059         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9060         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9061         Likewise.
9062         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9063         * conform/data/sys/time.h-data [XPG3]: Likewise.
9064         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9065         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9066         * conform/data/sys/un.h-data [XPG3]: Likewise.
9067         * conform/data/syslog.h-data [XPG3]: Likewise.
9068         * conform/data/ucontext.h-data [XPG3]: Likewise.
9069         * conform/data/utmpx.h-data [XPG3]: Likewise.
9070         * conform/data/varargs.h-data [UNIX98]: Enable file.
9071
9072         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9073
9074         * math/libm-test.inc (struct test_f_f_data): Move expected results
9075         into structure for each rounding mode.
9076         (struct test_ff_f_data): Likewise.
9077         (struct test_ff_f_data_nexttoward): Likewise.
9078         (struct test_fi_f_data): Likewise.
9079         (struct test_fl_f_data): Likewise.
9080         (struct test_if_f_data): Likewise.
9081         (struct test_fff_f_data): Likewise.
9082         (struct test_c_f_data): Likewise.
9083         (struct test_f_f1_data): Likewise.
9084         (struct test_fF_f1_data): Likewise.
9085         (struct test_ffI_f1_data): Likewise.
9086         (struct test_c_c_data): Likewise.
9087         (struct test_cc_c_data): Likewise.
9088         (struct test_f_i_data): Likewise.
9089         (struct test_ff_i_data): Likewise.
9090         (struct test_f_l_data): Likewise.
9091         (struct test_f_L_data): Likewise.
9092         (struct test_fFF_11_data): Likewise.
9093         (RM_): New macro.
9094         (RM_FE_DOWNWARD): Likewise.
9095         (RM_FE_TONEAREST): Likewise.
9096         (RM_FE_TOWARDZERO): Likewise.
9097         (RM_FE_UPWARD): Likewise.
9098         (RUN_TEST_LOOP_f_f): Update references to expected results.
9099         (RUN_TEST_LOOP_2_f): Likewise.
9100         (RUN_TEST_LOOP_fff_f): Likewise.
9101         (RUN_TEST_LOOP_c_f): Likewise.
9102         (RUN_TEST_LOOP_f_f1): Likewise.
9103         (RUN_TEST_LOOP_fF_f1): Likewise.
9104         (RUN_TEST_LOOP_fI_f1): Likewise.
9105         (RUN_TEST_LOOP_ffI_f1): Likewise.
9106         (RUN_TEST_LOOP_c_c): Likewise.
9107         (RUN_TEST_LOOP_cc_c): Likewise.
9108         (RUN_TEST_LOOP_f_i): Likewise.
9109         (RUN_TEST_LOOP_f_i_tg): Likewise.
9110         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9111         (RUN_TEST_LOOP_f_b): Likewise.
9112         (RUN_TEST_LOOP_f_b_tg): Likewise.
9113         (RUN_TEST_LOOP_f_l): Likewise.
9114         (RUN_TEST_LOOP_f_L): Likewise.
9115         (RUN_TEST_LOOP_fFF_11): Likewise.
9116         * math/gen-libm-test.pl (parse_args): Output four copies of
9117         expected results for each test.
9118
9119         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9120         (__ASSUME_UTIMES): Remove.
9121         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9122         (__ASSUME_UTIMES): Likewise.
9123
9124         * math/gen-auto-libm-tests.c: Update comment on output format.
9125         (output_for_one_input_case): Generate before-rounding and
9126         after-rounding information as conditions on output flags not
9127         floating-point format.
9128         * math/auto-libm-test-out: Regenerated.
9129         * math/gen-libm-test.pl (cond_value): New function.
9130         (or_cond_value): Use cond_value.
9131         (generate_testfile): Handle conditional exceptions.
9132
9133 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9134
9135         * math/libm-test.inc (max_valid_error): New variable.
9136         (init_max_error): Take new argument specifying whether function
9137         results are exactly determined.  Set max_valid_error and bound
9138         other variables for errors based on this argument.
9139         (set_max_error): Do not record results above max_valid_error.
9140         (check_float_internal): Only accept errors of up to 0.5ulps if
9141         also at most max_valid_error.
9142         (START): Take new argument EXACT and pass it to init_max_error.
9143         (acos_test): Update call to START.
9144         (acos_test_tonearest): Likewise.
9145         (acos_test_towardzero): Likewise.
9146         (acos_test_downward): Likewise.
9147         (acos_test_upward): Likewise.
9148         (acosh_test): Likewise.
9149         (asin_test): Likewise.
9150         (asin_test_tonearest): Likewise.
9151         (asin_test_towardzero): Likewise.
9152         (asin_test_downward): Likewise.
9153         (asin_test_upward): Likewise.
9154         (asinh_test): Likewise.
9155         (atan_test): Likewise.
9156         (atanh_test): Likewise.
9157         (atan2_test): Likewise.
9158         (cabs_test): Likewise.
9159         (cacos_test): Likewise.
9160         (cacosh_test): Likewise.
9161         (carg_test): Likewise.
9162         (casin_test): Likewise.
9163         (casinh_test): Likewise.
9164         (catan_test): Likewise.
9165         (catanh_test): Likewise.
9166         (cbrt_test): Likewise.
9167         (ccos_test): Likewise.
9168         (ccosh_test): Likewise.
9169         (ceil_test): Likewise.
9170         (cexp_test): Likewise.
9171         (cimag_test): Likewise.
9172         (clog_test): Likewise.
9173         (clog10_test): Likewise.
9174         (conj_test): Likewise.
9175         (copysign_test): Likewise.
9176         (cos_test): Likewise.
9177         (cos_test_tonearest): Likewise.
9178         (cos_test_towardzero): Likewise.
9179         (cos_test_downward): Likewise.
9180         (cos_test_upward): Likewise.
9181         (cosh_test): Likewise.
9182         (cosh_test_tonearest): Likewise.
9183         (cosh_test_towardzero): Likewise.
9184         (cosh_test_downward): Likewise.
9185         (cosh_test_upward): Likewise.
9186         (cpow_test): Likewise.
9187         (cproj_test): Likewise.
9188         (creal_test): Likewise.
9189         (csin_test): Likewise.
9190         (csinh_test): Likewise.
9191         (csqrt_test): Likewise.
9192         (ctan_test): Likewise.
9193         (ctan_test_tonearest): Likewise.
9194         (ctan_test_towardzero): Likewise.
9195         (ctan_test_downward): Likewise.
9196         (ctan_test_upward): Likewise.
9197         (ctanh_test): Likewise.
9198         (ctanh_test_tonearest): Likewise.
9199         (ctanh_test_towardzero): Likewise.
9200         (ctanh_test_downward): Likewise.
9201         (ctanh_test_upward): Likewise.
9202         (erf_test): Likewise.
9203         (erfc_test): Likewise.
9204         (exp_test): Likewise.
9205         (exp_test_tonearest): Likewise.
9206         (exp_test_towardzero): Likewise.
9207         (exp_test_downward): Likewise.
9208         (exp_test_upward): Likewise.
9209         (exp10_test): Likewise.
9210         (exp10_test_tonearest): Likewise.
9211         (exp10_test_towardzero): Likewise.
9212         (exp10_test_downward): Likewise.
9213         (exp10_test_upward): Likewise.
9214         (pow10_test): Likewise.
9215         (exp2_test): Likewise.
9216         (expm1_test): Likewise.
9217         (expm1_test_tonearest): Likewise.
9218         (expm1_test_towardzero): Likewise.
9219         (expm1_test_downward): Likewise.
9220         (expm1_test_upward): Likewise.
9221         (fabs_test): Likewise.
9222         (fdim_test): Likewise.
9223         (floor_test): Likewise.
9224         (fma_test): Likewise.
9225         (fma_test_towardzero): Likewise.
9226         (fma_test_downward): Likewise.
9227         (fma_test_upward): Likewise.
9228         (fmax_test): Likewise.
9229         (fmin_test): Likewise.
9230         (fmod_test): Likewise.
9231         (fpclassify_test): Likewise.
9232         (frexp_test): Likewise.
9233         (hypot_test): Likewise.
9234         (ilogb_test): Likewise.
9235         (isfinite_test): Likewise.
9236         (finite_test): Likewise.
9237         (isgreater_test): Likewise.
9238         (isgreaterequal_test): Likewise.
9239         (isinf_test): Likewise.
9240         (isless_test): Likewise.
9241         (islessequal_test): Likewise.
9242         (islessgreater_test): Likewise.
9243         (isnan_test): Likewise.
9244         (isnormal_test): Likewise.
9245         (issignaling_test): Likewise.
9246         (isunordered_test): Likewise.
9247         (j0_test): Likewise.
9248         (j1_test): Likewise.
9249         (jn_test): Likewise.
9250         (ldexp_test): Likewise.
9251         (lgamma_test): Likewise.
9252         (gamma_test): Likewise.
9253         (lrint_test): Likewise.
9254         (lrint_test_tonearest): Likewise.
9255         (lrint_test_towardzero): Likewise.
9256         (lrint_test_downward): Likewise.
9257         (lrint_test_upward): Likewise.
9258         (llrint_test): Likewise.
9259         (llrint_test_tonearest): Likewise.
9260         (llrint_test_towardzero): Likewise.
9261         (llrint_test_downward): Likewise.
9262         (llrint_test_upward): Likewise.
9263         (log_test): Likewise.
9264         (log10_test): Likewise.
9265         (log1p_test): Likewise.
9266         (log2_test): Likewise.
9267         (logb_test): Likewise.
9268         (logb_test_downward): Likewise.
9269         (lround_test): Likewise.
9270         (llround_test): Likewise.
9271         (modf_test): Likewise.
9272         (nearbyint_test): Likewise.
9273         (nextafter_test): Likewise.
9274         (nexttoward_test): Likewise.
9275         (pow_test): Likewise.
9276         (pow_test_tonearest): Likewise.
9277         (pow_test_towardzero): Likewise.
9278         (pow_test_downward): Likewise.
9279         (pow_test_upward): Likewise.
9280         (remainder_test): Likewise.
9281         (drem_test): Likewise.
9282         (remainder_test_tonearest): Likewise.
9283         (drem_test_tonearest): Likewise.
9284         (remainder_test_towardzero): Likewise.
9285         (drem_test_towardzero): Likewise.
9286         (remainder_test_downward): Likewise.
9287         (drem_test_downward): Likewise.
9288         (remainder_test_upward): Likewise.
9289         (drem_test_upward): Likewise.
9290         (remquo_test): Likewise.
9291         (rint_test): Likewise.
9292         (rint_test_tonearest): Likewise.
9293         (rint_test_towardzero): Likewise.
9294         (rint_test_downward): Likewise.
9295         (rint_test_upward): Likewise.
9296         (round_test): Likewise.
9297         (scalb_test): Likewise.
9298         (scalbn_test): Likewise.
9299         (scalbln_test): Likewise.
9300         (signbit_test): Likewise.
9301         (sin_test): Likewise.
9302         (sin_test_tonearest): Likewise.
9303         (sin_test_towardzero): Likewise.
9304         (sin_test_downward): Likewise.
9305         (sin_test_upward): Likewise.
9306         (sincos_test): Likewise.
9307         (sinh_test): Likewise.
9308         (sinh_test_tonearest): Likewise.
9309         (sinh_test_towardzero): Likewise.
9310         (sinh_test_downward): Likewise.
9311         (sinh_test_upward): Likewise.
9312         (sqrt_test): Likewise.
9313         (sqrt_test_tonearest): Likewise.
9314         (sqrt_test_towardzero): Likewise.
9315         (sqrt_test_downward): Likewise.
9316         (sqrt_test_upward): Likewise.
9317         (tan_test): Likewise.
9318         (tan_test_tonearest): Likewise.
9319         (tan_test_towardzero): Likewise.
9320         (tan_test_downward): Likewise.
9321         (tan_test_upward): Likewise.
9322         (tanh_test): Likewise.
9323         (tgamma_test): Likewise.
9324         (trunc_test): Likewise.
9325         (y0_test): Likewise.
9326         (y1_test): Likewise.
9327         (yn_test): Likewise.
9328         (significand_test): Likewise.
9329
9330         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9331         individual tests in comment.
9332         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9333         (prev_max_error): New variable.
9334         (prev_real_max_error): Likewise.
9335         (prev_imag_max_error): Likewise.
9336         (compare_ulp_data): Don't refer to test names in comment.
9337         (find_test_ulps): Remove function.
9338         (find_function_ulps): Likewise.
9339         (find_complex_function_ulps): Likewise.
9340         (init_max_error): Take function name as argument.  Look up ulps
9341         for that function.
9342         (print_ulps): Remove function.
9343         (print_max_error): Use prev_max_error instead of calling
9344         find_function_ulps.
9345         (print_complex_max_error): Use prev_real_max_error and
9346         prev_imag_max_error instead of calling find_complex_function_ulps.
9347         (check_float_internal): Take max_ulp parameter instead of calling
9348         find_test_ulps.  Don't call print_ulps.
9349         (check_float): Update call to check_float_internal.
9350         (check_complex): Update calls to check_float_internal.
9351         (START): Pass argument to init_max_error.
9352         * math/gen-libm-test.pl (%results): Don't include "kind"
9353         information.
9354         (parse_ulps): Don't handle ulps of individual tests.
9355         (print_ulps_file): Likewise.
9356         (output_ulps): Likewise.
9357         * math/README.libm-test: Update.
9358         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9359         individual tests.
9360         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9361         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9362         * sysdeps/arm/libm-test-ulps: Likewise.
9363         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9364         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9365         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9366         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9367         * sysdeps/microblaze/libm-test-ulps: Likewise.
9368         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9369         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9370         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9371         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9372         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9373         * sysdeps/sh/libm-test-ulps: Likewise.
9374         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9375         * sysdeps/tile/libm-test-ulps: Likewise.
9376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9377
9378 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9379
9380         * math/libm-test.inc (print_complex_max_error): Check separately
9381         whether real and imaginary errors are within allowed range and
9382         pass 0 to print_complex_function_ulps instead of value within
9383         allowed range.
9384
9385 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9386
9387         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9388         formatting.
9389         (get_handles_fopen): Likewise.
9390         (do_write_test): Likewise.
9391
9392         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9393
9394         * libio/fileops.c (do_ftell): Use cached offset when
9395         available.
9396         * libio/iofwide.c (do_ftell_wide): Likewise.
9397         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9398         _IO_file_attach.
9399         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9400
9401         [BZ #16532]
9402         * libio/libioP.h (get_file_offset): New function.
9403         * libio/fileops.c (get_file_offset): Likewise.
9404         (do_ftell): Likewise.
9405         (_IO_new_file_seekoff): Split out ftell logic.
9406         * libio/wfileops.c (do_ftell_wide): Likewise.
9407         (_IO_wfile_seekoff): Split out ftell logic.
9408         * libio/tst-ftell-active-handler.c: New test case.
9409         * libio/Makefile (tests): Add it.
9410
9411 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9412
9413         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9414         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9415
9416 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9417
9418         [BZ #16639]
9419         * nscd/connections.c (nscd_init): Call do_exit.
9420         (start_threads): Call do_exit and notify_parent.
9421         (begin_drop_privileges): Call do_exit.
9422         (finish_drop_privileges): Likewise.
9423         * nscd/selinux.c (preserve_capabilities): Likewise.
9424         (install_real_capabilities): Likewise.
9425         (nscd_selinux_enabled): Likewise.
9426         (avc_create_thread): Likewise.
9427         (avc_alloc_lock): Likewise.
9428         (nscd_avc_init): Likewise.
9429         * nscd/nscd.c (parent_fd): New static variable.
9430         (main): Create a pipe between parent and child processes.
9431         Skip closing parent_fd.
9432         (monitor_child): New function.
9433         (do_exit): Likewise.
9434         (notify_parent): Likewise.
9435         * nscd/nscd.h (notify_parent): Likewise.
9436         (do_exit): Likewise.
9437
9438 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9439
9440         * malloc/malloc.c (__libc_calloc): Revert last change.
9441
9442 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9443
9444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9445
9446 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9447
9448         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9450         implementation.
9451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9452         (__libc_ifunc_impl_list): Likewise.
9453         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9454         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9455         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9456         * string/strrchr.c: Define STRRCHR.
9457
9458 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9459
9460         * benchtest/bench-strtok.c (simple_strtok): Delete.
9461         (strtok_string): Use as benchmark.
9462         * string/strtok (STRTOK): New macro.
9463
9464 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9465
9466         * manual/threads.texi: Add header and standard comments to all
9467         functions.
9468
9469         * elf/dl-lookup.c (check_match): New function.
9470         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9471         (do_lookup_x): Remove nested function check_match. Use non-nested
9472         function check_match.
9473
9474 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9475
9476         * csu/Makefile (generated, before-compile): Use += rather than =.
9477         * catgets/Makefile (generated, generated-dirs): Likewise.
9478         * debug/Makefile (generated): Likewise.
9479         * dlfcn/Makefile (generated): Likewise.
9480         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9481         * iconvdata/Makefile (before-compile, generated): Likewise.
9482         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9483         * libio/Makefile (generated): Likewise.
9484         * malloc/Makefile (generated): Likewise.
9485         * manual/Makefile (generated, generated-dirs): Likewise.
9486         * misc/Makefile (generated): Likewise.
9487         * posix/Makefile (generated): Likewise.
9488         * resolv/Makefile (generated): Likewise.
9489         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9490         * timezone/Makefile (generated, generated-dirs): Likewise.
9491
9492         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9493
9494 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9495
9496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9497         power8 implementation.
9498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9499         file: POWER8 llround ifunc implementation.
9500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9501         (__lllround): Add POWER8 implementation.
9502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9503         POWER8 llround implementation.
9504
9505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9506         power8 implementation.
9507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9508         file: POWER8 llrint ifunc implementation.
9509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9510         Add POWER8 implementation.
9511         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9512         POWER8 llrint implementation.
9513
9514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9515         power8 implementation.
9516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9517         file: POWER8 finite ifunc implementation.
9518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9519         Add POWER8 implementation.
9520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9521         Likewise.
9522         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9523         POWER8 finite implementation.
9524         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9525
9526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9527         power8 implementation.
9528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9529         file: POWER8 isinf ifunc implementation.
9530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9531         POWER8 implementation.
9532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9533         Likewise.
9534         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9535         isinf implementation.
9536         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9537
9538         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9539         (INIT_ARCH): Add hwcap2 initialization.
9540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9541         power8 implementation.
9542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9543         file: POWER8 isnan ifunc implementation.
9544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9545         POWER8 implementation.
9546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9547         Likewise.
9548         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9549         isnan implementation.
9550         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9551
9552 2014-02-27  Joey Ye  <joey.ye@arm.com>
9553
9554         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9555         (_FP_NANFRAC_Q): Set to zero.
9556
9557 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9558
9559         [BZ #16623]
9560         * math/auto-libm-test-in: New test inputs.
9561         * math/auto-libm-test-out: Regenerate.
9562         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9563         and DA.
9564         (__cos): Likewise.
9565         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9566
9567 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9568
9569         * scripts/evaluate-test.sh: Take new argument indicating whether
9570         failure is expected.
9571         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9572         indicating whether failure is expected.
9573         * conform/Makefile (test-xfail-run-conformtest): New variable.
9574         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9575         level.
9576         * posix/Makefile (test-xfail-annexc): New variable.
9577         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9578
9579 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9580
9581         * argp/Makefile: Include Makeconfig immediately after defining
9582         subdir.
9583         * assert/Makefile: Likewise.
9584         * benchtests/Makefile: Likewise.
9585         * catgets/Makefile: Likewise.
9586         * conform/Makefile: Likewise.
9587         * crypt/Makefile: Likewise.
9588         * csu/Makefile: Likewise.
9589         (all): Remove target.
9590         * ctype/Makefile: Include Makeconfig immediately after defining
9591         subdir.
9592         * debug/Makefile: Likewise.
9593         * dirent/Makefile: Likewise.
9594         * dlfcn/Makefile: Likewise.
9595         * gmon/Makefile: Likewise.
9596         * gnulib/Makefile: Likewise.
9597         * grp/Makefile: Likewise.
9598         * gshadow/Makefile: Likewise.
9599         * hesiod/Makefile: Likewise.
9600         * hurd/Makefile: Likewise.
9601         (all): Remove target.
9602         * iconvdata/Makefile: Include Makeconfig immediately after
9603         defining subdir.
9604         * inet/Makefile: Likewise.
9605         * intl/Makefile: Likewise.
9606         * io/Makefile: Likewise.
9607         * libio/Makefile: Likewise.
9608         (all): Remove target.
9609         * locale/Makefile: Include Makeconfig immediately after defining
9610         subdir.
9611         * login/Makefile: Likewise.
9612         * mach/Makefile: Likewise.
9613         (all): Remove target.
9614         * malloc/Makefile: Include Makeconfig immediately after defining
9615         subdir.
9616         (all): Remove target.
9617         * manual/Makefile: Include Makeconfig immediately after defining
9618         subdir.
9619         * math/Makefile: Likewise.
9620         * misc/Makefile: Likewise.
9621         * nis/Makefile: Likewise.
9622         * nss/Makefile: Likewise.
9623         * po/Makefile: Likewise.
9624         (all): Remove target.
9625         * posix/Makefile: Include Makeconfig immediately after defining
9626         subdir.
9627         * pwd/Makefile: Likewise.
9628         * resolv/Makefile: Likewise.
9629         * resource/Makefile: Likewise.
9630         * rt/Makefile: Likewise.
9631         * setjmp/Makefile: Likewise.
9632         * shadow/Makefile: Likewise.
9633         * signal/Makefile: Likewise.
9634         * socket/Makefile: Likewise.
9635         * soft-fp/Makefile: Likewise.
9636         * stdio-common/Makefile: Likewise.
9637         * stdlib/Makefile: Likewise.
9638         * streams/Makefile: Likewise.
9639         * string/Makefile: Likewise.
9640         * sunrpc/Makefile: Likewise.
9641         (all): Remove target.
9642         * sysvipc/Makefile: Include Makeconfig immediately after defining
9643         subdir.
9644         * termios/Makefile: Likewise.
9645         * time/Makefile: Likewise.
9646         * timezone/Makefile: Likewise.
9647         (all): Remove target.
9648         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9649         subdir.
9650         * wctype/Makefile: Likewise.
9651
9652 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9653
9654         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9655         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9656         (libc_feholdexcept_setround_mips): Ditto.
9657         (libc_feholdsetround): New.
9658         (libc_feholdsetroundf): New.
9659         (libc_feholdsetroundl): New.
9660         (libc_feupdateenv_test_mips): New.
9661         (libc_feupdateenv_test): New.
9662         (libc_feupdateenv_testf): New.
9663         (libc_feupdateenv_testl): New.
9664         (libc_feresetround): New.
9665         (libc_feresetroundf): New.
9666         (libc_feresetroundl): New.
9667         (libc_fetestexcept_mips): New.
9668         (libc_fetestexcept): New.
9669         (libc_fetestexceptf): New.
9670         (libc_fetestexceptl): New.
9671         (HAVE_RM_CTX): New.
9672         (libc_feholdexcept_setround_mips_ctx): New.
9673         (libc_feholdexcept_setround_ctx): New.
9674         (libc_feholdexcept_setroundf_ctx): New.
9675         (libc_feholdexcept_setroundl_ctx): New.
9676         (libc_fesetenv_mips_ctx): New.
9677         (libc_fesetenv_ctx): New.
9678         (libc_fesetenv_ctxf): New.
9679         (libc_fesetenv_ctxl): New.
9680         (libc_feupdateenv_mips_ctx): New.
9681         (libc_feupdateenv_ctx): New.
9682         (libc_feupdateenvf_ctx): New.
9683         (libc_feupdateenvl_ctx): New.
9684         (libc_feholdsetround_mips_ctx): New.
9685         (libc_feholdsetround_ctx): New.
9686         (libc_feholdsetroundf_ctx): New.
9687         (libc_feholdsetroundl_ctx): New.
9688         (libc_feresetround_mips_ctx): New.
9689         (libc_feresetround_ctx): New.
9690         (libc_feresetroundf_ctx): New.
9691         (libc_feresetroundl_ctx): New.
9692
9693 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9694
9695         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9696
9697         * manual/ipc.texi: New file.
9698         * manual/Makefile (chapters): Add ipc.
9699         * manual/job.texi: Add "Inter-Process Communication" to next.
9700         * manual/process.texi: Add "Inter-Process Communication" to prev.
9701
9702 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9703
9704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9705
9706 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9707
9708         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9709
9710         * manual/arith.texi: Fix spaces after sentences.
9711         * manual/charset.texi: Likewise.
9712         * manual/errno.texi: Likewise.
9713         * manual/install.texi: Likewise.
9714         * manual/llio.texi: Likewise.
9715         * manual/locale.texi: Likewise.
9716         * manual/maint.texi: Likewise.
9717         * manual/math.texi: Likewise.
9718         * manual/memory.texi: Likewise.
9719         * manual/message.texi: Likewise.
9720         * manual/probes.texi: Likewise.
9721         * manual/resource.texi: Likewise.
9722         * manual/signal.texi: Likewise.
9723         * manual/socket.texi: Likewise.
9724         * manual/stdio.texi: Likewise.
9725         * manual/string.texi: Likewise.
9726         * manual/time.texi: Likewise.
9727         * manual/users.texi: Likewise.
9728
9729 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9730
9731         [BZ #16632]
9732         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9733         _DEFAULT_SOURCE is defined.
9734
9735 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9736             Carlos O'Donell  <carlos@redhat.com>
9737
9738         [BZ #16613]
9739         * elf/dl-tls.c (_dl_count_modids): New function.
9740         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9741         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9742         audit library and increment generation counter.
9743         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9744         * elf/tst-audit9.c: New file.
9745         * elf/tst-auditmod9a.c: New file.
9746         * elf/tst-auditmod9b.c: New file.
9747         * elf/Makefile: Add rules to build and run tst-audit9.
9748
9749 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9750
9751         [BZ #15347]
9752         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9753
9754 2014-02-25  Will Newton  <will.newton@linaro.org>
9755
9756         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9757         (__longjmp): Restore sp and lr before restoring callee
9758         saved registers.  Add longjmp and longjmp_target
9759         SystemTap probe point.
9760         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9761         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9762         Define to zero to match jmpbuf layout.
9763         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9764         (__sigsetjmp): Save sp and lr before saving callee
9765         saved registers.  Add setjmp SystemTap probe point.
9766
9767 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9768
9769         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9770
9771 2014-02-24  Andreas Schwab  <schwab@suse.de>
9772
9773         [BZ #15804]
9774         * elf/pldd.c (wait_for_ptrace_stop): New function.
9775         (main): Call it after attaching.
9776
9777 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9778
9779         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9780         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9781         Versions files is now verboten.
9782         * hurd/Versions (libc: GLIBC_2.0):
9783         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9784         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9785         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9786         * mach/Versions: Likewise.
9787
9788         * csu/Versions: Remove unused %include.
9789         * resolv/Versions: Likewise.
9790
9791 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9792
9793         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9794         ($(objpfx)check-local-headers.out): Likewise.
9795         ($(objpfx)begin-end-check.out): Likewise.
9796         * Makerules (check-abi-%.out): Likewise.
9797         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9798         ($(objpfx)test2.cat): Likewise.
9799         ($(objpfx)de/libc.cat): Likewise.
9800         ($(objpfx)test-gencat.out): Likewise.
9801         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9802         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9803         ($(objpfx)noload-mem): Likewise.
9804         ($(objpfx)tst-pathopt.out): Likewise.
9805         ($(objpfx)tst-rtld-load-self.out): Likewise.
9806         ($(objpfx)tst-array1-cmp.out): Likewise.
9807         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9808         ($(objpfx)tst-array2-cmp.out): Likewise.
9809         ($(objpfx)tst-array3-cmp.out): Likewise.
9810         ($(objpfx)tst-array4-cmp.out): Likewise.
9811         ($(objpfx)tst-array5-cmp.out): Likewise.
9812         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9813         ($(objpfx)check-textrel.out): Likewise.
9814         ($(objpfx)check-execstack.out): Likewise.
9815         ($(objpfx)check-localplt.out): Likewise.
9816         ($(objpfx)order2-cmp.out): Likewise.
9817         ($(objpfx)tst-leaks1-mem): Likewise.
9818         ($(objpfx)tst-leaks1-static-mem): Likewise.
9819         ($(objpfx)tst-initorder-cmp.out): Likewise.
9820         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9821         ($(objpfx)tst-unused-dep.out): Likewise.
9822         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9823         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9824         * iconv/Makefile (test-iconvconfig): Likewise.
9825         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9826         ($(objpfx)iconv-test.out): Likewise.
9827         ($(objpfx)tst-tables.out): Likewise.
9828         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9829         ($(objpfx)tst-gettext.out): Likewise.
9830         ($(objpfx)tst-translit.out): Likewise.
9831         ($(objpfx)tst-gettext2.out): Likewise.
9832         ($(objpfx)tst-gettext4.out): Likewise.
9833         ($(objpfx)tst-gettext6.out): Likewise.
9834         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9835         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9836         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9837         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9838         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9839         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9840         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9841         ($(objpfx)wordexp-tst.out): Likewise.
9842         ($(objpfx)annexc.out): Likewise.
9843         ($(objpfx)tst-fnmatch-mem): Likewise.
9844         ($(objpfx)bug-regex2-mem): Likewise.
9845         ($(objpfx)bug-regex14-mem): Likewise.
9846         ($(objpfx)bug-regex21-mem): Likewise.
9847         ($(objpfx)bug-regex31-mem): Likewise.
9848         ($(objpfx)tst-vfork3-mem): Likewise.
9849         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9850         ($(objpfx)tst-pcre-mem): Likewise.
9851         ($(objpfx)tst-boost-mem): Likewise.
9852         ($(objpfx)tst-getconf.out): Likewise.
9853         ($(objpfx)bug-ga2-mem): Likewise.
9854         ($(objpfx)bug-glob2-mem): Likewise.
9855         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9856         ($(objpfx)mtrace-tst-leaks2): Likewise.
9857         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9858         ($(objpfx)tst-printf.out): Likewise.
9859         ($(objpfx)tst-setvbuf1.out): Likewise.
9860         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9861         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9862         ($(objpfx)tst-fmtmsg.out): Likewise.
9863         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9864         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9865
9866         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9867         * bits/sigaction.h [__USE_MISC]: Likewise.
9868         * bits/waitstatus.h: Update #endif comments.
9869         * ctype/ctype.h: Likewise.
9870         * dirent/dirent.h: Likewise.
9871         [__USE_MISC]: Remove redundant conditionals.
9872         * grp/grp.h: Update #endif comments.
9873         [__USE_GNU]: Remove redundant conditionals.
9874         [__USE_MISC]: Likewise.
9875         * inet/netinet/in.h [__USE_GNU]: Likewise.
9876         * io/sys/stat.h [__USE_MISC]: Likewise.
9877         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9878         * libio/bits/stdio.h: Update #endif comments.
9879         [__USE_MISC]: Remove redundant conditionals.
9880         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9881         * libio/stdio.h: Update #endif comments.
9882         [__USE_MISC]: Remove redundant conditionals.
9883         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9884         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9885         * math/math.h: Update #else and #endif comments.
9886         [__USE_MISC]: Remove redundant conditionals.
9887         * misc/sys/uio.h: Update #endif comments.
9888         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9889         * posix/glob.h [__USE_MISC]: Likewise.
9890         * posix/sys/types.h: Update #endif comments.
9891         [__USE_MISC]: Remove redundant conditionals.
9892         * posix/sys/wait.h: Update #endif comments.
9893         [__USE_MISC]: Remove redundant conditionals.
9894         * posix/unistd.h: Update #endif comments.
9895         [__USE_MISC]: Remove redundant conditionals.
9896         * pwd/pwd.h [__USE_GNU]: Likewise.
9897         [__USE_MISC]: Likewise.
9898         * resolv/netdb.h [__USE_GNU]: Likewise.
9899         * signal/signal.h: Update #endif comments.
9900         [__USE_MISC]: Remove redundant conditionals.
9901         * stdlib/stdlib.h: Update #else and #endif comments.
9902         [__USE_MISC]: Remove redundant conditionals.
9903         [__USE_GNU]: Likewise.
9904         * string/bits/string2.h [__USE_MISC]: Likewise.
9905         * string/string.h: Update #endif comments.
9906         [__USE_MISC]: Remove redundant conditionals.
9907         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9908         Likewise.
9909         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9910         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9911         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9912         Likewise.
9913         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9914         Likewise.
9915         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9916         comments.
9917         [__USE_MISC]: Remove redundant conditionals.
9918         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9919         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9920         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9921         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9922         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9923         Likewise.
9924         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9925         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9926         Likewise.
9927         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9928         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9929         Likewise.
9930         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9931         Likewise.
9932         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9933         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9934         Likewise.
9935         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9936         Likewise.
9937         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9938         * sysdeps/x86/bits/string.h: Update #endif comments.
9939         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9940         conditionals.
9941         * time/sys/time.h: Update #endif comments.
9942         * time/time.h: Likewise.
9943         [__USE_MISC]: Remove redundant conditionals.
9944
9945 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9946
9947         [BZ #16600]
9948         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9949
9950 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9951
9952         * Versions.def (librt): Add GLIBC_2.17.
9953
9954 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9955
9956         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9957         synonym for _SYS_AUXV_H to allow direct inclusion.
9958         * sysdeps/sparc/bits/hwcap.h: Likewise.
9959         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9960         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9961         * sysdeps/sparc/sysdep.h: Likewise.
9962
9963 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9964
9965         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9966
9967 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9968
9969         * benchtests/bench-strrchr.c: Print length instead of position.
9970
9971 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9972
9973         [BZ #16611]
9974         * sysdeps/unix/sysv/linux/kernel-features.h
9975         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9976         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9977         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9978         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9979         Likewise.
9980         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9981         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9982         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9983         (__ASSUME_SENDMMSG): Define instead of using previous
9984         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9985         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9986         (__ASSUME_SENDMMSG_SYSCALL): Define.
9987         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9988         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9989         Likewise.
9990         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9991         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9992         Likewise.
9993         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9994         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9995         Likewise.
9996         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9997         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9998         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9999         [__ASSUME_SENDMMSG]: Change conditionals to
10000         [__ASSUME_SENDMMSG_SOCKETCALL].
10001         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10002         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10003         Define.
10004         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10005         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10006         Likewise.
10007         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10008         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10009         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10010         [!__ASSUME_SENDMMSG]: Change conditional to
10011         [!__ASSUME_SENDMMSG_SOCKETCALL].
10012         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10013         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10014         Define.
10015
10016         [BZ #16610]
10017         * sysdeps/unix/sysv/linux/kernel-features.h
10018         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10019         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10020         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10021         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10022         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10023         [__i386__ || __sparc__]
10024         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10025         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10026         (__ASSUME_RECVMMSG): Define instead of using previous
10027         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10028         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10029         (__ASSUME_RECVMMSG_SYSCALL): Define.
10030         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10031         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10032         Likewise.
10033         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10034         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10035         Likewise.
10036         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10037         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10038         Likewise.
10039         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10040         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10041         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10042         [__ASSUME_RECVMMSG]: Change condition to
10043         [__ASSUME_RECVMMSG_SOCKETCALL].
10044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10045         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10046         Define.
10047         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10048         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10049         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10050         Likewise.
10051         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10052         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10053         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10054         [!__ASSUME_RECVMMSG]: Change condition to
10055         [!__ASSUME_RECVMMSG_SOCKETCALL].
10056         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10057         (__ASSUME_RECVMMSG_SYSCALL): Define.
10058
10059         [BZ #16609]
10060         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10061         __powerpc__ || __s390__ || __sh__ || __sparc__]
10062         (__ASSUME_SOCKETCALL): Define.
10063         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10064         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10065         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10066         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10067         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10068         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10069         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10070         (__ASSUME_ACCEPT4): Define instead of using previous
10071         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10072         __powerpc__ || __sparc__ || __s390__)] condition.
10073         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10074         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10075         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10076         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10077         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10078         [!__ASSUME_ACCEPT4]: Change condition to
10079         [!__ASSUME_ACCEPT4_SOCKETCALL].
10080         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10081         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10082         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10083         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10084         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10085         __ASSUME_ACCEPT4_SYSCALL.
10086         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10087         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10088         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10089         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10090         __ASSUME_ACCEPT4_SYSCALL.
10091         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10092         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10093         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10094         [__ASSUME_ACCEPT4]: Change condition to
10095         [__ASSUME_ACCEPT4_SOCKETCALL].
10096         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10097         (__ASSUME_SOCKETCALL): Define.
10098         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10100         (__ASSUME_SOCKETCALL): Define.
10101         (__ASSUME_ACCEPT4): Remove.
10102         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10103         Define.
10104         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10105         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10106         Likewise.
10107         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10108         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10109
10110         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10111         macro.
10112         (HWCAP_ARM_LPAE): Likewise.
10113         (HWCAP_ARM_EVTSTRM): Likewise.
10114         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10115         Add vpfd32, lpae and evtstrm.
10116         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10117         Increase to 22.
10118
10119 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10120
10121         * math/auto-libm-test-in: Add tests of clog10.
10122         * math/auto-libm-test-out: Regenerated.
10123         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10124         * sysdeps/i386/fpu/libm-test-ulps: Update.
10125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10126
10127 2014-02-18  Andreas Schwab  <schwab@suse.de>
10128
10129         [BZ #16574]
10130         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10131         Store non-zero if the second buffer was newly allocated.
10132         (send_dg): Likewise.
10133         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10134         to send_vc and send_dg.
10135         (res_nsend): Pass NULL for ansp2_malloced.
10136         * resolv/res_query.c (__libc_res_nquery): Add parameter
10137         answerp2_malloced and pass it down to __libc_res_nsend.
10138         (res_nquery): Pass additional NULL to __libc_res_nquery.
10139         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10140         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10141         second answer buffer if answerp2_malloced was set.
10142         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10143         (__libc_res_nquerydomain): Add parameter
10144         answerp2_malloced and pass it down to __libc_res_nquery.
10145         (res_nquerydomain): Pass additional NULL to
10146         __libc_res_nquerydomain.
10147         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10148         additional NULL to __libc_res_nsend and __libc_res_nquery.
10149         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10150         additional NULL to __libc_res_nsearch.
10151         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10152         parameter of __libc_res_nsearch to check for separately allocated
10153         second buffer.
10154         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10155         __libc_res_nquery.
10156         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10157         additional NULL to __libc_res_nquery.
10158         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10159         __libc_res_nsearch.
10160         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10161         * include/resolv.h: Update prototypes of __libc_res_nquery,
10162         __libc_res_nsearch, __libc_res_nsend.
10163
10164 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10165
10166         * math/auto-libm-test-in: Add tests of fma.
10167         * math/auto-libm-test-out: Regenerated.
10168         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10169         (fma_towardzero_test_data): Likewise.
10170         (fma_downward_test_data): Likewise.
10171         (fma_upward_test_data): Likewise.
10172         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10173         mpc_mode.
10174         (rounding_modes): Add values for new field.
10175         (func_calc_method): Add value mpfr_fff_f.
10176         (func_calc_desc): Add mpfr_fff_f union field.
10177         (test_function): Add field exact_args.
10178         (FUNC): Add macro argument EXACT_ARGS.
10179         (FUNC_mpfr_f_f): Update call to FUNC.
10180         (FUNC_mpfr_f_f): Likewise.
10181         (FUNC_mpfr_ff_f): Likewise.
10182         (FUNC_mpfr_if_f): Likewise.
10183         (FUNC_mpc_c_f): Likewise.
10184         (FUNC_mpc_c_c): Likewise.
10185         (test_functions): Add fma.  Update calls to FUNC.
10186         (handle_input_arg): Add argument exact_args.
10187         (add_test): Update call to handle_input_arg.
10188         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10189         (output_for_one_input_case): Update call to calc_generic_results.
10190         Recalculate exact zero results in each rounding mode.
10191
10192         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10193         non-negative before setting low bit.
10194         * math/auto-libm-test-in: Mark one asin test possibly having
10195         spurious underflow.
10196         * math/auto-libm-test-out: Regenerated.
10197         * sysdeps/i386/fpu/libm-test-ulps: Update.
10198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10199
10200 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10201
10202         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10203         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10204         ports/sysdeps/unix/sysv/linux/microblaze.
10205         * README: Add missing listing for microblaze*-*-linux-gnu.
10206
10207 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10208
10209         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10210         duplicate code
10211
10212 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10213
10214         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10215         * sysdeps/unix/sysv/linux/ia64: Move directory from
10216         ports/sysdeps/unix/sysv/linux/ia64.
10217         * README: Update listing for ia64-*-linux-gnu.
10218
10219 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10220             Joseph Myers  <joseph@codesourcery.com>
10221
10222         * Makeconfig (test-name): New variable.
10223         (evaluate-test): Likewise.
10224         * Makerules (do-test-clean): Remove .test-result files.
10225         (common-mostlyclean): Likewise.
10226         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10227         * scripts/evaluate-test.sh: New file.
10228
10229 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10230
10231         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10232         separate $(objpfx)tst-fopenloc-cmp.out and
10233         $(objpfx)tst-fopenloc-mem.out targets.
10234         (tests): Update dependencies.
10235         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10236         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10237         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10238         (tst-rxspencer-no-utf8-ARGS): New variable.
10239         (tst-rxspencer-no-utf8-ENV): Likewise.
10240         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10241         instead of $(objpfx)tst-rxspencer-mem.
10242         ($(objpfx)tst-rxspencer-mem): Change target to
10243         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10244         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10245         * posix/tst-rxspencer-no-utf8.c: New file.
10246
10247         * elf/Makefile ($(objpfx)order.out): Remove rule.
10248         [$(run-built-tests) = yes] (tests): Depend on
10249         $(objpfx)order-cmp.out.
10250         ($(objpfx)order-cmp.out): New rule.
10251         [$(run-built-tests) = yes] (tests): Depend on
10252         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10253         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10254         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10255         $(objpfx)tst-array5-static-cmp.out.
10256         ($(objpfx)tst-array1.out): Remove rule.
10257         ($(objpfx)tst-array1-cmp.out): New rule.
10258         ($(objpfx)tst-array1-static.out): Remove rule.
10259         ($(objpfx)tst-array1-static-cmp.out): New rule.
10260         ($(objpfx)tst-array2.out): Remove rule.
10261         ($(objpfx)tst-array2-cmp.out): New rule.
10262         ($(objpfx)tst-array3.out): Remove rule.
10263         ($(objpfx)tst-array3-cmp.out): New rule.
10264         ($(objpfx)tst-array4.out): Remove rule.
10265         ($(objpfx)tst-array4-cmp.out): New rule.
10266         ($(objpfx)tst-array5.out): Remove rule.
10267         ($(objpfx)tst-array5-cmp.out): New rule.
10268         ($(objpfx)tst-array5-static.out): Remove rule.
10269         ($(objpfx)tst-array5-static-cmp.out): New rule.
10270         [$(run-built-tests) = yes] (tests): Depend on
10271         $(objpfx)order2-cmp.out.
10272         ($(objpfx)order2.out): Remove rule.
10273         ($(objpfx)order2-cmp.out): New rule.
10274         ($(objpfx)tst-initorder.out): Remove rule.
10275         [$(run-built-tests) = yes] (tests): Depend on
10276         $(objpfx)tst-initorder-cmp.out.
10277         ($(objpfx)tst-initorder-cmp.out): New rule.
10278         ($(objpfx)tst-initorder2.out): Remove rule.
10279         [$(run-built-tests) = yes] (tests): Depend on
10280         $(objpfx)tst-initorder2-cmp.out.
10281         ($(objpfx)tst-initorder2-cmp.out): New rule.
10282         [$(run-built-tests) = yes] (tests): Depend on
10283         $(objpfx)tst-unused-dep-cmp.out.
10284         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10285         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10286         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10287         on $(objpfx)tst-setvbuf1-cmp.out.
10288         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10289         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10290         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10291         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10292         ($(objpfx)tst-svc.out): Remove rule.
10293         ($(objpfx)tst-svc-cmp.out): New rule.
10294
10295 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10296
10297         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10298         * ctype/ctype.h [__USE_MISC]: Likewise.
10299         * dirent/dirent.h [__USE_MISC]: Likewise.
10300         * grp/grp.h [__USE_MISC]: Likewise.
10301         * io/fcntl.h [__USE_MISC]: Likewise.
10302         * io/sys/stat.h [__USE_MISC]: Likewise.
10303         * libio/stdio.h [__USE_MISC]: Likewise.
10304         * posix/unistd.h [__USE_MISC]: Likewise.
10305         * pwd/pwd.h [__USE_MISC]: Likewise.
10306         * stdlib.h [__USE_MISC]: Likewise.
10307         * string/bits/string2.h [__USE_MISC]: Likewise.
10308         * string/string.h [__USE_MISC]: Likewise.
10309         * time/time.h [__USE_MISC]: Likewise.
10310
10311 2014-02-13  Andreas Schwab  <schwab@suse.de>
10312
10313         [BZ #16574]
10314         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10315         second answer buffer if it was separately allocated.
10316
10317 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10318
10319         * sysdeps/mips/math-tests.h: Include <features.h>.
10320         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10321         (ROUNDING_TESTS_long_double): Do not define.
10322         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10323         (EXCEPTION_TESTS_long_double): Likewise.
10324         * sysdeps/mips/mips64/libm-test-ulps: Update.
10325
10326         * include/features.h (__USE_BSD): Remove macro definitions.
10327         (__USE_SVID): Likewise.
10328         (_BSD_SOURCE): Likewise.
10329         (_SVID_SOURCE): Likewise.
10330         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10331         from definition of _DEFAULT_SOURCE.
10332         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10333         [_DEFAULT_SOURCE].
10334         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10335         * bits/mman.h [__USE_BSD]: Likewise.
10336         * bits/termios.h [__USE_BSD]: Likewise.
10337         * bits/waitstatus.h [__USE_BSD]: Likewise.
10338         * ctype/ctype.h [__USE_SVID]: Likewise.
10339         * dirent/dirent.h [__USE_BSD]: Likewise.
10340         * grp/grp.h [__USE_SVID]: Likewise.
10341         [__USE_BSD]: Likewise.
10342         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10343         * io/fcntl.h [__USE_BSD]: Likewise.
10344         * io/ftw.h [__USE_BSD]: Likewise.
10345         * io/sys/stat.h [__USE_BSD]: Likewise.
10346         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10347         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10348         * libio/stdio.h [__USE_SVID]: Likewise.
10349         [__USE_BSD]: Likewise.
10350         * math/math.h [__USE_SVID]: Likewise.
10351         [__USE_BSD]: Likewise.
10352         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10353         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10354         * misc/search.h [__USE_SVID]: Likewise.
10355         * misc/sys/mman.h [__USE_BSD]: Likewise.
10356         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10357         * misc/sys/uio.h [__USE_BSD]: Likewise.
10358         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10359         * posix/glob.h [__USE_BSD]: Likewise.
10360         * posix/regex.h [__USE_BSD]: Likewise.
10361         * posix/sys/types.h [__USE_BSD]: Likewise.
10362         [__USE_SVID]: Likewise.
10363         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10364         * posix/sys/wait.h [__USE_BSD]: Likewise.
10365         [__USE_SVID]: Likewise.
10366         * posix/unistd.h [__USE_BSD]: Likewise.
10367         [__USE_SVID]: Likewise.
10368         * pwd/pwd.h [__USE_SVID]: Likewise.
10369         * resolv/netdb.h [__USE_BSD]: Likewise.
10370         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10371         * signal/signal.h [__USE_BSD]: Likewise.
10372         [__USE_SVID]: Likewise.
10373         * socket/sys/socket.h [__USE_BSD]: Likewise.
10374         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10375         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10376         [__USE_SVID]: Likewise.
10377         * string/bits/string2.h [__USE_BSD]: Likewise.
10378         [__USE_SVID]: Likewise.
10379         * string/bits/string3.h [__USE_BSD]: Likewise.
10380         * string/endian.h [__USE_BSD]: Likewise.
10381         * string/string.h [__USE_SVID]: Likewise.
10382         [__USE_BSD]: Likewise.
10383         * string/strings.h [__USE_BSD]: Likewise.
10384         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10385         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10386         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10387         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10388         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10389         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10390         Likewise.
10391         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10392         Likewise.
10393         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10394         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10395         Likewise.
10396         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10397         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10400         Likewise.
10401         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10402         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10403         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10404         Likewise.
10405         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10406         Likewise.
10407         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10408         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10409         * termios/termios.h [__USE_BSD]: Likewise.
10410         * time/sys/time.h [__USE_BSD]: Likewise.
10411         * time/time.h [__USE_BSD]: Likewise.
10412         [__USE_SVID]: Likewise.
10413
10414         * Makefile (subdir_targets): Remove subdir_lint.out.
10415
10416         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10417         (do-tst-printf): Likewise.
10418         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10419         $(objpfx)tst-printf.out.
10420
10421         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10422
10423         * Makerules (check-abi-%): Change target to
10424         $(objpfx)check-abi-%.out.
10425         (check-abi target): Update dependencies.
10426         (check-abi-pattern variable): Redirect output of diff to $@.
10427         (check-abi variable): Likewise.
10428         * elf/Makefile (check-abi): Update dependencies.
10429
10430         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10431         unused.
10432         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10433         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10434         subnormal range.
10435         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10436         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10437         value has largest subnormal exponent.
10438         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10439         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10440         * sysdeps/aarch64/soft-fp/sfp-machine.h
10441         (_FP_TININESS_AFTER_ROUNDING): New macro.
10442         * sysdeps/alpha/soft-fp/sfp-machine.h
10443         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10444         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10445         Likewise.
10446         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10447         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10448         * sysdeps/mips/soft-fp/sfp-machine.h
10449         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10450         * sysdeps/powerpc/soft-fp/sfp-machine.h
10451         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10452         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10453         Likewise.
10454         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10455         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10456         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10457         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10458         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10459         Likewise.
10460
10461 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10462
10463         [BZ #16545]
10464         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10465         model 1.
10466
10467 2014-02-12  Richard Henderson  <rth@redhat.com>
10468
10469         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10470         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10471         * sysdeps/unix/sysv/linux/alpha: Move directory from
10472         ports/sysdeps/unix/sysv/linux/alpha.
10473         * README: Update listing for alpha-*-linux-gnu.
10474
10475 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10476
10477         * include/features.h: Update comment documenting feature test
10478         macros.
10479         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10480         _DEFAULT_SOURCE.
10481         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10482         (_SVID_SOURCE): Likewise.
10483         (_DEFAULT_SOURCE): Update description of default features.
10484         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10485         with _GNU_SOURCE.
10486         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10487         (S_ISVTX): Likewise.
10488         * manual/math.texi (Mathematical Constants): Likewise.
10489         * manual/signal.texi (Interrupted Primitives): Likewise.
10490         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10491         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10492         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10493         Don't refer to _SVID_SOURCE in warning text.
10494
10495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10496
10497         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10498         already defined.
10499         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10500         * sysdeps/mips/dl-lookup.c: Remove.
10501         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10502
10503 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10504
10505         [BZ #16447]
10506         * math/auto-libm-test-in: Add testcase for expl.
10507         * math/auto-libm-test-out: Regenerate.
10508         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10509         calculation of unsafe.
10510         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10511
10512 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10513
10514         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10515         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10516         ports/sysdeps/unix/sysv/linux/aarch64.
10517         * README: Update listing for aarch64*-*-linux-gnu.
10518
10519 2014-02-11  Will Newton  <will.newton@linaro.org>
10520
10521         * manual/probes.texi (Mathematical Function Probes): Use
10522         "triggered" instead of "hit".
10523
10524         * manual/probes.texi (Internal Probes): Add documentation
10525         of setjmp, longjmp and longjmp_target probes.
10526
10527         * include/stap-probe.h: Add comment about probe argument
10528         format.
10529
10530         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10531         definition.  (tr_where, tr_freehook, tr_mallochook,
10532         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10533
10534 2014-02-11  David S. Miller  <davem@davemloft.net>
10535
10536         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10537         processing int_tests.
10538
10539 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10540
10541         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10542         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10543         * sysdeps/unix/sysv/linux/mips: Move directory from
10544         ports/sysdeps/unix/sysv/linux/mips.
10545         * README: Update listing for mips-*-linux-gnu and
10546         mips64-*-linux-gnu.
10547
10548 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10549
10550         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10551         * sysdeps/unix/sysv/linux/m68k: Move directory from
10552         ports/sysdeps/unix/sysv/linux/m68k.
10553         * README: Update listing for m68k-*-linux-gnu.
10554
10555 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10556
10557         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10558         * sysdeps/unix/sysv/linux/generic: Move directory from
10559         ports/sysdeps/unix/sysv/linux/generic.
10560         * sysdeps/unix/sysv/linux/tile: Move directory from
10561         ports/sysdeps/unix/sysv/linux/tile.
10562         * README: Update listing for tile*-*-linux-gnu.
10563
10564 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10565
10566         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10567         __builtin_expect.
10568         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10569         * catgets/open_catalog.c (__open_catalog): Likewise.
10570         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10571         * debug/confstr_chk.c: Likewise.
10572         * debug/fread_chk.c (__fread_chk): Likewise.
10573         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10574         * debug/getgroups_chk.c: Likewise.
10575         * debug/mbsnrtowcs_chk.c: Likewise.
10576         * debug/mbsrtowcs_chk.c: Likewise.
10577         * debug/mbstowcs_chk.c: Likewise.
10578         * debug/memcpy_chk.c: Likewise.
10579         * debug/memmove_chk.c: Likewise.
10580         * debug/mempcpy_chk.c: Likewise.
10581         * debug/memset_chk.c: Likewise.
10582         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10583         * debug/strcat_chk.c (__strcat_chk): Likewise.
10584         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10585         * debug/strncat_chk.c (__strncat_chk): Likewise.
10586         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10587         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10588         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10589         * debug/wcpncpy_chk.c: Likewise.
10590         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10591         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10592         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10593         * debug/wcsncpy_chk.c: Likewise.
10594         * debug/wcsnrtombs_chk.c: Likewise.
10595         * debug/wcsrtombs_chk.c: Likewise.
10596         * debug/wcstombs_chk.c: Likewise.
10597         * debug/wmemcpy_chk.c: Likewise.
10598         * debug/wmemmove_chk.c: Likewise.
10599         * debug/wmempcpy_chk.c: Likewise.
10600         * debug/wmemset_chk.c: Likewise.
10601         * dirent/scandirat.c (SCANDIRAT): Likewise.
10602         * dlfcn/dladdr1.c (dladdr1): Likewise.
10603         * dlfcn/dladdr.c (dladdr): Likewise.
10604         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10605         * dlfcn/dlerror.c (__dlerror): Likewise.
10606         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10607         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10608         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10609         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10610         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10611         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10612         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10613         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10614         Likewise.
10615         * elf/dl-conflict.c: Likewise.
10616         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10617         * elf/dl-dst.h: Likewise.
10618         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10619         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10620         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10621         * elf/dl-init.c (call_init, _dl_init): Likewise.
10622         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10623         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10624         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10625         Likewise.
10626         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10627         Likewise.
10628         * elf/dl-minimal.c (__libc_memalign): Likewise.
10629         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10630         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10631         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10632         * elf/dl-sym.c (do_sym): Likewise.
10633         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10634         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10635         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10636         * elf/dl-writev.h (_dl_writev): Likewise.
10637         * elf/ldconfig.c (search_dir): Likewise.
10638         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10639         (dl_main): Likewise.
10640         * elf/setup-vdso.h (setup_vdso): Likewise.
10641         * grp/compat-initgroups.c (compat_call): Likewise.
10642         * grp/fgetgrent.c (fgetgrent): Likewise.
10643         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10644         * grp/putgrent.c (putgrent): Likewise.
10645         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10646         Likewise.
10647         * hurd/hurdinit.c: Likewise.
10648         * iconvdata/8bit-gap.c (struct): Likewise.
10649         * iconvdata/ansi_x3.110.c : Likewise.
10650         * iconvdata/big5.c : Likewise.
10651         * iconvdata/big5hkscs.c : Likewise.
10652         * iconvdata/cp1255.c: Likewise.
10653         * iconvdata/cp1258.c : Likewise.
10654         * iconvdata/cp932.c : Likewise.
10655         * iconvdata/euc-cn.c: Likewise.
10656         * iconvdata/euc-jisx0213.c : Likewise.
10657         * iconvdata/euc-jp.c: Likewise.
10658         * iconvdata/euc-jp-ms.c : Likewise.
10659         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10660         * iconvdata/gb18030.c : Likewise.
10661         * iconvdata/gbbig5.c (const): Likewise.
10662         * iconvdata/gbgbk.c: Likewise.
10663         * iconvdata/gbk.c : Likewise.
10664         * iconvdata/ibm1364.c : Likewise.
10665         * iconvdata/ibm930.c : Likewise.
10666         * iconvdata/ibm932.c: Likewise.
10667         * iconvdata/ibm933.c : Likewise.
10668         * iconvdata/ibm935.c : Likewise.
10669         * iconvdata/ibm937.c : Likewise.
10670         * iconvdata/ibm939.c : Likewise.
10671         * iconvdata/ibm943.c: Likewise.
10672         * iconvdata/iso_11548-1.c: Likewise.
10673         * iconvdata/iso-2022-cn.c : Likewise.
10674         * iconvdata/iso-2022-cn-ext.c : Likewise.
10675         * iconvdata/iso-2022-jp-3.c: Likewise.
10676         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10677         * iconvdata/iso-2022-kr.c : Likewise.
10678         * iconvdata/iso646.c (gconv_end): Likewise.
10679         * iconvdata/iso_6937-2.c : Likewise.
10680         * iconvdata/iso_6937.c : Likewise.
10681         * iconvdata/iso8859-1.c: Likewise.
10682         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10683         * iconvdata/shift_jisx0213.c : Likewise.
10684         * iconvdata/sjis.c : Likewise.
10685         * iconvdata/t.61.c : Likewise.
10686         * iconvdata/tcvn5712-1.c : Likewise.
10687         * iconvdata/tscii.c: Likewise.
10688         * iconvdata/uhc.c : Likewise.
10689         * iconvdata/unicode.c (gconv_end): Likewise.
10690         * iconvdata/utf-16.c (gconv_end): Likewise.
10691         * iconvdata/utf-32.c (gconv_end): Likewise.
10692         * iconvdata/utf-7.c (base64): Likewise.
10693         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10694         * iconv/gconv_close.c (__gconv_close): Likewise.
10695         * iconv/gconv_open.c (__gconv_open): Likewise.
10696         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10697         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10698         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10699         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10700         (ucs4le_internal_loop_single): Likewise.
10701         * iconv/iconv.c (iconv): Likewise.
10702         * iconv/iconv_close.c: Likewise.
10703         * iconv/loop.c (SINGLE): Likewise.
10704         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10705         * include/atomic.h: Likewise.
10706         * inet/inet6_option.c (option_alloc): Likewise.
10707         * intl/bindtextdom.c (set_binding_values): Likewise.
10708         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10709         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10710         * intl/localealias.c (read_alias_file): Likewise.
10711         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10712         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10713         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10714         * libio/fmemopen.c (fmemopen): Likewise.
10715         * libio/iofgets.c (_IO_fgets): Likewise.
10716         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10717         * libio/iofgetws.c (fgetws): Likewise.
10718         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10719         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10720         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10721         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10722         * locale/findlocale.c (_nl_find_locale): Likewise.
10723         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10724         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10725         Likewise.
10726         * locale/setlocale.c (setlocale): Likewise.
10727         * login/programs/pt_chown.c (main): Likewise.
10728         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10729         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10730         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10731         (mmap, mmap64, mremap, munmap): Likewise.
10732         * math/e_exp2l.c: Likewise.
10733         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10734         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10735         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10736         * math/s_catan.c (__catan): Likewise.
10737         * math/s_catanf.c (__catanf): Likewise.
10738         * math/s_catanh.c (__catanh): Likewise.
10739         * math/s_catanhf.c (__catanhf): Likewise.
10740         * math/s_catanhl.c (__catanhl): Likewise.
10741         * math/s_catanl.c (__catanl): Likewise.
10742         * math/s_ccosh.c (__ccosh): Likewise.
10743         * math/s_ccoshf.c (__ccoshf): Likewise.
10744         * math/s_ccoshl.c (__ccoshl): Likewise.
10745         * math/s_cexp.c (__cexp): Likewise.
10746         * math/s_cexpf.c (__cexpf): Likewise.
10747         * math/s_cexpl.c (__cexpl): Likewise.
10748         * math/s_clog10.c (__clog10): Likewise.
10749         * math/s_clog10f.c (__clog10f): Likewise.
10750         * math/s_clog10l.c (__clog10l): Likewise.
10751         * math/s_clog.c (__clog): Likewise.
10752         * math/s_clogf.c (__clogf): Likewise.
10753         * math/s_clogl.c (__clogl): Likewise.
10754         * math/s_csin.c (__csin): Likewise.
10755         * math/s_csinf.c (__csinf): Likewise.
10756         * math/s_csinh.c (__csinh): Likewise.
10757         * math/s_csinhf.c (__csinhf): Likewise.
10758         * math/s_csinhl.c (__csinhl): Likewise.
10759         * math/s_csinl.c (__csinl): Likewise.
10760         * math/s_csqrt.c (__csqrt): Likewise.
10761         * math/s_csqrtf.c (__csqrtf): Likewise.
10762         * math/s_csqrtl.c (__csqrtl): Likewise.
10763         * math/s_ctan.c (__ctan): Likewise.
10764         * math/s_ctanf.c (__ctanf): Likewise.
10765         * math/s_ctanh.c (__ctanh): Likewise.
10766         * math/s_ctanhf.c (__ctanhf): Likewise.
10767         * math/s_ctanhl.c (__ctanhl): Likewise.
10768         * math/s_ctanl.c (__ctanl): Likewise.
10769         * math/w_pow.c: Likewise.
10770         * math/w_powf.c: Likewise.
10771         * math/w_powl.c: Likewise.
10772         * math/w_scalb.c (sysv_scalb): Likewise.
10773         * math/w_scalbf.c (sysv_scalbf): Likewise.
10774         * math/w_scalbl.c (sysv_scalbl): Likewise.
10775         * misc/error.c (error_tail): Likewise.
10776         * misc/pselect.c (__pselect): Likewise.
10777         * nis/nis_callback.c (__nis_create_callback): Likewise.
10778         * nis/nis_call.c (__nisfind_server): Likewise.
10779         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10780         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10781         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10782         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10783         * nis/nis_lookup.c (nis_lookup): Likewise.
10784         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10785         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10786         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10787         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10788         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10789         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10790         * nis/nss_compat/compat-initgroups.c (add_group)
10791         (internal_getgrent_r): Likewise.
10792         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10793         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10794         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10795         (internal_getspnam_r): Likewise.
10796         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10797         (_nss_nis_getaliasbyname_r): Likewise.
10798         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10799         (_nss_nis_getntohost_r): Likewise.
10800         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10801         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10802         (_nss_nis_getgrgid_r): Likewise.
10803         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10804         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10805         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10806         (_nss_nis_gethostbyname4_r): Likewise.
10807         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10808         (initgroups_netid): Likewise.
10809         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10810         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10811         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10812         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10813         (_nss_nis_getprotobynumber_r): Likewise.
10814         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10815         (_nss_nis_getsecretkey): Likewise.
10816         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10817         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10818         (_nss_nis_getpwuid_r): Likewise.
10819         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10820         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10821         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10822         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10823         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10824         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10825         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10826         Likewise.
10827         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10828         (_nss_nisplus_getntohost_r): Likewise.
10829         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10830         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10831         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10832         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10833         Likewise.
10834         * nis/nss_nisplus/nisplus-initgroups.c
10835         (_nss_nisplus_initgroups_dyn): Likewise.
10836         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10837         (_nss_nisplus_getnetbyaddr_r): Likewise.
10838         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10839         (_nss_nisplus_getprotobynumber_r): Likewise.
10840         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10841         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10842         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10843         Likewise.
10844         * nis/nss_nisplus/nisplus-service.c
10845         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10846         (_nss_nisplus_getservbyport_r): Likewise.
10847         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10848         (_nss_nisplus_getspnam_r): Likewise.
10849         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10850         Likewise.
10851         * nscd/aicache.c (addhstaiX): Likewise.
10852         * nscd/cache.c (cache_search, prune_cache): Likewise.
10853         * nscd/connections.c (register_traced_file, send_ro_fd)
10854         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10855         (main_loop_epoll): Likewise.
10856         * nscd/grpcache.c (addgrbyX): Likewise.
10857         * nscd/hstcache.c (addhstbyX): Likewise.
10858         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10859         * nscd/mem.c (gc, mempool_alloc): Likewise.
10860         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10861         (addinnetgrX): Likewise.
10862         * nscd/nscd-client.h (__nscd_acquire_maplock)
10863         (__nscd_drop_map_ref): Likewise.
10864         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10865         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10866         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10867         Likewise.
10868         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10869         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10870         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10871         (__nscd_get_map_ref): Likewise.
10872         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10873         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10874         Likewise.
10875         * nscd/pwdcache.c (addpwbyX): Likewise.
10876         * nscd/selinux.c (preserve_capabilities): Likewise.
10877         * nscd/servicescache.c (addservbyX): Likewise.
10878         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10879         * posix/fnmatch.c (fnmatch): Likewise.
10880         * posix/getopt.c (_getopt_internal_r): Likewise.
10881         * posix/glob.c (glob, glob_in_dir): Likewise.
10882         * posix/wordexp.c (exec_comm_child): Likewise.
10883         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10884         (getanswer_r, gaih_getanswer_slice): Likewise.
10885         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10886         * resolv/res_init.c: Likewise.
10887         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10888         * resolv/res_query.c (__libc_res_nquery): Likewise.
10889         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10890         Likewise.
10891         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10892         * stdio-common/perror.c (perror): Likewise.
10893         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10894         * stdio-common/tmpnam.c (tmpnam): Likewise.
10895         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10896         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10897         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10898         Likewise.
10899         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10900         * stdlib/putenv.c (putenv): Likewise.
10901         * stdlib/setenv.c (__add_to_environ): Likewise.
10902         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10903         * stdlib/strtol_l.c (INTERNAL): Likewise.
10904         * string/memmem.c (memmem): Likewise.
10905         * string/strerror.c (strerror): Likewise.
10906         * string/strnlen.c (__strnlen): Likewise.
10907         * string/test-memmem.c (simple_memmem): Likewise.
10908         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10909         * sunrpc/pm_getport.c (__get_socket): Likewise.
10910         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10911         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10912         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10913         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10914         Likewise.
10915         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10916         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10917         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10918         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10919         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10920         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10921         Likewise.
10922         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10923         Likewise.
10924         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10925         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10926         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10927         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10928         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10930         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10931         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10932         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10933         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10934         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10935         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10936         Likewise.
10937         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10938         Likewise.
10939         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10940         Likewise.
10941         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10942         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10943         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10944         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10945         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10946         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10947         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10948         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10949         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10950         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10951         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10952         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10953         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10954         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10956         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10957         Likewise.
10958         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10959         Likewise.
10960         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10961         Likewise.
10962         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10963         Likewise.
10964         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10966         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10967         Likewise.
10968         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10969         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10970         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10971         * sysdeps/posix/sleep.c: Likewise.
10972         * sysdeps/posix/tempname.c: Likewise.
10973         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10974         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10975         Likewise.
10976         * sysdeps/powerpc/powerpc32/dl-machine.h
10977         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10978         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10980         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10981         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10982         Likewise.
10983         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10984         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10985         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10986         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10987         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10988         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10989         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10990         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10991         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10992         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10993         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10994         (elf_machine_lazy_rel): Likewise.
10995         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10996         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10997         (elf_machine_lazy_rel): Likewise.
10998         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10999         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11000         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11001         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11002         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11003         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11004         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11005         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11006         Likewise.
11007         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11008         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11009         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11010         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11011         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11012         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11013         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11014         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11015         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11016         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11017         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11018         Likewise.
11019         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11020         (__posix_fallocate64_l64): Likewise.
11021         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11022         (posix_fallocate): Likewise.
11023         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11024         Likewise.
11025         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11026         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11027         (getifaddrs_internal): Likewise.
11028         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11029         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11030         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11031         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11032         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11033         (__posix_fallocate64_l64): Likewise.
11034         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11035         Likewise.
11036         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11037         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11038         (__get_clockfreq): Likewise.
11039         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11040         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11041         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11044         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11045         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11046         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11047         Likewise.
11048         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11049         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11050         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11051         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11052         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11053         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11054         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11055         Likewise.
11056         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11057         (posix_fallocate): Likewise.
11058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11059         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11060         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11061         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11062         (elf_machine_rela, elf_machine_rela_relative)
11063         (elf_machine_lazy_rel): Likewise.
11064         * time/asctime.c (asctime_internal): Likewise.
11065         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11066         * time/tzset.c (__tzset_parse_tz): Likewise.
11067         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11068         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11069         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11070         * wcsmbs/wcsmbsload.h: Likewise.
11071
11072         [BZ #15894]
11073         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11074
11075         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11076         (arena_get2): Remove THREAD_STATS conditionals.
11077         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11078         (__malloc_stats, int): Likewise.
11079
11080 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11081
11082         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11083         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11084
11085         * manual/setjmp.texi: Fix typos/grammar errors.
11086
11087         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11088         Only return early when n is <= 0.  Delete unused return statement.
11089
11090         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11091         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11092         * debug/tst-longjmp_chk3.c: New file.
11093
11094         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11095         (test_main): Replace code with set_fortify_handler call.
11096         * debug/test-strcpy_chk.c: Likewise.
11097         * debug/tst-chk1.c: Likewise.
11098         * debug/tst-longjmp_chk.c: Likewise.
11099         * test-skeleton.c: Include fcntl.h & paths.h
11100         (set_fortify_handler): Define.
11101
11102         * debug/tst-longjmp_chk.c: Add header comment and include
11103         ../test-skeleton.c.
11104         (do_test): Mark static.
11105         (TEST_FUNCTION): Define.
11106
11107         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11108         (IP_PMTUDISC_INTERFACE): Likewise.
11109         (IP_MULTICAST_IF): Likewise.
11110         (IP_MULTICAST_TTL): Likewise.
11111         (IP_MULTICAST_LOOP): Likewise.
11112         (IP_ADD_MEMBERSHIP): Likewise.
11113         (IP_DROP_MEMBERSHIP): Likewise.
11114         (IP_UNBLOCK_SOURCE): Likewise.
11115         (IP_BLOCK_SOURCE): Likewise.
11116         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11117         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11118         (IP_MSFILTER): Likewise.
11119         (MCAST_JOIN_GROUP): Likewise.
11120         (MCAST_BLOCK_SOURCE): Likewise.
11121         (MCAST_UNBLOCK_SOURCE): Likewise.
11122         (MCAST_LEAVE_GROUP): Likewise.
11123         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11124         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11125         (MCAST_MSFILTER): Likewise.
11126         (IP_MULTICAST_ALL): Likewise.
11127         (IP_UNICAST_IF): Likewise.
11128
11129         * timezone/Makefile: Delete $(have-ksh) check.
11130         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11131         * timezone/tzselect.ksh: Add +x mode bits.
11132
11133         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11134         (ANON_INODE_FS_MAGIC): Likewise.
11135         (BDEVFS_MAGIC): Likewise.
11136         (BINFMTFS_MAGIC): Likewise.
11137         (BTRFS_TEST_MAGIC): Likewise.
11138         (CRAMFS_MAGIC_WEND): Likewise.
11139         (DEBUGFS_MAGIC): Likewise.
11140         (ECRYPTFS_SUPER_MAGIC): Likewise.
11141         (EXT3_SUPER_MAGIC): Likewise.
11142         (EXT4_SUPER_MAGIC): Likewise.
11143         (FUTEXFS_SUPER_MAGIC): Likewise.
11144         (HOSTFS_SUPER_MAGIC): Likewise.
11145         (HUGETLBFS_MAGIC): Likewise.
11146         (MINIX3_SUPER_MAGIC): Likewise.
11147         (MTD_INODE_FS_MAGIC): Likewise.
11148         (NILFS_SUPER_MAGIC): Likewise.
11149         (OPENPROM_SUPER_MAGIC): Likewise.
11150         (PIPEFS_MAGIC): Likewise.
11151         (PSTOREFS_MAGIC): Likewise.
11152         (QNX6_SUPER_MAGIC): Likewise.
11153         (RAMFS_MAGIC): Likewise.
11154         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11155         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11156         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11157         (SECURITYFS_MAGIC): Likewise.
11158         (SELINUX_MAGIC): Likewise.
11159         (SMACK_MAGIC): Likewise.
11160         (SOCKFS_MAGIC): Likewise.
11161         (SQUASHFS_MAGIC): Likewise.
11162         (STACK_END_MAGIC): Likewise.
11163         (TMPFS_MAGIC): Likewise.
11164         (USBDEVICE_SUPER_MAGIC): Likewise.
11165         (V9FS_MAGIC): Likewise.
11166         (XENFS_SUPER_MAGIC): Likewise.
11167         (CRAMFS_MAGIC): Fix typo in comment.
11168         (EXT2_SUPER_MAGIC): Update comment.
11169         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11170
11171 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11172
11173         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11174         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11175         * sysdeps/unix/sysv/linux/arm: Move directory from
11176         ports/sysdeps/unix/sysv/linux/arm.
11177         * README: Update listing for arm-*-linux-gnueabi.
11178
11179         * README: Remove mention of am33.
11180
11181 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11182
11183         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11184         than the comma operator, to avoid "rhs of comma has no effect"
11185         compiler warnings.
11186         (__sigfillset, __sigandset, __sigorset): Likewise.
11187         * include/signal.h (__sigemptyset): Likewise.
11188         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11189
11190 2014-02-07  Allan McRae  <allan@archlinux.org>
11191
11192         * version.h (RELEASE): Set to "development".
11193         (VERSION): Set to "2.19.90"
11194         * NEWS: Add 2.20 section.
11195
11196 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11197
11198         [BZ #16529]
11199         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11200
11201 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11202
11203         * manual/contrib.texi: Update entry for Carlos O'Donell,
11204         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11205
11206 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11207
11208         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11209
11210         * sysdeps/unix/sysv/linux/kernel-features.h
11211         [__LINUX_KERNEL_VERSION >= 0x020621]
11212         (__ASSUME_PROC_PID_TASK_COMM): Define.
11213
11214 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11215
11216         [BZ #16398]
11217         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11218         conversion when destination buffer does not have enough space.
11219         * libio/tst-ftell-partial-wide.c: New test case.
11220         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11221
11222         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11223         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11224         Leonard and Allan McRae.
11225
11226 2014-02-04  David S. Miller  <davem@davemloft.net>
11227
11228         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11229         32-bit.
11230
11231 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11232
11233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11234         New file
11235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11236         New file
11237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11238         New file.
11239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11240         New file.
11241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11242         New file.
11243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11244         New file.
11245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11246         New file.
11247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11248         New file.
11249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11250         New file.
11251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11252         New file.
11253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11254         New file.
11255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11256         New file.
11257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11258         New file.
11259
11260 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11261
11262         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11263         * shlib-versions: Likewise.
11264
11265 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11266             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11267
11268         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11269         (abilist-pattern): New variable, set to %-le.abilist.
11270
11271         * Makerules (abilist-pattern): New variable.
11272         (vpath): Use $(abilist-pattern) in place of %.abilist.
11273         (check-abi-% pattern rule): Likewise.
11274         (check-abi, update-abi): Likewise.
11275
11276 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11277
11278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11279
11280 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11281
11282         * manual/startup.texi: Add next, previous, and top entries for
11283         the `Program Arguments' and `Environment Variables' nodes.
11284
11285 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11286
11287         * manual/macros.texi: Add comments before MTASC-safety macros.
11288
11289         * manual/users.texi: Document MTASC-safety properties.
11290
11291         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11292         (pthread_getspecific, pthread_setspecific): Format with
11293         @deftypefun, and add @safety note.
11294         * manual/signal.texi: Move comments that analyze the above
11295         functions to their home place.
11296
11297 2014-02-03  Allan McRae  <allan@archlinux.org>
11298
11299         * po/sl.po: Update Slovenian translation from translation project.
11300
11301 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11302
11303         * manual/time.texi (timegm): Add missing blank after @c.
11304         Reported by Joseph Myers <joseph@codesourcery.com>.
11305
11306 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11307
11308         * manual/check-safety.sh: New.
11309         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11310
11311         * manual/terminal.texi: Document MTASC-safety properties.
11312
11313         * manual/filesys.texi: Document MTASC-safety properties.
11314
11315         * manual/errno.texi: Document MTASC-safety properties.
11316
11317         * manual/intro.texi: Document safety identifiers and
11318         conditionals.
11319
11320         * manual/string.texi (wcstok): Fix prototype.
11321         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11322
11323         * manual/time.texi: Document MTASC-safety properties.
11324
11325         * manual/string.texi: Document MTASC-safety properties.
11326
11327         * manual/threads.texi: Document MTASC-safety properties.
11328
11329         * manual/stdio.texi: Document MTASC-safety properties.
11330
11331         * manual/syslog.texi: Document MTASC-safety properties.
11332
11333         * manual/sysinfo.texi: Document MTASC-safety properties.
11334
11335         * manual/startup.texi: Document MTASC-safety properties.
11336
11337         * manual/socket.texi: Document MTASC-safety properties.
11338
11339         * manual/signal.texi: Document MTASC-safety properties.
11340
11341 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11342
11343         * manual/setjmp.texi: Document MTASC-safety properties.
11344
11345         * manual/search.texi: Document MTASC-safety properties.
11346
11347         * manual/resource.texi: Document MTASC-safety properties.
11348
11349         * manual/process.texi: Document MTASC-safety properties.
11350
11351         * manual/platform.texi: Document MTASC-safety properties.
11352
11353         * manual/pipe.texi: Document MTASC-safety properties.
11354
11355         * manual/pattern.texi: Document MTASC-safety properties.
11356
11357         * manual/message.texi: Document MTASC-safety properties.
11358
11359         [BZ #12751]
11360         * manual/memory.texi: Document MTASC-safety properties.
11361
11362         * manual/math.texi: Document MTASC-safety properties.
11363
11364         * manual/locale.texi: Document MTASC-safety properties.
11365
11366         * manual/llio.texi: Document MTASC-safety properties.
11367
11368         * manual/libdl.texi: New.
11369
11370         * manual/lang.texi: Document MTASC-safety properties.
11371
11372         * manual/job.texi: Document MTASC-safety properties.
11373
11374         * manual/getopt.texi: Document MTASC-safety properties.
11375
11376         * manual/ctype.texi: Document MTASC-safety properties.
11377
11378 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11379
11380         [BZ #16046]
11381         * csu/libc-tls.c (static_map): Remove variable.
11382         (__libc_setup_tls): Use main executable's link map for TLS data.
11383         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11384         casing for LM_ID_BASE and GL(dl_nns).
11385         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11386         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11387         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11388         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11389         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11390         member.
11391         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11392         l_phnum members.
11393
11394 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11395
11396         * manual/debug.texi: Document MTASC-safety properties.
11397
11398 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11399
11400         [BZ #16510]
11401         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11402         of __x86_64__ when disabling x87 inline functions.
11403
11404 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11405
11406         * manual/charset.texi: Document MTASC-safety properties.
11407
11408         * manual/crypt.texi: Document MTASC-safety properties.
11409
11410         * manual/conf.texi: Document MTASC-safety properties.
11411
11412         * manual/arith.texi: Document MTASC-safety properties.
11413
11414         * manual/argp.texi: Document MTASC-safety properties.
11415
11416         * manual/macros.texi: Introduce macros to document multi
11417         thread, asynchronous signal and asynchronous cancellation
11418         safety properties.
11419         * manual/intro.texi: Introduce the properties themselves.
11420
11421 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11422
11423         * sysdeps/sh/sh4/Makefile: New file.
11424
11425 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11426
11427         * math/gen-libm-test.pl ($srcdir): New variable.
11428         ($auto_input): Use it.
11429
11430 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11431
11432         [BZ #16506]
11433         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11434         access beyond array bounds when parsing netgroups file.
11435
11436         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11437         the old buffer before realloc.
11438
11439 2014-01-27  Allan McRae  <allan@archlinux.org>
11440
11441         * po/fr.po: Update French translation from translation project.
11442
11443 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11444
11445         * sysdeps/sh/libm-test-ulps: Regenerate.
11446
11447 2014-01-24  David S. Miller  <davem@davemloft.net>
11448
11449         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11450
11451 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11452
11453         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11454         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11455
11456 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11457
11458         [BZ #16474]
11459         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11460         string pointers after reallocation.
11461
11462 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11463
11464         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11465         __SH4A__ instead of __SH_FPU_ANY__.
11466
11467 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11468
11469         * sysdeps/sh/fpu_control.h: New file.
11470         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11471         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11472         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11473         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11474         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11475         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11476         * sysdeps/sh/sys/ucontext.h: Remove.
11477         * sysdeps/sh/sys: Remove directory.
11478
11479 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11480
11481         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11482         s390/sys/ucontext.h.
11483         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11484         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11485
11486 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11487
11488         [BZ #15605]
11489         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11490
11491 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11492
11493         [BZ#16431]
11494         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11495         Adjust the vDSO correctly for internal calls.
11496         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11497
11498 2014-01-20  Allan McRae  <allan@archlinux.org>
11499
11500         * po/ca.po: Update Catalan translation from translation project.
11501
11502 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11503
11504         * sysdeps/s390/sotruss-lib.c: New file.
11505
11506 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11507
11508         [BZ#16430]
11509         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11510         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11511         local calls issues by not having a PLT stub required for IFUNC calls.
11512         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11513
11514 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11515
11516         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11517         * math/test-fpucw-static.c: Likewise.
11518
11519 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11520
11521         [BZ #16453]
11522         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11523
11524 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11525
11526         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11527         implementation for powerpc.
11528
11529 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11530
11531         [BZ #14782]
11532         * sysdeps/posix/system.c (__libc_system): Do not enable
11533         asynchronous cancellation.
11534
11535 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11536
11537         [BZ #16427]
11538         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11539         handling only for numbers special also in the IEEE case.
11540
11541 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11542
11543         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11544
11545 2014-01-11  Allan McRae  <allan@archlinux.org>
11546
11547         * po/bg.po: Update Bulgarian translation from translation project.
11548
11549         * po/de.po: Update German translation from translation project.
11550
11551 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11552
11553         * sysdeps/generic/gcc-compat.h: New file.
11554
11555 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11556
11557         * benchtests/asin-inputs: Correct slow inputs.
11558         * benchtests/acos-inputs: Likewise.
11559
11560 2014-01-10  Allan McRae  <allan@archlinux.org>
11561
11562         * po:sv.po: Update Swedish translation from translation project.
11563
11564         * po/vi.po: Update Vietnamese translation from translation project.
11565
11566         * po/eo.po: Update Esperanto translation from translation project.
11567
11568         * po/cs.po: Update Czech translation from translation project.
11569
11570         * po/nl.po: Update Dutch translation from translation project.
11571
11572         * po/pl.po: Update Polish translation from translation project.
11573
11574         * po/ru.po: Update Russian translation from translation project.
11575
11576         * po/uk.po: Update Ukrainian translation from translation project.
11577
11578 2014-01-08  Brooks Moses  <bmoses@google.com>
11579
11580         * elf/dl-load.c: Fix comment typo.
11581
11582 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11583
11584         * po/header.pot: Rename to...
11585         * po/pot.header: ... this.
11586         * po/Makefile: Use pot.header.
11587
11588 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11589             Maxim Kuvyrkov  <maxim@kugelworks.com>
11590
11591         [BZ #16394]
11592         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11593         SRC and DEST against LEN.
11594
11595 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11596
11597         [BZ #16414]
11598         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11599         implementation.
11600         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11601
11602 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11603
11604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11605
11606 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11607
11608         [BZ #16408]
11609         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11610         for large positive arguments.
11611
11612 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11613
11614         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11615
11616         * math/auto-libm-test-in: Mark various tests with
11617         xfail-rounding:ldbl-128ibm.
11618         * math/auto-libm-test-out: Regenerated.
11619
11620         [BZ #16407]
11621         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11622         Increase overflow threshold.
11623
11624 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11625
11626         [BZ #14286]
11627         * stdio-common/vfprintf.c: Check for integer overflow.
11628
11629 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11630
11631         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11632         the first argument and return value of __tls_get_addr_internal.
11633
11634 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11635
11636         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11637         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11638
11639 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11640
11641         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11642         * sysdeps/s390/rtld-global-offsets.sym: New file.
11643         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11644         GLIBC_2.19 symbol.
11645         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11646         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11647         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11648         ... this.
11649         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11650         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11651         ... this.
11652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11653         Regenerate.
11654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11655         Regenerate.
11656         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11657         halfs of GPRs for high_gprs contexts.
11658         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11659         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11660         field.
11661         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11662         uc_flags field.
11663         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11664         64 bit versions:
11665         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11666         for high GPRs (uc_high_gprs) and for future extensions
11667         (__reserved).
11668         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11669         for future extensions (__reserved).
11670         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11671         64 bit versions:
11672         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11673         SC_HIGHGPRS offset definition.
11674         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11675         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11676
11677         * Versions.def: Add GLIBC_2.19 for libpthread.
11678         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11679         siglongjmp for libpthread with GLIBC_2.19 symver.
11680         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11681         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11682         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11683         * sysdeps/s390/__longjmp.c: New file.
11684         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11685         * sysdeps/s390/longjmp.c: New file.
11686         * sysdeps/s390/setjmp.S: New file.
11687         * sysdeps/s390/sigjmp.S: New file.
11688         * sysdeps/s390/v1-longjmp.c: New file.
11689         * sysdeps/s390/v1-setjmp.h: New file.
11690         * sysdeps/s390/v1-sigjmp.c: New file.
11691         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11692         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11693         GLIBC_2.19 version.
11694         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11695         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11696         versioned symbols for ____longjmp_chk.
11697         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11698         Likewise.
11699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11700         Regenerate.
11701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11702         Regenerate.
11703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11704         Regenerate.
11705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11706         Regenerate.
11707         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11708         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11709         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11710         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11711         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11712         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11713         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11714         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11715         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11716         * sysdeps/s390/rtld-__longjmp.c: New file.
11717         * sysdeps/s390/rtld-setjmp.S: New file.
11718
11719 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11720
11721         [BZ #16400]
11722         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11723         Return -__logl (x) for small positive arguments without evaluating
11724         a polynomial.
11725
11726 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11727
11728         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11729         Rename to ...
11730         (__ptrace_peeksiginfo_args): ... this.
11731         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11732         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11733         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11734
11735 2014-01-06  Allan McRae  <allan@archlinux.org>
11736
11737         * inet/netinet/in.h: Fix typo in comment.
11738
11739 2014-01-05  Andreas Jaeger  <aj@suse.de>
11740
11741         * sysdeps/i386/fpu/libm-test-ulps: Update.
11742
11743 2014-01-05  Allan McRae  <allan@archlinux.org>
11744
11745         * po/libc.pot: Regenerated.
11746
11747         * malloc/memusagestat.c: Fix gettext call formatting.
11748
11749 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11750
11751         * nscd/nscd.c: Improve usage() output.
11752
11753 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11754
11755         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11756         * sysdeps/unix/sysv/linux/configure: Regenerated.
11757         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11758         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11759
11760 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11761
11762         [BZ #16390]
11763         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11764         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11765
11766 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11767
11768         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11769         extra tokens at end of #undef directive.
11770         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11771         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11772         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11773
11774 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11775
11776         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11777
11778         * math/auto-libm-test-in: Mark various tests with
11779         xfail-rounding:ldbl-128ibm.
11780         * math/auto-libm-test-out: Regenerated.
11781
11782 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11783
11784         [BZ #16386]
11785         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11786         numbers with subnormal high part when calculating exponent.
11787
11788         [BZ #16385]
11789         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11790         fabs.
11791
11792         [BZ #16384]
11793         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11794         M_LN2l.
11795         (__ieee754_acoshl): Use __log1pl not __log1p.
11796
11797 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11798
11799         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11800         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11801         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11802         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11803         (reused_arena, arena_get2): Convert to GNU style.
11804         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11805         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11806         (memalign_check, __malloc_set_state): Likewise.
11807         * malloc/mallocbug.c (main): Likewise.
11808         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11809         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11810         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11811         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11812         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11813         (__posix_memalign, malloc_info): Likewise.
11814         * malloc/malloc.h: Likewise.
11815         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11816         (mallochook, memalignhook, reallochook, mabort): Likewise.
11817         * malloc/mcheck.h: Likewise.
11818         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11819         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11820         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11821         * malloc/morecore.c (__default_morecore): Likewise.
11822         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11823         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11824         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11825         (print_and_abort): Likewise.
11826         * malloc/obstack.h: Likewise.
11827         * malloc/set-freeres.c (__libc_freeres): Likewise.
11828         * malloc/tst-mallocstate.c (main): Likewise.
11829         * malloc/tst-mtrace.c (main): Likewise.
11830         * malloc/tst-realloc.c (do_test): Likewise.
11831
11832 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11833
11834         [BZ #16366]
11835         * nscd/netgroupcache.c (do_notfound): New function.
11836         (addgetnetgrentX): Use it.
11837
11838         [BZ # 16365]
11839         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11840         NSS_STATUS_NOTFOUND.
11841
11842 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11843
11844         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11846
11847 2014-01-01  Allan McRae  <allan@archlinux.org>
11848
11849         * scripts/update-copyrights: Update configure input file suffix.
11850
11851         * NEWS: Update copyright year.
11852         * catgets/gencat.c: Likewise.
11853         * csu/version.c: Likewise.
11854         * debug/catchsegv.sh: Likewise.
11855         * debug/pcprofiledump.c: Likewise.
11856         * debug/xtrace.sh: Likewise.
11857         * elf/ldconfig.c: Likewise.
11858         * elf/ldd.bash.in: Likewise.
11859         * elf/pldd.c: Likewise.
11860         * elf/sotruss.ksh: Likewise.
11861         * elf/sprof.c: Likewise.
11862         * iconv/iconv_prog.c: Likewise.
11863         * iconv/iconvconfig.c: Likewise.
11864         * locale/programs/locale.c: Likewise.
11865         * locale/programs/localedef.c: Likewise.
11866         * login/programs/pt_chown.c: Likewise.
11867         * malloc/memusage.sh: Likewise.
11868         * malloc/memusagestat.c: Likewise.
11869         * malloc/mtrace.pl: Likewise.
11870         * manual/libc.texinfo: Likewise.
11871         * nscd/nscd.c: Likewise.
11872         * nss/getent.c: Likewise.
11873         * nss/makedb.c: Likewise.
11874         * posix/getconf.c: Likewise.
11875         * scripts/test-installation.pl: Likewise.
11876
11877         * All files with FSF copyright notices: Update copyright dates
11878         using scripts/update-copyrights.
11879         * intl/plural.c: Regenerated.
11880         * locale/programs/charmap-kw.h: Likewise.
11881         * locale/programs/locfile-kw.h: Likewise.
11882
11883 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11884
11885         * sysdeps/unix/sysv/linux/configure: Regenerated.
11886         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11887         the linux/fanotify.h header.
11888         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11889         HAVE_LINUX_FANOTIFY_H is defined.
11890
11891 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11892
11893         * benchtests/cos-inputs: New inputs.
11894         * benchtests/sin-inputs: Likewise.
11895
11896         * benchtests/atan-inputs: New inputs. Fix name of multiple
11897         precision fallback inputs.
11898
11899         * benchtests/atanh-inputs: New inputs.
11900         * benchtests/tanh-inputs: Likewise.
11901
11902         * benchtests/acosh-inputs: New inputs.
11903         * benchtests/asinh-inputs: Likewise.
11904
11905         * benchtests/cosh-inputs: New inputs.
11906         * benchtests/sinh-inputs: Likewise.
11907
11908         * benchtests/acos-inputs: Add more inputs.
11909         * benchtests/asin-inputs: Likewise.
11910
11911 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11912
11913         [BZ #16375]
11914         * manual/arith.texi: Fix spelling.
11915         * manual/charset.texi: Likewise.
11916         * manual/errno.texi: Likewise.
11917         * manual/filesys.texi: Likewise.
11918         * manual/lang.texi: Likewise.
11919         * manual/llio.texi: Likewise.
11920         * manual/locale.texi: Likewise.
11921         * manual/message.texi: Likewise.
11922         * manual/resource.texi: Likewise.
11923         * manual/search.texi: Likewise.
11924         * manual/setjmp.texi: Likewise.
11925         * manual/stdio.texi: Likewise.
11926         * manual/string.texi: Likewise.
11927         * manual/sysinfo.texi: Likewise.
11928         * manual/time.texi: Likewise.
11929
11930 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11931
11932         * po/sl.po: New file.
11933
11934 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11935
11936         * .gitignore: Add core/.gdbinit/.gdb_history.
11937
11938 2013-12-27  Allan McRae  <allan@archlinux.org>
11939
11940         [BZ #16369]
11941         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11942         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11943
11944 2013-12-24  Brooks Moses  <bmoses@google.com>
11945
11946         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11947         all compilers that claim C++98 compliance, not just GCC.
11948         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11949         Likewise.
11950
11951 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11952
11953         * NEWS: Restore accidentally deleted bug-fix entries.
11954
11955 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11956             Ondřej Bílka  <neleai@seznam.cz>
11957
11958         [BZ #15073]
11959         * malloc/malloc.c (_int_free): Perform sanity check only if we
11960         have_lock.
11961
11962 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11963
11964         [BZ #12986]
11965         * manual/stdio.texi (String Input Conversions): Clarify that character
11966         classes are not supported.
11967
11968 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11969
11970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11971
11972 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11973
11974         [BZ #16337]
11975         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11976         Calculate results for small negative arguments directly rather
11977         than using reflection formula with special underflow handling.
11978
11979         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11980         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11981         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11982         (fchflags): Likewise.
11983         (revoke): Likewise.
11984         (setlogin): Likewise.
11985         (sigaltstack): Likewise.
11986         (wait4): Likewise.
11987         (sigblock): Remove.
11988         (sigsetmask): Likewise.
11989         (wait3): Likewise.
11990         (waitpid): Likewise.
11991         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11992         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11993         file.
11994         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11995         * sysdeps/unix/bsd/Makefile: ... here.
11996         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11997         * sysdeps/unix/bsd/Versions: ... here.
11998         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11999         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12000         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12001         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12002         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12003         * sysdeps/unix/bsd/sigblock.c: ... here.
12004         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12005         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12006         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12007         * sysdeps/unix/bsd/sigvec.c: ... here.
12008         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12009         * sysdeps/unix/bsd/tcdrain.c: ... here.
12010         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12011         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12012         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12013         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12014         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12015         * sysdeps/unix/bsd/wait.c: ... here.
12016         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12017         * sysdeps/unix/bsd/wait3.c: ... here.
12018         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12019         * sysdeps/unix/bsd/waitpid.c: ... here.
12020
12021 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12022
12023         [BZ #16356]
12024         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12025         round-to-nearest for [!USE_AS_EXPM1L].
12026         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12027         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12028         more tests of exp and exp10.  Expect some exp10 tests to miss
12029         exceptions or fail in directed rounding modes.
12030         * math/auto-libm-test-out: Regenerated.
12031         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12032         (exp10_test_tonearest): New function.
12033         (exp10_towardzero_test_data): New array.
12034         (exp10_test_towardzero): New function.
12035         (exp10_downward_test_data): New array.
12036         (exp10_test_downward): New function.
12037         (exp10_upward_test_data): New array.
12038         (exp10_test_upward): New function.
12039         (main): Call the new functions.
12040         * sysdeps/i386/fpu/libm-test-ulps: Update.
12041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12042
12043 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12044
12045         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12046         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12047         * math/auto-libm-test-out: Regenerated.
12048         * math/libm-test.inc (acosh_test_data): Add more tests.
12049         (atanh_test_data): Likewise.
12050         (ceil_test_data): Likewise.
12051         (copysign_test_data): Likewise.
12052         * sysdeps/i386/fpu/libm-test-ulps: Update.
12053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12054
12055         * timezone/checktab.awk: Update from tzcode 2013i.
12056         * timezone/private.h: Likewise.
12057         * timezone/scheck.c: Likewise.
12058         * timezone/tzfile.h: Likewise.
12059         * timezone/tzselect.ksh: Likewise.
12060         * timezone/zdump.c: Likewise.
12061         * timezone/zic.c: Likewise.
12062
12063         * math/auto-libm-test-in: Add tests of cpow.
12064         * math/auto-libm-test-out: Regenerated.
12065         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12066         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12067         mpc_cc_c.
12068         (func_calc_desc): Add mpc_cc_c union field.
12069         (test_functions): Add cpow.
12070         (special_fill_2pi): New function.
12071         (special_real_inputs): Add 2pi.
12072         (calc_generic_results): Handle mpc_cc_c.
12073         * sysdeps/i386/fpu/libm-test-ulps: Update.
12074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12075
12076         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12077         csqrt, ctan and ctanh.
12078         * math/auto-libm-test-out: Regenerated.
12079         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12080         (TEST_COND_x86): Likewise.
12081         (ccos_test_data): Use AUTO_TESTS_c_c.
12082         (ccosh_test_data): Likewise.
12083         (cexp_test_data): Likewise.
12084         (clog_test_data): Likewise.
12085         (csqrt_test_data): Likewise.
12086         (ctan_test_data): Likewise.
12087         (ctan_tonearest_test_data): Likewise.
12088         (ctan_towardzero_test_data): Likewise.
12089         (ctan_downward_test_data): Likewise.
12090         (ctan_upward_test_data): Likewise.
12091         (ctanh_test_data): Likewise.
12092         (ctanh_tonearest_test_data): Likewise.
12093         (ctanh_towardzero_test_data): Likewise.
12094         (ctanh_downward_test_data): Likewise.
12095         (ctanh_upward_test_data): Likewise.
12096         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12097         mpc_c_c.
12098         (func_calc_desc): Add mpc_c_c union field.
12099         (FUNC_mpc_c_c): New macro.
12100         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12101         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12102         ctanh.
12103         (special_fill_min_subnorm_p120): New function.
12104         (special_real_inputs): Add min_subnorm_p120.
12105         (calc_generic_results): Handle mpc_c_c.
12106         * sysdeps/i386/fpu/libm-test-ulps: Update.
12107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12108
12109 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12110
12111         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12112         (do_sin_slow): New functions.
12113         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12114         (cslow2, csloww1, csloww2): Use the new functions.
12115
12116         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12117         Use M to change sign of result instead of X.  Assume X is
12118         positive.
12119         (csloww1): Likewise.
12120         (__sin): Adjust.
12121         (__cos): Adjust.
12122
12123         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12124         arguments A and DA.
12125         (__sin): Adjust.
12126         (__cos): Likewise.
12127
12128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12129         (__cos): Likewise.
12130         (sloww1): Don't adjust sign of DX.
12131         (csloww1): Likewise.
12132         (sloww2): Use X directly and don't adjust sign of DX.
12133         (csloww2): Likewise.
12134
12135 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12136
12137         * math/auto-libm-test-in: Add tests of cabs and carg.
12138         * math/auto-libm-test-out: Regenerated.
12139         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12140         (carg_test_data): Likewise.
12141         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12142         mpc_c_f.
12143         (func_calc_desc): Add mpc_c_f union field.
12144         (test_functions): Add cabs and carg.
12145         (calc_generic_results): Handle mpc_c_f.
12146
12147         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12148         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12149         as a macro and a compat symbol.
12150         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12151         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12152         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12153         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12154         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12155         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12156         not use .hidden.
12157         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12158         Likewise.
12159         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12160         Likewise.
12161         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12162         Likewise.
12163         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12164         Likewise.
12165         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12166         Likewise.
12167         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12168         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12169         from GLIBC_2.3.2.
12170
12171 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12172
12173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12174
12175 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12176
12177         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12178         trailing whitespace removed.
12179         * scripts/config.guess: Update to version 2013-11-29.
12180         * scripts/config.sub: Update to version 2013-10-01.
12181
12182         * math/auto-libm-test-in: Add tests of sincos.
12183         * math/auto-libm-test-out: Regenerated.
12184         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12185         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12186         mpfr_f_11.
12187         (func_calc_desc): Add mpfr_f_11 union field.
12188         (test_functions): Add sincos.
12189         (calc_generic_results): Handle mpfr_f_11.
12190         * sysdeps/i386/fpu/libm-test-ulps: Update.
12191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12192
12193 2013-12-19  Andreas Schwab  <schwab@suse.de>
12194
12195         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12196         CALL_MCOUNT.
12197         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12198         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12199         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12200
12201 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12202
12203         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12204         * sysdeps/i386/fpu/libm-test-ulps: Update.
12205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12206
12207         [BZ #16293]
12208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12209         round-to-nearest mode when using frndint.
12210         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12211         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12212         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12213         Likewise.
12214         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12215         sinh test to fail.
12216         * math/auto-libm-test-out: Regenerated.
12217         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12218         (TEST_COND_x86): Likewise.
12219         (expm1_tonearest_test_data): New array.
12220         (expm1_test_tonearest): New function.
12221         (expm1_towardzero_test_data): New array.
12222         (expm1_test_towardzero): New function.
12223         (expm1_downward_test_data): New array.
12224         (expm1_test_downward): New function.
12225         (expm1_upward_test_data): New array.
12226         (expm1_test_upward): New function.
12227         (main): Run the new test functions.
12228         * sysdeps/i386/fpu/libm-test-ulps: Update.
12229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12230
12231         * include/features.h: Update comment documenting feature test
12232         macros.  Mention _DEFAULT_SOURCE in comment.
12233         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12234         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12235         _BSD_SOURCE and _SVID_SOURCE.
12236         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12237         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12238         !_SVID_SOURCE]: Likewise.
12239         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12240         (__USE_POSIX_IMPLICITLY): Define.
12241         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12242         (_POSIX_SOURCE): Undefine and redefine.
12243         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12244         (_POSIX_C_SOURCE): Likewise.
12245         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12246         (Feature Test Macros): Update documentation of default features.
12247
12248 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12249
12250         * benchtests/Makefile: Add bench-strtok.
12251         * benchtests/bench-strtok.c: New file: strtok benchtest.
12252
12253 2013-12-19  Allan McRae  <allan@archlinux.org>
12254
12255         * manual/install.texi: Suppress menu for plain text output.
12256         * INSTALL: Regenerated.
12257
12258 2013-12-18  Brooks Moses  <bmoses@google.com>
12259
12260         [BZ #15846]
12261         * misc/getauxval.c: Include errno.h.
12262         (__getauxval): Set errno to ENOENT if the requested type is not
12263         found.
12264         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12265         don't declare with __attribute_const__.
12266         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12267         * manual/startup.texi: Document that getauxval sets errno.
12268
12269 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12270
12271         * math/auto-libm-test-in: Add tests of jn and yn.
12272         * math/auto-libm-test-out: Regenerated.
12273         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12274         (yn_test_data): Likewise.
12275         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12276         mpfr_if_f.
12277         (func_calc_desc): Add mpfr_if_f union field.
12278         (FUNC_mpfr_if_f): New macro.
12279         (test_functions): Add jn and yn.
12280         (calc_generic_results): Assert type of second input for
12281         mpfr_ff_f.  Handle mpfr_if_f.
12282         (output_for_one_input_case): Disable all checking for arguments
12283         fitting floating-point types in case of an integer argument.
12284         * sysdeps/i386/fpu/libm-test-ulps: Update.
12285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12286
12287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12288         Don't expect fegetround reference in libm.so.
12289
12290 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12291
12292         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12293         $(config-cflags-nofma).
12294
12295 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12296
12297         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12298         * math/auto-libm-test-out: Regenerated.
12299
12300         [BZ #16338]
12301         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12302         to determine exponent and adjust argument to have exponent of -1.
12303         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12304         log2.
12305         * math/auto-libm-test-out: Regenerated.
12306         * sysdeps/i386/fpu/libm-test-ulps: Update.
12307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12308
12309 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12310
12311         * manual/probes.texi: Remove cases when per-thread arenas are
12312         disabled.
12313
12314 2013-12-18  Andreas Schwab  <schwab@suse.de>
12315
12316         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12317         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12318         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12319         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12320         * sysdeps/i386/i686/multiarch/Makefile: Update.
12321         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12322
12323 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12324
12325         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12326         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12327
12328 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12329
12330         [BZ #15968]
12331         Support TZ transition times < 00:00:00.
12332         This is needed for version-3 tz-format files; it supports time
12333         stamps past 2037 for America/Godthab (the only entry in the tz
12334         database for which this change is relevant).
12335         * manual/time.texi (TZ Variable): Document transition times
12336         from -167:59:59 through -00:00:01.
12337         * time/tzset.c (tz_rule): Time of day is now signed.
12338         (__tzset_parse_tz): Parse negative time of day.
12339
12340         Document TZ transition times >= 25:00:00.
12341         * manual/time.texi (TZ Variable): Document transition times from
12342         25:00:00 through 167:59:59.  These are already supported, and this
12343         support will help with version-3 tz-format files.
12344
12345         * manual/time.texi (TZ Variable): Modernize North America example
12346         to reflect current (i.e., 2007-and-later) daylight saving rules.
12347
12348         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12349
12350 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12351
12352         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12353         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12354         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12355         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12356         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12357         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12358         * sysdeps/unix/bsd/clock.c: Likewise.
12359         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12360         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12361         * sysdeps/unix/bsd/init-posix.c: Likewise.
12362         * sysdeps/unix/bsd/poll.c: Likewise.
12363         * sysdeps/unix/bsd/ptsname.c: Likewise.
12364         * sysdeps/unix/bsd/seekdir.c: Likewise.
12365         * sysdeps/unix/bsd/setegid.c: Likewise.
12366         * sysdeps/unix/bsd/seteuid.c: Likewise.
12367         * sysdeps/unix/bsd/setgid.c: Likewise.
12368         * sysdeps/unix/bsd/setrgid.c: Likewise.
12369         * sysdeps/unix/bsd/setruid.c: Likewise.
12370         * sysdeps/unix/bsd/setsid.c: Likewise.
12371         * sysdeps/unix/bsd/setuid.c: Likewise.
12372         * sysdeps/unix/bsd/sigaction.c: Likewise.
12373         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12374         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12375         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12376         * sysdeps/unix/bsd/telldir.c: Likewise.
12377         * sysdeps/unix/bsd/times.c: Likewise.
12378         * sysdeps/unix/bsd/usleep.c: Likewise.
12379
12380         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12381         ($(objpfx)libbsd-compat.a): Remove rule.
12382
12383         * include/features.h (__FAVOR_BSD): Do not define.
12384         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12385         features conflicting with POSIX.
12386         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12387         (_BSD_SOURCE): Remove description of not being a subset of other
12388         feature test macros.
12389         * manual/job.texi (getpgrp): Do not document BSD version.
12390         (getpgid): Do not document by reference to BSD getpgrp.
12391         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12392         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12393         * signal/signal.h [__FAVOR_BSD]: Likewise.
12394         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12395         instead of making contents conditional on [__FAVOR_BSD].
12396         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12397
12398 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12399
12400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12401
12402 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12403
12404         [BZ #16314]
12405         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12406         values below 2**-450, not 2**-500.
12407         * math/auto-libm-test-in: Don't allow spurious underflow from
12408         hypot.
12409         * math/auto-libm-test-out: Regenerated.
12410
12411         [BZ #16316]
12412         [BZ #16330]
12413         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12414         values of ha and hb and sort them after adjusting subnormal
12415         arguments.
12416         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12417         Likewise.
12418         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12419         values of ea and eb and sort them after adjusting subnormal
12420         arguments.
12421         * math/auto-libm-test-in: Do not expect some hypot tests of
12422         subnormals to fail.  Add more hypot tests.
12423         * math/auto-libm-test-out: Regenerated.
12424
12425 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12426
12427         [BZ #13304]
12428         * sysdeps/sh/s_fma.c: New file.
12429         * sysdeps/sh/s_fmaf.c: New file.
12430         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12431         version.
12432         * sysdeps/sh/Implies: Add sh/soft-fp.
12433
12434 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12435
12436         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12437         level of indirection to members `objname', `errstring', `malloced'.
12438         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12439         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12440         it as the __longjmp argument (just pass 1 instead).
12441         (_dl_catch_error): Initialize C with argument pointers and address of
12442         volatile local ERRCODE rather than copying values out of C at return.
12443
12444 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12445
12446         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12447         * math/auto-libm-test-out: Regenerated.
12448         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12449         (hypot_test_data): Likewise.
12450         (pow_test_data): Likewise.
12451         (pow_tonearest_test_data): Likewise.
12452         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12453         mpfr_ff_f.
12454         (func_calc_desc): Add mpfr_ff_f union field.
12455         (FUNC_mpfr_ff_f): New macro.
12456         (test_functions): Add atan2, hypot and pow.
12457         (special_fill_min): New function.
12458         (special_fill_minus_min): Likewise.
12459         (special_fill_min_subnorm): Likewise.
12460         (special_fill_minus_min_subnorm): Likewise.
12461         (special_real_inputs): Add min, -min, min_subnorm and
12462         -min_subnorm.
12463         (calc_generic_results): Handle mpfr_ff_f.
12464         * sysdeps/i386/fpu/libm-test-ulps: Update.
12465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12466
12467 2013-12-16  Will Newton  <will.newton@linaro.org>
12468
12469         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12470         (Aligned Memory Blocks): Add documentation for aligned_alloc
12471         and suggest it as an alternative to posix_memalign.
12472         (Hooks for Malloc): Document __memalign_hook is also called
12473         for aligned_alloc.  (Summary of Malloc): Add summary for
12474         aligned alloc.  Document __memalign_hook is also called
12475         for aligned_alloc.
12476
12477 2013-12-16  Will Newton  <will.newton@linaro.org>
12478
12479         * manual/memory.texi (Malloc Examples): Clarify default
12480         alignment documentation.  Suggest posix_memalign rather
12481         than memalign or valloc.
12482         (Aligned Memory Blocks): Remove suggestion to use memalign
12483         or valloc.  Remove obsolete comment about BSD.
12484         Document memalign errno values and mark the function obsolete.
12485         Document posix_memalign returned error codes.  Mark valloc
12486         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12487         called for posix_memalign and valloc.
12488         (Summary of Malloc): Add posix_memalign to function summary.
12489         __memalign_hook is also called for posix_memalign and valloc.
12490
12491 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12492
12493         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12494         TAYLOR_SIN.
12495         (__sin): Adjust.
12496         (__cos): Likewise.
12497         (sloww): Use mynumber union.  Expand ternary operator into
12498         if-else statements.
12499         (cslow): use mynumber union.
12500
12501 2013-12-16  Allan McRae  <allan@archlinux.org>
12502
12503         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12504         * configure: Regenerated.
12505
12506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12507
12508         [BZ #14120]
12509         * configure.ac: Added --enable-maintainer-mode. Check for
12510         autoconf when enabled.
12511         * configure: Regenerated.
12512
12513         * nscd/nscd.service: New file.
12514         * nscd/nscd.tmpfiles: New file.
12515
12516 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12517
12518         [BZ #12100]
12519         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12520         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12521         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12522         (strstr): Add __strstr_sse2_unaligned ifunc.
12523         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12524         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12525         (strcasestr): Remove __strcasestr_sse42 ifunc.
12526         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12529
12530 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12531
12532         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12533         * sysdeps/sh/bits/fenv.h: ... here.
12534         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12535
12536 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12537
12538         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12539
12540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12541         hypotf multiarch implementations.
12542         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12543         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12544         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12545         multiarch hypot for PPC64.
12546         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12547         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12548         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12549         multiarch hypotf for PPC64.
12550
12551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12552         modff multiarch implementations.
12553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12556         multiarch modf for PPC64.
12557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12560         multiarch modff for PPC64.
12561
12562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12563         and logl multiarch implementations.
12564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12567         multiarch logb for PPC64.
12568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12571         multiarch logb for PPC64.
12572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12575         multiarch logb for PPC64.
12576
12577         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12578         isinff multiarch implementation.
12579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12580         file.
12581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12583         multiarch isinf for PPC64.
12584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12585         file.
12586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12587         multiarch isinff for PPC64.
12588
12589         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12590         finitef multiarch implementation.
12591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12592         file.
12593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12595         multiarch finite for PPC64.
12596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12597         file.
12598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12599         multiarch finitef for PPC64.
12600
12601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12602         lrint multiarch implementation.
12603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12604         file.
12605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12607         multiarch llrint for PPC64.
12608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12609         multiarch lrint for PPC64.
12610
12611         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12612         copysignf multiarch implementation.
12613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12614         file.
12615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12616         file.
12617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12618         multiarch copysign for PPC64.
12619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12620         multiarch copysignf for PPC64.
12621
12622         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12623         multiarch implementation.
12624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12625         file.
12626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12627         file.
12628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12629         file.
12630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12631         file.
12632         multiarch llround for PPC64.
12633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12634         multiarch trunc for PPC64.
12635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12636         multiarch truncf for PPC64.
12637
12638         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12639         multiarch implementation.
12640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12641         file.
12642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12643         file.
12644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12645         file.
12646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12647         file.
12648         multiarch llround for PPC64.
12649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12650         multiarch round for PPC64.
12651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12652         multiarch roundf for PPC64.
12653
12654         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12655         multiarch implementation.
12656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12657         file.
12658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12659         file.
12660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12661         file.
12662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12663         file.
12664         multiarch llround for PPC64.
12665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12666         multiarch floor for PPC64.
12667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12668         multiarch floorf for PPC64.
12669
12670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12671         multiarch implementation.
12672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12673         file.
12674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12675         file.
12676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12677         file.
12678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12679         file.
12680         multiarch llround for PPC64.
12681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12682         multiarch ceil for PPC64.
12683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12684         multiarch ceilf for PPC64.
12685
12686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12687         multiarch implementation.
12688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12689         file.
12690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12691         file.
12692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12693         file.
12694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12695         multiarch llround for PPC64.
12696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12697         multiarch lround for PPC64.
12698
12699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12700         multiarch implementation.
12701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12704         file.
12705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12708         multiarch isnan for PPC64.
12709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12710         multiarch isnanf for PPC64.
12711
12712         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12713         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12714         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12715         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12716         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12718
12719         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12720         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12721         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12722         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12723
12724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12725         multiarch implementations.
12726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12727         (__libc_ifunc_impl_list): Likewise.
12728         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12729         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12730         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12731         multiarch stpcpy for PPC64.
12732
12733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12734         multiarch implementations.
12735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12736         (__libc_ifunc_impl_list): Likewise.
12737         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12738         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12739         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12740         multiarch strcpy for PPC64.
12741
12742         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12743         redefine function name.
12744         (_wordcopy_fwd_dest_aligned): Likewise.
12745         (_wordcopy_bwd_aligned): Likewise.
12746         (_wordcopy_bwd_dest_aligned): Likewise.
12747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12748         multiarch implementations.
12749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12750         (__libc_ifunc_impl_list): Likewise.
12751         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12752         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12753         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12754         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12755         multiarch wcscpy for PPC64.
12756
12757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12758         multiarch implementations.
12759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12760         (__libc_ifunc_impl_list): Likewise.
12761         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12762         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12763         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12764         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12765         multiarch wcscpy for PPC64.
12766
12767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12768         multiarch implementations.
12769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12770         (__libc_ifunc_impl_list): Likewise.
12771         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12772         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12773         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12774         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12775         multiarch wcsrchr for PPC64.
12776
12777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12778         multiarch implementations.
12779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12780         (__libc_ifunc_impl_list): Likewise.
12781         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12782         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12783         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12784         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12785         multiarch wcschr for PPC64.
12786
12787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12788         multiarch implementations.
12789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12790         (__libc_ifunc_impl_list): Likewise.
12791         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12792         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12793         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12794         multiarch strchrnul for PPC64.
12795
12796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12797         implementations.
12798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12799         (__libc_ifunc_impl_list): Likewise.
12800         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12801         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12802         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12803         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12804         strchr for PPC64.
12805
12806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12807         implementations.
12808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12809         (__libc_ifunc_impl_list): Likewise.
12810         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12811         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12812         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12813         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12814         strncmp for PPC64.
12815
12816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12817         multiarch implementations.
12818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12819         (__libc_ifunc_impl_list): Likewise.
12820         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12821         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12822         strncasecmp for PPC64.
12823         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12824         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12825         multiarch strncasecmp_l for PPC64.
12826
12827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12828         multiarch implementations.
12829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12830         (__libc_ifunc_impl_list): Likewise.
12831         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12832         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12833         multiarch strcasecmp for PPC64.
12834         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12835         file.
12836         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12837         multiarch strcasecmp_l for PPC64.
12838
12839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12840         implementations.
12841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12842         (__libc_ifunc_impl_list): Likewise.
12843         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12844         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12845         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12846         strnlen for PPC64.
12847
12848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12849         implementations.
12850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12851         (__libc_ifunc_impl_list): Likewise.
12852         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12853         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12854         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12855         strlen for PPC64.
12856
12857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12858         implementations.
12859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12860         (__libc_ifunc_impl_list): Likewise.
12861         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12862         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12863         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12864         rawmemrchr for PPC64.
12865
12866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12867         implementation.
12868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12869         (__libc_ifunc_impl_list): Likewise.
12870         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12871         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12872         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12873         memrchr for PPC64.
12874
12875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12876         implementation.
12877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12878         (__libc_ifunc_impl_list): Likewise.
12879         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12880         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12881         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12882         memchr for PPC64.
12883
12884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12885         implementation.
12886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12887         (__libc_ifunc_impl_list): Likewise.
12888         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12889         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12890         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12891         mempcpy for PPC64.
12892
12893         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12894         avoid cretion of __bzero symbol.
12895         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12896         Likewise.
12897         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12898         Likewise.
12899         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12900         Likewise.
12901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12902         multiarch implementations.
12903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12904         (__libc_ifunc_impl_list): Likewise.
12905         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12906         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12907         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12908         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12909         bzero for PPC32.
12910         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12911         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12912         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12913         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12914         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12915         memset for PPC64.
12916         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12917
12918         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12920         implementations.
12921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12922         (__libc_ifunc_impl_list): Likewise.
12923         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12924         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12925         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12926         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12927         memcmp for PPC64.
12928
12929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12930         multiarch for POWER/PPC64.
12931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12932         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12933         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12934         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12935         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12936         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12937         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12938         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12939         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12940         memcpy for PPC64.
12941
12942         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12943         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12944         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12945         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12946         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12947         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12948         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12949         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12950         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12951         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12952         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12953         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12954         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12955         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12956         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12964
12965 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12966
12967         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12968
12969 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12970
12971         * benchtests/Makefile (bench): Add exp2 and log2.
12972         (LDLIBS-bench-exp2): Add -lm.
12973         (LDLIBS-bench-log2): Likewise.
12974         * benchtests/exp2-inputs: New inputs file.
12975         * benchtests/log2-inputs: New inputs file.
12976         * benchtests/log-inputs: Add new inputs.
12977         * benchtests/tan-inputs: Likewise.
12978
12979 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12980
12981         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12982         definition...
12983         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12984         (csloww2): ... from here.
12985
12986         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12987         instead of structures.
12988         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12989         (POLYNOMIAL): Likewise.
12990         (TAYLOR_SLOW): Likewise.
12991         (__sin): Likewise.
12992         (__cos): Likewise.
12993         (slow1): Likewise.
12994         (slow2): Likewise.
12995         (sloww): Likewise.
12996         (sloww1); Likewise.
12997         (sloww2): Likewise.
12998         (bsloww1): Likewise.
12999         (bsloww2): Likewise.
13000         (cslow2): Likewise.
13001         (csloww): Likewise.
13002         (csloww1): Likewise.
13003         (csloww2): Likewise.
13004
13005 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13006
13007         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13008         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13009         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13010         * malloc/hooks.c (realloc_check): Likewise.
13011
13012         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13013         * malloc/arena.c: Remove PER_THREAD conditional.
13014         [!PER_THREAD]: Remove code.
13015         (ptmalloc_unlock_all2): Likewise.
13016         (ptmalloc_init): Likewise.
13017         (_int_new_arena): Likewise.
13018         (arena_get2): Likewise.
13019         * malloc/hooks.c (__malloc_get_state): Likewise.
13020         (__malloc_set_state): Likewise.
13021         * malloc/malloc.c: Likewise.
13022         (struct malloc_state): Likewise.
13023         (struct malloc_par): Likewise.
13024         (__libc_realloc): Likewise.
13025         (__libc_mallopt): Likewise.
13026
13027 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13028
13029         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13030
13031 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13032
13033         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13034         macro to a function.  Check for zero perturb_byte.
13035         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13036
13037         * malloc/malloc.c: (force_reg): Remove.
13038         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13039         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13040         force_reg by atomic_forced_read.
13041         * malloc/arena.c (ptmalloc_init): Likewise.
13042         * malloc/hooks.c (top_check): Likewise.
13043
13044 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13045
13046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13047
13048 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13049
13050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13051
13052 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13053
13054         * math/auto-libm-test-in: Add tests of lgamma.
13055         * math/auto-libm-test-out: Regenerated.
13056         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13057         (M_LOG_2_SQRT_PIl): Likewise.
13058         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13059         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13060         mpfr_f_f1.
13061         (func_calc_desc): Add mpfr_f_f1 union field.
13062         (ARGS1): New macro.
13063         (ARGS2): Likewise.
13064         (ARGS3): Likewise.
13065         (ARGS4): Likewise.
13066         (RET1): Likewise.
13067         (RET2): Likewise.
13068         (CALC): Likewise.
13069         (FUNC): Likewise.
13070         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13071         (test_functions): Add lgamma.
13072         (calc_generic_results): Handle mpfr_f_f1.
13073         * sysdeps/i386/fpu/libm-test-ulps: Update.
13074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13075
13076 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13077
13078         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13079         __mpn_add_n for PowerPC64/POWER7.
13080         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13081         __mpn_sub_n for PowerPC64/POWER7.
13082
13083         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13084         __mpn_addmul_1 for PowerPC64.
13085         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13086         __mpn_submul_1 for PowerPC64.
13087         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13088         for PowerPC64.
13089         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13090         for PowerPC64.
13091
13092 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13093
13094         [BZ #15089]
13095         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13096
13097 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13098
13099         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13100
13101         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13102         add multiarch folders.
13103         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13104         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13105         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13106         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13107         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13108         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13109         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13110         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13111         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13112         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13113         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13120
13121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13122         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13124         New file.
13125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13126         New file.
13127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13128         multiarch __ieee754_hypot for PowerPC32.
13129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13130         New file.
13131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13132         New file.
13133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13134         multiarch __ieee754_hypotf for PowerPC32.
13135
13136         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13137         long_double_symbol only if __logbl is defined.
13138         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13139         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13140         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13141         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13142         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13143         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13144         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13145         path for implementation.
13146         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13147         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13149         logb, and logbl multiarch implementations for PowerPC32.
13150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13151         file.
13152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13153         file.
13154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13155         multiarch logb for PowerPC32.
13156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13157         file.
13158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13159         file.
13160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13161         multiarch logbf for PowerPC32.
13162         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13164         file.
13165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13166         multiarch logbl implementation for PowerPC32.
13167
13168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13169         and modff multiarch implementations.
13170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13171         New file.
13172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13173         New file.
13174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13175         multiarch modf for PowerPC32.
13176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13177         New file.
13178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13179         New file.
13180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13181         multiarch modff for PowerPC32.
13182
13183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13184         and lrintf multiarch implementations.
13185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13186         New file.
13187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13188         New file.
13189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13190         multiarch lrint for PowerPC32.
13191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13192         file: multiarch lrintf for PowerPC32.
13193
13194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13195         and lroundf multiarch implementations.
13196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13197         New file.
13198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13199         New file.
13200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13201         New file.
13202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13203         multiarch lround for PowerPC32.
13204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13205         file: multiarch lroundf for PowerPC32.
13206
13207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13208         copysign and copysignf multiarch implementations.
13209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13210         New file.
13211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13212         New file.
13213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13214         file: multiarch copysign for PowerPC32.
13215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13216         file: multiarch copysignf for PowerPC32.
13217
13218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13219         and truncf multiarch implementations.
13220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13221         New file.
13222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13223         file.
13224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13225         multiarch trunc for PowerPC32.
13226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13227         New file.
13228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13229         New file.
13230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13231         multiarch truncf for PowerPC32.
13232
13233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13234         and roundf multiarch implementations.
13235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13236         New file.
13237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13238         file.
13239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13240         multiarch round for PowerPC32.
13241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13242         New file.
13243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13244         New file.
13245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13246         multiarch roundf for PowerPC32.
13247
13248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13249         and floorf multiarch implementations.
13250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13251         New file.
13252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13253         file.
13254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13255         multiarch floor for PowerPC32.
13256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13257         New file.
13258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13259         New file.
13260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13261         multiarch floorf for PowerPC32.
13262
13263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13264         and ceilf multiarch implementations.
13265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13266         New file.
13267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13268         file.
13269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13270         multiarch ceil for PowerPC32.
13271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13272         New file.
13273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13274         file.
13275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13276         multiarch ceilf for PowerPC32.
13277
13278         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13279         is defined.
13280         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13281         FINITEF is defined.
13282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13283         and finitef multiarch implementations.
13284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13285         New file.
13286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13287         file.
13288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13289         multiarch finite for PowerPC32.
13290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13291         New file.
13292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13293         file: multiarch finitef for PowerPC32.
13294
13295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13296         and isinff multiarch implementations.
13297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13298         file.
13299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13300         file.
13301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13302         multiarch isinf for PowerPC32.
13303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13304         New file.
13305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13306         multiarch isinff for PowerPC32.
13307
13308         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13309         alias when __isnan is defined.
13310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13311         and isnanf multiarch implementations.
13312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13313         file.
13314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13315         file.
13316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13317         file.
13318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13319         file.
13320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13321         multiarch isnan for PowerPC32.
13322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13323         New file.
13324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13325         New file.
13326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13327         multiarch isnanf for PowerPC32.
13328
13329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13330         and sqrtf multiarch implementations.
13331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13332         file.
13333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13334         file.
13335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13336         multiarch sqrt for PowerPC32.
13337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13338         file.
13339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13340         file.
13341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13342         multiarch sqrtf for PowerPC32.
13343
13344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13345         and llroundf multiarch implementations.
13346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13347         New file.
13348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13349         New file.
13350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13351         New file.
13352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13353         file: multiarch llround for PowerPC32.
13354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13355         file: multiarch llroundf for PowerPC32.
13356
13357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13358         multiarch PowerPC32 fpu implementations.
13359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13360         New file.
13361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13362         New file.
13363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13364         multiarch llrint for PowerPC32.
13365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13366         New file.
13367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13368         New file.
13369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13370         file.
13371
13372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13373
13374         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13375         file.
13376         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13377         file.
13378         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13379         file.
13380         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13381         multiarch wordcopy for PPC32.
13382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13383         wordcopy objects.
13384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13385         (__libc_ifunc_impl_list): Likewise.
13386         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13387         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13388         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13389         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13390         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13391         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13392
13393         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13394         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13395         file.
13396         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13397         file.
13398         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13399         file.
13400         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13401         multiarch wcscpy for PPC32.
13402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13403         multiarch objects.
13404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13405         (__libc_ifunc_impl_list): Likewise.
13406         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13407         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13408         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13409         sysdeps/powerpc/power6/wcscpy.c.
13410
13411         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13413         file.
13414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13415         file.
13416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13417         file.
13418         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13419         multiarch wcsrchr for PPC32.
13420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13421         multiarch objects.
13422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13423         (__libc_ifunc_impl_list): Likewise.
13424         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13425         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13426         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13427         sysdeps/powerpc/power6/wcsrchr.c.
13428
13429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13430         file.
13431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13432         file.
13433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13435         multiarch wcschr for PPc32.
13436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13437         multiarch objects.
13438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13439         (__libc_ifunc_impl_list): Likewise.
13440         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13441         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13442         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13443         sysdeps/powerpc/power6/wcschr.c.
13444
13445         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13446         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13447         file.
13448         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13449         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13450         file: multiarch strchr for PPC32.
13451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13452         multiarch objects.
13453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13454         (__libc_ifunc_impl_list): Likewise.
13455
13456         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13457         name.
13458         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13459         file.
13460         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13461         file.
13462         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13463         multiarch strchrnul for PPC32.
13464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13465         multiarch objects.
13466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13467         (__libc_ifunc_impl_list): Likewise.
13468
13469         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13470         file.
13471         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13472         multiarch strncasecmp for PPC32.
13473         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13474         file.
13475         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13476         multiarch strncasecmp_l for PPC32.
13477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13478         strncasecmp multiarch objects.
13479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13480         (__libc_ifunc_impl_list): Likewise.
13481
13482         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13483         file.
13484         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13485         multiarch strncasecmp for PPC32.
13486         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13487         New file.
13488         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13489         multiarch strcasecmp_l for PPC32.
13490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13491         multiarch objects.
13492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13493         (__libc_ifunc_impl_list): Likewise.
13494
13495         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13496         file.
13497         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13498         file.
13499         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13500         multiarch strncmp for PPC32.
13501         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13502         multiarch objects.
13503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13504         (__libc_ifunc_impl_list): Likewise.
13505
13506         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13507         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13508         file.
13509         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13510         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13512         multiarch objects.
13513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13514         (__libc_ifunc_impl_list): Likewise.
13515
13516         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13517         file.
13518         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13519         file.
13520         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13522         multiarch objects.
13523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13524         (__libc_ifunc_impl_list): Likewise.
13525
13526         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13527         file.
13528         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13529         file.
13530         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13531         multiarch rawmemchr for PPC32.
13532         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13533         multiarch objects.
13534         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13535         (__libc_ifunc_impl_list): Likewise.
13536
13537         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13538         file.
13539         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13540         file.
13541         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13542         file: memrchr multiarch for PPC32.
13543         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13544         multiarch objects.
13545         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13546         (__libc_ifunc_impl_list): Likewise.
13547
13548         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13549         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13550         file.
13551         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13552         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13553         multiarch memchr for PPC32.
13554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13555         multiarch objects.
13556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13557         (__libc_ifunc_impl_list): Likewise.
13558
13559         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13560         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13561         file.
13562         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13563         file.
13564         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13565         file: multiarch mempcpy for PPC32.
13566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13567         multiarch objects.
13568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13569         (__libc_ifunc_impl_list): Likewise.
13570
13571         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13572         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13573         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13574         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13575         multiarch bzero for PPC32.
13576         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13577         file.
13578         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13579         file.
13580         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13581         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13582         file: multiarch memset for PPC32.
13583         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13585         memset multiarch objects.
13586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13587         (__libc_ifunc_impl_list): Likewise.
13588
13589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13590         file.
13591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13592         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13593         memcmp for PPC32.
13594         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13596         multiarch objects.
13597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13598         (__libc_ifunc_impl_list): Likewise.
13599
13600         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13601         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13602         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13603         file.
13604         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13605         file.
13606         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13607         file.
13608         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13609         multiarch memcpy for PPC32.
13610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13611         multiarch objects.
13612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13613         (__libc_ifunc_impl_list): Likewise.
13614
13615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13616         support multiarch for POWER/PPC32.
13617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13618         Likewise.
13619         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13621         Implies file to make multiarch folder appers before the fpu and
13622         default folder for power4 configuration.
13623
13624 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13625
13626         * scripts/bench.pl: Append volatile keyword to type.
13627
13628 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13629
13630         * sysdeps/sh/sotruss-lib.c: New file.
13631         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13632
13633 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13634
13635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13636
13637 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13638
13639         [BZ #6810]
13640         * math/w_tgamma.c: Include <errno.h>.
13641         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13642         * math/w_tgammaf.c: Include <errno.h>.
13643         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13644         * math/w_tgammal.c: Include <errno.h>.
13645         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13646         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13647         underflow.  Add more tgamma tests.
13648         * math/auto-libm-test-out: Regenerated.
13649         * sysdeps/i386/fpu/libm-test-ulps: Update.
13650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13651
13652         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13653         sin, sinh, tan, tanh, tgamma, y0 and y1.
13654         * math/auto-libm-test-out: Regenerated.
13655         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13656         (TEST_COND_x86): Likewise.
13657         (M_E2l): Remove macro.
13658         (M_E3l): Likewise.
13659         (M_2_SQRT_PIl): Likewise.
13660         (M_SQRT_PIl): Likewise.
13661         (M_1_DIV_El): Likewise.
13662         (log_test_data): Use AUTO_TESTS_f_f.
13663         (log10_test_data): Likewise.
13664         (log1p_test_data): Likewise.
13665         (log2_test_data): Likewise.
13666         (sin_test_data): Likewise.
13667         (sin_tonearest_test_data): Likewise.
13668         (sin_towardzero_test_data): Likewise.
13669         (sin_downward_test_data): Likewise.
13670         (sin_upward_test_data): Likewise.
13671         (sinh_test_data): Likewise.
13672         (sinh_tonearest_test_data): Likewise.
13673         (sinh_towardzero_test_data): Likewise.
13674         (sinh_downward_test_data): Likewise.
13675         (sinh_upward_test_data): Likewise.
13676         (tan_test_data): Likewise.
13677         (tan_tonearest_test_data): Likewise.
13678         (tan_towardzero_test_data): Likewise.
13679         (tan_downward_test_data): Likewise.
13680         (tan_upward_test_data): Likewise.
13681         (tanh_test_data): Likewise.
13682         (tgamma_test_data): Likewise.
13683         (y0_test_data): Likewise.
13684         (y1_test_data): Likewise.
13685         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13686         (special_real_inputs): Add pi/4.
13687         * sysdeps/i386/fpu/libm-test-ulps: Update.
13688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13689
13690 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13691
13692         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13693         "longjmp_target" static probes.
13694         (__longjmp): Rename to __longjmp_symbol.
13695         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13696         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13697         on which longjmp to generate.
13698         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13699         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13700         probe.
13701         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13702         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13703         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13704         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13705         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13706         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13708         __longjmp_symbol based on which __longjmp to generate.
13709         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13710         probe.
13711         (setjmp): Rename to setjmp_symbol.
13712         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13713         (_setjmp): Rename to _setjmp_symbol.
13714         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13715         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13716         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13717         which setjmp to generate.
13718         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13719         "longjmp_target" static probes.
13720
13721 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13722
13723         * benchtests/README: Add note about output arguments.
13724         * benchtests/bench-sincos.c: Remove file.
13725         * benchtests/sincos-inputs: New file.
13726         * scripts/bench.pl: Identify output arguments and define
13727         static variables for them.
13728
13729         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13730
13731         [BZ #15941]
13732         * Makefile (INSTALL): Add install-plain.texi as the primary
13733         dependency.
13734         * manual/install-plain.texi: New file.
13735         * manual/install.texi: Include node directive only for
13736         non-plaintext output.
13737
13738 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13739
13740         * stdlib/longlong.h: Update from GCC.
13741
13742         [BZ #6807]
13743         [BZ #15901]
13744         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13745         * math/w_j0f.c (y0f): Likewise.
13746         * math/w_j0l.c (__y0l): Likewise.
13747         * math/w_j1.c (y1): Likewise.
13748         * math/w_j1f.c (y1f): Likewise.
13749         * math/w_j1l.c (__y1l): Likewise
13750         * math/w_jn.c (yn): Likewise.
13751         * math/w_jnf.c (ynf): Likewise.
13752         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13753         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13754         value for Bessel function domain errors outside _SVID_ mode.
13755         Adjust sign of return value for yn (negative integer, 0).
13756         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13757         by zero in return for negative x and set sign appropriately for
13758         negative n.
13759         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13760         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13761         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13762         expectations in error cases.
13763         (y1_test_data): Likewise.
13764         (yn_test_data): Likewise.
13765         * sysdeps/i386/fpu/libm-test-ulps: Update.
13766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13767
13768 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13769
13770         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13771         "64" to "64-v1".  Add "64-v2".
13772         (abi-64-options): Rename to ...
13773         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13774         (abi-64-condition): Rename to ...
13775         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13776         (abi-64-ld-soname): Rename to ...
13777         (abi-64-v1-ld-soname): ... this.
13778         (abi-64-v2-options): Define.
13779         (abi-64-v2-condition): Likewise.
13780         (abi-64-v2-ld-soname): Likewise.
13781         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13782         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13786
13787 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13788             Alan Modra  <amodra@gmail.com>
13789
13790         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13791         New versions for use with the ELFv2 ABI.
13792         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13793         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13794         declaration.
13795         (struct La_ppc64v2_retval): Likewise.
13796         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13797         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13798         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13799         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13800         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13801         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13802         Do not save or restore CR.
13803         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13804         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13805         return values for ELFv2 ABI.  Fix location of FPR return registers.
13806         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13807         updated values for _CALL_ELF == 2.
13808         (La_regs, La_retval, int_retval): Likewise.
13809
13810 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13811
13812         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13813         (FRAME_MIN_SIZE_PARM): Likewise.
13814         (FRAME_BACKCHAIN): Likewise.
13815         (FRAME_CR_SAVE): Likewise.
13816         (FRAME_LR_SAVE): Likewise.
13817         (FRAME_TOC_SAVE): Likewise.
13818         (FRAME_PARM_SAVE): Likewise.
13819         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13820         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13821         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13822         (call_mcount_parm_offset): New macro.
13823         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13824         (PROF): Use symbolic stack frame offsets.
13825         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13826         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13827         Redefine in terms of FRAME_MIN_SIZE.
13828         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13829         (_dl_profile_resolve): Likewise.  Update comment.
13830         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13831         symbols stack frame offsets.
13832         (__sigsetjmp): Likewise.
13833         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13834         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13835         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13836         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13837
13838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13839         (FRAME_BACKCHAIN): Remove.
13840         (FRAME_CR_SAVE): Likewise.
13841         (FRAME_LR_SAVE): Likewise.
13842         (FRAME_COMPILER_DW): Likewise.
13843         (FRAME_LINKER_DW): Likewise.
13844         (FRAME_TOC_SAVE): Likewise.
13845         (FRAME_PARM_SAVE): Likewise.
13846         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13847         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13848         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13850         (CHECK_SP): Use symbolic stack frame offsets.
13851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13852         zone" instead of caller's parameter save area for temp storage.
13853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13854         Likewise.  Also, use symbolic stack frame offsets.
13855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13856         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13857         our own stack frame instead of the caller's.
13858         (__socket): Use symbolic stack frame offsets.
13859
13860 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13861             Alan Modra  <amodra@gmail.com>
13862
13863         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13864         Define.
13865         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13866         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13867         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13868         New function.
13869         (elf_machine_fixup_plt): Call it.
13870         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13871         reloc arguments.
13872         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13873         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13874         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13875         r2 before calling target.
13876
13877 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13878             Alan Modra  <amodra@gmail.com>
13879
13880         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13881         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13882         versions of macros to support ELFv2 ABI.
13883         (LOCALENTRY): New macro.
13884         (ENTRY, EALIGN): Use it.
13885         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13886         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13887         fall through into ENTRY entry point.
13888         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13889         Only define if _CALL_ELF != 2.
13890
13891         (elf_machine_matches_host): Verify ABI version matches.
13892         (RTLD_START): Use LOCALENTRY.
13893         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13894         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13895         (PLT_ENTRY_WORDS): New macro.
13896         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13897         (elf_machine_runtime_setup): Support ELFv2 ABI.
13898         (elf_machine_fixup_plt): Likewise.
13899         (elf_machine_plt_conflict): Likewise.
13900         (resolve_ifunc): Likewise.
13901         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13902         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13903         Likewise.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13905         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13907         (makecontext): Support ELFv2 ABI.
13908         * elf/elf.h (EF_PPC64_ABI): Define.
13909
13910 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13911
13912         * sysdeps/powerpc/powerpc64/sysdep.h
13913         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13914         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13915         (ENTRY) [ASSEMBLER]: ... but instead here ...
13916         (EALIGN) [ASSEMBLER]: ... and here.
13917         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13918         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13919         (ENTRY_2) [!ASSEMBLER]: Use it.
13920         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13921         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13922         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13923         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13924         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13926         Use PPC64_LOAD_FUNCPTR.
13927
13928         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13929
13930 2013-12-04  Alan Modra  <amodra@gmail.com>
13931
13932         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13933         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13934         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13935         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13936
13937         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13938         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13939         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13940         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13941         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13942         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13943
13944 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13945
13946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13947         (__makecontext): Fix incorrect CFI when backtracing out of
13948         context created via makecontext.
13949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13950         (__setcontext): Fix incorrect CFI during switch to new context.
13951         (__novec_setcontext): Likewise.
13952
13953 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13954
13955         [BZ #4772]
13956         * time/strptime_l.c (__strptime_internal): Allow modifiers
13957         in strptime.
13958         * time/tst-strptime.c (day_tests): Add testcase.
13959
13960 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13961
13962         * scripts/bench.pl: Skip over blank lines.
13963
13964 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13965
13966         [BZ #926]
13967         * manual/time.texi (Calendar Time): Clarify what timezone functions
13968         use.
13969
13970 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13971
13972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13973
13974 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13975
13976         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13977         implementation.
13978         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13979         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13980         * debug/memset_chk.c (__memset_chk): Likewise.
13981         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13982         * debug/strncpy_chk.c: Likewise.
13983
13984 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13985
13986         [BZ #15268]
13987         [BZ #15425]
13988         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13989         (__ieee754_exp): For possibly underflowing results, check size of
13990         result and force underflow exception if required.
13991         * math/auto-libm-test-in: Add more tests of exp.
13992         * math/auto-libm-test-out: Regenerated.
13993         * sysdeps/i386/fpu/libm-test-ulps: Update.
13994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13995
13996         [BZ #16283]
13997         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13998         * math/w_exp2f.c (__exp2f): Likewise.
13999         * math/w_exp2l.c (__exp2l): Likewise.
14000         * math/auto-libm-test-in: Do not allow missing errno on exp2
14001         underflow.
14002         * math/auto-libm-test-out: Regenerated.
14003
14004 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14005
14006         [BZ #16274]
14007         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14008         handle filename validation.
14009         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14010         (do_open): Delete.
14011
14012 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14013
14014         [BZ #6786]
14015         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14016         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14017         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14018         <float.h>.
14019         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14020         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14021         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14022         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14023         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14024         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14025         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14026         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14027         Add more erfc tests.
14028         * math/auto-libm-test-out: Regenerated.
14029         * sysdeps/i386/fpu/libm-test-ulps: Update.
14030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14031
14032         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14033         exp2, expm1, j0 and j1.
14034         * math/auto-libm-test-out: Regenerated.
14035         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14036         (erfc_test_data): Likewise.
14037         (exp_test_data): Likewise.
14038         (exp_tonearest_test_data): Likewise.
14039         (exp_towardzero_test_data): Likewise.
14040         (exp_downward_test_data): Likewise.
14041         (exp_upward_test_data): Likewise.
14042         (exp10_test_data): Likewise.
14043         (exp2_test_data): Likewise.
14044         (expm1_test_data): Likewise.
14045         (j0_test_data): Likewise.
14046         (j1_test_data): Likewise.
14047         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14048         (input_flag_type): Add flag_xfail_rounding.
14049         (input_flags): Add xfail-rounding.
14050         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14051         (output_for_one_input_case): Handle flag_xfail_rounding.
14052         * sysdeps/i386/fpu/libm-test-ulps: Update.
14053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14054
14055 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14056
14057         [BZ #16289]
14058         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14059         division by 0.
14060
14061 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14062
14063         [BZ #16195]
14064         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14065         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14066         (STAP_PROBE0): New macro.
14067         (STAP_PROBE1): Likewise.
14068         (STAP_PROBE2): Likewise.
14069         (STAP_PROBE3): Likewise.
14070         (STAP_PROBE4): Likewise.
14071
14072 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14073
14074         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14075
14076 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14077
14078         * benchtests/Makefile (bench): Add sqrt.
14079         (LDLIBS-bench-sqrt): New.
14080         * benchtests/sqrt-input: New.
14081
14082 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14083
14084         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14085         (GAIH_EAI): Likewise.
14086         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14087         (gaih_inet): Likewise.
14088         (getaddrinfo): Don't use GAIH_EAI.
14089
14090         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14091         (struct gaih): Remove definition.
14092
14093 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14094
14095         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14096         Use HERRNOP directly.
14097
14098 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14099
14100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14101
14102 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14103
14104         * math/gen-auto-libm-tests.c (test_functions): Add more
14105         single-argument functions.
14106         (special_fill_pi_2): New function.
14107         (special_fill_minus_pi_2): Likewise.
14108         (special_fill_pi_6): Likewise.
14109         (special_fill_minus_pi_6): Likewise.
14110         (special_fill_pi_3): Likewise.
14111         (special_fill_2pi_3): Likewise.
14112         (special_fill_e): Likewise.
14113         (special_fill_1_e): Likewise.
14114         (special_fill_e_minus_1): Likewise.
14115         (special_real_inputs): Add more special inputs.
14116         (output_for_one_input_case): Do not require ERANGE on underflow to
14117         zero if round-to-nearest result does not underflow to zero, unless
14118         exact results required.
14119         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14120         atan, atanh, cbrt, cos and cosh.
14121         * math/auto-libm-test-out: Regenerated.
14122         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14123         (acos_tonearest_test_data): Likewise.
14124         (acos_towardzero_test_data): Likewise.
14125         (acos_downward_test_data): Likewise.
14126         (acos_upward_test_data): Likewise.
14127         (acosh_test_data): Likewise.
14128         (asin_test_data): Likewise.
14129         (asin_tonearest_test_data): Likewise.
14130         (asin_towardzero_test_data): Likewise.
14131         (asin_upward_test_data): Likewise.
14132         (asinh_test_data): Likewise.
14133         (atan_test_data): Likewise.
14134         (atanh_test_data): Likewise.
14135         (cbrt_test_data): Likewise.
14136         (cos_test_data): Likewise.
14137         (cos_tonearest_test_data): Likewise.
14138         (cos_towardzero_test_data): Likewise.
14139         (cos_downward_test_data): Likewise.
14140         (cos_upward_test_data): Likewise.
14141         (cosh_test_data): Likewise.
14142         (cosh_tonearest_test_data): Likewise.
14143         (cosh_towardzero_test_data): Likewise.
14144         (cosh_downward_test_data): Likewise.
14145         (cosh_upward_test_data): Likewise.
14146         * sysdeps/i386/fpu/libm-test-ulps: Update.
14147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14148
14149 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14150
14151         [BZ #6787]
14152         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14153         * math/w_exp10f.c (__exp10f): Likewise.
14154         * math/w_exp10l.c (__exp10l): Likewise.
14155         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14156         errno settings in existing tests.
14157
14158         [BZ #14032]
14159         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14160         precision control set to double precision.
14161         * sysdeps/i386/fpu/w_sqrt.c: New file.
14162         * math/auto-libm-test-in: Add more tests.
14163         * math/auto-libm-test-out: Update.
14164
14165         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14166         (sqrt_test_tonearest): New function.
14167         (sqrt_towardzero_test_data): New variable.
14168         (sqrt_test_towardzero): New function.
14169         (sqrt_downward_test_data): New variable.
14170         (sqrt_test_downward): New function.
14171         (sqrt_upward_test_data): New variable.
14172         (sqrt_test_upward): New function.
14173         (main): Call the new functions.
14174
14175         * math/gen-auto-libm-tests.c: New file.
14176         * math/auto-libm-test-in: Likewise.
14177         * math/auto-libm-test-out: New generated file.
14178         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14179         variables.
14180         (%beautify): Add generated representations of zero.
14181         (top level): Set $auto_input and call parse_auto_input.
14182         (beautify): Remove trailing "f" from hex float constants.
14183         (parse_args): Handle XFAIL_TEST.
14184         (convert_condition): New function.
14185         (or_value): Likewise.
14186         (or_cond_value): Likewise.
14187         (generate_testfile): Handle AUTO_TESTS_* lines.
14188         (parse_auto_input): New function.
14189         * math/libm-test.inc (XFAIL_TEST): New macro.
14190         (ERRNO_UNCHANGED): Update value.
14191         (ERRNO_EDOM): Likewise.
14192         (ERRNO_ERANGE): Likewise.
14193         (IGNORE_RESULT): Likewise.
14194         (TEST_COND_flt_32): New macro.
14195         (TEST_COND_dbl_64): Likewise.
14196         (TEST_COND_ldbl_96_intel): Likewise.
14197         (TEST_COND_ldbl_96_m68k): Likewise.
14198         (TEST_COND_ldbl_128): Likewise.
14199         (TEST_COND_ldbl_128ibm): Likewise.
14200         (TEST_COND_long32): Likewise.
14201         (TEST_COND_long64): Likewise.
14202         (TEST_COND_before_rounding): Likewise.
14203         (TEST_COND_after_rounding): Likewise.
14204         (enable_test): Handle XFAIL_TEST flag.
14205         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14206         with finite results.
14207         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14208         auto-libm-test-out.
14209
14210 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14211             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14212
14213         [BZ #16214]
14214         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14215         __tls_get_addr_internal instead of __tls_get_offset in order to
14216         avoid GOT pointer dependency.  Make rtld export
14217         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14218         __tls_get_addr since we are a __tls_get_offset platform.
14219         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14220         GOT pointer being set up before.
14221         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14222
14223 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14224
14225         * manual/math.texi (Errors in Math Functions): Document accuracy
14226         goals.
14227
14228         [BZ #15004]
14229         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14230         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14231         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14232         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14233         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14234         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14235         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14236         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14237         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14238         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14239         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14240         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14241         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14242         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14243         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14244         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14245
14246         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14247         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14248         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14249         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14250         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14251         Likewise.
14252         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14253         Likewise.
14254         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14255         Likewise.
14256         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14257         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14258         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14259         atomic-feupdateenv and flt-rounds.
14260         * sysdeps/powerpc/nofpu/Versions (libc): Add
14261         __atomic_feholdexcept, __atomic_feclearexcept,
14262         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14263         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14264         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14265         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14266         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14267         here.
14268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14269         Update.
14270
14271         * manual/arith.texi (FP Exceptions): Document that exceptions may
14272         not be raised when matherr is used.
14273         (Math Error Reporting): Document overflow in directed rounding
14274         modes.  Document that errno may not be set when finite values are
14275         returned on overflow.  Document intent to set errno on underflow
14276         only for underflow to zero.
14277
14278         [BZ #16271]
14279         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14280         round-to-nearest then adjust result for other rounding modes.
14281         * include/fenv.h (fegetround): Use libm_hidden_proto.
14282         * math/fegetround.c (fegetround): Use libm_hidden_def.
14283         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14284         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14285         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14286         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14287         Likewise.
14288         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14289         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14290         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14291         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14292
14293 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14294
14295         [BZ #16077]
14296         * nss/Versions (libnss_files): Add
14297         _nss_files_gethostbyname3_r.
14298         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14299         New function.
14300         (HOST_DB_LOOKUP): Remove macro.
14301         (_nss_files_gethostbyname_r): Implement function without the
14302         HOST_DB_LOOKUP macro.
14303         (_nss_files_gethostbyname2_r): Likewise.
14304
14305 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14306
14307         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14308
14309 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14310
14311         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14312         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14313         warning.
14314
14315 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14316
14317         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14318         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14319         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14320         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14321         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14322         __fe_nomask_env_priv and attribute_hidden.
14323         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14324         (libc_feupdateenv_test_ppc): Likewise.
14325         (libc_feresetround_ppc): Likewise.
14326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14327         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14328         compat_symbol macro.
14329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14330         (__fe_nomask_env): Likewise.
14331         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14332
14333 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14334
14335         * string/Makefile: Remove ifunc tests.
14336         * string/test-string.h: Define TEST_IFUNC.
14337         * string/test-bcopy-ifunc.c: Remove.
14338         * string/test-bzero-ifunc.c: Likewise.
14339         * string/test-memccpy-ifunc.c: Likewise.
14340         * string/test-memchr-ifunc.c: Likewise.
14341         * string/test-memcmp-ifunc.c: Likewise.
14342         * string/test-memcpy-ifunc.c: Likewise.
14343         * string/test-memmem-ifunc.c: Likewise.
14344         * string/test-memmove-ifunc.c: Likewise.
14345         * string/test-mempcpy-ifunc.c: Likewise.
14346         * string/test-memrchr-ifunc.c: Likewise.
14347         * string/test-memset-ifunc.c: Likewise.
14348         * string/test-rawmemchr-ifunc.c: Likewise.
14349         * string/test-stpcpy-ifunc.c: Likewise.
14350         * string/test-stpncpy-ifunc.c: Likewise.
14351         * string/test-strcasecmp-ifunc.c: Likewise.
14352         * string/test-strcasestr-ifunc.c: Likewise.
14353         * string/test-strcat-ifunc.c: Likewise.
14354         * string/test-strchr-ifunc.c: Likewise.
14355         * string/test-strchrnul-ifunc.c: Likewise.
14356         * string/test-strcmp-ifunc.c: Likewise.
14357         * string/test-strcpy-ifunc.c: Likewise.
14358         * string/test-strcspn-ifunc.c: Likewise.
14359         * string/test-strlen-ifunc.c: Likewise.
14360         * string/test-strncasecmp-ifunc.c: Likewise.
14361         * string/test-strncat-ifunc.c: Likewise.
14362         * string/test-strncmp-ifunc.c: Likewise.
14363         * string/test-strncpy-ifunc.c: Likewise.
14364         * string/test-strnlen-ifunc.c: Likewise.
14365         * string/test-strpbrk-ifunc.c: Likewise.
14366         * string/test-strrchr-ifunc.c: Likewise.
14367         * string/test-strspn-ifunc.c: Likewise.
14368         * string/test-strstr-ifunc.c: Likewise.
14369
14370 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14371
14372         * benchtests/Makefile: Remove ifunc tests.
14373         * benchtests/bench-string.h: Define TEST_IFUNC.
14374         * benchtests/bench-bcopy-ifunc.c: Remove.
14375         * benchtests/bench-bzero-ifunc.c: Likewise.
14376         * benchtests/bench-memccpy-ifunc.c: Likewise.
14377         * benchtests/bench-memchr-ifunc.c: Likewise.
14378         * benchtests/bench-memcmp-ifunc.c: Likewise.
14379         * benchtests/bench-memcpy-ifunc.c: Likewise.
14380         * benchtests/bench-memmem-ifunc.c: Likewise.
14381         * benchtests/bench-memmove-ifunc.c: Likewise.
14382         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14383         * benchtests/bench-memrchr-ifunc.c: Likewise.
14384         * benchtests/bench-memset-ifunc.c: Likewise.
14385         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14386         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14387         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14388         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14389         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14390         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14391         * benchtests/bench-strcat-ifunc.c: Likewise.
14392         * benchtests/bench-strchr-ifunc.c: Likewise.
14393         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14394         * benchtests/bench-strcmp-ifunc.c: Likewise.
14395         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14396         * benchtests/bench-strcpy-ifunc.c: Likewise.
14397         * benchtests/bench-strcspn-ifunc.c: Likewise.
14398         * benchtests/bench-strlen-ifunc.c: Likewise.
14399         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14400         * benchtests/bench-strncat-ifunc.c: Likewise.
14401         * benchtests/bench-strncmp-ifunc.c: Likewise.
14402         * benchtests/bench-strncpy-ifunc.c: Likewise.
14403         * benchtests/bench-strnlen-ifunc.c: Likewise.
14404         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14405         * benchtests/bench-strrchr-ifunc.c: Likewise.
14406         * benchtests/bench-strsep-ifunc.c: Likewise.
14407         * benchtests/bench-strspn-ifunc.c: Likewise.
14408         * benchtests/bench-strstr-ifunc.c: Likewise.
14409
14410 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14411
14412         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14413
14414 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14415
14416         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14417         * rt/aio.h: Likewise.
14418         * sysdeps/gnu/bits/utmp.h: Likewise.
14419         * sysdeps/gnu/bits/utmpx.h: Likewise.
14420         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14421         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14422         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14423         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14424         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14425         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14426         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14427         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14428         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14429         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14430         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14431         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14432         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14434         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14435         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14436         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14437         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14438         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14439         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14440         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14441         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14442         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14443         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14444         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14445         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14446         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14447         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14448         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14449         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14450         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14451         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14452         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14453         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14454         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14455         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14456         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14457         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14458         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14459         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14460         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14461         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14462
14463 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14464
14465         [BZ #16245]
14466         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14467         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14468
14469 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14470
14471         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14472         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14473         Likewise.
14474
14475 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14476
14477         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14478         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14479         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14480         (__fesetround): Remove define.
14481         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14482         rounding and exceptions handling.
14483         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14484         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14485         (__fe_nomask_env): Likewise.
14486         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14487         __fegetround instead of fegetround.
14488         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14489         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14490
14491 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14492
14493         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14494         it's there.
14495
14496         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14497
14498 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14499
14500         [BZ #11157]
14501         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14502         (encrypt_r): Likewise.
14503         * malloc/obstack.h (obstack_free): Likewise.
14504         * posix/unistd.h (encrypt): Likewise.
14505
14506 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14507
14508         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14509         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14510         DL_CALL_DT_FINI() that call the functions directly.
14511         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14512         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14513         * elf/dl-fini.c: Likewise.
14514
14515 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14516
14517         * malloc/hooks.c (memalign_check): Add alignment rounding.
14518         * malloc/malloc.c (_mid_memalign): New function.
14519         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14520         Implement by calling _mid_memalign.
14521         * manual/probes.texi (Memory Allocation Probes): Remove
14522         memory_valloc_retry and memory_pvalloc_retry.
14523
14524 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14525
14526         * locale/programs/locarchive.c (open_archive): Add const
14527         qualifier to ARCHIVEFNAME and copy default fname to
14528         DEFAULT_FNAME.
14529
14530         [BZ #15601]
14531         * libio/tst-widetext.input: Rename Oriya to Odia.
14532         * locale/iso-639.def: Likewise.
14533
14534         * manual/probes.texi (Mathematical Function Probes): Add
14535         documentation for sin, cos, asin and acos probes.
14536         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14537         (__sin32): Add slowasin probe.
14538         (__cos32): Add slowacos probe.
14539         (__mpsin): Add slowsin probe.
14540         (__mpcos): Add slowcos probe.
14541
14542 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14543
14544         [BZ #15483]
14545         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14546         thread-local __sim_exceptions_thread and global
14547         __sim_exceptions_global.
14548         (__sim_disabled_exceptions): Change to thread-local
14549         __sim_disabled_exceptions_thread and global
14550         __sim_disabled_exceptions_global.
14551         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14552         and global __sim_round_mode_global.
14553         (__simulate_exceptions): Use thread-local floating-point state and
14554         set global state from it as needed.
14555         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14556         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14557         __sim_round_mode_thread.
14558         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14559         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14560         and global __sim_exceptions_global.
14561         (__sim_disabled_exceptions): Change to thread-local
14562         __sim_disabled_exceptions_thread and global
14563         __sim_disabled_exceptions_global.
14564         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14565         and global __sim_round_mode_global.
14566         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14567         (SIM_SET_GLOBAL): Likewise.
14568         * sysdeps/powerpc/soft-fp/sfp-machine.h
14569         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14570         __sim_round_mode_thread.
14571         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14572         __sim_disabled_exceptions_thread.
14573         (__sim_exceptions): Change to __sim_exceptions_thread.
14574         (__sim_disabled_exceptions): Change to
14575         __sim_disabled_exceptions_thread.
14576         (__sim_round_mode): Change to __sim_round_mode_thread.
14577         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14578         thread-local floating-point state and set global state from it as
14579         needed.
14580         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14581         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14582         (__sim_disabled_exceptions): Remove extern declaration.
14583         (feenableexcept): Use thread-local floating-point state and set
14584         global state from it as needed.
14585         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14586         extern declaration.
14587         (__sim_disabled_exceptions): Likewise.
14588         (__sim_round_mode): Likewise.
14589         (__fegetenv): Use thread-local floating-point state.
14590         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14591         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14592         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14593         floating-point state and set global state from it as needed.
14594         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14595         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14596         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14597         Likewise.
14598         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14599         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14600         Likewise.
14601         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14602         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14603         Use __sim_round_mode_thread.
14604         * math/test-fenv-tls.c: New file.
14605         * math/Makefile (tests): Add test-fenv-tls.
14606         ($(objpfx)test-fenv-tls): Depend on
14607         $(common-objpfx)nptl/libpthread.so.
14608
14609 2013-11-19  Andreas Schwab  <schwab@suse.de>
14610
14611         * locale/programs/locale.c (show_info): Decode wordarray elements.
14612         * locale/categories.def (LC_MONETARY): Add element for
14613         _NL_MONETARY_CRNCYSTR.
14614         * locale/C-monetary.c (conversion_rate): New variable.
14615         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14616         element.
14617
14618 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14619
14620         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14621         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14622
14623 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14624
14625         * elf/Makefile (tst-auxv): New test.
14626         * elf/tst-auxv.c: New
14627         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14628
14629 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14630
14631         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14632         (hidden_proto): Caller changed.
14633         (hidden_tls_proto): New macro.
14634         (libc_hidden_tls_proto): Likewise.
14635         (rtld_hidden_tls_proto): Likewise.
14636         (libm_hidden_tls_proto): Likewise.
14637         (libresolv_hidden_tls_proto): Likewise.
14638         (librt_hidden_tls_proto): Likewise.
14639         (libdl_hidden_tls_proto): Likewise.
14640         (libnss_files_hidden_tls_proto): Likewise.
14641         (libnsl_hidden_tls_proto): Likewise.
14642         (libnss_nisplus_hidden_tls_proto): Likewise.
14643         (libutil_hidden_tls_proto): Likewise.
14644
14645 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14646
14647         [BZ #10253]
14648         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14649         (decompose_rpath): Defer expansion to fillin_rpath.
14650         (_dl_init_paths): Pass linkmap to fillin_rpath.
14651
14652 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14653
14654         * benchtests/Makefile: Add strsep.
14655         * benchtests/bench-strsep.c: New file: strsep benchtest.
14656         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14657
14658 2013-11-18  Andreas Schwab  <schwab@suse.de>
14659
14660         * locale/programs/locale.c (show_info) [case byte]: Check for
14661         '\377' instead of '\177'.
14662         * locale/C-monetary.c (not_available): Always use "\377".
14663         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14664         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14665         detect unavailable sign_posn locale elements.
14666         * locale/localeconv.c (__localeconv): For grouping and
14667         mon_grouping handle "\177" and "\377" like no grouping.
14668         (INT_ELEM): New macro.  Use it to set all numeric members.
14669         * locale/programs/ld-monetary.c (monetary_read)
14670         <tok_mon_grouping>: Normalize single -1 to the empty string.
14671         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14672         Likewise.
14673
14674 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14675
14676         [BZ #16055]
14677         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14678         when we match (nil).
14679         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14680
14681 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14682
14683         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14684         (NO_TEST_INLINE): Update value.
14685         (ERRNO_UNCHANGED): Likewise.
14686         (ERRNO_EDOM): Likewise.
14687         (ERRNO_ERANGE): Likewise.
14688         (IGNORE_RESULT): Likewise.
14689         (check_float_internal): Check signs of NaN results if
14690         TEST_NAN_SIGN used.
14691         (check_complex): Pass TEST_NAN_SIGN flag through to second
14692         check_float_internal call.
14693         (copysign_test_data): Add tests with quiet NaNs as second
14694         argument.  Use TEST_NAN_SIGN.
14695         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14696         TEST_NAN_SIGN.
14697         (signbit_test_data): Add tests of quiet NaN argument.
14698         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14699
14700         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14701         $ignore_result.
14702         (parse_args): Handle function results specified as IGNORE.
14703         * math/libm-test.inc (IGNORE_RESULT): New macro.
14704         (check_float_internal): Do not check numerical result if flag
14705         IGNORE_RESULT set.
14706         (check_complex): Pass through IGNORE_RESULT to second
14707         check_float_internal call.
14708         (check_int): Do not check numerical result if flag IGNORE_RESULT
14709         set.
14710         (check_long): Likewise.
14711         (check_bool): Likewise.
14712         (check_longlong): Likewise.
14713         (lrint_test_data): Add tests of infinite and NaN arguments.
14714         (lrint_tonearest_test_data): Likewise.
14715         (lrint_towardzero_test_data): Likewise.
14716         (lrint_downward_test_data): Likewise.
14717         (lrint_upward_test_data): Likewise.
14718         (llrint_test_data): Likewise.
14719         (llrint_tonearest_test_data): Likewise.
14720         (llrint_towardzero_test_data): Likewise.
14721         (llrint_downward_test_data): Likewise.
14722         (llrint_upward_test_data): Likewise.
14723         (lround_test_data): Likewise.
14724         (llround_test_data): Likewise.
14725
14726         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14727         (ERRNO_UNCHANGED): Update value.
14728         (ERRNO_EDOM): Likewise.
14729         (ERRNO_ERANGE): Likewise.
14730         (NO_TEST_INLINE_FLOAT): New macro.
14731         (NO_TEST_INLINE_DOUBLE): Likewise.
14732         (enable_test): New function.
14733         (RUN_TEST_f_f): Check enable_test before running test.
14734         (RUN_TEST_2_f): Likewise.
14735         (RUN_TEST_fff_f): Likewise.
14736         (RUN_TEST_c_f): Likewise.
14737         (RUN_TEST_f_f1): Likewise.
14738         (RUN_TEST_fF_f1): Likewise.
14739         (RUN_TEST_fI_f1): Likewise.
14740         (RUN_TEST_ffI_f1): Likewise.
14741         (RUN_TEST_c_c): Likewise.
14742         (RUN_TEST_cc_c): Likewise.
14743         (RUN_TEST_f_i): Likewise.
14744         (RUN_TEST_f_i_tg): Likewise.
14745         (RUN_TEST_ff_i_tg): Likewise.
14746         (RUN_TEST_f_b): Likewise.
14747         (RUN_TEST_f_b_tg): Likewise.
14748         (RUN_TEST_f_l): Likewise.
14749         (RUN_TEST_f_L): Likewise.
14750         (RUN_TEST_fFF_11): Likewise.
14751         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14752         conditionals.
14753         (cosh_test_data): Likewise.
14754         (exp_test_data): Likewise.
14755         (expm1_test_data): Likewise.
14756         (hypot_test_data): Likewise.
14757         (pow_test_data): Likewise.
14758         (sinh_test_data): Likewise.
14759         (tanh_test_data): Likewise.
14760         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14761         flags argument.
14762
14763         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14764         tests with quiet NaN input and output.
14765         (acosh_test_data): Likewise.
14766         (asin_test_data): Likewise.
14767         (asinh_test_data): Likewise.
14768         (atan_test_data): Likewise.
14769         (atanh_test_data): Likewise.
14770         (atan2_test_data): Likewise.
14771         (cbrt_test_data): Likewise.
14772         (cos_test_data): Likewise.
14773         (cosh_test_data): Likewise.
14774         (erf_test_data): Likewise.
14775         (erfc_test_data): Likewise.
14776         (exp_test_data): Likewise.
14777         (exp10_test_data): Likewise.
14778         (exp2_test_data): Likewise.
14779         (expm1_test_data): Likewise.
14780         (hypot_test_data): Likewise.
14781         (j0_test_data): Likewise.
14782         (j1_test_data): Likewise.
14783         (jn_test_data): Likewise.
14784         (lgamma_test_data): Likewise.
14785         (log_test_data): Likewise.
14786         (log10_test_data): Likewise.
14787         (log1p_test_data): Likewise.
14788         (log2_test_data): Likewise.
14789         (pow_test_data): Likewise.
14790         (scalb_test_data): Likewise.
14791         (sin_test_data): Likewise.
14792         (sincos_test_data): Likewise.
14793         (sinh_test_data): Likewise.
14794         (tan_test_data): Likewise.
14795         (tanh_test_data): Likewise.
14796         (tgamma_test_data): Likewise.
14797         (y0_test_data): Likewise.
14798         (y1_test_data): Likewise.
14799         (yn_test_data): Likewise.
14800
14801         [BZ #16167]
14802         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14803         argument being NaN and avoid computations with second argument in
14804         that case.
14805         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14806         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14807         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14808
14809 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14810
14811         * locale/iso-639.def: Add Chitwani Tharu (the).
14812
14813 2013-11-14  Andreas Schwab  <schwab@suse.de>
14814
14815         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14816         word instead of empty string.
14817
14818 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14819
14820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14821         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14823         (__fe_nomask_env): Likewise.
14824
14825 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14826
14827         * benchtests/bench-timing.h: Include time.h.
14828
14829 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14830
14831         [BZ #15997]
14832         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14833         to 3.4.0 for x32.
14834         * sysdeps/unix/sysv/linux/configure: Regenerated.
14835
14836 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14837
14838         [BZ #16151]
14839         * stdlib/strtod_l.c (round_and_return): Do not consider
14840         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14841         exponent one less than half the least subnormal exponent.
14842         * stdlib/test-strtod-round-data: Add more tests.
14843         * stdlib/tst-strtod-round.c (tests): Regenerated.
14844
14845 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14846
14847         [BZ #14143]
14848         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14849         (__fe_mask_env): Likewise.
14850         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14851         libm_hidden_proto and add function prototype.
14852         (__fe_mask_env): Add function prototype.
14853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14854         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14856         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14858         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14859
14860 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14861
14862         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14863         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14864
14865 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14866
14867         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14868         of htab_find_slot().
14869
14870 2013-11-11  David S. Miller  <davem@davemloft.net>
14871
14872         [BZ #16150]
14873         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14874         symbol in the non-vis3 case in static builds.
14875         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14876         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14877         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14878         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14879
14880 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14881
14882         [BZ #387]
14883         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14884         it is empty.
14885
14886 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14887
14888         * benchtests/Makefile: Add bench-strtod.
14889         * benchtests/bench-strtod.c: New file: strtod benchtest
14890
14891 2013-11-11  Andreas Schwab  <schwab@suse.de>
14892
14893         [BZ #16153]
14894         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14895         terminating NUL in key length.
14896
14897 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14898
14899         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14900         Add artificial ODP entry for vDSO symbol for PPC64.
14901         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14902         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14903
14904 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14905
14906         [BZ #15374]
14907         * nss/getent.c (services_keys): Recognize services starting with digit.
14908
14909 2013-11-06  David S. Miller  <davem@davemloft.net>
14910
14911         [BZ #15985]
14912         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14913         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14914
14915 2013-11-06  Will Newton  <will.newton@linaro.org>
14916
14917         * manual/memory.texi (Malloc Examples): Remove register
14918         keyword from examples.
14919
14920 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14921
14922         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14923
14924 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14925
14926         [BZ #6981]
14927         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14928         depending on [__GCC_IEC_559 > 0].
14929         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14930         depending on [__GCC_IEC_559_COMPLEX > 0].
14931
14932 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14933
14934         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14935         to iso-639.def.
14936
14937 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14938
14939         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14940
14941 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14942
14943         [BZ #16112]
14944         * malloc/malloc (malloc_info): Do not handle first bin as
14945         special case.
14946
14947 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14948
14949         * locale/iso-639.def: Add Central Nahuatl (nhn).
14950
14951 2013-11-01  Bruno Haible  <bruno@clisp.org>
14952
14953         [BZ #7003]
14954         * manual/math.texi (BSD Random): Specify range upper bound as
14955         in POSIX.
14956
14957 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14958
14959         * locale/iso-639.def: Add Meadow Mari (mhr).
14960
14961 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14962
14963         [BZ #14752], [BZ #15763]
14964         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14965         Validate name.
14966         * rt/tst_shm.c: Add test for escaping directory.
14967
14968 2013-10-31  Andreas Schwab  <schwab@suse.de>
14969
14970         [BZ #15917]
14971         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14972         followed by 'x' as part of digit sequence.
14973         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14974
14975 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14976
14977         [BZ #16037]
14978         * configure.ac: allow GNU Make 4.0 and greater.
14979         * configure: Regenerated.
14980
14981 2013-10-30  Will Newton  <will.newton@linaro.org>
14982
14983         [BZ #16038]
14984         * malloc/hooks.c (memalign_check): Limit alignment to the
14985         maximum representable power of two.
14986         * malloc/malloc.c (__libc_memalign): Likewise.
14987         * malloc/tst-memalign.c (do_test): Add test for very
14988         large alignment values.
14989         * malloc/tst-posix_memalign.c (do_test): Likewise.
14990
14991 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14992
14993         [BZ #11087]
14994         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14995         (munmap_chunk): Likewise.
14996         (mremap_chunk): Likewise.
14997
14998 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14999
15000         [BZ #15799]
15001         * stdlib/div.c (div): Remove obsolete code.
15002         * stdlib/ldiv.c (ldiv): Likewise.
15003         * stdlib/lldiv.c (lldiv): Likewise.
15004
15005 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15006
15007         [BZ #16071]
15008         * nss/nss_files/files-XXX.c (get_contents_ret): New
15009         enumerator.
15010         (get_contents): New function.
15011         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15012
15013 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15014
15015         * configure.in: Moved to ...
15016         * configure.ac: ... here. Change reference to configure.in
15017         to configure.ac.
15018         * sysdeps/arm/preconfigure.ac: ... here.
15019         configure.in to configure.ac.
15020         * sysdeps/gnu/configure.in: Moved to ...
15021         * sysdeps/gnu/configure.ac: ... here.
15022         * sysdeps/i386/configure.in: Moved to ...
15023         * sysdeps/i386/configure.ac: ... here.
15024         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15025         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15026         * sysdeps/mach/configure.in: Moved to ...
15027         * sysdeps/mach/configure.ac: ... here.
15028         * sysdeps/mach/hurd/configure.in: Moved to ...
15029         * sysdeps/mach/hurd/configure.ac: ... here.
15030         * sysdeps/powerpc/configure.in: Moved to ...
15031         * sysdeps/powerpc/configure.ac: ... here.
15032         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15033         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15034         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15035         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15036         * sysdeps/s390/s390-32/configure.in: Moved to ...
15037         * sysdeps/s390/s390-32/configure.ac: ... here.
15038         * sysdeps/s390/s390-64/configure.in: Moved to ...
15039         * sysdeps/s390/s390-64/configure.ac: ... here.
15040         * sysdeps/sh/configure.in: Moved to ...
15041         * sysdeps/sh/configure.ac: ... here.
15042         * sysdeps/sparc/configure.in: Moved to ...
15043         * sysdeps/sparc/configure.ac: ... here.
15044         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15045         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15046         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15047         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15048         * sysdeps/x86_64/configure.in: Moved to ...
15049         * sysdeps/x86_64/configure.ac: ... here.
15050         * sysdeps/x86_64/preconfigure.in: Moved to ...
15051         * sysdeps/x86_64/preconfigure.ac: ... here.
15052         * aclocal.m4: Change reference to configure.in to configure.ac.
15053         * config.h.in: Likewise.
15054         * manual/install.texi: Likewise.
15055         * manual/maint.texi: Likewise.
15056         * Makefile: Likewise.
15057         * malloc/Makefile: Likewise.
15058         * nscd/Makefile: Likewise.
15059         * Makeconfig: Change reference to configure.in and
15060         preconfigure.in to configure.ac and preconfigure.ac
15061         respectively.
15062         * INSTALL: Regenerated.
15063         * configure: Likewise.
15064         * sysdeps/gnu/configure: Likewise.
15065         * sysdeps/i386/configure: Likewise.
15066         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15067         * sysdeps/mach/configure: Likewise.
15068         * sysdeps/mach/hurd/configure: Likewise.
15069         * sysdeps/powerpc/configure: Likewise.
15070         * sysdeps/powerpc/powerpc32/configure: Likewise.
15071         * sysdeps/powerpc/powerpc64/configure: Likewise.
15072         * sysdeps/s390/s390-32/configure: Likewise.
15073         * sysdeps/s390/s390-64/configure: Likewise.
15074         * sysdeps/sh/configure: Likewise.
15075         * sysdeps/sparc/configure: Likewise.
15076         * sysdeps/unix/sysv/linux/configure: Likewise.
15077         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15078         * sysdeps/x86_64/configure: Likewise.
15079         * sysdeps/x86_64/preconfigure: Likewise.
15080
15081 2013-10-29  Andreas Schwab  <schwab@suse.de>
15082
15083         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15084
15085 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15086
15087         * benchtests/pow-inputs: Add new inputs.
15088
15089         * benchtests/exp-inputs: Add new inputs.
15090
15091         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15092         conditional check for return value.
15093         (__cos32): Likewise.
15094
15095 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15096
15097         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15098         to provide a boost for large inputs with word alignment.
15099         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15100         implementation based on optimized PPC64 strcpy.
15101         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15102         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15103         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15104         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15105
15106 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15107
15108         [BZ #2801]
15109         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15110
15111 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15112
15113         [BZ #14876]
15114         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15115         * time/tst-strptime.c (day_tests): Add testcase.
15116
15117 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15118
15119         [BZ #14029]
15120         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15121
15122 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15123
15124         [BZ #16074]
15125         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15126         MAP_FAILED on error.
15127
15128 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15129
15130         [BZ #16072]
15131         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15132         heap for large requests.
15133
15134 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15135
15136         [BZ #9954]
15137         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15138         result if the result has no associated interface.
15139         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15140         interface for all 127.X.Y.Z addresses.
15141
15142 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15143
15144         * locale/iso-639.def: Add Ligurian (lij)
15145
15146 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15147
15148         [BZ #15825]
15149         * sunrpc/rpc_main.c: Document rpcgen -5.
15150
15151 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15152
15153         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15154
15155 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15156
15157         [BZ #10278]
15158         * posix/glob.c: Match only directories when trailing slash is present.
15159         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15160         (main): Add testcase.
15161
15162 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15163
15164         [BZ #15670]
15165         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15166
15167 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15168
15169         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15170         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15171         AUTH_DES and cindex for FIPS 140-2.
15172         (DES Encryption): Add cindex FIPS 46-3.
15173
15174         * locale/locarchive.h (struct locarhandle): Add fname.
15175         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15176         if an optional argument was specified to --list-archive,
15177         otherwise NULL.
15178         * locale/programs/locarchive.c (show_archive_content): Take new
15179         argument fname and pass it via ah.fname to open_archive.
15180         * locale/programs/localedef.h: Update decl.
15181         (open_archive): If AH->fname is non-null, open that file
15182         rather than the default file name, and don't ignore ENOENT.
15183         (create_archive): Set AH.fname to NULL.
15184         (delete_locales_from_archive): Likewise.
15185         (add_locales_to_archive): Likewise.
15186         * locale/programs/locfile.c (write_all_categories): Likewise.
15187
15188 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15189             Aldy Hernandez  <aldyh@redhat.com>
15190
15191         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15192         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15193         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15194         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15195         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15196         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15197         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15198         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15199         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15200         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15201         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15202         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15203         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15204         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15205         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15206         Likewise.
15207         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15208         Likewise.
15209         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15210         Likewise.
15211         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15212         Likewise.
15213         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15214         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15215         Likewise.
15216         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15217         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15218         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15219         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15220         Likewise.
15221         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15222         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15223         * sysdeps/powerpc/preconfigure: Likewise.
15224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15225         Likewise.
15226         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15227         Replace contents of file by #include of <fenv_libc.h>.
15228         * sysdeps/powerpc/soft-fp/sfp-machine.h
15229         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15230         and <sys/prctl.h>.
15231         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15232         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15233         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15234         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15235         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15236         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15237         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15238         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15239         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15240         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15241         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15242         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15244         Allow copysignl PLT reference to be missing.
15245
15246 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15247             Joseph Myers  <joseph@codesourcery.com
15248
15249         [BZ #15948]
15250         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15251         single character.
15252         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15253
15254 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15255
15256         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15257         * elf/tst-tls1.c: Likewise.
15258         * elf/tst-tls10.h: Likewise.
15259         * elf/tst-tls14.c: Likewise.
15260         * elf/tst-tls2.c: Likewise.
15261         * elf/tst-tls3.c: Likewise.
15262         * elf/tst-tls4.c: Likewise.
15263         * elf/tst-tls5.c: Likewise.
15264         * elf/tst-tls6.c: Likewise.
15265         * elf/tst-tls7.c: Likewise.
15266         * elf/tst-tls8.c: Likewise.
15267         * elf/tst-tls9.c: Likewise.
15268         * elf/tst-tlsmod1.c: Likewise.
15269         * elf/tst-tlsmod13.c: Likewise.
15270         * elf/tst-tlsmod13a.c: Likewise.
15271         * elf/tst-tlsmod14a.c: Likewise.
15272         * elf/tst-tlsmod16a.c: Likewise.
15273         * elf/tst-tlsmod16b.c: Likewise.
15274         * elf/tst-tlsmod2.c: Likewise.
15275         * elf/tst-tlsmod3.c: Likewise.
15276         * elf/tst-tlsmod4.c: Likewise.
15277         * elf/tst-tlsmod5.c: Likewise.
15278         * elf/tst-tlsmod6.c: Likewise.
15279
15280 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15281
15282         [BZ #12486]
15283         * malloc/malloc.c: remove checks for statistics.
15284
15285 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15286
15287         [BZ #15277]
15288         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15289         * inet/tst-network.c: Add testcase.
15290
15291 2013-10-17  Andreas Schwab  <schwab@suse.de>
15292
15293         [BZ #15218]
15294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15295         to determine canonical name.
15296
15297 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15298
15299         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15300         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15301         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15302         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15303         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15304         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15305         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15306         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15307         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15308         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15309         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15310         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15311         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15312         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15313         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15314         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15315         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15316         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15317         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15318         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15319         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15320         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15321         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15322         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15323         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15324         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15325         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15326         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15327         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15328         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15329         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15330         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15331         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15332         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15333         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15334         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15335         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15336         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15337         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15338         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15339         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15340         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15341         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15342         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15343         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15344         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15345         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15346         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15347         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15348         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15349         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15350         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15351         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15352         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15353         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15354         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15355         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15356         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15357
15358 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15359
15360         [BZ #16041]
15361         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15362         make result into a quiet NaN.
15363
15364 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15365
15366         * soft-fp/adddf3.c: Fix horizontal whitespace.
15367         * soft-fp/addsf3.c: Likewise.
15368         * soft-fp/addtf3.c: Likewise.
15369         * soft-fp/divdf3.c: Likewise.
15370         * soft-fp/divsf3.c: Likewise.
15371         * soft-fp/divtf3.c: Likewise.
15372         * soft-fp/double.h: Likewise.
15373         * soft-fp/eqdf2.c: Likewise.
15374         * soft-fp/eqsf2.c: Likewise.
15375         * soft-fp/eqtf2.c: Likewise.
15376         * soft-fp/extenddftf2.c: Likewise.
15377         * soft-fp/extended.h: Likewise.
15378         * soft-fp/extendsfdf2.c: Likewise.
15379         * soft-fp/extendsftf2.c: Likewise.
15380         * soft-fp/extendxftf2.c: Likewise.
15381         * soft-fp/fixdfdi.c: Likewise.
15382         * soft-fp/fixdfsi.c: Likewise.
15383         * soft-fp/fixdfti.c: Likewise.
15384         * soft-fp/fixsfdi.c: Likewise.
15385         * soft-fp/fixsfsi.c: Likewise.
15386         * soft-fp/fixsfti.c: Likewise.
15387         * soft-fp/fixtfdi.c: Likewise.
15388         * soft-fp/fixtfsi.c: Likewise.
15389         * soft-fp/fixtfti.c: Likewise.
15390         * soft-fp/fixunsdfdi.c: Likewise.
15391         * soft-fp/fixunsdfsi.c: Likewise.
15392         * soft-fp/fixunsdfti.c: Likewise.
15393         * soft-fp/fixunssfdi.c: Likewise.
15394         * soft-fp/fixunssfsi.c: Likewise.
15395         * soft-fp/fixunssfti.c: Likewise.
15396         * soft-fp/fixunstfdi.c: Likewise.
15397         * soft-fp/fixunstfsi.c: Likewise.
15398         * soft-fp/fixunstfti.c: Likewise.
15399         * soft-fp/floatdidf.c: Likewise.
15400         * soft-fp/floatdisf.c: Likewise.
15401         * soft-fp/floatditf.c: Likewise.
15402         * soft-fp/floatsidf.c: Likewise.
15403         * soft-fp/floatsisf.c: Likewise.
15404         * soft-fp/floatsitf.c: Likewise.
15405         * soft-fp/floattidf.c: Likewise.
15406         * soft-fp/floattisf.c: Likewise.
15407         * soft-fp/floattitf.c: Likewise.
15408         * soft-fp/floatundidf.c: Likewise.
15409         * soft-fp/floatundisf.c: Likewise.
15410         * soft-fp/floatunditf.c: Likewise.
15411         * soft-fp/floatunsidf.c: Likewise.
15412         * soft-fp/floatunsisf.c: Likewise.
15413         * soft-fp/floatunsitf.c: Likewise.
15414         * soft-fp/floatuntidf.c: Likewise.
15415         * soft-fp/floatuntisf.c: Likewise.
15416         * soft-fp/floatuntitf.c: Likewise.
15417         * soft-fp/fmadf4.c: Likewise.
15418         * soft-fp/fmasf4.c: Likewise.
15419         * soft-fp/fmatf4.c: Likewise.
15420         * soft-fp/gedf2.c: Likewise.
15421         * soft-fp/gesf2.c: Likewise.
15422         * soft-fp/getf2.c: Likewise.
15423         * soft-fp/ledf2.c: Likewise.
15424         * soft-fp/lesf2.c: Likewise.
15425         * soft-fp/letf2.c: Likewise.
15426         * soft-fp/muldf3.c: Likewise.
15427         * soft-fp/mulsf3.c: Likewise.
15428         * soft-fp/multf3.c: Likewise.
15429         * soft-fp/negdf2.c: Likewise.
15430         * soft-fp/negsf2.c: Likewise.
15431         * soft-fp/negtf2.c: Likewise.
15432         * soft-fp/op-1.h: Likewise.
15433         * soft-fp/op-2.h: Likewise.
15434         * soft-fp/op-4.h: Likewise.
15435         * soft-fp/op-8.h: Likewise.
15436         * soft-fp/op-common.h: Likewise.
15437         * soft-fp/quad.h: Likewise.
15438         * soft-fp/single.h: Likewise.
15439         * soft-fp/soft-fp.h: Likewise.
15440         * soft-fp/sqrtdf2.c: Likewise.
15441         * soft-fp/sqrtsf2.c: Likewise.
15442         * soft-fp/sqrttf2.c: Likewise.
15443         * soft-fp/subdf3.c: Likewise.
15444         * soft-fp/subsf3.c: Likewise.
15445         * soft-fp/subtf3.c: Likewise.
15446         * soft-fp/truncdfsf2.c: Likewise.
15447         * soft-fp/trunctfdf2.c: Likewise.
15448         * soft-fp/trunctfsf2.c: Likewise.
15449         * soft-fp/trunctfxf2.c: Likewise.
15450         * soft-fp/unorddf2.c: Likewise.
15451         * soft-fp/unordsf2.c: Likewise.
15452         * soft-fp/unordtf2.c: Likewise.
15453
15454 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15455
15456         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15457         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15458
15459 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15460
15461         * elf/dl-libc.c: Clear initfini list after freeing.
15462
15463 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15464
15465         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15466         * soft-fp/addsf3.c: Likewise.
15467         * soft-fp/addtf3.c: Likewise.
15468         * soft-fp/divdf3.c: Likewise.
15469         * soft-fp/divsf3.c: Likewise.
15470         * soft-fp/divtf3.c: Likewise.
15471         * soft-fp/double.h: Likewise.
15472         * soft-fp/eqdf2.c: Likewise.
15473         * soft-fp/eqsf2.c: Likewise.
15474         * soft-fp/eqtf2.c: Likewise.
15475         * soft-fp/extenddftf2.c: Likewise.
15476         * soft-fp/extended.h: Likewise.
15477         * soft-fp/extendsfdf2.c: Likewise.
15478         * soft-fp/extendsftf2.c: Likewise.
15479         * soft-fp/extendxftf2.c: Likewise.
15480         * soft-fp/fixdfdi.c: Likewise.
15481         * soft-fp/fixdfsi.c: Likewise.
15482         * soft-fp/fixdfti.c: Likewise.
15483         * soft-fp/fixsfdi.c: Likewise.
15484         * soft-fp/fixsfsi.c: Likewise.
15485         * soft-fp/fixsfti.c: Likewise.
15486         * soft-fp/fixtfdi.c: Likewise.
15487         * soft-fp/fixtfsi.c: Likewise.
15488         * soft-fp/fixtfti.c: Likewise.
15489         * soft-fp/fixunsdfdi.c: Likewise.
15490         * soft-fp/fixunsdfsi.c: Likewise.
15491         * soft-fp/fixunsdfti.c: Likewise.
15492         * soft-fp/fixunssfdi.c: Likewise.
15493         * soft-fp/fixunssfsi.c: Likewise.
15494         * soft-fp/fixunssfti.c: Likewise.
15495         * soft-fp/fixunstfdi.c: Likewise.
15496         * soft-fp/fixunstfsi.c: Likewise.
15497         * soft-fp/fixunstfti.c: Likewise.
15498         * soft-fp/floatdidf.c: Likewise.
15499         * soft-fp/floatdisf.c: Likewise.
15500         * soft-fp/floatditf.c: Likewise.
15501         * soft-fp/floatsidf.c: Likewise.
15502         * soft-fp/floatsisf.c: Likewise.
15503         * soft-fp/floatsitf.c: Likewise.
15504         * soft-fp/floattidf.c: Likewise.
15505         * soft-fp/floattisf.c: Likewise.
15506         * soft-fp/floattitf.c: Likewise.
15507         * soft-fp/floatundidf.c: Likewise.
15508         * soft-fp/floatundisf.c: Likewise.
15509         * soft-fp/floatunsidf.c: Likewise.
15510         * soft-fp/floatunsisf.c: Likewise.
15511         * soft-fp/floatuntidf.c: Likewise.
15512         * soft-fp/floatuntisf.c: Likewise.
15513         * soft-fp/floatuntitf.c: Likewise.
15514         * soft-fp/fmadf4.c: Likewise.
15515         * soft-fp/fmasf4.c: Likewise.
15516         * soft-fp/fmatf4.c: Likewise.
15517         * soft-fp/gedf2.c: Likewise.
15518         * soft-fp/gesf2.c: Likewise.
15519         * soft-fp/getf2.c: Likewise.
15520         * soft-fp/ledf2.c: Likewise.
15521         * soft-fp/lesf2.c: Likewise.
15522         * soft-fp/letf2.c: Likewise.
15523         * soft-fp/muldf3.c: Likewise.
15524         * soft-fp/mulsf3.c: Likewise.
15525         * soft-fp/multf3.c: Likewise.
15526         * soft-fp/negdf2.c: Likewise.
15527         * soft-fp/negsf2.c: Likewise.
15528         * soft-fp/negtf2.c: Likewise.
15529         * soft-fp/op-1.h: Likewise.
15530         * soft-fp/op-2.h: Likewise.
15531         * soft-fp/op-4.h: Likewise.
15532         * soft-fp/op-8.h: Likewise.
15533         * soft-fp/op-common.h: Likewise.
15534         * soft-fp/quad.h: Likewise.
15535         * soft-fp/single.h: Likewise.
15536         * soft-fp/soft-fp.h: Likewise.
15537         * soft-fp/sqrtdf2.c: Likewise.
15538         * soft-fp/sqrtsf2.c: Likewise.
15539         * soft-fp/sqrttf2.c: Likewise.
15540         * soft-fp/subdf3.c: Likewise.
15541         * soft-fp/subsf3.c: Likewise.
15542         * soft-fp/subtf3.c: Likewise.
15543         * soft-fp/truncdfsf2.c: Likewise.
15544         * soft-fp/trunctfdf2.c: Likewise.
15545         * soft-fp/trunctfsf2.c: Likewise.
15546         * soft-fp/trunctfxf2.c: Likewise.
15547         * soft-fp/unorddf2.c: Likewise.
15548         * soft-fp/unordsf2.c: Likewise.
15549         * soft-fp/unordtf2.c: Likewise.
15550
15551 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15552
15553         [BZ #15672]
15554         * misc/error.c (error_tail): Fix possible buffer overflow.
15555
15556 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15557
15558         [BZ #13028]
15559         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15560         address.
15561
15562 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15563
15564         [BZ #832]
15565         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15566         testing pipefail option.
15567
15568 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15569
15570         * soft-fp/double.h: Indent preprocessor directives inside #if.
15571         * soft-fp/extended.h: Likewise.
15572         * soft-fp/op-2.h: Likewise.
15573         * soft-fp/op-4.h: Likewise.
15574         * soft-fp/op-common.h: Likewise.
15575         * soft-fp/quad.h: Likewise.
15576         * soft-fp/single.h: Likewise.
15577         * soft-fp/soft-fp.h: Likewise.
15578
15579 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15580
15581         * iconv/iconv_prog.c: Fix typos.
15582         * stdio-common/psiginfo-data.h: Likewise.
15583
15584 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15585
15586         [BZ #15764]
15587         * locale/setlocale.c: Fix typo.
15588
15589 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15590
15591         [BZ #16036]
15592         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15593         signaling NaN arguments.
15594         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15595         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15596
15597         [BZ #14910]
15598         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15599         unordered operands.
15600         * soft-fp/gesf2.c (__gesf2): Likewise.
15601         * soft-fp/getf2.c (__getf2): Likewise.
15602         * soft-fp/ledf2.c (__ledf2): Likewise.
15603         * soft-fp/lesf2.c (__lesf2): Likewise.
15604         * soft-fp/letf2.c (__letf2): Likewise.
15605
15606         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15607         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15608         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15609         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15610         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15611         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15612         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15613         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15614         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15615         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15616         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15617         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15618         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15619         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15620         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15621         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15622         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15623         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15624         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15625         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15626         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15627         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15628         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15629         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15630         * soft-fp/floattidf.c (__floattidf): Likewise.
15631         * soft-fp/floattisf.c (__floattisf): Likewise.
15632         * soft-fp/floattitf.c (__floattitf): Likewise.
15633         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15634         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15635         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15636         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15637         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15638         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15639         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15640         * soft-fp/gesf2.c (__gesf2): Likewise.
15641         * soft-fp/getf2.c (__getf2): Likewise.
15642         * soft-fp/ledf2.c (__ledf2): Likewise.
15643         * soft-fp/lesf2.c (__lesf2): Likewise.
15644         * soft-fp/letf2.c (__letf2): Likewise.
15645
15646         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15647         Undefine and redefine.
15648         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15649         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15650         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15651         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15652         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15653         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15654         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15655         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15656         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15657         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15658         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15659         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15660         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15661         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15662         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15663
15664         [BZ #16032]
15665         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15666         without decrementing exponent if mantissa >= that for the
15667         denominator, not >.
15668         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15669         denominator, not >.  Decrement exponent in < case instead of
15670         incrementing in >= case.
15671         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15672         without decrementing exponent if mantissa >= that for the
15673         denominator, not >.
15674
15675         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15676         computing saturated result for unsigned overflow.
15677
15678 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15679             Jeff Law  <law@redhat.com>
15680
15681         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15682         (atan2Mp): Add systemtap probe marker.
15683         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15684         (__ieee754_log): Add systemtap probe marker.
15685         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15686         (atanMp): Add systemtap probe marker.
15687         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15688         (tanMp): Add systemtap probe marker.
15689         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15690         (__slowexp): Add systemtap probe marker.
15691         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15692         (__slowpow): Add systemtap probe marker.
15693         * manual/probes.texi: Document probes.
15694
15695 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15696
15697         [BZ #15362]
15698         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15699         written.
15700         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15701         written.
15702         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15703         written to buffer but not flushed.
15704         * libio/iofwrite_u.c:  Likewise.
15705         * libio/iopadn.c:  Return bytes returned even if EOF was
15706         encountered.
15707         * libio/iowpadn.c:  Likewise.
15708         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15709         if _IO_padn does not write the whole buffer.
15710         [!COMPILE_WPRINTF] (PAD): Likewise.
15711
15712 2013-10-10  David S. Miller  <davem@davemloft.net>
15713
15714         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15715         directory block.
15716
15717 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15718
15719         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15720         instead of FSF address.
15721         * soft-fp/fixdfti.c: Likewise.
15722         * soft-fp/fixsfti.c: Likewise.
15723         * soft-fp/fixtfti.c: Likewise.
15724         * soft-fp/fixunsdfti.c: Likewise.
15725         * soft-fp/fixunssfti.c: Likewise.
15726         * soft-fp/fixunstfti.c: Likewise.
15727         * soft-fp/floattidf.c: Likewise.
15728         * soft-fp/floattisf.c: Likewise.
15729         * soft-fp/floattitf.c: Likewise.
15730         * soft-fp/floatuntidf.c: Likewise.
15731         * soft-fp/floatuntisf.c: Likewise.
15732         * soft-fp/floatuntitf.c: Likewise.
15733         * soft-fp/trunctfxf2.c: Likewise.
15734
15735         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15736         * soft-fp/fixdfti.c: Likewise.
15737         * soft-fp/fixsfti.c: Likewise.
15738         * soft-fp/fixtfti.c: Likewise.
15739         * soft-fp/fixunsdfti.c: Likewise.
15740         * soft-fp/fixunssfti.c: Likewise.
15741         * soft-fp/fixunstfti.c: Likewise.
15742         * soft-fp/floattidf.c: Likewise.
15743         * soft-fp/floattisf.c: Likewise.
15744         * soft-fp/floattitf.c: Likewise.
15745         * soft-fp/floatuntidf.c: Likewise.
15746         * soft-fp/floatuntisf.c: Likewise.
15747         * soft-fp/floatuntitf.c: Likewise.
15748         * soft-fp/trunctfxf2.c: Likewise.
15749
15750 2013-10-10  David S. Miller  <davem@davemloft.net>
15751
15752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15753
15754 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15755
15756         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15757         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15758         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15759         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15760         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15761         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15762         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15763
15764         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15765         for NaNs before doing comparisons on argument.
15766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15767         Likewise.
15768
15769 2013-10-10  Will Newton  <will.newton@linaro.org>
15770
15771         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15772         passed to _int_memalign does not overflow.
15773
15774 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15775
15776         * scripts/bench.pl: Add include-sources directive.
15777         * benchtests/README: Update documentation.
15778
15779 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15780
15781         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15782         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15783         instead of FP_INIT_ROUNDMODE.
15784         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15785         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15786
15787         [BZ #16034]
15788         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15789         copy class of input value.
15790         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15791         not handle exceptions.
15792         * soft-fp/negsf2.c (__negsf2): Likewise.
15793         * soft-fp/negtf2.c (__negtf2): Likewise.
15794         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15795
15796 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15797
15798         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15799         semicolon.  From Linux kernel.
15800
15801 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15802
15803         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15804
15805 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15806
15807         [BZ #156]
15808         * manual/socket.texi: Added statement about buffer
15809         for gethostbyname2_r.
15810
15811 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15812
15813         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15814         Use .p2align directive instead, throughout.
15815         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15816         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15817         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15818         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15819         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15820         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15821         * sysdeps/x86_64/strchr.S: Likewise.
15822         * sysdeps/x86_64/strrchr.S: Likewise.
15823
15824 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15825
15826         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15827
15828         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15829
15830         * sysdeps/generic/math_private.h (__mpsin1): Remove
15831         declaration.
15832         (__mpcos1): Likewise.
15833         (__mpsin): New argument __range_reduce.
15834         (__mpcos): Likewise.
15835         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15836         (slow): Use __mpsin and __mpcos.
15837         (slow1): Likewise.
15838         (slow2): Likewise.
15839         (sloww): Likewise.
15840         (sloww1): Likewise.
15841         (sloww2): Likewise.
15842         (bsloww): Likewise.
15843         (bsloww1): Likewise.
15844         (bsloww2): Likewise.
15845         (cslow2): Likewise.
15846         (csloww): Likewise.
15847         (csloww1): Likewise.
15848         (csloww2): Likewise.
15849         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15850         range_reduce.  Merge in __mpsin1.
15851         (__mpcos): Likewise.
15852         (__mpsin1): Remove.
15853         (__mpcos1): Likewise.
15854
15855 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15856
15857         * locale/loadlocale.c (_nl_intern_locale_data): Use
15858         LOCFILE_ALIGNED_P.
15859         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15860         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15861         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15862         obstack data is appropriately aligned.
15863         (obstack_int32_grow_fast): Likewise.
15864         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15865         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15866         (add_locale_uint32_array): Likewise.
15867
15868 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15869
15870         * benchtests/Makefile: Remove ARGLIST and RET variables.
15871         ($(objpfx)bench-%.c): Pass only function name to the script.
15872         * benchtests/README: Update documentation.
15873         * benchtests/acos-inputs: Add new directives.
15874         * benchtests/acosh-inputs: Likewise.
15875         * benchtests/asin-inputs: Likewise.
15876         * benchtests/asinh-inputs: Likewise.
15877         * benchtests/atan-inputs: Likewise.
15878         * benchtests/atanh-inputs: Likewise.
15879         * benchtests/cos-inputs: Likewise.
15880         * benchtests/cosh-inputs: Likewise.
15881         * benchtests/exp-inputs: Likewise.
15882         * benchtests/log-inputs: Likewise.
15883         * benchtests/pow-inputs: Likewise.
15884         * benchtests/rint-inputs: Likewise.
15885         * benchtests/sin-inputs: Likewise.
15886         * benchtests/sinh-inputs: Likewise.
15887         * benchtests/tan-inputs: Likewise.
15888         * benchtests/tanh-inputs: Likewise.
15889         * scripts/bench.pl: Add support for new directives.
15890
15891 2013-10-07  Alan Modra  <amodra@gmail.com>
15892
15893         * README: Fix careless merge.
15894
15895 2013-10-05  Alan Modra  <amodra@gmail.com>
15896
15897         * NEWS: Mention powerpc64le support and bugs fixed.
15898         * README: Both big-endian and little-endian powerpc64 supported.
15899
15900 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15901
15902         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15903         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15904         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15905         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15906
15907 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15908
15909         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15910         match prototype.
15911
15912 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15913
15914         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15915         Move -mhard-float appending from
15916         ports/sysdeps/powerpc/powerpc32/Makefile.
15917         [$(with-fp) = yes] (ASFLAGS): Likewise.
15918         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15919         * sysdeps/powerpc/nofpu: Move directory from
15920         ports/sysdeps/powerpc/nofpu.
15921         * sysdeps/powerpc/soft-fp: Move directory from
15922         ports/sysdeps/powerpc/soft-fp.
15923         * sysdeps/powerpc/powerpc32/405: Move directory from
15924         ports/sysdeps/powerpc/powerpc32/405.
15925         * sysdeps/powerpc/powerpc32/440: Move directory from
15926         ports/sysdeps/powerpc/powerpc32/440.
15927         * sysdeps/powerpc/powerpc32/464: Move directory from
15928         ports/sysdeps/powerpc/powerpc32/464.
15929         * sysdeps/powerpc/powerpc32/476: Move directory from
15930         ports/sysdeps/powerpc/powerpc32/476.
15931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15932         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15934         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15936         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15938         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15940         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15941         * README: Update for powerpc-*-linux-gnu software floating point
15942         support in libc.
15943
15944         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15945         case to powerpc/powerpc32*.
15946         * sysdeps/unix/sysv/linux/configure: Regenerated.
15947
15948         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15949         (_FPU_MASK_OM): Define as 0x04.
15950         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15951         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15952         0x00c10080.
15953         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15954         0x0000003c.
15955         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15956
15957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15958         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15959         getcontext_e500.
15960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15961         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15962         setcontext_e500.
15963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15964         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15965         and setcontext_e500.
15966
15967 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15968
15969         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15970
15971 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15972
15973         * manual/threads.texi (Default Thread Attributes): Fix typo.
15974
15975 2013-10-04  Will Newton  <will.newton@linaro.org>
15976
15977         * malloc/Makefile: Add tst-memalign.
15978         * malloc/tst-memalign.c: New file.
15979
15980         * malloc/tst-posix_memalign.c: Add comments.
15981         (do_test): Add comments and call free on all potentially
15982         allocated pointers. Add space after cast.
15983
15984         * malloc/tst-pvalloc.c: Add comments.
15985         (do_test): Add comments and call free on all potentially
15986         allocated pointers. Remove duplicate check for NULL pointer.
15987         Add space after cast.
15988
15989         * malloc/tst-valloc.c: Add comments.
15990         (do_test): Add comments and call free on all potentially
15991         allocated pointers. Remove duplicate check for NULL pointer.
15992         Add space after cast.
15993
15994 2013-10-04  Alan Modra  <amodra@gmail.com>
15995
15996         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15997         Use stdint types in rather than __attribute__((mode())).
15998         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15999
16000 2013-10-04  Alan Modra  <amodra@gmail.com>
16001
16002         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16003         Correct handling of unaligned relocs for little-endian.
16004         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16005
16006 2013-10-04  Alan Modra  <amodra@gmail.com>
16007
16008         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16009         * configure: Regenerate.
16010         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16011         * shlib-versions: Likewise.
16012
16013 2013-10-04  Alan Modra  <amodra@gmail.com>
16014
16015         * string/tester.c (test_memrchr): Increment reported test cycle.
16016
16017 2013-10-04  Alan Modra  <amodra@gmail.com>
16018
16019         * string/test-memcpy.c (do_one_test): When reporting errors, print
16020         string address and don't overrun end of string.
16021
16022 2013-10-04  Alan Modra  <amodra@gmail.com>
16023
16024         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16025         insrdi.  Make better use of reg selection to speed exit slightly.
16026         Schedule entry path a little better.  Remove useless "are we done"
16027         checks on entry to main loop.  Handle wrapping around zero address.
16028         Correct main loop count.  Handle single left-over word from main
16029         loop inline rather than by using loop_small.  Remove extra word
16030         case in loop_small caused by wrong loop count.  Add little-endian
16031         support.
16032         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16033         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16034         cache hint.
16035         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16036         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16037         support.  Avoid rlwimi.
16038         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16039
16040 2013-10-04  Alan Modra  <amodra@gmail.com>
16041
16042         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16043         insrdi.  Formatting.
16044         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16045         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16046         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16047         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16048         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16049         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16050
16051 2013-10-04  Alan Modra  <amodra@gmail.com>
16052
16053         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16054         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16055         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16056         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16057         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16058         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16059         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16060         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16061         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16062         use of regs.  Use power7 mtocrf.  Tidy function tails.
16063
16064 2013-10-04  Alan Modra  <amodra@gmail.com>
16065
16066         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16067         Formatting.  Consistently use rXXX register defines or rN defines.
16068         Use early exit labels that avoid restoring unused non-volatile regs.
16069         Make cr field use more consistent with rWORDn compares.  Rename
16070         regs used as shift registers for unaligned loop, using rN defines
16071         for short lifetime/multiple use regs.
16072         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16073         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16074         addi 1,1,64 to pop stack frame.  Simplify return value code.
16075         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16076
16077 2013-10-04  Alan Modra  <amodra@gmail.com>
16078
16079         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16080         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16081         rather than rlwimi.
16082         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16083         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16084         little-endian support.  Correct typos.
16085         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16086         rather than rlwimi.
16087         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16088         in loop and entry code to keep "and." results.
16089         (strchr): Add little-endian support.  Comment.  Move cntlzd
16090         earlier in tail.
16091         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16092
16093 2013-10-04  Alan Modra  <amodra@gmail.com>
16094
16095         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16096         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16097         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16098         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16099
16100 2013-10-04  Alan Modra  <amodra@gmail.com>
16101
16102         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16103         (rTMP): Define as r11.
16104         (strcmp): Add little-endian support.  Optimise tail.
16105         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16106         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16107         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16108         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16109         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16110         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16111         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16112
16113 2013-10-04  Alan Modra  <amodra@gmail.com>
16114
16115         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16116         little-endian support.  Remove unnecessary "are we done" tests.
16117         Handle "s" wrapping around zero and extremely large "size".
16118         Correct main loop count.  Handle single left-over word from main
16119         loop inline rather than by using small_loop.  Correct comments.
16120         Delete "zero" tail, use "end_max" instead.
16121         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16122
16123 2013-10-04  Alan Modra  <amodra@gmail.com>
16124
16125         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16126         support.  Don't branch over align.
16127         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16128         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16129         support.  Rearrange tmp reg use to suit.  Comment.
16130         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16131
16132 2013-10-04  Alan Modra  <amodra@gmail.com>
16133
16134         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16135
16136 2013-10-04  Alan Modra  <amodra@gmail.com>
16137
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16139         conditional form of branch and link when obtaining pc.
16140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16141
16142 2013-10-04  Alan Modra  <amodra@gmail.com>
16143
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16145         HIWORD/LOWORD.
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16148
16149 2013-10-04  Alan Modra  <amodra@gmail.com>
16150
16151         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16152         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16153         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16154         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16155         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16156         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16157         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16158         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16159         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16160         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16161
16162 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16163             Alistair Popple <alistair@ozlabs.au.ibm.com>
16164             Alan Modra <amodra@gmail.com>
16165
16166         [BZ #15723]
16167         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16168         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16169         _dl_hwcap access for little-endian.
16170         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16171         destroy vmx regs when saving unaligned.
16172         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16173         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16174         destroy vmx regs when saving unaligned.
16175
16176 2013-10-04  Alan Modra  <amodra@gmail.com>
16177
16178         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16179         Don't use a union to pack hi/low value.
16180
16181 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16182
16183         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16184         for little-endian.
16185         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16186         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16187         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16188         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16189         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16190
16191 2013-10-04  Alan Modra  <amodra@gmail.com>
16192
16193         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16194         constants to usual value for .cst8 section, and remove redundant
16195         high address load.
16196         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16197         constant for 0x1p52.  Load little-endian words of double from
16198         correct stack offsets.
16199
16200 2013-10-04  Alan Modra  <amodra@gmail.com>
16201
16202         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16203         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16204         words of double from correct stack offsets.
16205         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16206         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16207         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16208         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16209         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16210         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16211         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16212         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16213         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16214         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16215         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16216         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16217         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16218         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16219         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16220         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16221         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16222
16223 2013-10-04  Alan Modra  <amodra@gmail.com>
16224
16225         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16226         64-bit int/double union.
16227         (_FPU_SETCW): Likewise.
16228         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16229         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16230
16231 2013-10-04  Alan Modra  <amodra@gmail.com>
16232
16233         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16234         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16235
16236 2013-10-04  Alan Modra  <amodra@gmail.com>
16237
16238         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16239         use vector int constants.
16240         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16241
16242 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16243
16244         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16245         array with long long.
16246         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16247         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16248         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16249         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16250         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16251         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16252         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16253         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16254         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16255         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16256         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16257         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16258         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16259
16260 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16261
16262         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16263         (__signbit): Likewise.  Correct for little-endian.
16264         (__signbitl): Call __signbit.
16265         (lrint): Correct for little-endian.
16266         (lrintf): Call lrint.
16267
16268 2013-10-04  Alan Modra  <amodra@gmail.com>
16269
16270         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16271         union 32-bit int array member with 64-bit int array.
16272         (t515, tm256): Double rather than long double.
16273         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16274
16275 2013-10-04  Alan Modra  <amodra@gmail.com>
16276
16277         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16278         Delete.
16279         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16280         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16281         version of math_ldbl.h.
16282
16283 2013-10-04  Alan Modra  <amodra@gmail.com>
16284
16285         [BZ #15734], [BZ #15735]
16286         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16287         all uses of ieee875 long double macros and unions.  Simplify test
16288         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16289         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16290         normalize after ldbl_extract_mantissa, and don't add hidden bit
16291         already handled.  Don't treat low word of ieee854 mantissa like
16292         low word of IBM long double and mask off bit when testing for
16293         zero.
16294         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16295         all uses of ieee875 long double macros and unions.  Simplify tests
16296         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16297         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16298         two1022, instead use their values.  Recognise that tests for large
16299         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16300         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16301         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16302         test for 0.0L and nan.  Correct negation.
16303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16304         ieee875 long double macros and unions.  Correct output for large
16305         magnitude x.  Correct absolute value calculation.
16306         (__erfcl): Likewise.
16307         * math/libm-test.inc: Add tests for errors discovered in IBM long
16308         double versions of fmodl, remainderl, erfl and erfcl.
16309
16310 2013-10-04  Alan Modra  <amodra@gmail.com>
16311
16312         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16313         all uses of ieee854 long double macros and unions.  Simplify tests
16314         for long doubles that are fully specified by the high double.
16315         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16316         Likewise.
16317         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16318         Remove dead code too.
16319         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16320         (__ieee754_ynl): Likewise.
16321         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16322         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16323         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16324         Remove dead code too.
16325         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16326         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16327         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16328         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16329         Simplify.
16330         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16331         Simplify.
16332         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16333         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16334         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16335         Comment on variable precision.
16336         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16337         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16338         Likewise.
16339         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16341         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16342         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16343         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16344
16345 2013-10-04  Alan Modra  <amodra@gmail.com>
16346
16347         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16348         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16349         all uses of ieee854 long double macros and unions.
16350         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16351         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16352         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16353         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16354         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16355         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16356         Likewise.
16357         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16358         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16359         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16360         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16361         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16362         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16363         Simplify sign and nan test too.
16364         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16365         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16366         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16367         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16368         Likewise.
16369         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16370         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16371         Likewise.
16372         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16373         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16374         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16375         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16376         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16378
16379 2013-10-04  Alan Modra  <amodra@gmail.com>
16380
16381         * stdio-common/printf_size.c (__printf_size): Don't use
16382         union ieee854_long_double in fpnum union.
16383         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16384         signbit macro to retrieve sign from long double.
16385         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16386         retrieve sign from long double.
16387         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16388         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16389         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16390         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16391         * math/test-misc.c (main): Don't use union ieee854_long_double.
16392
16393 2013-10-04  Alan Modra  <amodra@gmail.com>
16394
16395         [BZ #15680]
16396         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16397         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16398         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16399         calculation.  Remove unnecessary test for denormal exponent.
16400         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16401         Correct handling of denormals.  Avoid undefined shift behaviour.
16402         Correct normalisation of low mantissa when low double is denormal.
16403         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16404         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16405         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16406         Correct normalisation of low mantissa.  Test for overflow of high
16407         mantissa and normalise.
16408         (ldbl_nearbyint): Use more readable constant for two52.
16409         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16410         (__mpn_construct_long_double): Fix test for overflow of high
16411         mantissa and correct normalisation.  Avoid undefined shift.
16412
16413 2013-10-04  Alan Modra  <amodra@gmail.com>
16414
16415         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16416         (union ibm_extended_long_double): Define as an array of ieee754_double.
16417         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16418         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16419         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16420         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16422         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16423         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16424         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16425         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16426         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16427         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16428
16429 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16430
16431         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16432         page size instead of calling getpagesize.
16433
16434         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16435         (LOCFILE_ALIGN_MASK): Likewise.
16436         (LOCFILE_ALIGN_UP): Likewise.
16437         (LOCFILE_ALIGNED_P): Likewise.
16438         * locale/programs/ld-collate.c (collate_output): Use the new
16439         macros instead of __alignof__ (int32_t).
16440         * locale/weight.h (findidx): Likewise.
16441
16442 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16443
16444         [BZ #431]
16445         * manual/string.texi: Fix strncat and wcsncat.
16446
16447 2013-10-03  Brooks Moses  <bmoses@google.com>
16448
16449         [BZ #15915]
16450         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16451         * Makerules: ...here, and adjust associated comments.
16452
16453 2013-10-02  Will Newton  <will.newton@linaro.org>
16454
16455         * malloc/Makefile: Add tst-pvalloc.
16456         * malloc/tst-pvalloc.c: New file.
16457
16458 2013-10-02  Will Newton  <will.newton@linaro.org>
16459
16460         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16461         improve test coverage.
16462
16463 2013-10-02  Will Newton  <will.newton@linaro.org>
16464
16465         * malloc/Makefile: Add tst-posix_memalign.
16466         * malloc/tst-posix_memalign.c: New file.
16467
16468 2013-10-01  Eric Blake  <eblake@redhat.com>
16469
16470         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16471         Use __THROWNL rather than __THROW on static functions.
16472
16473 2013-09-30  Petr Machata  <pmachata@redhat.com>
16474
16475         * elf/elf.h (R_AARCH64_ABS16): New macro.
16476         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16477         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16478         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16479         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16480         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16481         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16482         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16483         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16484         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16485         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16486         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16487         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16488         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16489         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16490         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16491         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16492         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16493         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16494         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16495         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16496         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16497         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16498         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16499         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16500         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16501         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16502         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16503         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16504         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16505         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16506         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16507         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16508         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16509         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16510         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16511         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16512         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16513         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16514         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16515         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16516         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16517         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16518         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16519         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16520         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16521         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16522         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16523         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16524         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16525         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16526         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16527         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16528         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16529         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16530         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16531         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16532         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16533         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16534         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16535         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16536         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16537         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16538         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16539         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16540         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16541         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16542         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16543         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16544         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16545         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16546         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16547         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16548         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16549         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16550         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16551         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16552         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16553         (R_AARCH64_TLSDESC_LDR): Likewise.
16554         (R_AARCH64_TLSDESC_ADD): Likewise.
16555         (R_AARCH64_TLSDESC_CALL): Likewise.
16556
16557 2013-09-30  Andreas Schwab  <schwab@suse.de>
16558
16559         [BZ #15048]
16560         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16561         the nss database lookup.
16562         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16564
16565 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16566
16567         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16568
16569 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16570
16571         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16572         ${Bash-specific parameter/pattern/string} parameter expansion.
16573         * sysdeps/unix/make-syscalls.sh: Likewise.
16574
16575 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16576
16577         * sysdeps/sh/stackguard-macros.h: New file.
16578
16579 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16580
16581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16582         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16583         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16584         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16585         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16586         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16587
16588 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16589
16590         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16591         Fix thread ID register.
16592
16593 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16594
16595         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16596         [POSIX || UNIX98]: Require rather than permitting all symbols from
16597         <time.h>.
16598         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16599         element of struct sched_param.
16600         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16601         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16602         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16603         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16604         constant.
16605
16606 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16607
16608         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16609         argument calculation.
16610
16611 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16612
16613         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16614         Expect macro.
16615         [POSIX] (pthread_attr_t): Do not require type.
16616         [POSIX] (pthread_cond_t): Likewise.
16617         [POSIX] (pthread_condattr_t): Likewise.
16618         [POSIX] (pthread_key_t): Likewise.
16619         [POSIX] (pthread_mutex_t): Likewise.
16620         [POSIX] (pthread_mutexattr_t): Likewise.
16621         [POSIX] (pthread_once_t): Likewise.
16622         [POSIX] (pthread_t): Likewise.
16623         [POSIX-based standards] (pthread_atfork): Expect function.
16624
16625 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16626             Richard Sandiford  <richard@codesourcery.com>
16627
16628         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16629         (swap_endianness_p): New extern variable.
16630         (set_big_endian): New inline function.
16631         (maybe_swap_uint32): Likewise.
16632         (maybe_swap_uint32_array): Likewise.
16633         (maybe_swap_uint32_obstack): Likewise.
16634         * locale/programs/locfile.c: Include <stdbool.h>.
16635         (swap_endianness_p): New variable.
16636         (add_locale_uint32): Call maybe_swap_uint32.
16637         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16638         (write_locale_data): Call maybe_swap_uint32_array.
16639         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16640         maybe_swap_uint32.
16641         (obstack_int32_grow_fast): Likewise.
16642         (output_weightwc): Call maybe_swap_uint32_obstack.
16643         (collate_output): Likewise.
16644         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16645         (OPT_LITTLE_ENDIAN): Likewise.
16646         (options): Add --little-endian and --big-endian options.
16647         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16648         * locale/programs/locarchive.c: Include "locfile.h".
16649         (GET): New macro.
16650         (SET): Likewise.
16651         (INC): Likewise.
16652         (create_archive): Use the new macros to access fields of
16653         structures directly mapped from or written to locale archives.
16654         (oldlocrecentcmp): Likewise.
16655         (enlarge_archive): Likewise.
16656         (insert_name): Likewise.
16657         (add_alias): Likewise.
16658         (add_locale): Likewise.
16659         (delete_locales_from_archive): Likewise.
16660         (show_archive_content): Likewise.
16661         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16662         locale data.
16663
16664 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16665
16666         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16667         http://www.gnu.org/doc/freemanuals.texi.
16668         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16669
16670 2013-09-24  Will Newton  <will.newton@linaro.org>
16671
16672         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16673         macro.
16674
16675 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16676
16677         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16678         unsigned char.
16679
16680 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16681
16682         * manual/threads.texi (POSIX Threads): Fix a typo.
16683
16684 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16685
16686         [BZ #14547]
16687         * string/tst-strcoll-overflow.c: New test case.
16688         * string/Makefile (xtests): Add tst-strcoll-overflow.
16689         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16690         cache if string sizes may cause integer overflow.
16691
16692         [BZ #14547]
16693         * string/strcoll_l.c (coll_seq): New members rule, idx,
16694         save_idx and back_us.
16695         (get_next_seq_nocache): New function.
16696         (do_compare_nocache): New function.
16697         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16698         when malloc fails.
16699
16700 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16701
16702         [BZ #15754]
16703         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16704         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16705         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16706
16707         [BZ #15754]
16708         * elf/Makefile (tests): Add tst-ptrguard1.
16709         (tests-static): Add tst-ptrguard1-static.
16710         (tst-ptrguard1-ARGS): Define.
16711         (tst-ptrguard1-static-ARGS): Define.
16712         * elf/tst-ptrguard1.c: New file.
16713         * elf/tst-ptrguard1-static.c: New file.
16714         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16715         * sysdeps/i386/stackguard-macros.h: Likewise.
16716         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16717         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16718         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16719         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16720         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16721         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16722
16723 2013-09-23  Hector Marco  <hecmargi@upv.es>
16724             Ismael Ripoll  <iripoll@disca.upv.es>
16725             Carlos O'Donell  <carlos@redhat.com>
16726
16727         [BZ #15754]
16728         * sysdeps/generic/stackguard-macros.h: Define
16729         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16730         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16731         Define __pointer_chk_guard_local.
16732         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16733         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16734
16735 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16736
16737         [BZ #15859]
16738         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16739
16740 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16741
16742         * include/string.h (__ffs): Declare as hidden.
16743         * string/ffs.c (__ffs): Define as hidden.
16744         * sysdeps/i386/ffs.c (__ffs): Likewise.
16745         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16746         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16747         * sysdeps/s390/ffs.c (__ffs): Likewise.
16748         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16749
16750 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16751
16752         * NEWS: Mention malloc probes.
16753
16754         * malloc/arena.c (new_heap): New memory_heap_new probe.
16755         (grow_heap): New memory_heap_more probe.
16756         (shrink_heap): New memory_heap_less probe.
16757         (heap_trim): New memory_heap_free probe.
16758         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16759         (systrim): New memory_sbrk_less probe.
16760         * manual/probes.texi: Document them.
16761
16762         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16763         * manual/probes.texi: Document it.
16764
16765         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16766         (__libc_realloc): Add memory_realloc_retry probe.
16767         (__libc_memalign): Add memory_memalign_retry probe.
16768         (__libc_valloc): Add memory_valloc_retry probe.
16769         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16770         (__libc_calloc): Add memory_calloc_retry probe.
16771         * manual/probes.texi: Document them.
16772
16773         * malloc/arena.c (get_free_list): Add probe
16774         memory_arena_reuse_free_list.
16775         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16776         and memory_arena_reuse.
16777         (arena_get2) [!PER_THREAD]: Likewise.
16778         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16779         memory_arena_reuse_realloc.
16780         * manual/probes.texi: Document them.
16781
16782         * malloc/malloc.c (__libc_free): Add
16783         memory_mallopt_free_dyn_thresholds probe.
16784         (__libc_mallopt): Add multiple memory_mallopt probes.
16785         * manual/probes.texi: Document them.
16786
16787         * malloc/malloc.c: Include stap-probe.h.
16788         (__libc_mallopt): Add memory_mallopt probe.
16789         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16790         * manual/probes.texi: New.
16791         * manual/Makefile (chapters): Add probes.
16792         * manual/threads.texi: Set next node.
16793
16794 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16795
16796         [BZ #15963, #13985]
16797         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16798         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16799         Add `Chinese' to `nan' entry name.
16800
16801 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16802
16803         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16804         (POLYNOMIAL): Likewise.
16805         (TAYLOR_SINCOS): Likewise.
16806         (TAYLOR_SLOW): Likewise.
16807         (__sin): Use TAYLOR_SINCOS.
16808         (__cos): Likewise.
16809         (slow): Use TAYLOR_SLOW.
16810         (sloww): Likewise.
16811         (bsloww): Likewise.
16812         (csloww): Likewise.
16813
16814 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16815
16816         * stdlib/strtod_l.c: Fix buffer overrun.
16817
16818 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16819
16820         * benchtests/Makefile (bench): Add sincos.
16821         * benchtests/bench-sincos.c: New file.
16822
16823         * math/libm-test.inc (cos_test_data): New test inputs.
16824         (sin_test_data): Likewise.
16825
16826         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16827         macro.
16828         (__sin): Use it.
16829         (__cos): Likewise.
16830         (slow1): Likewise.
16831         (slow2): Likewise.
16832         (sloww1): Likewise.
16833         (sloww2): Likewise.
16834         (bsloww1): Likewise.
16835         (bsloww2): Likewise.
16836         (cslow2): Likewise.
16837         (csloww1): Likewise.
16838         (csloww2): Likewise.
16839
16840         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16841         function.
16842         (__sin): Use it.
16843         (__cos): Likewise.
16844
16845         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16846         gotos.
16847         (__cos): Likewise.
16848
16849 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16850
16851         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16852         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16853         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16854         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16855         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16856         * elf/cache.c (print_entry): Handle the new cache flags.
16857
16858 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16859             Aldy Hernandez  <aldyh@redhat.com>
16860
16861         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16862         Change condition to [_SOFT_FLOAT].
16863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16871         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16872         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16875         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16878         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16879         declaration.
16880
16881 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16882
16883         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16884         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16885         (__longjmp): Use LOAD_GP to load saved GPRs.
16886         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16887         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16888         (__sigsetjmp): Use SAVE_GP to save GPRs.
16889
16890         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16891         Do not append -msoft-float.
16892         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16893
16894 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16895
16896         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16897
16898 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16899
16900         [BZ #15966]
16901         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16902         (_FPU_GETCW): Use initial "__" on variable and field names but not
16903         on macro parameter name.
16904         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16905         parentheses around reference to macro parameter.
16906
16907 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16908
16909         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16910         prototype.
16911         (ctype_startup): Use uint32_t in cast and sizeof for
16912         ctype->charnames.
16913
16914 2013-09-11  Jia Liu  <proljc@gmail.com>
16915
16916         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16917         __daddr_t_defined.
16918         [__FreeBSD__]: Likewise.
16919
16920 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16921
16922         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16923         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16924         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16925         (strchr): Remove __strchr_sse42 ifunc selection.
16926         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16927         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16928
16929 2013-09-11  Will Newton  <will.newton@linaro.org>
16930
16931         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16932         parameter to RES. Remove hardcoded 1000 value.
16933         * benchtests/bench-skeleton.c (main): Pass RES parameter
16934         to TIMING_INIT and multiply result by 1000.
16935
16936 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16937
16938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16939
16940 2013-09-11  Andreas Schwab  <schwab@suse.de>
16941
16942         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16943         if not defined.
16944         (O_TMPFILE) [__USE_GNU]: Define.
16945         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16946         Define.
16947
16948 2013-09-11  Will Newton  <will.newton@linaro.org>
16949
16950         [BZ #15857]
16951         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16952         does not overflow.
16953
16954 2013-09-11  Will Newton  <will.newton@linaro.org>
16955
16956         [BZ #15856]
16957         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16958         does not overflow.
16959
16960 2013-09-11  Will Newton  <will.newton@linaro.org>
16961
16962         [BZ #15855]
16963         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16964         does not overflow.
16965
16966 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16967
16968         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16969         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16970         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16971         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16972         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16973
16974 2013-09-10  Allan McRae  <allan@archlinux.org>
16975
16976         [BZ #15748]
16977         * manual/arith.texi (Parsing of Floats): Clarify
16978         cross-reference.
16979
16980         [BZ #15849]
16981         * manual/install.texi (Running make install): Mention
16982         --enable-pt-chown.
16983         * INSTALL: Regenerated.
16984
16985 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16986
16987         * csu/init-first.c (_init): Remove the !SHARED condition around
16988         FPU control word initialization.
16989         * elf/dl-support.c (_dl_fpu_control): New variable.
16990         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16991         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16992         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16993         * math/test-fpucw-static.c: New file.
16994         * math/test-fpucw-ieee.c: New file.
16995         * math/test-fpucw-ieee-static.c: New file.
16996         * math/Makefile (tests): Add `test-fpucw-ieee' and
16997         `$(tests-static)'.
16998         (tests-static): New variable.
16999         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17000         dependency to...
17001         [($(build-shared),yes)]
17002         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17003         ... this.
17004         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17005         New dependency.
17006
17007 2013-09-09  Allan McRae  <allan@archlinux.org>
17008
17009         [BZ #15939]
17010         * manual/string.texi (Collation Functions): Fix typo in
17011         strcoll example.
17012         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17013
17014         [BZ #15893]
17015         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17016
17017         [BZ #15892]
17018         * libio/memstream.c (open_memstream): Fix memory leak.
17019         * libio/wmemstream.c (open_wmemstream): Likewise.
17020
17021         [BZ #15895]
17022         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17023
17024 2013-09-09  Will Newton  <will.newton@linaro.org>
17025
17026         * malloc/Makefile: Add tst-realloc to tests.
17027         * malloc/tst-realloc.c: New file.
17028
17029 2013-09-09  Allan McRae  <allan@archlinux.org>
17030
17031         [BZ #15844]
17032         * COPYING: Update from GNU website to fix FSF address.
17033         * COPYING.LIB: Likewise.
17034
17035 2013-09-06  David S. Miller  <davem@davemloft.net>
17036
17037         * po/zh_TW.po: Update Chinese (traditional) translation from
17038         translation project.
17039
17040 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17041             Joseph Myers  <joseph@codesourcery.com>
17042
17043         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17044         "localeinfo.h".
17045         (obstack_chunk_alloc): New macro.
17046         (obstack_chunk_free): Likewise.
17047         (record_offset): New function.
17048         (init_locale_data): Likewise.
17049         (align_locale_data): Likewise.
17050         (add_locale_empty): Likewise.
17051         (add_locale_raw_data): Likewise.
17052         (add_locale_raw_obstack): Likewise.
17053         (add_locale_string): Likewise.
17054         (add_locale_wstring): Likewise.
17055         (add_locale_uint32): Likewise.
17056         (add_locale_uint32_array): Likewise.
17057         (add_locale_char): Likewise.
17058         (start_locale_structure): Likewise.
17059         (end_locale_structure): Likewise.
17060         (start_locale_prelude): Likewise.
17061         (end_locale_prelude): Likewise.
17062         (write_locale_data): Take locale_file structure rather than an
17063         iovec.
17064         * locale/programs/locfile.h: Include "obstack.h".
17065         (struct locale_file): Change to store locale file contents instead
17066         of header.
17067         (init_locale_data): New prototype.
17068         (align_locale_data): Likewise.
17069         (add_locale_empty): Likewise.
17070         (add_locale_raw_data): Likewise.
17071         (add_locale_raw_obstack): Likewise.
17072         (add_locale_string): Likewise.
17073         (add_locale_wstring): Likewise.
17074         (add_locale_uint32): Likewise.
17075         (add_locale_uint32_array): Likewise.
17076         (add_locale_char): Likewise.
17077         (start_locale_structure): Likewise.
17078         (end_locale_structure): Likewise.
17079         (start_locale_prelude): Likewise.
17080         (end_locale_prelude): Likewise.
17081         (write_locale_data): Update prototype.
17082         * locale/programs/3level.h (struct TABLE): Remove result field.
17083         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17084         Use new locale_file interface.
17085         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17086         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17087         * locale/programs/ld-address.c (address_output): Use new
17088         locale_file interface.
17089         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17090         NO_ADD_LOCALE.
17091         (collate_finish): Don't call collseq_table_finalize.
17092         (collate_output): Use new locale_file interface.
17093         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17094         in file.
17095         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17096         (TABLE): Move defines earlier in file.
17097         (ELEMENT): Likewise.
17098         (DEFAULT): Likewise.
17099         (wctrans_table_add): Move macro and inline function earlier in
17100         file.
17101         (struct wctype_table): Move type earlier in file.
17102         (add_locale_wctype_table): New static prototype.
17103         (struct locale_ctype_t): Use logical types instead of struct iovec
17104         pointers for members.
17105         (ctype_output): Use new locale_file interface.
17106         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17107         new locale_file interface.
17108         (allocate_arrays): Update for use of new locale_file interface.
17109         * locale/programs/ld-identification.c (identification_output): Use
17110         new locale_file interface.
17111         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17112         * locale/programs/ld-messages.c (messages_output): Likewise.
17113         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17114         * locale/programs/ld-name.c (name_output): Likewise.
17115         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17116         * locale/programs/ld-paper.c (paper_output): Likewise.
17117         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17118         * locale/programs/ld-time.c (time_output): Likewise.
17119
17120 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17121
17122         * benchtests/Makefile: Add memrchr benchmark.
17123         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17124         benchmark as memrchr.
17125         * benchtests/bench-memrchr-ifunc.c: New file.
17126         * benchtests/bench-memrchr.c: New file.
17127
17128 2013-09-06   Will Newton  <will.newton@linaro.org>
17129
17130         * benchtests/Makefile (string-bench): Add memcpy.
17131
17132 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17133             Cong Wang  <amwang@redhat.com>
17134
17135         [BZ #15850]
17136         * sysdeps/unix/sysv/linux/bits/in.h
17137         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17138         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17139         before __USE_KERNEL_IPV6_DEFS uses.
17140         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17141         IPPROTO_BEETPH.
17142         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17143         sockaddr_in6, or ipv6_mreq.
17144
17145 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17146
17147         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17148         memory access for final bytes in some large inputs.
17149         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17150
17151 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17152
17153         * string/test-memrchr.c: New file.
17154         * string/test-memrchr-ifunc.c: New file.
17155         * string/Makefile: Add new memrchr testcase.
17156
17157 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17158
17159         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17160         fanotify_init returns EPERM.
17161
17162 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17163
17164         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17165         errors.
17166         (top level): Treat second token from macro or constant entries for
17167         allowed headers as allowed.
17168         * include/complex.h: Condition internal declarations on
17169         [!_ISOMAC].
17170         * include/fenv.h: Condition include of <stdbool.h> and internal
17171         declarations on [!_ISOMAC].
17172
17173 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17174
17175         [BZ #15923]
17176         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17177
17178 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17179
17180         * configure.in (--enable-versioning): Remove configure option.
17181         (libc_cv_asm_symver_directive): Remove configure test.
17182         (libc_cv_ld_version_script_option): Likewise.
17183         (VERSIONING): Remove variable and AC_SUBST.
17184         (DO_VERSIONING): Remove AC_DEFINE.
17185         * configure: Regenerated.
17186         * config.h.in (DO_VERSIONING): Remove macro.
17187         * Makerules [$(versioning) = yes]: Change conditionals to
17188         [$(build-shared) = yes].
17189         * config.make.in (versioning): Remove variable.
17190         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17191         [$(build-shared) = yes].
17192         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17193         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17194         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17195         [$(build-shared) = yes].
17196         * extra-lib.mk [$(versioning) = yes]: Likewise.
17197         * hurd/Makefile [$(versioning) = yes]: Likewise.
17198         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17199         [SHARED].
17200         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17201         [SHARED].
17202         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17203         [SHARED && !NO_HIDDEN].
17204         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17205         [SHARED].
17206         [SHARED && DO_VERSIONING]: Likewise..
17207         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17208         [$(build-shared) = yes].
17209         * manual/install.texi (--disable-versioning): Remove
17210         documentation.
17211         * INSTALL: Regenerated.
17212         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17213         to [SHARED].
17214         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17215         [$(build-shared) = yes].
17216         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17217         * sysdeps/i386/i686/multiarch/strstr-c.c
17218         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17219         [SHARED && !NO_HIDDEN].
17220         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17221         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17222         * sysdeps/powerpc/powerpc32/dl-machine.c
17223         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17224         * sysdeps/powerpc/powerpc32/sysdep.h
17225         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17226         to [SHARED && PIC && !NO_HIDDEN].
17227         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17228         conditional to [SHARED].
17229
17230 2013-09-04   Will Newton  <will.newton@linaro.org>
17231
17232         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17233         * benchtests/bench-string.h: Include bench-timing.h instead
17234         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17235         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17236         call to HP_TIMING_DIFF_INIT.
17237         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17238         instead of hp-timing.h macros.
17239         * benchtests/bench-memchr.c: Likewise.
17240         * benchtests/bench-memcmp.c: Likewise.
17241         * benchtests/bench-memcpy.c: Likewise.
17242         * benchtests/bench-memmem.c: Likewise.
17243         * benchtests/bench-memmove.c: Likewise.
17244         * benchtests/bench-memset.c: Likewise.
17245         * benchtests/bench-rawmemchr.c: Likewise.
17246         * benchtests/bench-strcasecmp.c: Likewise.
17247         * benchtests/bench-strcasestr.c: Likewise.
17248         * benchtests/bench-strcat.c: Likewise.
17249         * benchtests/bench-strchr.c: Likewise.
17250         * benchtests/bench-strcmp.c: Likewise.
17251         * benchtests/bench-strcpy.c: Likewise.
17252         * benchtests/bench-strcpy_chk.c: Likewise.
17253         * benchtests/bench-strlen.c: Likewise.
17254         * benchtests/bench-strncasecmp.c: Likewise.
17255         * benchtests/bench-strncat.c: Likewise.
17256         * benchtests/bench-strncmp.c: Likewise.
17257         * benchtests/bench-strncpy.c: Likewise.
17258         * benchtests/bench-strnlen.c: Likewise.
17259         * benchtests/bench-strpbrk.c: Likewise.
17260         * benchtests/bench-strrchr.c: Likewise.
17261         * benchtests/bench-strspn.c: Likewise.
17262         * benchtests/bench-strstr.c: Likewise.
17263
17264 2013-09-04  Will Newton  <will.newton@linaro.org>
17265
17266         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17267
17268 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17269
17270         [BZ #15427]
17271         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17272         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17273         * math/libm-test.inc (lgamma_test_data): Add more tests.
17274         * sysdeps/i386/fpu/libm-test-ulps: Update.
17275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17276
17277 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17278
17279         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17281         Add ifunc.
17282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17283         Add strcmp-sse2-unaligned
17284         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17285
17286 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17287
17288         * Versions.def (libc): Add GLIBC_2.19.
17289
17290 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17291
17292         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17293         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17294
17295 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17296
17297         [BZ #14155]
17298         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17299         intermediate calculations in recurrence.
17300         (__ieee754_ynf): Likewise.
17301         * math/libm-test.inc (jn_test_data): Do not allow spurious
17302         underflow exception.  Add more tests.
17303         (yn_test_data): Add more tests.
17304         * sysdeps/i386/fpu/libm-test-ulps: Update.
17305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17306
17307 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17308
17309         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17310
17311 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17312
17313         * csu/init-first.c: Fix then/than typos.
17314         * locale/programs/ld-collate.c: Likewise.
17315         * locale/programs/linereader.h: Likewise.
17316         * manual/charset.texi: Likewise.
17317         * manual/filesys.texi: Likewise.
17318         * manual/stdio.texi: Likewise.
17319         * manual/string.texi: Likewise.
17320         * stdlib/fmtmsg.c: Likewise.
17321         * sysdeps/i386/stpncpy.S: Likewise.
17322         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17323         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17324         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17325         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17326
17327 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17328
17329         * elf/dl-open.c: Fix typos.
17330         * iconvdata/gbbig5.c: Likewise.
17331         * iconvdata/iso-2022-jp.c: Likewise.
17332         * iconv/gconv_int.h: Likewise.
17333         * iconv/loop.c: Likewise.
17334         * nis/rpcsvc/nis.h: Likewise.
17335         * resolv/ns_name.c: Likewise.
17336         * stdio-common/vfscanf.c: Likewise.
17337         * streams/stropts.h: Likewise.
17338         * sunrpc/rpc_thread.c: Likewise.
17339         * sysdeps/i386/strpbrk.S: Likewise.
17340         * sysdeps/ieee754/k_standard.c: Likewise.
17341         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17343         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17344         * sysdeps/mach/hurd/profil.c: Likewise.
17345         * sysdeps/s390/dl-procinfo.h: Likewise.
17346         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17347         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17348         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17349         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17350         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17351
17352 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17353
17354         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17356
17357 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17358
17359         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17360         aix specific files.
17361         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17362         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17363         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17364         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17365         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17366         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17367         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17368         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17369
17370 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17371             Roland McGrath  <roland@hack.frob.com>
17372
17373         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17374         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17375
17376 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17377
17378         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17379         __executable_start symbol instead of _start.
17380
17381 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17382
17383         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17384         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17385         Move macros to...
17386         * sysdeps/gnu/ldsodefs.h: ... this new file.
17387
17388         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17389         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17390         instead of ELFOSABI_LINUX.
17391
17392         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17393         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17394         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17395         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17396         Likewise.
17397         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17398         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17399         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17400         Likewise.
17401         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17402         (ibm_extended_long_double): Add ieee_nan member.
17403         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17404         (do_test): New function.
17405
17406         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17407         TEST_TRUNC.
17408         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17409         functions, renamed from truncdfsf_test, trunctfsf_test,
17410         trunctfdf_test.
17411         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17412         functions.
17413         (do_test): Run all these.
17414
17415 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17416
17417         * argp/argp-help.c: Fix typos.
17418         * argp/argp-parse.c: Likewise.
17419         * debug/backtracesyms.c: Likewise.
17420         * elf/elf.h: Likewise.
17421         * malloc/malloc.c: Likewise.
17422         * nis/nis_print.c: Likewise.
17423         * resolv/res_comp.c: Likewise.
17424         * stdlib/stdlib.h: Likewise.
17425         * sunrpc/clnt_tcp.c: Likewise.
17426         * sunrpc/clnt_udp.c: Likewise.
17427         * sunrpc/clnt_unix.c: Likewise.
17428         * sysdeps/unix/bsd/ptsname.c: Likewise.
17429         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17430         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17432         Likewise.
17433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17434         Likewise.
17435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17436         Likewise.
17437         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17438
17439 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17440
17441         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17443
17444 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17445
17446         [BZ #15897]
17447         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17448         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17449         ($(objpfx)bug-dl-leaf): New rule.
17450         ($(objpfx)bug-dl-leaf.so): Likewise.
17451         ($(objpfx)bug-dl-leaf.out): Likewise.
17452         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17453         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17454         * dlfcn/bug-dl-leaf.c: New test.
17455         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17456         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17457         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17458         (dlclose): Likewise.
17459         (dlmopen): Likewise.
17460
17461 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17462
17463         * include/netdb.h [!_ISOMAC]:
17464         Don't include <tls.h>.
17465         (h_errno, __libc_h_errno): Move declaration and macros out of
17466         [_LIBC_REENTRANT].
17467
17468         * include/resolv.h [_RESOLV_H_]:
17469         Don't include <tls.h>.
17470         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17471         * resolv/res_libc.c: Don't include <tls.h>.
17472         (_res): Use __attribute__ ((nocommon)) in place of
17473         __attribute__ ((section (".bss"))).
17474
17475         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17476         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17477
17478         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17479
17480         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17481         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17482
17483         * resolv/res_mkquery.c: Include <sys/time.h>.
17484
17485         * inet/ifreq.c: Moved to ...
17486         * sysdeps/unix/ifreq.c: ... here.
17487         * inet/ifreq.c: New file, true stub version.
17488
17489         * socket/sa_len.c: New file.
17490         * socket/Makefile (aux): Add it.
17491         * sysdeps/unix/sysv/linux/Makefile
17492         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17493         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17494         and #include <socket/sa_len.c>.
17495         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17496         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17497
17498         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17499         * bits/socket.h: ... here.
17500
17501         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17502         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17503         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17504
17505 2013-08-27  Andreas Schwab  <schwab@suse.de>
17506
17507         [BZ #15736]
17508         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17509         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17510         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17511         * string/test-strcasecmp.c (test_main): Run tests in several
17512         locales.
17513         * string/test-strncasecmp.c (test_main): Likewise.
17514
17515         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17516         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17517         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17518         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17519         (__strncasecmp_ssse3) [PIC]: Likewise.
17520
17521 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17522
17523         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17524
17525         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17526         instead of explicitly declaring xdecrypt.
17527         * nis/nss_nis/nis-publickey.c: Likewise.
17528
17529 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17530
17531         [BZ #15890]
17532         * nscd/aicache.c: Include res_hconf.h.
17533         (addhstaiX): Initialize res_hconf.
17534
17535 2013-08-26  Andreas Schwab  <schwab@suse.de>
17536
17537         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17538         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17539
17540 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17541
17542         * nscd/aicache.c (addhstaiX): Fix indentation.
17543
17544 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17545
17546         * configure.ac: Quote $build_pt_chown test.
17547         * configure: Regenerated.
17548
17549 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17550
17551         [BZ #15532]
17552         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17553         * math/s_cexpf.c (__cexpf): Likewise.
17554         * math/s_cexpl.c (__cexpl): Likewise.
17555         * math/libm-test.inc (cexp_test_data): Correct expected return
17556         value for NaN + i0.  Add another test.
17557
17558 2013-08-22  David S. Miller  <davem@davemloft.net>
17559
17560         * po/ca.po: Update Catalan translation from translation project.
17561         * po/uk.po: Add Ukrainian translations from translation project.
17562
17563 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17564
17565         [BZ #15797]
17566         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17567         is infinite, not alongside NaN test.
17568         * math/s_fdimf.c (__fdimf): Likewise.
17569         * math/s_fdiml.c (__fdiml): Likewise.
17570         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17571         errno is unchanged.
17572
17573 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17574
17575         * argp/argp-help.c: Fix typos.
17576         * crypt/speeds.c: Likewise.
17577         * csu/check_fds.c: Likewise.
17578         * elf/dl-load.c: Likewise.
17579         * elf/dl-open.c: Likewise.
17580         * elf/reldep3.c: Likewise.
17581         * elf/reldep.c: Likewise.
17582         * elf/sprof.c: Likewise.
17583         * iconv/iconv_charmap.c: Likewise.
17584         * iconv/skeleton.c: Likewise.
17585         * iconv/strtab.c: Likewise.
17586         * io/lockf64.c: Likewise.
17587         * libio/libioP.h: Likewise.
17588         * resolv/gai_notify.c: Likewise.
17589         * resolv/ns_name.c: Likewise.
17590         * resolv/ns_samedomain.c: Likewise.
17591         * resolv/res_send.c: Likewise.
17592         * stdlib/random.c: Likewise.
17593         * sunrpc/rpc/xdr.h: Likewise.
17594         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17595         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17596         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17597         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17598         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17599         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17600         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17601         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17602         * sysdeps/mach/hurd/check_fds.c: Likewise.
17603         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17604         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17605         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17606         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17607         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17608         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17609         * sysdeps/pthread/aio_notify.c: Likewise.
17610         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17611         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17612         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17613         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17614         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17615
17616 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17617
17618         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17619         version if bit_Slow_SSE4_2 is set.
17620         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17621         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17622
17623 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17624
17625         [BZ #15867]
17626         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17627         trampoline stack frame information.
17628         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17629         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17630         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17631         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17632         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17633         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17634         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17635         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17636         sa_flags value.
17637         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17638         interrupting a syscall and set with option SA_SIGINFO.
17639
17640 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17641
17642         [BZ #15531]
17643         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17644         argument is infinite.
17645         * math/s_cprojf.c (__cprojf): Likewise.
17646         * math/s_cprojl.c (__cprojl): Likewise.
17647         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17648         * math/libm-test.inc (cproj_test_data): Add more tests.
17649
17650         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17651
17652         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17653         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17654         size.  Use __ffs to determine corresponding shift.
17655
17656 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17657             Roland McGrath  <roland@hack.frob.com>
17658
17659         * Makefile (INSTALL): Remove trailing blank lines from output of
17660         makeinfo.
17661
17662 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17663
17664         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17665         Align 32 bit compat elf_greg to 8 bytes.
17666
17667 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17668
17669         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17670
17671 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17672
17673         * string/strcoll_l.c (coll_seq): New structure.
17674         (get_next_seq_cached): New function.
17675         (get_next_seq): New function.
17676         (do_compare): New function.
17677         (STRCOLL): Use GNU style definition.  Simplify implementation
17678         by using get_next_seq, get_next_seq_cached and do_compare.
17679
17680 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17681
17682         [BZ #14699]
17683         CVE-2013-4237
17684         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17685         member.
17686         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17687         member.
17688         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17689         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17690         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17691         conditional.
17692         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17693         GETDENTS_64BIT_ALIGNED.
17694         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17695         * manual/filesys.texi (Reading/Closing Directory): Document
17696         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17697         strongly.
17698         * manual/conf.texi (Limits for Files): Add portability note to
17699         NAME_MAX, PATH_MAX.
17700         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17701
17702 2013-08-13  Andreas Schwab  <schwab@suse.de>
17703
17704         [BZ #15749]
17705         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17706         of fabs.
17707         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17708         LDBL_MAX_EXP >= 16384]: Add tests for it.
17709
17710 2013-08-12  David S. Miller  <davem@davemloft.net>
17711
17712         * version.h (RELEASE): Set to "development".
17713         (VERSION): Set to "2.18.90".
17714         * NEWS: Add 2.19 section.
17715
17716 2013-08-03  David S. Miller  <davem@davemloft.net>
17717
17718         * po/ko.po: Update Korean translation from translation project.
17719
17720 2013-08-01  David S. Miller  <davem@davemloft.net>
17721
17722         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17723         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17724         Bilka.
17725
17726 2013-07-30  David S. Miller  <davem@davemloft.net>
17727
17728         * po/fr.po: Update French translation from translation project.
17729
17730 2013-07-28  David S. Miller  <davem@davemloft.net>
17731
17732         * po/cs.po: Update Czech translation from translation project.
17733
17734         * po/sv.po: Update Swedish translation from translation project.
17735
17736 2013-07-27  David S. Miller  <davem@davemloft.net>
17737
17738         * po/eo.po: Update Esperanto translation from translation project.
17739
17740         * po/vi.po: Update Vietnamese translation from translation project.
17741
17742         * po/de.po: Update German translation from translation project.
17743
17744 2013-07-26  David S. Miller  <davem@davemloft.net>
17745
17746         * po/bg.po: Update Bulgarian translation from translation project.
17747
17748         * po/nl.po: Update Dutch translation from translation project.
17749         * po/pl.po: Update Polish translation from translation project.
17750         * po/ru.po: Update Russian translation from translation project.
17751
17752 2013-07-24  David S. Miller  <davem@davemloft.net>
17753
17754         * po/libc.pot: Update.
17755
17756 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17757
17758         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17759         variable page size.
17760         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17761         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17762         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17763
17764 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17765
17766         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17767
17768 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17769             Andreas Schwab  <schwab@suse.de>
17770             Roland McGrath  <roland@hack.frob.com>
17771             Joseph Myers  <joseph@codesourcery.com>
17772             Carlos O'Donell  <carlos@redhat.com>
17773
17774         [BZ #15755]
17775         * config.h.in: Define HAVE_PT_CHOWN.
17776         * config.make.in (build-pt-chown): New variable.
17777         * configure.in (--enable-pt_chown): New configure option.
17778         * configure: Regenerate.
17779         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17780         build-pt-chown is enabled.
17781         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17782         pt_chown to fix pty ownership.
17783         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17784         CLOSE_ALL_FDS.
17785         * manual/install.texi (Configuring and compiling): Mention
17786         --enable-pt_chown. Add @findex for grantpt.
17787         * INSTALL: Regenerate.
17788
17789 2013-07-20  David S. Miller  <davem@davemloft.net>
17790
17791         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17792         difference between 32-bit and 64-bit.
17793
17794 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17795
17796         [BZ #15711]
17797         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17798         Avoid system header dependency with -ffreestanding.
17799         ($(objpfx)bits/syscall%d): Likewise.
17800
17801 2013-07-13  David S. Miller  <davem@davemloft.net>
17802
17803         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17804         underflows from atanl/atan2l due to bug 15319.
17805         (casinh_test_data): Likewise.
17806
17807 2013-07-07  David S. Miller  <davem@davemloft.net>
17808
17809         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17810
17811 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17812
17813         * sysdeps/i386/fpu/libm-test-ulps: Update.
17814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17815
17816 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17817
17818         * configure.in (--enable-lock-elision): Fix message text.
17819         * INSTALL: Regenerate.
17820         * configure: Regenerate.
17821
17822 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17823
17824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17825
17826 2013-07-03  Andreas Jaeger  <aj@suse.de>
17827
17828         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17829         define.
17830         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17831         (ptrace_peeksiginfo_args): Add.
17832         (__ptrace_peeksiginfo_flags): Add.
17833         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17834         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17835         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17836
17837 2013-07-03  Allan McRae  <allan@archlinux.org>
17838
17839         * sysdeps/i386/fpu/libm-test-ulps: Update.
17840
17841 2013-07-02  David S. Miller  <davem@davemloft.net>
17842
17843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17844
17845 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17846
17847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17848
17849 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17850
17851         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17853
17854 2013-07-02  Andi Kleen <ak@linux.intel.com>
17855
17856         * config.h.in (ENABLE_LOCK_ELISION): Add.
17857         * configure.in (--enable-lock-elision): Add option.
17858         * manual/install.texi: Document --enable lock elision.
17859         * configure: Regenerate
17860         * INSTALL: Regenerate.
17861
17862 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17863
17864         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17865         SSE4.2 strcasecmp for libc.a.
17866         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17867
17868 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17869
17870         [BZ #13304]
17871         * soft-fp/op-common.h (_FP_FMA): New macro.
17872         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17873         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17874         (_FP_MUL_MEAT_1_imm): ... here.
17875         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17876         (_FP_MUL_MEAT_1_wide): ... here.
17877         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17878         (_FP_MUL_MEAT_1_hard): ... here.
17879         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17880         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17881         (_FP_MUL_MEAT_2_wide): ... here.
17882         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17883         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17884         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17885         (_FP_MUL_MEAT_2_gmp): ... here.
17886         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17887         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17888         (_FP_MUL_MEAT_4_wide): ... here.
17889         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17890         (_FP_MUL_MEAT_4_gmp): ... here.
17891         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17892         (_FP_WFRACBITS_DW_S): Likewise.
17893         (_FP_WFRACXBITS_DW_S): Likewise.
17894         (_FP_HIGHBIT_DW_S): Likewise.
17895         (FP_FMA_S): Likewise.
17896         (_FP_FRAC_HIGH_DW_S): Likewise.
17897         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17898         (_FP_WFRACBITS_DW_D): Likewise.
17899         (_FP_WFRACXBITS_DW_D): Likewise.
17900         (_FP_HIGHBIT_DW_D): Likewise.
17901         (FP_FMA_D): Likewise.
17902         (_FP_FRAC_HIGH_DW_D): Likewise.
17903         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17904         (_FP_WFRACBITS_DW_E): Likewise.
17905         (_FP_WFRACXBITS_DW_E): Likewise.
17906         (_FP_HIGHBIT_DW_E): Likewise.
17907         (FP_FMA_E): Likewise.
17908         (_FP_FRAC_HIGH_DW_E): Likewise.
17909         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17910         (_FP_WFRACBITS_DW_Q): Likewise.
17911         (_FP_WFRACXBITS_DW_Q): Likewise.
17912         (_FP_HIGHBIT_DW_Q): Likewise.
17913         (FP_FMA_Q): Likewise.
17914         (_FP_FRAC_HIGH_DW_Q): Likewise.
17915         * soft-fp/fmasf4.c: New file.
17916         * soft-fp/fmadf4.c: Likewise.
17917         * soft-fp/fmatf4.c: Likewise.
17918
17919 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17920
17921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17922         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17923         Silvermont.
17924         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17925         macro.
17926         (index_Slow_SSE4_2): Likewise.
17927         (index_Prefer_PMINUB_for_stringop): Likewise.
17928         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17929         bit_Slow_SSE4_2 is set.
17930         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17931         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17932
17933 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17934
17935         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17936         rtld_global._dl_hwcap2.
17937         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17938         POWER8.
17939         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17940         POWER8 feature descriptions defined in _dl_hwcap2.
17941         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17942         string handling for POWER8 feature bits.
17943         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17944         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17945         _dl_powerpc_cap_flags.
17946         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17947         * sysdeps/powerpc/rtld-global-offsets.sym
17948         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17949         _dl_hwcap2 in the rtld_global_ro structure.
17950
17951 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17952
17953         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17954         hardware capabilities in support of AT_HWCAP2.
17955         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17956         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17957         GLRO(dl_hwcap2).
17958         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17959         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17960         explicitly the unknown a_type display mechanism is used.
17961         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17962         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17963         struct member.
17964         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17965         to macro prototype for AT_HWCAP2 support.
17966         * sysdeps/i386/dl-procinfo.h: Likewise.
17967         * sysdeps/s390/dl-procinfo.h: Likewise.
17968         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17969         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17970         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17971         return -1 for unknown a_type display fallback.
17972         * sysdeps/sparc/dl-procinfo.h: Likewise.
17973         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17974         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17975
17976 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17977
17978         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17979         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17980
17981 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17982
17983         [BZ #12492]
17984         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17985         mprotect making __stack_prot writable.
17986
17987 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17988             Joseph Myers  <joseph@codesourcery.com>
17989
17990         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17991         as being properly aligned.
17992
17993 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17994
17995         * dlfcn/modstatic5.c: New file.
17996         * dlfcn/tststatic5.c: New file.
17997         * dlfcn/Makefile (tests): Add tststatic5.
17998         (tests-static): Likewise.
17999         (modules-names): Add modstatic5.
18000         (tststatic5-ENV): New variable.
18001         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18002
18003         [BZ #15022]
18004         * elf/dl-support.c (_dl_main_map): New variable.
18005         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18006         (_dl_nns, _dl_load_adds): Set to 1.
18007         (_dl_initial_searchlist): Refer to _dl_main_map.
18008         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18009         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18010         call to _dl_get_origin.
18011         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18012         around call_map.
18013         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18014         * dlfcn/modstatic3.c: New file.
18015         * dlfcn/tststatic3.c: New file.
18016         * dlfcn/tststatic4.c: New file.
18017         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18018         (tests-static): Likewise.
18019         (modules-names): Add modstatic3.
18020         (tststatic3-ENV, tststatic4-ENV): New variables.
18021         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18022         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18023
18024 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18025
18026         * configure.in (CC): Require GCC version 4.4 or later.
18027         * configure: Regenerated.
18028         * manual/install.texi (Tools for Compilation): Update GCC version
18029         requirement.
18030         * INSTALL: Regenerated.
18031
18032 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18033
18034         [BZ #15674]
18035         * string/test-memcmp.c (check2): New.
18036         (main): Call check2.
18037
18038         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18039
18040 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18041
18042         [BZ #15022]
18043         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18044         over to...
18045         (dl_open_worker) [!SHARED]: ... here.
18046
18047 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18048
18049         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18050
18051 2013-06-25  Richard Henderson  <rth@redhat.com>
18052
18053         * locale/programs/locarchive.c: Include <libc-internal.h>
18054
18055 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18056
18057         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18058         trailing whitespace removed.
18059
18060 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18061
18062         [BZ #10283]
18063         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18064         * locale/programs/locarchive.c: Include libc-mmap.h.
18065         (prepare_address_space): Take two new outputs (the mmap base and len).
18066         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18067         values.
18068         (create_archive): Declare new mmap base and len values for
18069         prepare_address_space, and store the result in ah.
18070         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18071         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18072         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18073         Declare new mmap base and len values for
18074         prepare_address_space, and store the result in new_ah.
18075         (open_archive): Declare new mmap base and len values for
18076         prepare_address_space, and store the result in ah.
18077         (close_archive): If ah->mmap_base is not NULL, use that and
18078         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18079         * sysdeps/generic/libc-mmap.h: New file.
18080
18081 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18082
18083         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18084         (ALIGN_UP): Likewise.
18085         (PTR_ALIGN_DOWN): Likewise.
18086         (PTR_ALIGN_UP): Likewise.
18087
18088 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18089
18090         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18091         entry mapped to PPC_PLATFORM_POWER8.
18092         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18093         POWER8.
18094         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18095         (_dl_string_platform): Add case for exporting platform position for
18096         POWER8.
18097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18098         search path to sysdeps/powerpc/powerpc32/power8 directory.
18099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18100         search path to sysdeps/powerpc/powerpc64/power8 directory.
18101         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18102         power7 directories.
18103         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18104         power7 directories.
18105
18106 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18107
18108         * INSTALL: Regenerate.
18109
18110         * nscd/connections.c (nscd_init): Fix comment.
18111
18112 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18113
18114         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18115
18116         [BZ #15667]
18117         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18118         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18119
18120 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18121
18122         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18123         DL_DST_REQ_STATIC.
18124         (DL_DST_REQ_STATIC): Remove macro.
18125
18126 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18127
18128         [BZ #7006]
18129         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18130         with a shift of 0 bits.
18131
18132 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18133
18134         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18135         $(tststatic-ENV).
18136
18137 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18138
18139         [BZ #15655]
18140         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18141
18142 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18143
18144         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18145         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18146         accepts -fno-tree-loop-distribute-patterns.
18147         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18148         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18149         recursive call.
18150         * string/memset.c (memset): Likewise.
18151         * string/test-memmove.c (simple_memmove): Disable loop transformation
18152         to library calls.
18153         * string/test-memset.c (simple_memset): Likewise.
18154         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18155         * benchtests/bench-memset.c (simple_memset): Likewise.
18156         * configure: Regenerated.
18157
18158 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18159
18160         * math/test-misc.c (main): Ignore fesetround failure when failures
18161         of subsequent rounding tests would be ignored.
18162
18163         [BZ #15654]
18164         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18165         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18166         * math/fegetenv.c (__fegetenv): Return 0.
18167         * math/fegetexcept.c (fegetexcept): Return 0.
18168         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18169         FE_TONEAREST.
18170         * math/feholdexcpt.c (feholdexcept): Return 0.
18171         * math/fesetenv.c (__fesetenv): Return 0.
18172         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18173         argument FE_TONEAREST.
18174         * math/feupdateenv.c (__feupdateenv): Return 0.
18175         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18176
18177 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18178
18179         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18180         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18181         ($(objpfx)rtld-%.os rules): Use them.
18182
18183 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18184
18185         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18186         fields.
18187
18188 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18189
18190         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18191         length of target pattern, then descending length of dependency pattern.
18192         * configure.in (AWK): Require gawk 3.1.2 or newer.
18193         * manual/install.texi (Tools for Compilation): Say that we do.
18194         * configure: Regenerated.
18195
18196         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18197         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18198         * scripts/sysd-rules.awk: ... this new script.
18199         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18200         than a glob-style pattern.
18201
18202 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18203
18204         * math/test-misc.c (main): Do not treat incorrectly rounded
18205         conversions as failure unless ROUNDING_TESTS passes.
18206
18207 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18208
18209         [BZ #15631]
18210         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18211         restore exception state around main square root computation, then
18212         check for inexactness explicitly.
18213
18214         * math/libm-test.inc (fma_test_data): Add another test.
18215
18216 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18217
18218         * manual/threads.texi (Non-POSIX Extensions): New document
18219         node.  Document pthread_getattr_default_np and
18220         pthread_setattr_default_np.
18221
18222         * Versions.def (libpthread): Add GLIBC_2.18.
18223         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18225         Likewise.
18226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18227         Likewise.
18228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18229         Likewise.
18230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18231         Likewise.
18232         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18233         Likewise.
18234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18235         Likewise.
18236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18237         Likewise.
18238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18239         Likewise.
18240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18241         Likewise.
18242
18243 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18244
18245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18246         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18247
18248 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18249             H.J. Lu  <hjl.tools@gmail.com>
18250
18251         [BZ #15627]
18252         * sysdeps/x86_64/rtld-memset.c: Remove file.
18253         * sysdeps/x86_64/rtld-memset.S: New file.
18254
18255 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18256
18257         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18258         (test_in_one_mode): Take arguments for whether the rounding mode
18259         is supported for each floating-point type.
18260         (do_test): Pass new arguments to test_in_one_mode using
18261         ROUNDING_TESTS.
18262
18263 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18264
18265         * posix/tst-waitid.c (do_test): Distinguish different instances of
18266         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18267         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18268         before entering the kernel for waitpid.
18269
18270 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18271
18272         * NEWS: Fix note on clock function precision.  Text by Roland
18273         McGrath.
18274
18275 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18276
18277         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18278         it into place only when and if the sanity check passes.
18279
18280 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18281
18282         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18283         output for whether conversion result is exact.  Take argument
18284         indicating whether type is IBM long double.
18285         (round_for_all): Change need_exact field to ibm_ld.
18286         * stdlib/tst-strtod-round.c (struct exactness): New type.
18287         (struct test): Change bool ld_ok field to struct exactness exact.
18288         (TEST): Update all definitions for change to field.
18289         (tests): Regenerate array contents.
18290         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18291         field value.  Check for IBM long double here.
18292         (do_test): Update calls to test_in_one_mode.
18293
18294 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18295
18296         [BZ #12515]
18297         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18298         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18299
18300 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18301
18302         [BZ #15605]
18303         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18304         generated by the compiler on loop optimizations.
18305         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18306         general definitions.
18307
18308 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18309
18310         * math/bug-nextafter.c: Include <math-tests.h>.
18311         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18312         the relevant type.
18313         * math/bug-nexttoward.c: Include <math-tests.h>.
18314         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18315         the relevant type.
18316         * math/test-misc.c: Include <math-tests.h>.
18317         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18318         the relevant type.
18319
18320 2013-06-12  Andreas Jaeger  <aj@suse.de>
18321
18322         * po/ia.po: Update Interlingua translation from translation
18323         project.
18324
18325 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18326
18327         * include/fenv.h: Include stdbool.h.
18328         (struct rm_ctx): New structure.
18329         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18330         Define macro.
18331         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18332         (SET_RESTORE_ROUNDF): Likewise.
18333         (SET_RESTORE_ROUNDL): Likewise.
18334         (SET_RESTORE_ROUND_NOEX): Likewise.
18335         (SET_RESTORE_ROUND_NOEXF): Likewise.
18336         (SET_RESTORE_ROUND_NOEXL): Likewise.
18337         (SET_RESTORE_ROUND_53BIT): Likewise.
18338         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18339         (libc_feresetround_noexf_ctx): Likewise.
18340         (libc_feresetround_noexl_ctx): Likewise.
18341         (libc_feholdsetround_53bit_ctx): Likewise.
18342         (libc_feresetround_53bit_ctx): Likewise.
18343         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18344         (libc_feholdexcept_setround_sse_ctx): New function.
18345         (libc_fesetenv_sse_ctx): Likewise.
18346         (libc_feupdateenv_sse_ctx): Likewise.
18347         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18348         (libc_feholdexcept_setround_387_ctx): Likewise.
18349         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18350         (libc_feholdsetround_387_prec_ctx): Likewise.
18351         (libc_feholdsetround_387_ctx): Likewise.
18352         (libc_feholdsetround_387_53bit_ctx): Likewise.
18353         (libc_feholdsetround_sse_ctx): Likewise.
18354         (libc_feresetround_sse_ctx): Likewise.
18355         (libc_feresetround_387_ctx): Likewise.
18356         (libc_feupdateenv_387_ctx): Likewise.
18357         (libc_feholdexcept_setroundf_ctx): Define macro.
18358         (libc_fesetenvf_ctx): Likewise.
18359         (libc_feupdateenvf_ctx): Likewise.
18360         (libc_feholdsetroundf_ctx): Likewise.
18361         (libc_feresetroundf_ctx): Likewise.
18362         (libc_feholdexcept_setround_ctx): Likewise.
18363         (libc_fesetenv_ctx): Likewise.
18364         (libc_feupdateenv_ctx): Likewise.
18365         (libc_feholdsetround_ctx): Likewise.
18366         (libc_feresetround_ctx): Likewise.
18367         (libc_feholdexcept_setroundl_ctx): Likewise.
18368         (libc_feupdateenvl_ctx): Likewise.
18369         (libc_feholdsetroundl_ctx): Likewise.
18370         (libc_feresetroundl_ctx): Likewise.
18371         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18372         (libc_feresetround_53bit_ctx): Likewise.
18373
18374 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18375
18376         * locale/iso-639.def: Convert to UTF-8.
18377
18378 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18379
18380         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18381         (EXCEPTION_TESTS_double): Likewise.
18382         (EXCEPTION_TESTS_long_double): Likewise.
18383         (EXCEPTION_TESTS): Likewise.
18384         * math/libm-test.inc (test_exceptions): Only test exceptions if
18385         EXCEPTION_TESTS (FLOAT).
18386
18387 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18388
18389         * benchtests/Makefile (string-bench): Add strcpy_chk and
18390         stpcpy_chk.
18391         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18392         * benchtests/bench-stpcpy_chk.c: New file.
18393         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18394         * benchtests/bench-strcpy_chk.c: New file.
18395         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18396         code.
18397         (do_test): Likewise.
18398
18399 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18400
18401         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18402         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18403         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18404         with tabs where appropriate.
18405         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18406         dl-procinfo.h.
18407         [PPC_PLATFORM_PPC440]: Likewise.
18408         [PPC_PLATFORM_PPC464]: Likewise.
18409         [PPC_PLATFORM_PPC476]: Likewise.
18410         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18411         ppc464, and ppc476 platform strings merging from ports/
18412         dl-procinfo.h.
18413
18414 2013-06-11  Andreas Schwab  <schwab@suse.de>
18415
18416         [BZ #14991]
18417         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18418         (from_ucs4_idx): Regenerate.
18419         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18420         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18421         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18422         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18423         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18424         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18425         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18426         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18427         from FROM_LOOP and TO_LOOP specific macros.
18428         (BODY): Handle combining characters.
18429         * iconvdata/BIG5HKSCS.irreversible: Update.
18430         * iconvdata/BIG5HKSCS.precomposed: New file.
18431         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18432         characters.
18433         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18434
18435 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18436
18437         * include/sys/time.h: Fix indentation and add copyright header.
18438
18439         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18440         (do_test): Likewise.
18441         * string/test-memchr.c (do_one_test): Likewise.
18442         (do_test): Likewise.
18443         * string/test-memcmp.c (do_one_test): Likewise.
18444         (do_test): Likewise.
18445         * string/test-memcpy.c (do_one_test): Likewise.
18446         (do_test): Likewise.
18447         * string/test-memmem.c (do_one_test): Likewise.
18448         (do_test): Likewise.
18449         (do_random_tests): Likewise.
18450         * string/test-memmove.c (do_one_test): Likewise.
18451         (do_test): Likewise.
18452         * string/test-memset.c (do_one_test): Likewise.
18453         (do_test): Likewise.
18454         * string/test-rawmemchr.c (do_one_test): Likewise.
18455         (do_test): Likewise.
18456         * string/test-strcasecmp.c (do_one_test): Likewise.
18457         (do_test): Likewise.
18458         * string/test-strcasestr.c (do_one_test): Likewise.
18459         (do_test): Likewise.
18460         * string/test-strcat.c (do_one_test): Likewise.
18461         (do_test): Likewise.
18462         * string/test-strchr.c (do_one_test): Likewise.
18463         (do_test): Likewise.
18464         * string/test-strcmp.c (do_one_test): Likewise.
18465         (do_test): Likewise.
18466         * string/test-strcpy.c (do_one_test): Likewise.
18467         (do_test): Likewise.
18468         * string/test-string.h: Likewise.
18469         (test_init): Likewise.
18470         * string/test-strlen.c (do_one_test): Likewise.
18471         (do_test): Likewise.
18472         * string/test-strncasecmp.c (do_one_test): Likewise.
18473         (do_test): Likewise.
18474         * string/test-strncat.c (do_one_test): Likewise.
18475         (do_test): Likewise.
18476         * string/test-strncmp.c (do_one_test): Likewise.
18477         (do_test_limit): Likewise.
18478         (do_test): Likewise.
18479         * string/test-strncpy.c (do_one_test): Likewise.
18480         (do_test): Likewise.
18481         * string/test-strnlen.c (do_one_test): Likewise.
18482         (do_test): Likewise.
18483         * string/test-strpbrk.c (do_one_test): Likewise.
18484         (do_test): Likewise.
18485         * string/test-strrchr.c (do_one_test): Likewise.
18486         (do_test): Likewise.
18487         * string/test-strspn.c (do_one_test): Likewise.
18488         (do_test): Likewise.
18489         * string/test-strstr.c (do_one_test): Likewise.
18490         (do_test): Likewise.
18491
18492         * benchtests/Makefile (string-bench): Add string benchmarks.
18493         * benchtests/bench-bcopy-ifunc.c: New file.
18494         * benchtests/bench-bcopy.c: New file.
18495         * benchtests/bench-bzero-ifunc.c: New file.
18496         * benchtests/bench-bzero.c: New file.
18497         * benchtests/bench-memccpy-ifunc.c: New file.
18498         * benchtests/bench-memccpy.c: New file.
18499         * benchtests/bench-memchr-ifunc.c: New file.
18500         * benchtests/bench-memchr.c: New file.
18501         * benchtests/bench-memcmp-ifunc.c: New file.
18502         * benchtests/bench-memcmp.c: New file.
18503         * benchtests/bench-memmem-ifunc.c: New file.
18504         * benchtests/bench-memmem.c: New file.
18505         * benchtests/bench-memmove-ifunc.c: New file.
18506         * benchtests/bench-memmove.c: New file.
18507         * benchtests/bench-mempcpy-ifunc.c: New file.
18508         * benchtests/bench-mempcpy.c: New file.
18509         * benchtests/bench-memset-ifunc.c: New file.
18510         * benchtests/bench-memset.c: New file.
18511         * benchtests/bench-rawmemchr-ifunc.c: New file.
18512         * benchtests/bench-rawmemchr.c: New file.
18513         * benchtests/bench-stpcpy-ifunc.c: New file.
18514         * benchtests/bench-stpcpy.c: New file.
18515         * benchtests/bench-stpncpy-ifunc.c: New file.
18516         * benchtests/bench-stpncpy.c: New file.
18517         * benchtests/bench-strcasecmp-ifunc.c: New file.
18518         * benchtests/bench-strcasecmp.c: New file.
18519         * benchtests/bench-strcasestr-ifunc.c: New file.
18520         * benchtests/bench-strcasestr.c: New file.
18521         * benchtests/bench-strcat-ifunc.c: New file.
18522         * benchtests/bench-strcat.c: New file.
18523         * benchtests/bench-strchr-ifunc.c: New file.
18524         * benchtests/bench-strchr.c: New file.
18525         * benchtests/bench-strchrnul-ifunc.c: New file.
18526         * benchtests/bench-strchrnul.c: New file.
18527         * benchtests/bench-strcmp-ifunc.c: New file.
18528         * benchtests/bench-strcmp.c: New file.
18529         * benchtests/bench-strcpy-ifunc.c: New file.
18530         * benchtests/bench-strcpy.c: New file.
18531         * benchtests/bench-strcspn-ifunc.c: New file.
18532         * benchtests/bench-strcspn.c: New file.
18533         * benchtests/bench-strlen-ifunc.c: New file.
18534         * benchtests/bench-strlen.c: New file.
18535         * benchtests/bench-strncasecmp-ifunc.c: New file.
18536         * benchtests/bench-strncasecmp.c: New file.
18537         * benchtests/bench-strncat-ifunc.c: New file.
18538         * benchtests/bench-strncat.c: New file.
18539         * benchtests/bench-strncmp-ifunc.c: New file.
18540         * benchtests/bench-strncmp.c: New file.
18541         * benchtests/bench-strncpy-ifunc.c: New file.
18542         * benchtests/bench-strncpy.c: New file.
18543         * benchtests/bench-strnlen-ifunc.c: New file.
18544         * benchtests/bench-strnlen.c: New file.
18545         * benchtests/bench-strpbrk-ifunc.c: New file.
18546         * benchtests/bench-strpbrk.c: New file.
18547         * benchtests/bench-strrchr-ifunc.c: New file.
18548         * benchtests/bench-strrchr.c: New file.
18549         * benchtests/bench-strspn-ifunc.c: New file.
18550         * benchtests/bench-strspn.c: New file.
18551         * benchtests/bench-strstr-ifunc.c: New file.
18552         * benchtests/bench-strstr.c: New file.
18553
18554         * benchtests/Makefile: Disable parallel execution of targets.
18555         (string-bench): Add memcpy.
18556         (benchset): New variable to store a list of benchmark sets.
18557         (bench-func): Renamed from bench.
18558         (bench-set): New target.
18559         (bench): Depend on bench-func and bench-set.
18560         * benchtests/README: Add section on benchmark sets.
18561         * benchtests/bench-memcpy-ifunc.c: New file.
18562         * benchtests/bench-memcpy.c: New file.
18563         * benchtests/bench-string.h: New file.
18564
18565 2013-06-11  Andreas Schwab  <schwab@suse.de>
18566
18567         [BZ #15577]
18568         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18569         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18570         values in the triple.
18571         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18572         terminator in the group key.
18573
18574 2013-06-11  Andreas Jaeger  <aj@suse.de>
18575
18576         * po/zh_TW.po: Update Chinese (traditional) translation from
18577         translation project.
18578
18579 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18580
18581         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18582         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18583         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18584         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18585         (clock_getcpuclockid): Likewise.
18586         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18587         Add weak_alias and libc_hidden_def.
18588         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18589         * rt/clock_gettime.c (clock_gettime): Rename to
18590         __clock_gettime.  Add weak_alias and libc_hidden_def.
18591         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18592         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18593         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18594         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18595         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18596         Likewise.
18597         * rt/clock_settime.c (clock_settime): Rename to
18598         __clock_settime.  Add weak_alias and libc_hidden_def.
18599         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18600
18601 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18602
18603         * mach/err_boot.sub: Remove trailing whitespace.
18604         * mach/err_ipc.sub: Likewise.
18605         * mach/err_mach.sub: Likewise.
18606
18607         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18608         (ROUNDING_TESTS_double): Likewise.
18609         (ROUNDING_TESTS_long_double): Likewise.
18610         (ROUNDING_TESTS): Likewise.
18611         * math/libm-test.inc: Include <math-tests.h>.
18612         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18613         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18614         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18615         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18616
18617 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18618
18619         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18620         of assigning.
18621
18622 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18623
18624         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18625         otherwise empty TRANS lines.
18626         * sysdeps/gnu/errlist.c: Regenerated.
18627
18628         * catgets/gencat.c (error_print): Use (void) in function
18629         definition.
18630         * crypt/crypt_util.c (__init_des): Likewise.
18631         * crypt/speeds.c (Stop): Likewise.
18632         (main): Likewise.
18633         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18634         * inet/ruserpass.c (token): Likewise.
18635         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18636         * intl/localealias.c (extend_alias_table): Likewise.
18637         * intl/plural-exp.c (init_germanic_plural): Likewise.
18638         * libio/fcloseall.c (__fcloseall): Likewise.
18639         * libio/genops.c (_IO_flush_all): Likewise.
18640         (_IO_flush_all_linebuffered): Likewise.
18641         (_IO_cleanup): Likewise.
18642         (_IO_iter_begin): Likewise.
18643         (_IO_iter_end): Likewise.
18644         (_IO_list_lock): Likewise.
18645         (_IO_list_unlock): Likewise.
18646         (_IO_list_resetlock): Likewise.
18647         * libio/getchar.c (getchar): Likewise.
18648         * libio/getchar_u.c (getchar_unlocked): Likewise.
18649         * libio/getwchar.c (getwchar): Likewise.
18650         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18651         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18652         * login/getpt.c (__getpt): Likewise.
18653         * login/tst-utmp.c (main): Likewise.
18654         * malloc/hooks.c (__malloc_check_init): Likewise.
18655         * malloc/malloc.c (__malloc_stats): Likewise.
18656         * malloc/mtrace.c (tr_break): Likewise.
18657         (mtrace): Likewise.
18658         (muntrace): Likewise.
18659         * misc/fstab.c (endfsent): Likewise.
18660         * misc/getclktck.c (__getclktck): Likewise.
18661         * misc/getdtsz.c (__getdtablesize): Likewise.
18662         * misc/gethostid.c (gethostid): Likewise.
18663         * misc/getpagesize.c (__getpagesize): Likewise.
18664         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18665         (__get_nprocs): Likewise.
18666         (__get_phys_pages): Likewise.
18667         (__get_avphys_pages): Likewise.
18668         * misc/getttyent.c (getttyent): Likewise.
18669         (setttyent): Likewise.
18670         (endttyent): Likewise.
18671         * misc/getusershell.c (getusershell): Likewise.
18672         (endusershell): Likewise.
18673         (setusershell): Likewise.
18674         (initshells): Likewise.
18675         * misc/hsearch.c (__hdestroy): Likewise.
18676         * misc/sync.c (sync): Likewise.
18677         * misc/syslog.c (closelog_internal): Likewise.
18678         (closelog): Likewise.
18679         * misc/ttyslot.c (ttyslot): Likewise.
18680         * misc/vhangup.c (vhangup): Likewise.
18681         * posix/fork.c (__fork): Likewise.
18682         * posix/getegid.c (__getegid): Likewise.
18683         * posix/geteuid.c (__geteuid): Likewise.
18684         * posix/getgid.c (__getgid): Likewise.
18685         * posix/getpid.c (__getpid): Likewise.
18686         * posix/getppid.c (__getppid): Likewise.
18687         * posix/getuid.c (__getuid): Likewise.
18688         * posix/pause.c (pause): Likewise.
18689         * posix/setpgrp.c (setpgrp): Likewise.
18690         * posix/setsid.c (__setsid): Likewise.
18691         * posix/test-vfork.c (noop): Likewise.
18692         * resolv/gethnamaddr.c (_endhtent): Likewise.
18693         (_gethtent): Likewise.
18694         (ht_endhostent): Likewise.
18695         (gethostent): Likewise.
18696         (dns_service): Likewise.
18697         * stdlib/drand48.c (drand48): Likewise.
18698         * stdlib/lrand48.c (lrand48): Likewise.
18699         * stdlib/mrand48.c (mrand48): Likewise.
18700         * stdlib/rand.c (rand): Likewise.
18701         * stdlib/random.c (__random): Likewise.
18702         * stdlib/setenv.c (clearenv): Likewise.
18703         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18704         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18705         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18706         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18707         (__get_nprocs): Likewise.
18708         (__get_phys_pages): Likewise.
18709         (__get_avphys_pages): Likewise.
18710         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18711         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18712         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18713         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18714         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18715         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18716         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18717         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18718         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18719         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18720         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18721         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18722         * sysdeps/posix/clock.c (clock): Likewise.
18723         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18724         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18725         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18726         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18727         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18728         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18729         (__get_nprocs_conf): Likewise.
18730         (__get_phys_pages): Likewise.
18731         (__get_avphys_pages): Likewise.
18732         * time/clock.c (clock): Likewise.
18733         * time/tzset.c (__tzname_max): Likewise.
18734
18735 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18736
18737         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18738         (__bswap_32): Do not use "register".
18739         * crypt/crypt.c (_ufc_doit_r): Likewise.
18740         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18741         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18742         * gmon/gmon.c (__monstartup): Likewise.
18743         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18744         * hurd/hurdmalloc.c (more_memory): Likewise.
18745         (malloc): Likewise.
18746         (free): Likewise.
18747         (realloc): Likewise.
18748         (malloc_fork_prepare): Likewise.
18749         (malloc_fork_parent): Likewise.
18750         (malloc_fork_child): Likewise.
18751         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18752         (_svcauth_des): Likewise.
18753         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18754         * inet/inet_net.c (inet_network): Likewise.
18755         * inet/inet_netof.c (inet_netof): Likewise.
18756         * inet/rcmd.c (__validuser2_sa): Likewise.
18757         * io/fts.c (fts_open): Likewise.
18758         (fts_load): Likewise.
18759         (fts_close): Likewise.
18760         (fts_read): Likewise.
18761         (fts_children): Likewise.
18762         (fts_build): Likewise.
18763         (fts_stat): Likewise.
18764         (fts_sort): Likewise.
18765         (fts_alloc): Likewise.
18766         (fts_lfree): Likewise.
18767         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18768         (_IO_file_xsgetn): Likewise.
18769         (_IO_file_xsgetn_mmap): Likewise.
18770         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18771         (_IO_cookie_write): Likewise.
18772         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18773         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18774         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18775         * malloc/obstack.c (_obstack_begin): Likewise.
18776         (_obstack_begin_1): Likewise.
18777         (_obstack_newchunk): Likewise.
18778         (_obstack_allocated_p): Likewise.
18779         (obstack_free): Likewise.
18780         (_obstack_memory_used): Likewise.
18781         * misc/getttyent.c (getttynam): Likewise.
18782         (getttyent): Likewise.
18783         (skip): Likewise.
18784         (value): Likewise.
18785         * misc/getusershell.c (initshells): Likewise.
18786         * misc/syslog.c (__vsyslog_chk): Likewise.
18787         * misc/ttyslot.c (ttyslot): Likewise.
18788         * nis/nis_hash.c (__nis_hash): Likewise.
18789         * posix/fnmatch_loop.c (FCT): Likewise.
18790         * posix/getconf.c (print_all): Likewise.
18791         (main): Likewise.
18792         * posix/getopt.c (exchange): Likewise.
18793         * posix/glob.c (globfree): Likewise.
18794         (prefix_array): Likewise.
18795         (__glob_pattern_type): Likewise.
18796         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18797         (NS_GET32): Likewise.
18798         (NS_PUT16): Likewise.
18799         (NS_PUT32): Likewise.
18800         * resolv/gethnamaddr.c (getanswer): Likewise.
18801         (gethostbyname2): Likewise.
18802         (gethostbyaddr): Likewise.
18803         (_gethtent): Likewise.
18804         (_gethtbyname2): Likewise.
18805         (_gethtbyaddr): Likewise.
18806         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18807         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18808         * resolv/res_init.c (__res_vinit): Likewise.
18809         (net_mask): Likewise.
18810         * resolv/res_mkquery.c (outchar): Likewise.
18811         (PRINT): Likewise.
18812         * stdio-common/printf_fp.c (outchar): Likewise.
18813         (PRINT): Likewise.
18814         * stdio-common/printf_fphex.c (outchar): Likewise.
18815         (PRINT): Likewise.
18816         * stdio-common/printf_size.c (outchar): Likewise.
18817         (PRINT): Likewise.
18818         * stdio-common/test_rdwr.c (main): Likewise.
18819         * stdio-common/tfformat.c (matches): Likewise.
18820         * stdio-common/vfprintf.c (outchar): Likewise.
18821         (printf_unknown): Likewise.
18822         (buffered_vfprintf): Likewise.
18823         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18824         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18825         (ReadFile): Likewise.
18826         * stdlib/qsort.c (SWAP): Likewise.
18827         (_quicksort): Likewise.
18828         * stdlib/setenv.c (__add_to_environ): Likewise.
18829         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18830         * stdlib/strtol_l.c (__strtol_l): Likewise.
18831         * stdlib/tst-strtod.c (main): Likewise.
18832         * stdlib/tst-strtol.c (main): Likewise.
18833         * stdlib/tst-strtoll.c (main): Likewise.
18834         * string/bits/string2.h (__strcmp_cc): Likewise.
18835         (__strcmp_cg): Likewise.
18836         (__strcspn_c1): Likewise.
18837         (__strcspn_c2): Likewise.
18838         (__strcspn_c3): Likewise.
18839         (__strspn_c1): Likewise.
18840         (__strspn_c2): Likewise.
18841         (__strspn_c3): Likewise.
18842         (__strsep_1c): Likewise.
18843         (__strsep_2c): Likewise.
18844         (__strsep_3c): Likewise.
18845         * string/memccpy.c (__memccpy): Likewise.
18846         * string/stpcpy.c (__stpcpy): Likewise.
18847         * string/strcmp.c (strcmp): Likewise.
18848         * string/strrchr.c (strrchr): Likewise.
18849         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18850         Likewise.
18851         * sysdeps/mach/hurd/getcwd.c
18852         (_hurd_canonicalize_directory_name_internal): Likewise.
18853         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18854         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18855         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18856         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18857         Likewise, in both definitions.
18858         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18859         definitions.
18860         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18861         64] (__bswap_64): Likewise.
18862         * time/test_time.c (main): Likewise.
18863         * time/tzfile.c (__tzfile_read): Likewise.
18864         (__tzfile_compute): Likewise.
18865         * time/tzset.c (__tzset_parse_tz): Likewise.
18866         (tzset_internal): Likewise.
18867         (compute_change): Likewise.
18868         * wcsmbs/wcscat.c (__wcscat): Likewise.
18869         * wcsmbs/wcschr.c (wcschr): Likewise.
18870         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18871         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18872         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18873         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18874         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18875         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18876         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18877         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18878         * wcsmbs/wmemset.c (wmemset): Likewise.
18879
18880 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18881
18882         * scripts/config.guess: Update to version 2013-05-16.
18883         * scripts/config.sub: Update to version 2013-04-24.
18884         * scripts/install-sh: Update to version 2011-11-20.07.
18885         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18886         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18887
18888 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18889
18890         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18891         * elf/sln.c: Likewise.
18892         * hurd/hurd/ioctl.h: Likewise.
18893         * hurd/hurdmalloc.c: Likewise.
18894         * hurd/xattr.c: Likewise.
18895         * include/shlib-compat.h: Likewise.
18896         * inet/ruserpass.c: Likewise.
18897         * libio/iofgets_u.c: Likewise.
18898         * libio/iofgetws_u.c: Likewise.
18899         * locale/programs/ld-identification.c: Likewise.
18900         * locale/programs/ld-time.c: Likewise.
18901         * mach/msg-destroy.c: Likewise.
18902         * nss/nss_files/files-netgrp.c: Likewise.
18903         * resolv/res_data.c: Likewise.
18904         * soft-fp/op-1.h: Likewise.
18905         * soft-fp/op-2.h: Likewise.
18906         * soft-fp/op-4.h: Likewise.
18907         * soft-fp/op-common.h: Likewise.
18908         * stdio-common/printf_fphex.c: Likewise.
18909         * stdlib/strtod_l.c: Likewise.
18910         * sunrpc/rpc/clnt.h: Likewise.
18911         * sysdeps/generic/framestate.c: Likewise.
18912         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18913         * sysdeps/i386/bsd-setjmp.S: Likewise.
18914         * sysdeps/i386/__longjmp.S: Likewise.
18915         * sysdeps/i386/setjmp.S: Likewise.
18916         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18917         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18918         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18919         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18920         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18921         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18922         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18923         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18924         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18925         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18926         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18927         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18928         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18929         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18930         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18931         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18932         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18933         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18934         * sysdeps/ieee754/support.c: Likewise.
18935         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18936         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18937         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18938         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18939         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18940         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18941         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18942         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18943         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18944         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18945         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18946         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18947         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18948         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18949         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18950         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18951         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18953
18954 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18955
18956         * posix/transbug.c: Remove executable mode.
18957
18958 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18959
18960         * crypt/speeds.c: Remove trailing whitespace.
18961         * dlfcn/default.c: Likewise.
18962         * elf/ifuncdep2.c: Likewise.
18963         * elf/ifuncmain1.c: Likewise.
18964         * elf/ifuncmain1vis.c: Likewise.
18965         * elf/testobj.h: Likewise.
18966         * elf/tst-stackguard1.c: Likewise.
18967         * gmon/sys/gmon.h: Likewise.
18968         * hurd/hurdmsg.c: Likewise.
18969         * hurd/new-fd.c: Likewise.
18970         * hurd/ports-get.c: Likewise.
18971         * iconvdata/ibm1008_420.c: Likewise.
18972         * inet/tst-getni1.c: Likewise.
18973         * inet/tst-getni2.c: Likewise.
18974         * libio/ioungetc.c: Likewise.
18975         * libio/wfiledoalloc.c: Likewise.
18976         * manual/libm-err-tab.pl: Likewise.
18977         * math/w_dremf.c: Likewise.
18978         * misc/ftruncate.c: Likewise.
18979         * posix/bug-glob2.c: Likewise.
18980         * posix/tst-pcre.c: Likewise.
18981         * posix/wait4.c: Likewise.
18982         * resolv/README: Likewise.
18983         * resolv/res_debug.h: Likewise.
18984         * resolv/tst-inet_ntop.c: Likewise.
18985         * setjmp/bug269-setjmp.c: Likewise.
18986         * soft-fp/extended.h: Likewise.
18987         * soft-fp/op-1.h: Likewise.
18988         * soft-fp/op-2.h: Likewise.
18989         * soft-fp/op-4.h: Likewise.
18990         * soft-fp/op-8.h: Likewise.
18991         * soft-fp/testit.c: Likewise.
18992         * stdio-common/bug16.c: Likewise.
18993         * stdlib/random.c: Likewise.
18994         * sunrpc/rpcsvc/rquota.x: Likewise.
18995         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18996         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18997         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18998         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18999         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19000         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19001         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19002         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19003         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19004         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19005         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19006         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19007         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19008         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19009         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19010         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19011         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19012         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19013         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19014         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19015         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19016         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19017         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19018         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19019         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19020         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19021         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19022         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19023         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19024         * sysdeps/ieee754/s_lib_version.c: Likewise.
19025         * sysdeps/mach/hurd/check_fds.c: Likewise.
19026         * sysdeps/mach/hurd/getsockname.c: Likewise.
19027         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19028         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19029         * sysdeps/powerpc/bits/link.h: Likewise.
19030         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19031         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19032         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19033         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19034         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19035         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19036         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19037         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19038         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19039         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19040         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19041         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19042         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19043         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19044         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19045         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19046         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19047         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19048         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19049         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19050         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19051         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19053         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19054         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19055         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19056         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19057         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19058         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19059         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19060         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19061         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19062         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19063         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19064         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19065         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19066         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19067         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19068         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19069         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19070         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19071         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19072         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19073         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19074         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19075         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19076         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19077         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19078         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19079         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19080         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19081         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19082         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19083         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19084         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19085         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19086         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19087         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19088         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19089         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19090         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19091         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19092         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19093         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19094         * sysdeps/powerpc/sysdep.h: Likewise.
19095         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19096         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19097         * sysdeps/sh/dl-trampoline.S: Likewise.
19098         * sysdeps/sh/memset.S: Likewise.
19099         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19100         * sysdeps/sh/strlen.S: Likewise.
19101         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19102         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19103         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19104         * sysdeps/sparc/sparc32/rem.S: Likewise.
19105         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19106         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19107         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19108         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19109         * sysdeps/sparc/sparc32/urem.S: Likewise.
19110         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19111         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19112         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19113         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19114         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19115         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19116         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19117         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19118         * sysdeps/unix/bsd/times.c: Likewise.
19119         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19120         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19124         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19125         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19126         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19127         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19128         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19129         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19130         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19131         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19132         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19133         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19134         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19135         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19136         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19137         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19138         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19139         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19140         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19141         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19142         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19143         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19144         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19145         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19146         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19147         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19148         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19149         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19150         * sysdeps/x86_64/strcspn.S: Likewise.
19151
19152 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19153
19154         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19155         generated file.  Regenerate properly from gen-translit.pl.
19156         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19157         locale/C-translit.h.
19158
19159 2013-06-05  Andreas Schwab  <schwab@suse.de>
19160
19161         [BZ #15100]
19162         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19163         week as 6 instead of -1.
19164         * time/tst-strptime.c (day_tests): Add test case.
19165
19166 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19167
19168         * sysdeps/generic/math_private.h
19169         (libc_feholdexcept_setround_53bit): Replace with
19170         libc_feholdsetround_53bit.
19171         (libc_feupdateenv_53bit): Replace with
19172         libc_feresetround_53bit.
19173         (SET_RESTORE_ROUND_53BIT): Adjust.
19174
19175 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19176
19177         * string/test-strchrnul.c: Add copyright header.
19178
19179         * posix/tst-getaddrinfo4.c: Increase test timeout.
19180
19181 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19182
19183         [BZ #15536]
19184         * math/libm-test.inc (MAX_EXP): Remove
19185         (MIN_EXP): Define.
19186         (ulp): Use MIN_EXP - MANT_DIG.
19187         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19188
19189 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19190
19191         * po/be.po: Revert last change.
19192         * po/zh_CN.po: Likewise.
19193         * po/header.pot: Likewise.
19194
19195 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19196
19197         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19198         link-libc-deps to empty as target-specific variable.
19199         * Makerules (link-libc-args): New variable.
19200         (libc-for-link): Likewise.
19201         (link-libc-deps): Likewise.
19202         (lib%.so): Depend on $(link-libc-deps).  Link with
19203         $(link-libc-args).
19204         (build-module): Link with $(link-libc-args).
19205         (build-module-asneeded): Likewise.
19206         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19207         list of objects.
19208         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19209         target-specific variable.
19210         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19211         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19212         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19213         libc.
19214         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19215         libc and ld.so.
19216         ($(objpfx)libpcprofile.so): Likewise.
19217         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19218         libc_nonshared.a.
19219         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19220         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19221         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19222         $(link-libc-deps).
19223         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19224         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19225         * login/Makefile ($(objpfx)libutil.so): Likewise.
19226         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19227         * math/Makefile ($(objpfx)libm.so): Likewise.
19228         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19229         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19230         variable instead of depending directly on libc.
19231         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19232         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19233         $(link-libc-deps).
19234         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19235         libc.
19236         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19237         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19238         ($(objpfx)libanl.so): Likewise.
19239         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19240         ld.so.
19241         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19242         $(link-libc-deps).
19243         * sysdeps/i386/fpu/Makefile: Remove file.
19244         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19245         ($(objpfx)libm.so): Remove dependency on ld.so.
19246
19247 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19248
19249         [BZ # 15553]
19250         * nis/yp_xdr.c (XDRMAXNAME): Define.
19251         (XDRMAXRECORD): Define.
19252         (xdr_domainname): Use XDRMAXNAME.
19253         (xdr_mapname): Likewise.
19254         (xdr_peername): Likewise.
19255         (xdr_keydat): Use XDRMAXRECORD.
19256         (xdr_valdat): Likewise.
19257
19258 2013-05-30  Jeff Law  <law@redhat.com>
19259
19260         [BZ #14256]
19261         * manual/errno.texi (ESTALE): Update to account for more than
19262         just NFS file systems.
19263         * sysdeps/gnu/errlist.c: Regenerated.
19264
19265 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19266
19267         [BZ #15465]
19268         * elf/Makefile (tests): Add tst-null-argv.
19269         (modules-names):  Add tst-null-argv-lib.
19270         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19271         (tst-null-argv-ENV): Set environment for tst-null-argv.
19272         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19273         (RTLD_PROGNAME): New macro.
19274         * elf/tst-null-argv.c: New test case.
19275         * elf/tst-null-argv-lib.c: Library for test case.
19276         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19277         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19278         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19279         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19280         * elf/dl-init.c (call_init): Likewise.
19281         (_dl_init): Likewise.
19282         * elf/dl-load.c (print_search_path): Likewise.
19283         (_dl_map_object): Likewise.
19284         * elf/dl-lookup.c (do_lookup_x): Likewise.
19285         (add_dependency): Likewise.
19286         (_dl_lookup_symbol_x): Likewise.
19287         (_dl_debug_bindings): Likewise.
19288         * elf/dl-open.c (_dl_show_scope): Likewise.
19289         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19290         * elf/dl-version.c (match_symbol): Likewise.
19291         (_dl_check_map_versions): Likewise.
19292         * elf/rtld.c (dl_main): Likewise.
19293         (print_unresolved): Use RTLD_PROGNAME.
19294         (print_missing_version): Likewise.
19295         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19296         (elf_machine_rela): Likewise.
19297         * sysdeps/powerpc/powerpc32/dl-machine.c
19298         (__process_machine_rela): Likewise.
19299         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19300         Likewise.
19301         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19302         Likewise.
19303         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19304         Likewise.
19305         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19306         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19307         Likewise.
19308         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19309         Likewise.
19310         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19311
19312 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19313
19314         * po/be.po: Add descriptive title.
19315         * po/zh_CN.po: Likewise.
19316         * po/header.pot: Likewise.
19317
19318 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19319
19320         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19321         error message.
19322         (enlarge_archive): Likewise.
19323
19324 2013-05-28  Ben North  <ben@redfrontdoor.org>
19325
19326         * manual/arith.texi (frexp): It is the magnitude of the return
19327         value which lies in [0.5, 1), not the return value itself.
19328
19329 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19330
19331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19332
19333 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19334
19335         * stdio-common/bug26.c (main): Correct fscanf template.
19336
19337         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19338         declare _dl_skip_args.
19339
19340         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19341         Don't declare.
19342
19343         * manual/platform.texi: Add missing @end deftypefun.
19344
19345 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19346
19347         [BZ #15529]
19348         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19349         bit of mantissa of 2^16382.
19350         * math/libm-test.inc (hypot_test_data): Add more tests.
19351
19352         * math/libm-test.inc: Add drem and pow10 to list of tested
19353         functions.
19354         (pow10_test): New function.
19355         (drem_test): Likewise.
19356         (drem_test_tonearest): Likewise.
19357         (drem_test_towardzero): Likewise.
19358         (drem_test_downward): Likewise.
19359         (drem_test_upward): Likewise.
19360         (main): Call the new functions.
19361
19362         * math/libm-test.inc (finite_test_data): Remove.
19363         (finite_test): Run tests from isfinite_test_data.
19364         (gamma_test_data): Remove.
19365         (gamma_test): Run tests from lgamma_test_data.
19366         * sysdeps/i386/fpu/libm-test-ulps: Update.
19367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19368
19369 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19370
19371         * manual/platform.texi: Add PowerPC PPR function set documentation.
19372         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19373         implementation.
19374
19375 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19376
19377         * math/libm-test.inc (MAX_EXP): Define.
19378         (ULPDIFF): Define.
19379         (ulp): New function.
19380         (check_float_internal): Use ULPDIFF.
19381         (cpow_test): Disable failing test.
19382         (check_ulp): Test ulp() implemetnation.
19383         (main): Call check_ulp before starting tests.
19384
19385 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19386
19387         * math/gen-libm-test.pl (generate_testfile): Do not handle
19388         START_DATA and END_DATA.
19389         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19390         END_DATA.
19391         (acos_tonearest_test_data): Likewise.
19392         (acos_towardzero_test_data): Likewise.
19393         (acos_downward_test_data): Likewise.
19394         (acos_upward_test_data): Likewise.
19395         (acosh_test_data): Likewise.
19396         (asin_test_data): Likewise.
19397         (asin_tonearest_test_data): Likewise.
19398         (asin_towardzero_test_data): Likewise.
19399         (asin_downward_test_data): Likewise.
19400         (asin_upward_test_data): Likewise.
19401         (asinh_test_data): Likewise.
19402         (atan_test_data): Likewise.
19403         (atanh_test_data): Likewise.
19404         (atan2_test_data): Likewise.
19405         (cabs_test_data): Likewise.
19406         (cacos_test_data): Likewise.
19407         (cacosh_test_data): Likewise.
19408         (carg_test_data): Likewise.
19409         (casin_test_data): Likewise.
19410         (casinh_test_data): Likewise.
19411         (catan_test_data): Likewise.
19412         (catanh_test_data): Likewise.
19413         (cbrt_test_data): Likewise.
19414         (ccos_test_data): Likewise.
19415         (ccosh_test_data): Likewise.
19416         (ceil_test_data): Likewise.
19417         (cexp_test_data): Likewise.
19418         (cimag_test_data): Likewise.
19419         (clog_test_data): Likewise.
19420         (clog10_test_data): Likewise.
19421         (conj_test_data): Likewise.
19422         (copysign_test_data): Likewise.
19423         (cos_test_data): Likewise.
19424         (cos_tonearest_test_data): Likewise.
19425         (cos_towardzero_test_data): Likewise.
19426         (cos_downward_test_data): Likewise.
19427         (cos_upward_test_data): Likewise.
19428         (cosh_test_data): Likewise.
19429         (cosh_tonearest_test_data): Likewise.
19430         (cosh_towardzero_test_data): Likewise.
19431         (cosh_downward_test_data): Likewise.
19432         (cosh_upward_test_data): Likewise.
19433         (cpow_test_data): Likewise.
19434         (cproj_test_data): Likewise.
19435         (creal_test_data): Likewise.
19436         (csin_test_data): Likewise.
19437         (csinh_test_data): Likewise.
19438         (csqrt_test_data): Likewise.
19439         (ctan_test_data): Likewise.
19440         (ctan_tonearest_test_data): Likewise.
19441         (ctan_towardzero_test_data): Likewise.
19442         (ctan_downward_test_data): Likewise.
19443         (ctan_upward_test_data): Likewise.
19444         (ctanh_test_data): Likewise.
19445         (ctanh_tonearest_test_data): Likewise.
19446         (ctanh_towardzero_test_data): Likewise.
19447         (ctanh_downward_test_data): Likewise.
19448         (ctanh_upward_test_data): Likewise.
19449         (erf_test_data): Likewise.
19450         (erfc_test_data): Likewise.
19451         (exp_test_data): Likewise.
19452         (exp_tonearest_test_data): Likewise.
19453         (exp_towardzero_test_data): Likewise.
19454         (exp_downward_test_data): Likewise.
19455         (exp_upward_test_data): Likewise.
19456         (exp10_test_data): Likewise.
19457         (exp2_test_data): Likewise.
19458         (expm1_test_data): Likewise.
19459         (fabs_test_data): Likewise.
19460         (fdim_test_data): Likewise.
19461         (finite_test_data): Likewise.
19462         (floor_test_data): Likewise.
19463         (fma_test_data): Likewise.
19464         (fma_towardzero_test_data): Likewise.
19465         (fma_downward_test_data): Likewise.
19466         (fma_upward_test_data): Likewise.
19467         (fmax_test_data): Likewise.
19468         (fmin_test_data): Likewise.
19469         (fmod_test_data): Likewise.
19470         (fpclassify_test_data): Likewise.
19471         (frexp_test_data): Likewise.
19472         (gamma_test_data): Likewise.
19473         (hypot_test_data): Likewise.
19474         (ilogb_test_data): Likewise.
19475         (isfinite_test_data): Likewise.
19476         (isgreater_test_data): Likewise.
19477         (isgreaterequal_test_data): Likewise.
19478         (isinf_test_data): Likewise.
19479         (isless_test_data): Likewise.
19480         (islessequal_test_data): Likewise.
19481         (islessgreater_test_data): Likewise.
19482         (isnan_test_data): Likewise.
19483         (isnormal_test_data): Likewise.
19484         (issignaling_test_data): Likewise.
19485         (isunordered_test_data): Likewise.
19486         (j0_test_data): Likewise.
19487         (j1_test_data): Likewise.
19488         (jn_test_data): Likewise.
19489         (ldexp_test_data): Likewise.
19490         (lgamma_test_data): Likewise.
19491         (lrint_test_data): Likewise.
19492         (lrint_tonearest_test_data): Likewise.
19493         (lrint_towardzero_test_data): Likewise.
19494         (lrint_downward_test_data): Likewise.
19495         (lrint_upward_test_data): Likewise.
19496         (llrint_test_data): Likewise.
19497         (llrint_tonearest_test_data): Likewise.
19498         (llrint_towardzero_test_data): Likewise.
19499         (llrint_downward_test_data): Likewise.
19500         (llrint_upward_test_data): Likewise.
19501         (log_test_data): Likewise.
19502         (log10_test_data): Likewise.
19503         (log1p_test_data): Likewise.
19504         (log2_test_data): Likewise.
19505         (logb_test_data): Likewise.
19506         (logb_downward_test_data): Likewise.
19507         (lround_test_data): Likewise.
19508         (llround_test_data): Likewise.
19509         (modf_test_data): Likewise.
19510         (nearbyint_test_data): Likewise.
19511         (nextafter_test_data): Likewise.
19512         (nexttoward_test_data): Likewise.
19513         (pow_test_data): Likewise.
19514         (pow_tonearest_test_data): Likewise.
19515         (pow_towardzero_test_data): Likewise.
19516         (pow_downward_test_data): Likewise.
19517         (pow_upward_test_data): Likewise.
19518         (remainder_test_data): Likewise.
19519         (remainder_tonearest_test_data): Likewise.
19520         (remainder_towardzero_test_data): Likewise.
19521         (remainder_downward_test_data): Likewise.
19522         (remainder_upward_test_data): Likewise.
19523         (remquo_test_data): Likewise.
19524         (rint_test_data): Likewise.
19525         (rint_tonearest_test_data): Likewise.
19526         (rint_towardzero_test_data): Likewise.
19527         (rint_downward_test_data): Likewise.
19528         (rint_upward_test_data): Likewise.
19529         (round_test_data): Likewise.
19530         (scalb_test_data): Likewise.
19531         (scalbn_test_data): Likewise.
19532         (scalbln_test_data): Likewise.
19533         (signbit_test_data): Likewise.
19534         (sin_test_data): Likewise.
19535         (sin_tonearest_test_data): Likewise.
19536         (sin_towardzero_test_data): Likewise.
19537         (sin_downward_test_data): Likewise.
19538         (sin_upward_test_data): Likewise.
19539         (sincos_test_data): Likewise.
19540         (sinh_test_data): Likewise.
19541         (sinh_tonearest_test_data): Likewise.
19542         (sinh_towardzero_test_data): Likewise.
19543         (sinh_downward_test_data): Likewise.
19544         (sinh_upward_test_data): Likewise.
19545         (sqrt_test_data): Likewise.
19546         (tan_test_data): Likewise.
19547         (tan_tonearest_test_data): Likewise.
19548         (tan_towardzero_test_data): Likewise.
19549         (tan_downward_test_data): Likewise.
19550         (tan_upward_test_data): Likewise.
19551         (tanh_test_data): Likewise.
19552         (tgamma_test_data): Likewise.
19553         (trunc_test_data): Likewise.
19554         (y0_test_data): Likewise.
19555         (y1_test_data): Likewise.
19556         (yn_test_data): Likewise.
19557         (significand_test_data): Likewise.
19558
19559         * math/gen-libm-test.pl (@functions): Remove variable.
19560         (generate_testfile): Don't handle START and END lines.
19561         * math/libm-test.inc (START): New macro.
19562         (END): Likewise.
19563         (END_COMPLEX): Likewise.
19564         (acos_test): Use END macro without arguments.
19565         (acos_test_tonearest): Likewise.
19566         (acos_test_towardzero): Likewise.
19567         (acos_test_downward): Likewise.
19568         (acos_test_upward): Likewise.
19569         (acosh_test): Likewise.
19570         (asin_test): Likewise.
19571         (asin_test_tonearest): Likewise.
19572         (asin_test_towardzero): Likewise.
19573         (asin_test_downward): Likewise.
19574         (asin_test_upward): Likewise.
19575         (asinh_test): Likewise.
19576         (atan_test): Likewise.
19577         (atanh_test): Likewise.
19578         (atan2_test): Likewise.
19579         (cabs_test): Likewise.
19580         (cacos_test): Use END_COMPLEX macro without arguments.
19581         (cacosh_test): Likewise.
19582         (carg_test): Use END macro without arguments.
19583         (casin_test): Use END_COMPLEX macro without arguments.
19584         (casinh_test): Likewise.
19585         (catan_test): Likewise.
19586         (catanh_test): Likewise.
19587         (cbrt_test): Use END macro without arguments.
19588         (ccos_test): Use END_COMPLEX macro without arguments.
19589         (ccosh_test): Likewise.
19590         (ceil_test): Use END macro without arguments.
19591         (cexp_test): Use END_COMPLEX macro without arguments.
19592         (cimag_test): Use END macro without arguments.
19593         (clog_test): Use END_COMPLEX macro without arguments.
19594         (clog10_test): Likewise.
19595         (conj_test): Likewise.
19596         (copysign_test): Use END macro without arguments.
19597         (cos_test): Likewise.
19598         (cos_test_tonearest): Likewise.
19599         (cos_test_towardzero): Likewise.
19600         (cos_test_downward): Likewise.
19601         (cos_test_upward): Likewise.
19602         (cosh_test): Likewise.
19603         (cosh_test_tonearest): Likewise.
19604         (cosh_test_towardzero): Likewise.
19605         (cosh_test_downward): Likewise.
19606         (cosh_test_upward): Likewise.
19607         (cpow_test): Use END_COMPLEX macro without arguments.
19608         (cproj_test): Likewise.
19609         (creal_test): Use END macro without arguments.
19610         (csin_test): Use END_COMPLEX macro without arguments.
19611         (csinh_test): Likewise.
19612         (csqrt_test): Likewise.
19613         (ctan_test): Likewise.
19614         (ctan_test_tonearest): Likewise.
19615         (ctan_test_towardzero): Likewise.
19616         (ctan_test_downward): Likewise.
19617         (ctan_test_upward): Likewise.
19618         (ctanh_test): Likewise.
19619         (ctanh_test_tonearest): Likewise.
19620         (ctanh_test_towardzero): Likewise.
19621         (ctanh_test_downward): Likewise.
19622         (ctanh_test_upward): Likewise.
19623         (erf_test): Use END macro without arguments.
19624         (erfc_test): Likewise.
19625         (exp_test): Likewise.
19626         (exp_test_tonearest): Likewise.
19627         (exp_test_towardzero): Likewise.
19628         (exp_test_downward): Likewise.
19629         (exp_test_upward): Likewise.
19630         (exp10_test): Likewise.
19631         (exp2_test): Likewise.
19632         (expm1_test): Likewise.
19633         (fabs_test): Likewise.
19634         (fdim_test): Likewise.
19635         (finite_test): Likewise.
19636         (floor_test): Likewise.
19637         (fma_test): Likewise.
19638         (fma_test_towardzero): Likewise.
19639         (fma_test_downward): Likewise.
19640         (fma_test_upward): Likewise.
19641         (fmax_test): Likewise.
19642         (fmin_test): Likewise.
19643         (fmod_test): Likewise.
19644         (fpclassify_test): Likewise.
19645         (frexp_test): Likewise.
19646         (gamma_test): Likewise.
19647         (hypot_test): Likewise.
19648         (ilogb_test): Likewise.
19649         (isfinite_test): Likewise.
19650         (isgreater_test): Likewise.
19651         (isgreaterequal_test): Likewise.
19652         (isinf_test): Likewise.
19653         (isless_test): Likewise.
19654         (islessequal_test): Likewise.
19655         (islessgreater_test): Likewise.
19656         (isnan_test): Likewise.
19657         (isnormal_test): Likewise.
19658         (issignaling_test): Likewise.
19659         (isunordered_test): Likewise.
19660         (j0_test): Likewise.
19661         (j1_test): Likewise.
19662         (jn_test): Likewise.
19663         (ldexp_test): Likewise.
19664         (lgamma_test): Likewise.
19665         (lrint_test): Likewise.
19666         (lrint_test_tonearest): Likewise.
19667         (lrint_test_towardzero): Likewise.
19668         (lrint_test_downward): Likewise.
19669         (lrint_test_upward): Likewise.
19670         (llrint_test): Likewise.
19671         (llrint_test_tonearest): Likewise.
19672         (llrint_test_towardzero): Likewise.
19673         (llrint_test_downward): Likewise.
19674         (llrint_test_upward): Likewise.
19675         (log_test): Likewise.
19676         (log10_test): Likewise.
19677         (log1p_test): Likewise.
19678         (log2_test): Likewise.
19679         (logb_test): Likewise.
19680         (logb_test_downward): Likewise.
19681         (lround_test): Likewise.
19682         (llround_test): Likewise.
19683         (modf_test): Likewise.
19684         (nearbyint_test): Likewise.
19685         (nextafter_test): Likewise.
19686         (nexttoward_test): Likewise.
19687         (pow_test): Likewise.
19688         (pow_test_tonearest): Likewise.
19689         (pow_test_towardzero): Likewise.
19690         (pow_test_downward): Likewise.
19691         (pow_test_upward): Likewise.
19692         (remainder_test): Likewise.
19693         (remainder_test_tonearest): Likewise.
19694         (remainder_test_towardzero): Likewise.
19695         (remainder_test_downward): Likewise.
19696         (remainder_test_upward): Likewise.
19697         (remquo_test): Likewise.
19698         (rint_test): Likewise.
19699         (rint_test_tonearest): Likewise.
19700         (rint_test_towardzero): Likewise.
19701         (rint_test_downward): Likewise.
19702         (rint_test_upward): Likewise.
19703         (round_test): Likewise.
19704         (scalb_test): Likewise.
19705         (scalbn_test): Likewise.
19706         (scalbln_test): Likewise.
19707         (signbit_test): Likewise.
19708         (sin_test): Likewise.
19709         (sin_test_tonearest): Likewise.
19710         (sin_test_towardzero): Likewise.
19711         (sin_test_downward): Likewise.
19712         (sin_test_upward): Likewise.
19713         (sincos_test): Likewise.
19714         (sinh_test): Likewise.
19715         (sinh_test_tonearest): Likewise.
19716         (sinh_test_towardzero): Likewise.
19717         (sinh_test_downward): Likewise.
19718         (sinh_test_upward): Likewise.
19719         (sqrt_test): Likewise.
19720         (tan_test): Likewise.
19721         (tan_test_tonearest): Likewise.
19722         (tan_test_towardzero): Likewise.
19723         (tan_test_downward): Likewise.
19724         (tan_test_upward): Likewise.
19725         (tanh_test): Likewise.
19726         (tgamma_test): Likewise.
19727         (trunc_test): Likewise.
19728         (y0_test): Likewise.
19729         (y1_test): Likewise.
19730         (yn_test): Likewise.
19731         (significand_test): Likewise.
19732
19733 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19734
19735         [BZ #15381]
19736         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19737
19738 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19739
19740         [BZ #14894]
19741         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19742         __ppc_mdoio and __ppc_mdoom.
19743         * manual/platform.texi: Document new functions __ppc_yield,
19744         __ppc_mdoio and __ppc_mdoom.
19745
19746 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19747
19748         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19749         (main): Mention "tls" pseudo-hwcap is legacy.
19750         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19751
19752 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19753
19754         * math/gen-libm-test.pl (parse_args): Output only string of
19755         arguments as text for test name, not full call or descriptions of
19756         tests for extra outputs.
19757         (generate_testfile): Do not pass function name to parse_args.
19758         Generate this_func variable from START.
19759         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19760         field to arg_str.
19761         (struct test_ff_f_data): Likewise.
19762         (test_ff_f_data_nexttoward): Likewise.
19763         (struct test_fi_f_data): Likewise.
19764         (struct test_fl_f_data): Likewise.
19765         (struct test_if_f_data): Likewise.
19766         (struct test_fff_f_data): Likewise.
19767         (struct test_c_f_data): Likewise.
19768         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19769         (struct test_fF_f1_data): Likewise.
19770         (struct test_ffI_f1_data): Likewise.
19771         (struct test_c_c_data): Rename test_name field to arg_str.
19772         (struct test_cc_c_data): Likewise.
19773         (struct test_f_i_data): Likewise.
19774         (struct test_ff_i_data): Likewise.
19775         (struct test_f_l_data): Likewise.
19776         (struct test_f_L_data): Likewise.
19777         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19778         and extra2_name.
19779         (COMMON_TEST_SETUP): New macro.
19780         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19781         (COMMON_TEST_CLEANUP): Likewise.
19782         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19783         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19784         macros.
19785         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19786         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19787         macros.
19788         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19789         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19790         cleanup macros.
19791         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19792         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19793         macros.
19794         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19795         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19796         macros.
19797         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19798         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19799         cleanup macros.
19800         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19801         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19802         cleanup macros.
19803         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19804         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19805         cleanup macros.
19806         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19807         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19808         macros.
19809         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19810         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19811         macros.
19812         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19813         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19814         macros.
19815         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19816         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19817         cleanup macros.
19818         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19819         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19820         cleanup macros.
19821         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19822         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19823         macros.
19824         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19825         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19826         cleanup macros.
19827         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19828         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19829         macros.
19830         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19831         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19832         macros.
19833         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19834         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19835         cleanup macros.
19836         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19837
19838 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19839
19840         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19841         to _sifields.sigfault.
19842         (si_addr_lsb): Define new macro.
19843         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19844         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19845         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19846
19847 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19848
19849         [BZ #15441]
19850         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19851         returns -1.
19852         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19853         null return -1.
19854         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19855         loading the domain.
19856
19857 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19858
19859         * math/gen-libm-test.pl (parse_args): Do not include expected
19860         result in test name.
19861         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19862         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19863         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19864         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19865         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19867
19868 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19869
19870         * benchtests/Makefile: Sort function entries.
19871
19872         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19873         tanh, asinh, acosh, atanh.
19874         * benchtests/acos-inputs: New file.
19875         * benchtests/acosh-inputs: New file.
19876         * benchtests/asin-inputs: New file.
19877         * benchtests/asinh-inputs: New file.
19878         * benchtests/atanh-inputs: New file.
19879         * benchtests/cosh-inputs: New file.
19880         * benchtests/log-inputs: New file.
19881         * benchtests/sinh-inputs: New file.
19882         * benchtests/tanh-inputs: New file.
19883
19884 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19885
19886         [BZ #15339]
19887         * posix/tst-getaddrinfo4.c: New test.
19888         * posix/Makefile (tests): Add it.
19889
19890 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19891
19892         [BZ #15339]
19893         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19894         when no services were used.
19895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19896         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19897
19898 2013-05-21  Andreas Schwab  <schwab@suse.de>
19899
19900         [BZ #15014]
19901         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19902         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19903         successful.
19904         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19905         redundant variable declarations and reallocation of buffer when
19906         parsing as IPv6 address.  Always set NSS status when called from
19907         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19908         buffer too small.  Correct computation of needed size.
19909         * nss/Makefile (tests): Add test-digits-dots.
19910         * nss/test-digits-dots.c: New test.
19911
19912 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19913
19914         * benchtests/Makefile: Remove instructions for adding
19915         benchmark tests.
19916         * benchtests/README: New file to explain how to execute and
19917         enhance the benchmark tests.
19918
19919 2013-05-21  Andreas Schwab  <schwab@suse.de>
19920
19921         [BZ #15493]
19922         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19923         * setjmp/tst-sigsetjmp.c: New test.
19924
19925 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19926
19927         * sysdeps/x86_64/memset.S (memset): New implementation.
19928         (__bzero): Likewise.
19929         (__memset_tail): New function.
19930
19931 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19932
19933         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19934         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19935         __memcpy_sse2_unaligned ifunc selection.
19936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19937         Add memcpy-sse2-unaligned.S.
19938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19939         Add: __memcpy_sse2_unaligned.
19940
19941 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19942
19943         [BZ #15490]
19944         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19945         math_force_eval before restoring floating-point envrionment.
19946         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19947         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19948         Likewise.
19949         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19950         <math_private.h>.
19951         (__nearbyintl): Use math_force_eval before restoring
19952         floating-point environment.
19953         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19954
19955         * math/gen-libm-test.pl (special_functions): Remove.
19956         (parse_args): Don't handle TEST_extra.  Handle functions with no
19957         return value.
19958         * math/libm-test.inc (struct test_sincos_data): Replace with
19959         struct test_fFF_11_data.
19960         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19961         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19962         (sincos_test_data): Change element type to struct
19963         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19964         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19965         RUN_TEST_LOOP_sincos.
19966         * math/README.libm-test: Don't mention special handling of
19967         individual functions.
19968         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19969         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19970         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19971         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19972         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19974
19975         * math/gen-libm-test.pl (get_variable): Remove function.
19976         (parse_args): Don't show pointer parameters to call in test
19977         names.  Use "extra output N" in test names for extra outputs
19978         rather than naming variables.
19979
19980 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19981
19982         [BZ #15488]
19983         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19984         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19985         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19986         double tests.
19987         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19988         disable.
19989         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19990         check_long_double.
19991
19992         * math/gen-libm-test.pl (@tests): Remove variable.
19993         ($count): Likewise.
19994         (new_test): Remove function.
19995         (show_exceptions): New function.
19996         (special_functions): Use show_exceptions instead of new_test.
19997         (parse_args): Likewise.
19998         (generate_testfile): Pass only function name in generated call to
19999         print_max_error or print_complex_max_error.
20000         (get_ulps): Do not handle complex tests specially.
20001         (output_test): Rename to ...
20002         (get_all_ulps_for_test): ... this.  Return a string rather than
20003         printing to a file.  Require ulps to be present.
20004         (output_ulps): Generate arrays rather than #defines.
20005         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20006         (struct ulp_data): New type.
20007         (BUILD_COMPLEX_ULP): Remove macro.
20008         (compare_ulp_data): New function.
20009         (find_ulps): Likewise.
20010         (find_test_ulps): Likewise.
20011         (find_function_ulps): Likewise.
20012         (find_complex_function_ulps): Likewise.
20013         (print_max_error): Determine allowed ulps using
20014         find_function_ulps.
20015         (print_complex_max_error): Determine allowed ulps using
20016         find_complex_function_ulps.
20017         (check_float_internal): Determine max ulps using find_test_ulps.
20018         (check_float): Do not take max_ulp parameter.  Update call to
20019         check_float_internal.
20020         (check_complex): Likewise.
20021         (check_int): Do not take max_ulp parameter.
20022         (check_long): Likewise.
20023         (check_bool): Likewise.
20024         (check_longlong): Likewise.
20025         (struct test_f_f_data): Remove max_ulp field.
20026         (struct test_ff_f_data): Likewise.
20027         (struct test_ff_f_data_nexttoward): Likewise.
20028         (struct test_fi_f_data): Likewise.
20029         (struct test_fl_f_data): Likewise.
20030         (struct test_if_f_data): Likewise.
20031         (struct test_fff_f_data): Likewise.
20032         (struct test_c_f_data): Likewise.
20033         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20034         (struct test_fF_f1_data): Likewise.
20035         (struct test_ffI_f1_data): Likewise.
20036         (struct test_c_c_data): Remove max_ulp field.
20037         (struct test_cc_c_data): Likewise.
20038         (struct test_f_i_data): Likewise.
20039         (struct test_ff_i_data): Likewise.
20040         (struct test_f_l_data): Likewise.
20041         (struct test_f_L_data): Likewise.
20042         (struct test_sincos_data): Likewise.
20043         (RUN_TEST_f_f): Do not handle ulps.
20044         (RUN_TEST_LOOP_f_f): Likewise.
20045         (RUN_TEST_2_f): Likewise.
20046         (RUN_TEST_LOOP_2_f): Likewise.
20047         (RUN_TEST_fff_f): Likewise.
20048         (RUN_TEST_LOOP_fff_f): Likewise.
20049         (RUN_TEST_c_f): Likewise.
20050         (RUN_TEST_LOOP_c_f): Likewise.
20051         (RUN_TEST_f_f1): Likewise.
20052         (RUN_TEST_LOOP_f_f1): Likewise.
20053         (RUN_TEST_fF_f1): Likewise.
20054         (RUN_TEST_LOOP_fF_f1): Likewise.
20055         (RUN_TEST_fI_f1): Likewise.
20056         (RUN_TEST_LOOP_fI_f1): Likewise.
20057         (RUN_TEST_ffI_f1): Likewise.
20058         (RUN_TEST_LOOP_ffI_f1): Likewise.
20059         (RUN_TEST_c_c): Likewise.
20060         (RUN_TEST_LOOP_c_c): Likewise.
20061         (RUN_TEST_cc_c): Likewise.
20062         (RUN_TEST_LOOP_cc_c): Likewise.
20063         (RUN_TEST_f_i): Likewise.
20064         (RUN_TEST_LOOP_f_i): Likewise.
20065         (RUN_TEST_f_i_tg): Likewise.
20066         (RUN_TEST_LOOP_f_i_tg): Likewise.
20067         (RUN_TEST_ff_i_tg): Likewise.
20068         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20069         (RUN_TEST_f_b): Likewise.
20070         (RUN_TEST_LOOP_f_b): Likewise.
20071         (RUN_TEST_f_b_tg): Likewise.
20072         (RUN_TEST_LOOP_f_b_tg): Likewise.
20073         (RUN_TEST_f_l): Likewise.
20074         (RUN_TEST_LOOP_f_l): Likewise.
20075         (RUN_TEST_f_L): Likewise.
20076         (RUN_TEST_LOOP_f_L): Likewise.
20077         (RUN_TEST_sincos): Likewise.
20078         (RUN_TEST_LOOP_sincos): Likewise.
20079
20080 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20081
20082         [BZ #15480]
20083         [BZ #15485]
20084         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20085         main case of finite arguments, set rounding mode to FE_TONEAREST
20086         and discard exceptions.
20087         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20088         exceptions.
20089         (remainder_tonearest_test_data): New variable.
20090         (remainder_test_tonearest): New function.
20091         (remainder_towardzero_test_data): New variable.
20092         (remainder_test_towardzero): New function.
20093         (remainder_downward_test_data): New variable.
20094         (remainder_test_downward): New function.
20095         (remainder_upward_test_data): New variable.
20096         (remainder_test_upward): New function.
20097         (main): Call the new test functions.
20098
20099         * math/libm-test.inc (struct test_f_f1_data): Remove field
20100         extra_init.
20101         (struct test_fF_f1_data): Likewise.
20102         (struct test_ffI_f1_data): Likewise.
20103         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20104         based on value of EXTRA_EXPECTED.
20105         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20106         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20107         EXTRA_VAR based on value of EXTRA_EXPECTED.
20108         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20109         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20110         EXTRA_VAR based on value of EXTRA_EXPECTED.
20111         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20112         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20113         EXTRA_VAR based on value of EXTRA_EXPECTED.
20114         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20115         * math/gen-libm-test.pl (parse_args): Don't output initializers
20116         for extra output values.
20117
20118         * math/libm-test.inc (check_int): Expect result to be exactly
20119         equal to expected value and do not handle ulps.
20120         (check_long): Likewise.
20121         (check_longlong): Likewise.
20122
20123         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20124         exceptions.
20125         (cimag_test_data): Likewise.
20126         (conj_test_data): Likewise.
20127         (copysign_test_data): Likewise.
20128         (cproj_test_data): Likewise.
20129         (creal_test_data): Likewise.
20130         (fabs_test_data): Likewise.
20131         (fdim_test_data): Likewise.
20132         (finite_test_data): Likewise.
20133         (floor_test_data): Likewise.
20134         (fmax_test_data): Likewise.
20135         (fmin_test_data): Likewise.
20136         (fmod_test_data): Likewise.
20137         (fpclassify_test_data): Likewise.
20138         (frexp_test_data): Likewise.
20139         (ilogb_test_data): Likewise.
20140         (isfinite_test_data): Likewise.
20141         (isgreater_test_data): Likewise.
20142         (isgreaterequal_test_data): Likewise.
20143         (isinf_test_data): Likewise.
20144         (isless_test_data): Likewise.
20145         (islessequal_test_data): Likewise.
20146         (islessgreater_test_data): Likewise.
20147         (isnan_test_data): Likewise.
20148         (isnormal_test_data): Likewise.
20149         (issignaling_test_data): Likewise.
20150         (isunordered_test_data): Likewise.
20151         (ldexp_test_data): Likewise.
20152         (lrint_test_data): Likewise.
20153         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20154         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20155         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20156         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20157         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20158         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20159         test input.
20160         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20161         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20162         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20163         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20164         that test input.
20165         (lrint_downward_test_data): Test for "inexact" exceptions.
20166         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20167         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20168         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20169         test input.
20170         (lrint_upward_test_data): Test for "inexact" exceptions.
20171         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20172         test input.
20173         (llrint_test_data): Test for "inexact" exceptions.
20174         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20175         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20176         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20177         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20178         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20179         (llrint_downward_test_data): Test for "inexact" exceptions.
20180         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20181         (llrint_upward_test_data): Test for "inexact" exceptions.
20182         (logb_test_data): Likewise.
20183         (logb_downward_test_data): Likewise.
20184         (nextafter_test_data): Likewise.
20185         (nexttoward_test_data): Likewise.
20186         (remainder_test_data): Likewise.
20187         (remquo_test_data): Likewise.
20188         (scalbn_test_data): Likewise.
20189         (scalbln_test_data): Likewise.
20190         (signbit_test_data): Likewise.
20191         (sqrt_test_data): Likewise.
20192         (significand_test_data): Likewise.
20193
20194 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20195
20196         [BZ #15424]
20197         * benchtests/bench-modf.c (struct args): Mark arg0 as
20198         volatile.
20199         * scripts/bench.pl: Mark members of struct args as volatile.
20200
20201 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20202
20203         [BZ # 15497]
20204         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20205         negative infinity on POWER6 or lower.
20206         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20207
20208 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20209
20210         [BZ #15442]
20211         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20212         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20213         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20214         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20215         (_FP_SETQNAN): New macro.
20216         (_FP_SETQNAN_SEMIRAW): Likewise.
20217         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20218         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20219         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20220         (FP_EXTEND): Use _FP_FRAC_SNANP.
20221         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20222         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20223         into account.
20224         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20225         New macro.
20226         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20227         Likewise.
20228
20229 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20230
20231         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20232         with DIVIDE_BY_ZERO_EXCEPTION.
20233         (gamma_test_data): Likewise.
20234         (lgamma_test_data): Likewise.
20235         (log_test_data): Likewise.
20236         (log10_test_data): Likewise.
20237         (log2_test_data): Likewise.
20238         (tgamma_test_data): Likewise.
20239
20240         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20241         (acos_test_tonearest): Likewise.
20242         (acos_test_towardzero): Likewise.
20243         (acos_test_downward): Likewise.
20244         (acos_test_upward): Likewise.
20245         (acosh_test): Likewise.
20246         (asin_test): Likewise.
20247         (asin_test_tonearest): Likewise.
20248         (asin_test_towardzero): Likewise.
20249         (asin_test_downward): Likewise.
20250         (asin_test_upward): Likewise.
20251         (asinh_test): Likewise.
20252         (atan_test): Likewise.
20253         (atanh_test): Likewise.
20254         (atan2_test): Likewise.
20255         (cabs_test): Likewise.
20256         (cacos_test): Likewise.
20257         (cacosh_test): Likewise.
20258         (casin_test): Likewise.
20259         (casinh_test): Likewise.
20260         (catan_test): Likewise.
20261         (catanh_test): Likewise.
20262         (cbrt_test): Likewise.
20263         (ccos_test): Likewise.
20264         (ccosh_test): Likewise.
20265         (cexp_test): Likewise.
20266         (clog_test): Likewise.
20267         (clog10_test): Likewise.
20268         (cos_test): Likewise.
20269         (cos_test_tonearest): Likewise.
20270         (cos_test_towardzero): Likewise.
20271         (cos_test_downward): Likewise.
20272         (cos_test_upward): Likewise.
20273         (cosh_test): Likewise.
20274         (cosh_test_tonearest): Likewise.
20275         (cosh_test_towardzero): Likewise.
20276         (cosh_test_downward): Likewise.
20277         (cosh_test_upward): Likewise.
20278         (cpow_test): Likewise.
20279         (csin_test): Likewise.
20280         (csinh_test): Likewise.
20281         (csqrt_test): Likewise.
20282         (ctan_test): Likewise.
20283         (ctan_test_tonearest): Likewise.
20284         (ctan_test_towardzero): Likewise.
20285         (ctan_test_downward): Likewise.
20286         (ctan_test_upward): Likewise.
20287         (ctanh_test): Likewise.
20288         (ctanh_test_tonearest): Likewise.
20289         (ctanh_test_towardzero): Likewise.
20290         (ctanh_test_downward): Likewise.
20291         (ctanh_test_upward): Likewise.
20292         (erf_test): Likewise.
20293         (erfc_test): Likewise.
20294         (exp_test): Likewise.
20295         (exp_test_tonearest): Likewise.
20296         (exp_test_towardzero): Likewise.
20297         (exp_test_downward): Likewise.
20298         (exp_test_upward): Likewise.
20299         (exp10_test): Likewise.
20300         (exp2_test): Likewise.
20301         (expm1_test): Likewise.
20302         (fmod_test): Likewise.
20303         (gamma_test): Likewise.
20304         (hypot_test): Likewise.
20305         (j0_test): Likewise.
20306         (j1_test): Likewise.
20307         (jn_test): Likewise.
20308         (lgamma_test): Likewise.
20309         (log_test): Likewise.
20310         (log10_test): Likewise.
20311         (log1p_test): Likewise.
20312         (log2_test): Likewise.
20313         (logb_test_downward): Likewise.
20314         (pow_test): Likewise.
20315         (pow_test_tonearest): Likewise.
20316         (pow_test_towardzero): Likewise.
20317         (pow_test_downward): Likewise.
20318         (pow_test_upward): Likewise.
20319         (remainder_test): Likewise.
20320         (remquo_test): Likewise.
20321         (sin_test): Likewise.
20322         (sin_test_tonearest): Likewise.
20323         (sin_test_towardzero): Likewise.
20324         (sin_test_downward): Likewise.
20325         (sin_test_upward): Likewise.
20326         (sincos_test): Likewise.
20327         (sinh_test): Likewise.
20328         (sinh_test_tonearest): Likewise.
20329         (sinh_test_towardzero): Likewise.
20330         (sinh_test_downward): Likewise.
20331         (sinh_test_upward): Likewise.
20332         (sqrt_test): Likewise.
20333         (tan_test): Likewise.
20334         (tan_test_tonearest): Likewise.
20335         (tan_test_towardzero): Likewise.
20336         (tan_test_downward): Likewise.
20337         (tan_test_upward): Likewise.
20338         (tanh_test): Likewise.
20339         (tgamma_test): Likewise.
20340         (y0_test): Likewise.
20341         (y1_test): Likewise.
20342         (yn_test): Likewise.
20343
20344         * math/gen-libm-test.pl (adjust_arg): Remove function.
20345         (special_function): Remove argument $in_func.  Only handle
20346         generating output for tables of tests, not inside functions.
20347         (parse_args): Likewise.
20348         (generate_testfile): Remove variable $in_func.  Update call to
20349         parse_args.
20350         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20351         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20352         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20353         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20354         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20355         (MAX_VALUE_INIT): Rename macro to max_value.
20356         (MIN_VALUE_INIT): Rename macro to min_value.
20357         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20358         (plus_zero): Remove variable.
20359         (minus_zero): Likewise.
20360         (plus_infty): Likewise.
20361         (minus_infty): Likewise.
20362         (qnan_value): Likewise.
20363         (max_value): Likewise.
20364         (min_value): Likewise.
20365         (min_subnorm_value): Likewise.
20366
20367 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20368
20369         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20370         uint64_t or uint32_t usage.
20371         * crypt/sha256-block.c: Likewise.
20372         * crypt/sha256-crypt.c: Likewise.
20373         * crypt/sha256.c: Likewise.
20374         * crypt/sha512-block.c: Likewise.
20375         * crypt/sha512-crypt.c: Likewise.
20376         * crypt/sha512.c: Likewise.
20377         * debug/backtrace-tst.c: Likewise.
20378         * debug/pcprofiledump.c: Likewise.
20379         * elf/cache.c: Likewise.
20380         * elf/dl-cache.c: Likewise.
20381         * elf/dl-misc.c: Likewise.
20382         * elf/dl-profile.c: Likewise.
20383         * elf/dl-support.c: Likewise.
20384         * elf/ldconfig.c: Likewise.
20385         * elf/sprof.c: Likewise.
20386         * iconv/dummy-repertoire.c: Likewise.
20387         * iconv/iconv_charmap.c: Likewise.
20388         * iconv/skeleton.c: Likewise.
20389         * iconvdata/8bit-generic.c: Likewise.
20390         * iconvdata/cp737.h: Likewise.
20391         * iconvdata/cp775.h: Likewise.
20392         * iconvdata/ibm1008.h: Likewise.
20393         * iconvdata/ibm1025.h: Likewise.
20394         * iconvdata/ibm1046.h: Likewise.
20395         * iconvdata/ibm1097.h: Likewise.
20396         * iconvdata/ibm1112.h: Likewise.
20397         * iconvdata/ibm1122.h: Likewise.
20398         * iconvdata/ibm1123.h: Likewise.
20399         * iconvdata/ibm1124.h: Likewise.
20400         * iconvdata/ibm1129.h: Likewise.
20401         * iconvdata/ibm1130.h: Likewise.
20402         * iconvdata/ibm1132.h: Likewise.
20403         * iconvdata/ibm1133.h: Likewise.
20404         * iconvdata/ibm1137.h: Likewise.
20405         * iconvdata/ibm1140.h: Likewise.
20406         * iconvdata/ibm1141.h: Likewise.
20407         * iconvdata/ibm1142.h: Likewise.
20408         * iconvdata/ibm1143.h: Likewise.
20409         * iconvdata/ibm1144.h: Likewise.
20410         * iconvdata/ibm1145.h: Likewise.
20411         * iconvdata/ibm1146.h: Likewise.
20412         * iconvdata/ibm1147.h: Likewise.
20413         * iconvdata/ibm1148.h: Likewise.
20414         * iconvdata/ibm1149.h: Likewise.
20415         * iconvdata/ibm1153.h: Likewise.
20416         * iconvdata/ibm1154.h: Likewise.
20417         * iconvdata/ibm1155.h: Likewise.
20418         * iconvdata/ibm1156.h: Likewise.
20419         * iconvdata/ibm1157.h: Likewise.
20420         * iconvdata/ibm1158.h: Likewise.
20421         * iconvdata/ibm1160.h: Likewise.
20422         * iconvdata/ibm1161.h: Likewise.
20423         * iconvdata/ibm1162.h: Likewise.
20424         * iconvdata/ibm1163.h: Likewise.
20425         * iconvdata/ibm1164.h: Likewise.
20426         * iconvdata/ibm1166.h: Likewise.
20427         * iconvdata/ibm1167.h: Likewise.
20428         * iconvdata/ibm12712.h: Likewise.
20429         * iconvdata/ibm1390.h: Likewise.
20430         * iconvdata/ibm1399.h: Likewise.
20431         * iconvdata/ibm16804.h: Likewise.
20432         * iconvdata/ibm4517.h: Likewise.
20433         * iconvdata/ibm4899.h: Likewise.
20434         * iconvdata/ibm4909.h: Likewise.
20435         * iconvdata/ibm4971.h: Likewise.
20436         * iconvdata/ibm5347.h: Likewise.
20437         * iconvdata/ibm803.h: Likewise.
20438         * iconvdata/ibm856.h: Likewise.
20439         * iconvdata/ibm901.h: Likewise.
20440         * iconvdata/ibm902.h: Likewise.
20441         * iconvdata/ibm9030.h: Likewise.
20442         * iconvdata/ibm9066.h: Likewise.
20443         * iconvdata/ibm921.h: Likewise.
20444         * iconvdata/ibm922.h: Likewise.
20445         * iconvdata/ibm9448.h: Likewise.
20446         * iconvdata/isiri-3342.h: Likewise.
20447         * iconvdata/jis0201.h: Likewise.
20448         * include/link.h: Likewise.
20449         * include/netdb.h: Likewise.
20450         * inet/check_native.c: Likewise.
20451         * inet/check_pf.c: Likewise.
20452         * inet/getipv4sourcefilter.c: Likewise.
20453         * inet/getnameinfo.c: Likewise.
20454         * inet/getsourcefilter.c: Likewise.
20455         * inet/htonl.c: Likewise.
20456         * inet/setipv4sourcefilter.c: Likewise.
20457         * inet/setsourcefilter.c: Likewise.
20458         * inet/test-inet6_opt.c: Likewise.
20459         * inet/tst-network.c: Likewise.
20460         * locale/C-collate.c: Likewise.
20461         * locale/C-ctype.c: Likewise.
20462         * locale/C-time.c: Likewise.
20463         * locale/C-translit.h: Likewise.
20464         * locale/loadarchive.c: Likewise.
20465         * locale/programs/3level.h: Likewise.
20466         * locale/programs/charmap.c: Likewise.
20467         * locale/programs/charmap.h: Likewise.
20468         * locale/programs/ld-address.c: Likewise.
20469         * locale/programs/ld-collate.c: Likewise.
20470         * locale/programs/ld-ctype.c: Likewise.
20471         * locale/programs/ld-identification.c: Likewise.
20472         * locale/programs/ld-measurement.c: Likewise.
20473         * locale/programs/ld-messages.c: Likewise.
20474         * locale/programs/ld-monetary.c: Likewise.
20475         * locale/programs/ld-name.c: Likewise.
20476         * locale/programs/ld-numeric.c: Likewise.
20477         * locale/programs/ld-paper.c: Likewise.
20478         * locale/programs/ld-telephone.c: Likewise.
20479         * locale/programs/ld-time.c: Likewise.
20480         * locale/programs/linereader.c: Likewise.
20481         * locale/programs/locale.c: Likewise.
20482         * locale/programs/locarchive.c: Likewise.
20483         * locale/programs/locfile.h: Likewise.
20484         * locale/programs/repertoire.c: Likewise.
20485         * locale/programs/simple-hash.c: Likewise.
20486         * locale/programs/simple-hash.h: Likewise.
20487         * malloc/memusage.c: Likewise.
20488         * malloc/memusagestat.c: Likewise.
20489         * nis/nis_defaults.c: Likewise.
20490         * nis/nis_hash.c: Likewise.
20491         * nis/nis_print.c: Likewise.
20492         * nis/nis_xdr.c: Likewise.
20493         * nscd/connections.c: Likewise.
20494         * nscd/hstcache.c: Likewise.
20495         * nscd/nscd_gethst_r.c: Likewise.
20496         * nscd/nscd_getserv_r.c: Likewise.
20497         * nscd/nscd_helper.c: Likewise.
20498         * nscd/servicescache.c: Likewise.
20499         * nss/makedb.c: Likewise.
20500         * nss/nss_db/db-XXX.c: Likewise.
20501         * nss/nss_db/db-initgroups.c: Likewise.
20502         * nss/nss_db/db-netgrp.c: Likewise.
20503         * nss/nss_files/files-network.c: Likewise.
20504         * nss/nss_files/files-parse.c: Likewise.
20505         * posix/bug-regex5.c: Likewise.
20506         * posix/fnmatch_loop.c: Likewise.
20507         * posix/regcomp.c: Likewise.
20508         * posix/regexec.c: Likewise.
20509         * posix/tst-rfc3484-2.c: Likewise.
20510         * posix/tst-rfc3484-3.c: Likewise.
20511         * posix/tst-rfc3484.c: Likewise.
20512         * resolv/nss_dns/dns-canon.c: Likewise.
20513         * resolv/nss_dns/dns-network.c: Likewise.
20514         * resolv/res_init.c: Likewise.
20515         * resolv/res_mkquery.c: Likewise.
20516         * resolv/tst-aton.c: Likewise.
20517         * stdlib/cxa_atexit.c: Likewise.
20518         * stdlib/cxa_finalize.c: Likewise.
20519         * stdlib/gen-fpioconst.c: Likewise.
20520         * stdlib/strtol_l.c: Likewise.
20521         * string/tst-endian.c: Likewise.
20522         * sunrpc/auth_des.c: Likewise.
20523         * sunrpc/clnt_udp.c: Likewise.
20524         * sunrpc/rtime.c: Likewise.
20525         * sunrpc/svcauth_des.c: Likewise.
20526         * sunrpc/xdr.c: Likewise.
20527         * sunrpc/xdr_intXX_t.c: Likewise.
20528         * sunrpc/xdr_rec.c: Likewise.
20529         * sysdeps/generic/ldconfig.h: Likewise.
20530         * sysdeps/generic/ldsodefs.h: Likewise.
20531         * sysdeps/generic/memusage.h: Likewise.
20532         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20533         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20534         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20535         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20536         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20537         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20538         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20539         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20540         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20542         * sysdeps/posix/getaddrinfo.c: Likewise.
20543         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20544         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20545         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20546         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20547         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20548         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20549         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20550         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20551         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20552         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20553         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20554         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20555         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20556         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20557         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20558         * sysdeps/x86_64/dl-tls.h: Likewise.
20559         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20560         * time/alt_digit.c: Likewise.
20561         * time/era.c: Likewise.
20562         * wcsmbs/tst-c16c32-1.c: Likewise.
20563
20564 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20565
20566         * math/libm-test.inc (struct test_sincos_data): New type.
20567         (RUN_TEST_LOOP_sincos): New macro.
20568         (sincos_test_data): New variable.
20569         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20570
20571 2013-05-16  Richard Henderson  <rth@redhat.com>
20572
20573         * math/atest-exp2.c (LIMB64): New macro.
20574         (CONSTSZ): New macro.
20575         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20576         (hexdig): Move ...
20577         (print_mpn_fp): ... to function scope.
20578         (read_mpn_hex): Remove.
20579         (get_log2): Remove.
20580         (exp2_mpn): Use mp_log2.
20581         (main): Use mp_exp1.
20582
20583 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20584
20585         * math/libm-test.inc: Remove comment about not testing "inexact"
20586         exceptions.
20587         (INEXACT_EXCEPTION): New macro.
20588         (NO_INEXACT_EXCEPTION): Likewise.
20589         (INVALID_EXCEPTION_OK): Update value.
20590         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20591         (OVERFLOW_EXCEPTION_OK): Likewise.
20592         (UNDERFLOW_EXCEPTION_OK): Likewise.
20593         (IGNORE_ZERO_INF_SIGN): Likewise.
20594         (ERRNO_UNCHANGED): Likewise.
20595         (ERRNO_EDOM): Likewise.
20596         (ERRNO_ERANGE): Likewise.
20597         (test_exceptions): Handle testing "inexact" exceptions.
20598         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20599         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20600         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20601         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20602         INEXACT_EXCEPTION.
20603         (rint_towardzero_test_data): Likewise.
20604         (rint_downward_test_data): Likewise.
20605         (rint_upward_test_data): Likewise.
20606
20607         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20608         with OVERFLOW_EXCEPTION.
20609         (exp10_test_data): Likewise.
20610         (exp2_test_data): Likewise.
20611         (expm1_test_data): Likewise.
20612         (lgamma_test_data): Likewise.
20613         (pow_test_data): Likewise.
20614         (tgamma_test_data): Likewise.
20615         (yn_test_data): Remove duplicate test of overflow.
20616
20617         * math/libm-test.inc (struct test_cc_c_data): New type.
20618         (RUN_TEST_LOOP_cc_c): New macro.
20619         (cpow_test_data): New variable.
20620         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20621
20622         * math/libm-test.inc (struct test_f_L_data): New type.
20623         (RUN_TEST_LOOP_f_L): New macro.
20624         (llrint_test_data): New variable.
20625         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20626         (llrint_tonearest_test_data): New variable.
20627         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20628         (llrint_towardzero_test_data): New variable.
20629         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20630         (llrint_downward_test_data): New variable.
20631         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20632         (llrint_upward_test_data): New variable.
20633         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20634         (llround_test_data): New variable.
20635         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20636
20637 2013-05-13  Peter Collingbourne  <pcc@google.com>
20638
20639         * math/atest-exp2.c (get_log2): Remove const attribute.
20640
20641 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20642
20643         * math/libm-test.inc (struct test_f_l_data): New type.
20644         (RUN_TEST_LOOP_f_l): New macro.
20645         (lrint_test_data): New variable.
20646         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20647         (lrint_tonearest_test_data): New variable.
20648         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20649         (lrint_towardzero_test_data): New variable.
20650         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20651         (lrint_downward_test_data): New variable.
20652         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20653         (lrint_upward_test_data): New variable.
20654         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20655         (lround_test_data): New variable.
20656         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20657
20658 2013-05-15  Peter Collingbourne  <pcc@google.com>
20659
20660         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20661         (EXTRACT_WORDS64) Use where appropriate.
20662         (INSERT_WORDS64) Likewise.
20663
20664         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20665         constraints with x constraints.
20666         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20667
20668         * malloc/obstack.c (_obstack_compat): Add initializer.
20669
20670 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20671
20672         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20673         si_trapno and add si_addr_lsb to _sifields.sigfault.
20674         (si_trapno): Remove macro.
20675         (si_addr_lsb): Define new macro.
20676         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20677
20678 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20679
20680         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20681         instead of TEST_f_l.
20682         (llrint_test_tonearest): Likewise.
20683         (llrint_test_towardzero): Likewise.
20684         (llrint_test_downward): Likewise.
20685         (llrint_test_upward): Likewise.
20686         (llround_test): Likewise.
20687
20688         * math/libm-test.inc (struct test_f_i_data): Add comment.
20689         (RUN_TEST_LOOP_f_b): New macro.
20690         (RUN_TEST_LOOP_f_b_tg): Likewise.
20691         (finite_test_data): New variable.
20692         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20693         (isfinite_test_data): New variable.
20694         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20695         (isinf_test_data): New variable.
20696         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20697         (isnan_test_data): New variable.
20698         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20699         (isnormal_test_data): New variable.
20700         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20701         (issignaling_test_data): New variable.
20702         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20703         (signbit_test_data): New variable.
20704         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20705
20706         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20707         with INVALID_EXCEPTION.
20708         (acosh_test_data): Likewise.
20709         (asin_test_data): Likewise.
20710         (atanh_test_data): Likewise.
20711         (fmod_test_data): Likewise.
20712         (log_test_data): Likewise.
20713         (log10_test_data): Likewise.
20714         (log2_test_data): Likewise.
20715         (pow_test_data): Likewise.
20716         (sqrt_test_data): Likewise.
20717         (y0_test_data): Likewise.
20718         (y1_test_data): Likewise.
20719         (yn_test_data): Likewise.
20720
20721         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20722         function contents.
20723
20724         * math/libm-test.inc (struct test_ff_i_data): New type.
20725         (RUN_TEST_LOOP_ff_i_tg): New macro.
20726         (isgreater_test_data): New variable.
20727         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20728         (isgreaterequal_test_data): New variable.
20729         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20730         (isless_test_data): New variable.
20731         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20732         (islessequal_test_data): New variable.
20733         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20734         (islessgreater_test_data): New variable.
20735         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20736         (isunordered_test_data): New variable.
20737         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20738
20739 2013-05-14  David S. Miller  <davem@davemloft.net>
20740
20741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20742
20743 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20744
20745         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20746
20747         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20748         extra_test to int.
20749         (struct test_f_i_data): Change type of max_ulp to int.
20750
20751         * math/libm-test.inc (test_ffI_f1_data): New type.
20752         (RUN_TEST_LOOP_ffI_f1): New macro.
20753         (remquo_test_data): New variable.
20754         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20755
20756         * setjmp/tst-setjmp-fp.c: New file.
20757         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20758         (link-libm): New variable.
20759         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20760
20761         * math/libm-test.inc (struct test_f_i_data): New type.
20762         (RUN_TEST_LOOP_f_i): New macro.
20763         (RUN_TEST_LOOP_f_i_tg): Likewise.
20764         (fpclassify_test_data): New variable.
20765         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20766         (ilogb_test_data): New variable.
20767         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20768
20769         * math/libm-test.inc (scalbln_test): Correct function name in END
20770         call.
20771
20772         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20773         (RUN_TEST_LOOP_fI_f1): New macro.
20774         (frexp_test_data): New variable.
20775         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20776
20777         * math/libm-test.inc (struct test_fF_f1_data): New type.
20778         (RUN_TEST_LOOP_fF_f1): New macro.
20779         (modf_test_data): New variable.
20780         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20781
20782         * math/libm-test.inc (struct test_f_f1_data): New type.
20783         (RUN_TEST_LOOP_f_f1): New macro.
20784         (gamma_test_data): New variable.
20785         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20786         (lgamma_test_data): New variable.
20787         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20788
20789 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20790
20791         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20792         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20793         (main): Comment "tls" pseudo-hwcap.
20794
20795 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20796
20797         * math/libm-test.inc (struct test_fl_f_data): New type.
20798         (RUN_TEST_LOOP_fl_f): New variable.
20799         (scalbln_test_data): New variable.
20800         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20801
20802         * math/libm-test.inc (struct test_fi_f_data): New type.
20803         (RUN_TEST_LOOP_fi_f): New macro.
20804         (ldexp_test_data): New variable.
20805         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20806         (scalbn_test_data): New variable.
20807         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20808
20809         * math/libm-test.inc (struct test_c_f_data): New type.
20810         (RUN_TEST_LOOP_c_f): New macro.
20811         (cabs_test_data): New variable.
20812         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20813         (carg_test_data): New variable.
20814         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20815         (cimag_test_data): New variable.
20816         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20817         (creal_test_data): New variable.
20818         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20819
20820         * math/libm-test.inc (struct test_if_f_data): New type.
20821         (RUN_TEST_LOOP_if_f): New macro.
20822         (jn_test_data): New variable.
20823         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20824         (yn_test_data): New variable.
20825         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20826
20827         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20828
20829 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20830
20831         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20832         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20833
20834 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20835
20836         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20837         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20838         (bench-deps): Add bench-timing.h.
20839         * benchtests-bench-skeleton.c: Include bench-timing.h.
20840         (main): Use TIMING_* macros instead of clock_gettime.
20841         * benchtests/bench-timing.h: New file.
20842
20843         [BZ #14582]
20844         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20845         Renamed from _LIB_VERSION.
20846         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20847
20848 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20849
20850         * math/libm-test.inc (struct test_fff_f_data): New type.
20851         (RUN_TEST_LOOP_fff_f): New macro.
20852         (fma_test_data): New variable.
20853         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20854         (fma_towardzero_test_data): New variable.
20855         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20856         (fma_downward_test_data): New variable.
20857         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20858         (fma_upward_test_data): New variable.
20859         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20860
20861         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20862         (struct test_c_c_data): New type.
20863         (RUN_TEST_LOOP_c_c): New macro.
20864         (cacos_test_data): New variable.
20865         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20866         (cacosh_test_data): New variable.
20867         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20868         (casin_test_data): New variable.
20869         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20870         (casinh_test_data): New variable.
20871         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20872         (catan_test_data): New variable.
20873         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20874         (catanh_test_data): New variable.
20875         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20876         (ccos_test_data): New variable.
20877         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20878         (ccosh_test_data): New variable.
20879         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20880         (cexp_test_data): New variable.
20881         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20882         (clog_test_data): New variable.
20883         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20884         (clog10_test_data): New variable.
20885         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20886         (conj_test_data): New variable.
20887         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20888         (cproj_test_data): New variable.
20889         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20890         (csin_test_data): New variable.
20891         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20892         (csinh_test_data): New variable.
20893         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20894         (csqrt_test_data): New variable.
20895         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20896         (ctan_test_data): New variable.
20897         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20898         (ctan_tonearest_test_data): New variable.
20899         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20900         (ctan_towardzero_test_data): New variable.
20901         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20902         (ctan_downward_test_data): New variable.
20903         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20904         (ctan_upward_test_data): New variable.
20905         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20906         (ctanh_test_data): New variable.
20907         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20908         (ctanh_tonearest_test_data): New variable.
20909         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20910         (ctanh_towardzero_test_data): New variable.
20911         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20912         (ctanh_downward_test_data): New variable.
20913         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20914         (ctanh_upward_test_data): New variable.
20915         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20916         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20917         of BUILD_COMPLEX.
20918
20919         * math/libm-test.inc (struct test_ff_f_data): New type.
20920         (struct test_ff_f_data_nexttoward): Likewise.
20921         (RUN_TEST_LOOP_2_f): New macro.
20922         (RUN_TEST_LOOP_ff_f): Likewise.
20923         (atan2_test_data): New variable.
20924         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20925         (copysign_test_data): New variable.
20926         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20927         (fdim_test_data): New variable.
20928         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20929         (fmax_test_data): New variable.
20930         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20931         (fmin_test_data): New variable.
20932         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20933         (fmod_test_data): New variable.
20934         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20935         (hypot_test_data): New variable.
20936         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20937         (nextafter_test_data): New variable.
20938         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20939         (nexttoward_test_data): New variable.
20940         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20941         (pow_test_data): New variable.
20942         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20943         (pow_tonearest_test_data): New variable.
20944         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20945         (pow_towardzero_test_data): New variable.
20946         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20947         (pow_downward_test_data): New variable.
20948         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20949         (pow_upward_test_data): New variable.
20950         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20951         (remainder_test_data): New variable.
20952         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20953         (scalb_test_data): New variable.
20954         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20955         * sysdeps/i386/fpu/libm-test-ulps: Update.
20956
20957 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20958
20959         * math/libm-test.inc (fma_test): Use max_value instead of local
20960         variable fltmax.
20961         (nextafter_test): Likewise.
20962
20963         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20964         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20965         (acos_downward_test_data): New variable.
20966         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20967         (acos_upward_test_data): New variable.
20968         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20969         (acosh_test_data): New variable.
20970         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20971         (asin_test_data): New variable.
20972         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20973         (asin_tonearest_test_data): New variable.
20974         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20975         (asin_towardzero_test_data): New variable.
20976         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20977         (asin_downward_test_data): New variable.
20978         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20979         (asin_upward_test_data): New variable.
20980         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20981         (asinh_test_data): New variable.
20982         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20983         (atan_test_data): New variable.
20984         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20985         (atanh_test_data): New variable.
20986         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20987         (cbrt_test_data): New variable.
20988         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20989         (ceil_test_data): New variable.
20990         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20991         (cos_test_data): New variable.
20992         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20993         (cos_tonearest_test_data): New variable.
20994         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20995         (cos_towardzero_test_data): New variable.
20996         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20997         (cos_downward_test_data): New variable.
20998         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20999         (cos_upward_test_data): New variable.
21000         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21001         (cosh_test_data): New variable.
21002         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21003         (cosh_tonearest_test_data): New variable.
21004         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21005         (cosh_towardzero_test_data): New variable.
21006         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21007         (cosh_downward_test_data): New variable.
21008         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21009         (cosh_upward_test_data): New variable.
21010         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21011         (erf_test_data): New variable.
21012         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21013         (erfc_test_data): New variable.
21014         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21015         (exp_test_data): New variable.
21016         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21017         (exp_tonearest_test_data): New variable.
21018         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21019         (exp_towardzero_test_data): New variable.
21020         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21021         (exp_downward_test_data): New variable.
21022         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21023         (exp_upward_test_data): New variable.
21024         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21025         (exp10_test_data): New variable.
21026         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21027         (exp2_test_data): New variable.
21028         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21029         (expm1_test_data): New variable.
21030         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21031         (fabs_test_data): New variable.
21032         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21033         (floor_test_data): New variable.
21034         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21035         (j0_test_data): New variable.
21036         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21037         (j1_test_data): New variable.
21038         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21039         (log_test_data): New variable.
21040         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21041         (log10_test_data): New variable.
21042         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21043         (log1p_test_data): New variable.
21044         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21045         (log2_test_data): New variable.
21046         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21047         (logb_test_data): New variable.
21048         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21049         (logb_downward_test_data): New variable.
21050         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21051         (nearbyint_test_data): New variable.
21052         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21053         (rint_test_data): New variable.
21054         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21055         (rint_tonearest_test_data): New variable.
21056         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21057         (rint_towardzero_test_data): New variable.
21058         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21059         (rint_downward_test_data): New variable.
21060         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21061         (rint_upward_test_data): New variable.
21062         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21063         (round_test_data): New variable.
21064         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21065         (sin_test_data): New variable.
21066         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21067         (sin_tonearest_test_data): New variable.
21068         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21069         (sin_towardzero_test_data): New variable.
21070         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21071         (sin_downward_test_data): New variable.
21072         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21073         (sin_upward_test_data): New variable.
21074         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21075         (sinh_test_data): New variable.
21076         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21077         (sinh_tonearest_test_data): New variable.
21078         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21079         (sinh_towardzero_test_data): New variable.
21080         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21081         (sinh_downward_test_data): New variable.
21082         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21083         (sinh_upward_test_data): New variable.
21084         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21085         (sqrt_test_data): New variable.
21086         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21087         (tan_test_data): New variable.
21088         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21089         (tan_tonearest_test_data): New variable.
21090         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21091         (tan_towardzero_test_data): New variable.
21092         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21093         (tan_downward_test_data): New variable.
21094         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21095         (tan_upward_test_data): New variable.
21096         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21097         (tanh_test_data): New variable.
21098         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21099         (tgamma_test_data): New variable.
21100         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21101         (trunc_test_data): New variable.
21102         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21103         (y0_test_data): New variable.
21104         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21105         (y1_test_data): New variable.
21106         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21107         (significand_test_data): New variable.
21108         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21109
21110 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21111
21112         [BZ #12387]
21113         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21114
21115 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21116
21117         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21118
21119 2013-05-10  Andreas Jaeger  <aj@suse.de>
21120
21121         [BZ #15448]
21122         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21123         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21124
21125 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21126
21127         * math/gen-libm-test.pl (adjust_arg): New function.
21128         (special_functions): Handle generating output in both functions
21129         and arrays.
21130         (parse_args): Likewise.
21131         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21132         $in_func argument to parse_args.
21133         * math/libm-test.inc (struct test_f_f_data): New type.
21134         (IF_ROUND_INIT_): New macro.
21135         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21136         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21137         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21138         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21139         (ROUND_RESTORE_): Likewise.
21140         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21141         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21142         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21143         (ROUND_RESTORE_FE_UPWARD): Likewise.
21144         (RUN_TEST_LOOP_f_f): New macro.
21145         (acos_test_data): New variable.
21146         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21147         (acos_tonearest_test_data): New variable.
21148         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21149
21150 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21151
21152         * benchtests/bench-skeleton.c (startup): Fix coding style.
21153
21154 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21155
21156         [BZ #6809]
21157         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21158         negative infinity argument.
21159         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21160         negative infinity argument.
21161         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21162         negative infinity argument.
21163         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21164         domain errors.
21165
21166 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21167
21168         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21169         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21170         * iconv/iconv_prog.c (main): Likewise.
21171         * locale/programs/charmap-dir.c (charmap_readdir)
21172         (fopen_uncompressed): Likewise.
21173         * locale/programs/locfile.c (siblings_uncached)
21174         (write_locale_data): Use lstat64 instead of lstat.
21175         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21176         stat.
21177
21178 2013-05-10  Andreas Jaeger  <aj@suse.de>
21179
21180         [BZ #15395]
21181         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21182         localization.
21183         Include <locale.h>.
21184
21185 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21186
21187         * elf/dl-close.c (_dl_close_worker): Add comments.
21188
21189 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21190
21191         [BZ #15359]
21192         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21193         high part of pi/2.
21194         (__ieee754_rem_pio2l): Update comments.
21195
21196         [BZ #15429]
21197         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21198         high part of pi/2.
21199         (__ieee754_rem_pio2l): Update comments.
21200
21201         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21202         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21203
21204         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21205         M_PI_4l.
21206
21207         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21208         (M_PI_34_LOG10El): Likewise.
21209         (M_PI2_LOG10El): Likewise.
21210         (M_PI4_LOG10El): Likewise.
21211         (M_PI_LOG10El): Likewise.
21212
21213 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21214
21215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21216
21217 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21218
21219         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21220         (MINUS_ZERO_INIT): Likewise.
21221         (PLUS_INFTY_INIT): Likewise.
21222         (MINUS_INFTY_INIT): Likewise.
21223         (QNAN_VALUE_INIT): Likewise.
21224         (MAX_VALUE_INIT): Likewise.
21225         (MIN_VALUE_INIT): Likewise.
21226         (MIN_SUBNORM_VALUE_INIT): Likewise.
21227         (plus_zero): Initialize with PLUS_ZERO_INIT.
21228         (minus_zero): Initialize with MINUS_ZERO_INIT.
21229         (plus_infty): Initialize with PLUS_INFTY_INIT.
21230         (minus_infty): Initialize with MINUS_INFTY_INIT.
21231         (qnan_value): Initialize with QNAN_VALUE_INIT.
21232         (max_value): Initialize with MAX_VALUE_INIT.
21233         (min_value): Initialize with MIN_VALUE_INIT.
21234         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21235
21236         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21237         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21238         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21239         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21240
21241         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21242         (RUN_TEST_2_f): Likewise.
21243         (RUN_TEST_ff_f): Likewise.
21244         (RUN_TEST_fi_f): Likewise.
21245         (RUN_TEST_fl_f): Likewise.
21246         (RUN_TEST_fff_f): Likewise.
21247         (RUN_TEST_c_f): Likewise.
21248         (RUN_TEST_f_f1): Likewise.
21249         (RUN_TEST_fF_f1): Likewise.
21250         (RUN_TEST_fI_f1): Likewise.
21251         (RUN_TEST_ffI_f1): Likewise.
21252         (RUN_TEST_c_c): Likewise.
21253         (RUN_TEST_cc_c): Likewise.
21254         (RUN_TEST_f_i): Likewise.
21255         (RUN_TEST_f_i_tg): Likewise.
21256         (RUN_TEST_ff_i_tg): Likewise.
21257         (RUN_TEST_f_b): Likewise.
21258         (RUN_TEST_f_b_tg): Likewise.
21259         (RUN_TEST_f_l): Likewise.
21260         (RUN_TEST_f_L): Likewise.
21261         (RUN_TEST_sincos): Likewise.
21262         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21263         whether to show exceptions.  Do not include ");\n" in return
21264         value.
21265         (special_functions): Output call to RUN_TEST_sincos instead of
21266         check_float calls.  Update calls to new_test.
21267         (parse_args): Output call to single RUN_TEST_* macro instead of
21268         check_* calls and other assignments.  Update calls to new_test.
21269
21270         [BZ #2546]
21271         [BZ #2560]
21272         [BZ #5159]
21273         [BZ #15426]
21274         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21275         input to result for tgamma overflow.
21276         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21277         (gamma_coeff): New variable.
21278         (NCOEFF): New macro.
21279         (gamma_positive): New function.
21280         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21281         underflow here.  Use gamma_positive instead of exp (lgamma) for
21282         other arguments.
21283         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21284         (gamma_coeff): New variable.
21285         (NCOEFF): New macro.
21286         (gammaf_positive): New function.
21287         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21288         underflow here.  Use gamma_positive instead of exp (lgamma) for
21289         other arguments.
21290         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21291         (gamma_coeff): New variable.
21292         (NCOEFF): New macro.
21293         (gammal_positive): New function.
21294         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21295         underflow here.  Use gamma_positive instead of exp (lgamma) for
21296         other arguments.
21297         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21298         (gamma_coeff): New variable.
21299         (NCOEFF): New macro.
21300         (gammal_positive): New function.
21301         (__ieee754_gammal_r): Handle positive infinity, overflow and
21302         underflow here.  Handle NaN the same as positive infinity.  Remove
21303         check x < 0xffffffff for negative integers.  Use gamma_positive
21304         instead of exp (lgamma) for other arguments.
21305         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21306         (gamma_coeff): New variable.
21307         (NCOEFF): New macro.
21308         (gammal_positive): New function.
21309         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21310         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21311         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21312         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21313         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21314         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21315         * sysdeps/generic/math_private.h (__gamma_productf): New
21316         prototype.
21317         (__gamma_product): Likewise.
21318         (__gamma_productl): Likewise.
21319         * math/Makefile (libm-calls): Add gamma_product.
21320         * math/libm-test.inc (tgamma_test): Add more tests.
21321         * sysdeps/i386/fpu/libm-test-ulps: Update.
21322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21323
21324 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21325
21326         * benchtests/bench-skeleton.c (main): Preheat CPU.
21327
21328 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21329
21330         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21331
21332 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21333
21334         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21335         and _dl_skip_args_internal.
21336
21337 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21338
21339         * manual/message.texi (Message Translation): Talk about users.
21340         Message to key mapping impacts design.
21341
21342 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21343
21344         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21345
21346         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21347
21348         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21349         * sysdeps/wordsize-64/glob64.c: ... here.
21350
21351         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21352         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21353         New macros.
21354
21355         * debug/getlogin_r_chk.c: Moved to ...
21356         * login/getlogin_r_chk.c: ... here.
21357         * debug/Makefile (routines): Move getlogin_r_chk to ...
21358         * login/Makefile (routines): ... here.
21359         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21360         * login/Versions (libc: GLIBC_2.4): ... here.
21361
21362         * io/poll.c (__poll): Renamed from poll.
21363         Add libc_hidden_def.
21364         (poll): Define as weak alias.
21365
21366         * debug/ptsname_r_chk.c: Moved to ...
21367         * login/ptsname_r_chk.c: ... here.
21368         * debug/Makefile (routines): Move ptsname_r_chk to ...
21369         * login/Makefile (routines): ... here.
21370         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21371         * login/Versions (libc: GLIBC_2.4): ... here.
21372
21373         * posix/getlogin.c: Moved to ...
21374         * login/getlogin.c: ... here.
21375         * posix/getlogin_r.c: Moved to ...
21376         * login/getlogin_r.c: ... here.
21377         * posix/getlogin_r.c: Moved to ...
21378         * login/getlogin_r.c: ... here.
21379         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21380         * login/Makefile (routines): ... here.
21381         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21382         * login/Versions (libc: GLIBC_2.0): ... here.
21383
21384         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21385         (setrlimit): Define as weak alias.
21386
21387         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21388         Call __ names for open, ftruncate, and close.
21389         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21390         (truncate): Define as weak alias.
21391
21392 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21393
21394         * math/gen-libm-test.pl (parse_args): Initialize x before each
21395         test of frexp, modf and remquo.
21396
21397         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21398         test signgam value.
21399
21400 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21401
21402         [BZ #15418]
21403         [BZ #15419]
21404         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21405         internal tests.
21406         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21407
21408 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21409
21410         * elf/dl-writev.h: New file.
21411         * elf/dl-misc.c: Include it.
21412         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21413         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21414
21415 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21416
21417         * math/libm-test.inc (noXFails): Remove variable.
21418         (noXPasses): Likewise.
21419         (BUILD_COMPLEX_INT): Remove macro.
21420         (print_screen): Remove xfail argument.
21421         (print_screen_max_error): Likewise.
21422         (update_stats): Likewise.
21423         (print_max_error): Likewise.  Update calls to other affected
21424         functions.
21425         (print_complex_max_error): Likewise.
21426         (test_single_exception): Update calls to print_screen.
21427         (test_single_errno): Likewise.
21428         (check_float_internal): Remove xfail argument.  Update calls to
21429         other affected functions.
21430         (check_float): Likewise.
21431         (check_complex): Likewise.
21432         (check_int): Likewise.
21433         (check_long): Likewise.
21434         (check_bool): Likewise.
21435         (check_longlong): Likewise.
21436         (main): Don't print noXFails and noXPasses.
21437         * math/gen-libm-test.pl (top level): Don't mention expected
21438         failure handling in comment.
21439         (new_test): Don't handle expected failures.
21440         (parse_args): Don't mention expected failure handling in comment.
21441         (generate_testfile): Don't handle expected failures.
21442         (parse_ulps): Likewise.
21443         (print_ulps_file): Likewise.
21444         (get_failure): Remove function.
21445         (output_test): Don't handle expected failures.
21446         * make/README.libm-test: Don't mention expected failure handling.
21447
21448         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21449         (minus_zero): Likewise.
21450         (plus_infty): Likewise.
21451         (minus_infty): Likewise.
21452         (qnan_value): Likewise.
21453         (max_value): Likewise.
21454         (min_value): Likewise.
21455         (min_subnorm_value): Likewise.
21456         (initialize): Do not initialize those variables dynamically.
21457
21458 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21459
21460         * io/open.c (__open_2): Moved to ...
21461         * io/open_2.c: ... this new file.
21462         * io/open64.c (__open64_2): Moved to ...
21463         * io/open64_2.c: ... this new file.
21464         * io/openat.c (__openat_2): Moved to ...
21465         * io/openat_2.c: ... this new file.
21466         * io/openat64.c (__openat64_2): Moved to ...
21467         * io/openat64_2.c: ... this new file.
21468         * io/Makefile (routines): Add them.
21469         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21470         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21471         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21472         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21473         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21474         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21475         (__openat64): Add hidden_ver.
21476         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21477         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21478
21479         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21480         Separately conditionalize setting of GLRO(dl_sysinfo) so
21481         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21482         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21483
21484 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21485
21486         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21487         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21488         definition.
21489         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21490         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21491         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21492         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21493         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21494
21495 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21496
21497         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21498         test signgam value.
21499
21500         * math/libm-test.inc (hypot_test): Do not use
21501         IGNORE_ZERO_INF_SIGN.
21502
21503 2013-05-03  Andreas Jaeger  <aj@suse.de>
21504
21505         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21506         Linux 3.9.
21507         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21508         (PF_MAX): Adjust for VSOCK change.
21509
21510 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21511
21512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21513
21514 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21515
21516         [BZ #15264]
21517         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21518         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21519         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21520
21521 2013-05-02  David S. Miller  <davem@davemloft.net>
21522
21523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21524
21525 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21526
21527         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21528
21529 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21530
21531         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21532
21533 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21534
21535         [BZ #14952]
21536         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21537         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21538         Use __attribute__ ((__gnu_inline__)).
21539         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21540         Don't use __attribute__ ((__gnu_inline__)).
21541
21542 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21543
21544         [BZ #15423]
21545         * math/s_catan.c (__catan): Handle small real or imaginary part of
21546         input specially to avoid spurious underflow.
21547         * math/s_catanf.c (__catanf): Likewise.
21548         * math/s_catanh.c (__catanh): Likewise.
21549         * math/s_catanhf.c (__catanhf): Likewise.
21550         * math/s_catanhl.c (__catanhl): Likewise.
21551         * math/s_catanl.c (__catanl): Likewise.
21552         * math/libm-test.inc (catan_test): Add more tests.
21553         (catanh_test): Likewise.
21554         * sysdeps/i386/fpu/libm-test-ulps: Update.
21555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21556
21557 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21558
21559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21560
21561 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21562
21563         [BZ #15416]
21564         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21565         accurately for denominator in atan2.
21566         * math/s_catanf.c (__catanf): Likewise.
21567         * math/s_catanh.c (__catanh): Likewise.
21568         * math/s_catanhf.c (__catanhf): Likewise.
21569         * math/s_catanhl.c (__catanhl): Likewise.
21570         * math/s_catanl.c (__catanl): Likewise.
21571         * math/libm-test.inc (catan_test): Add more tests.
21572         (catanh_test): Likewise.
21573         * sysdeps/i386/fpu/libm-test-ulps: Update.
21574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21575
21576 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21577
21578         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21579
21580         * benchtests/Makefile (bench): Remove slow benchmarks.
21581         * benchtests/atan-inputs: Add slow benchmark inputs.
21582         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21583         (BENCH_FUNC): Accept variant offset.
21584         (VARIANT): Define.
21585         * benchtests/bench-skeleton.c (main): Run benchmark for each
21586         variant.
21587         * benchtests/cos-inputs: Add slow benchmark inputs.
21588         * benchtests/exp-inputs: Likewise.
21589         * benchtests/pow-inputs: Likewise.
21590         * benchtests/sin-inputs: Likewise.
21591         * benchtests/slowatan-inputs: Remove.
21592         * benchtests/slowatan.c: Remove.
21593         * benchtests/slowcos-inputs: Remove.
21594         * benchtests/slowcos.c: Remove.
21595         * benchtests/slowexp-inputs: Remove.
21596         * benchtests/slowexp.c: Remove.
21597         * benchtests/slowpow-inputs: Remove.
21598         * benchtests/slowpow.c: Remove.
21599         * benchtests/slowsin-inputs: Remove.
21600         * benchtests/slowsin.c: Remove.
21601         * benchtests/slowtan-inputs: Remove.
21602         * benchtests/slowtan.c: Remove.
21603         * benchtests/tan-inputs: Add slow benchmark inputs.
21604         * scripts/bench.pl: Parse comments and directives.
21605
21606         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21607         in CPPFLAGS.
21608         ($(objpfx)bench-%.c): Remove *-ITER.
21609         * benchtests/bench-modf.c: Remove definition of ITER.
21610         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21611         (main): Loop for DURATION seconds instead of fixed number of
21612         iterations.
21613         * scripts/bench.pl: Don't expect iterations in parameters.
21614
21615 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21616
21617         * io/fchdir.c (__fchdir): Renamed from fchdir.
21618         (fchdir): Define as weak alias.
21619
21620 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21621
21622         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21623         (ERRNO_EDOM): Likewise.
21624         (ERRNO_ERANGE): Likewise.
21625         (noErrnoTests): New variable.
21626         (init_max_error): Set errno to 0.
21627         (test_single_errno): New function.
21628         (test_errno): Likewise.
21629         (check_float_internal): Call test_errno.  Set errno to 0.
21630         (check_complex): Refer to errno tests in comment.
21631         (check_int): Call test_errno.  Set errno to 0.
21632         (check_long): Likewise.
21633         (check_bool): Likewise.
21634         (check_longlong): Likewise.
21635         (cos_test): Use ERRNO_* flags for errno tests instead of
21636         check_int.
21637         (expm1_test): Likewise.
21638         (fmod_test): Likewise.
21639         (ilogb_test): Likewise.
21640         (lgamma_test): Likewise.
21641         (pow_test): Likewise.
21642         (remainder_test): Likewise.
21643         (sin_test): Likewise.
21644         (tan_test): Likewise.
21645         (yn_test): Likewise.
21646         (initialize): Set errno to 0.
21647         (main): Print number of errno tests.
21648         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21649
21650 2013-04-29  Andreas Jaeger  <aj@suse.de>
21651
21652         [BZ #15084]
21653         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21654         and RES_USEVC.
21655
21656         [BZ #15085]
21657         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21658         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21659         unimplemented.
21660
21661         [BZ #15380]
21662         * stdlib/random.c (__initstate): Return NULL if
21663         __initstate fails.
21664
21665         [BZ #15086]
21666         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21667         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21668         RES_SNGLKUPREOP.
21669
21670 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21671
21672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21673
21674 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21675
21676         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21677         of individual tests.
21678         (casin_test): Likewise.
21679         (casinh_test): Likewise.
21680
21681 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21682
21683         [BZ #15409]
21684         * math/s_catan.c (__catan): Handle arguments with large real or
21685         imaginary part separately without squaring.
21686         * math/s_catanf.c (__catanf): Likewise.
21687         * math/s_catanh.c (__catanh): Likewise.
21688         * math/s_catanhf.c (__catanhf): Likewise.
21689         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21690         and redefine.
21691         (__catanhl): Handle arguments with large real or imaginary part
21692         separately without squaring.
21693         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21694         and redefine.
21695         (__catanl): Handle arguments with large real or imaginary part
21696         separately without squaring.
21697         * math/libm-test.inc (catan_test): Add more tests.
21698         (catanh_test): Likewise.
21699         * sysdeps/i386/fpu/libm-test-ulps: Update.
21700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21701
21702 2013-04-27  Andreas Jaeger  <aj@suse.de>
21703
21704         [BZ #15007]
21705         * stdlib/stdlib.h: Update guards for qecvt.
21706         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21707         <stdlib.h>.
21708
21709 2013-04-27  Allan McRae  <allan@archlinux.org>
21710
21711         * sysdeps/i386/fpu/libm-test-ulps: Update.
21712
21713 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21714
21715         [BZ #15406]
21716         * math/s_catan.c: Include <float.h>.
21717         (__catan): Ensure underflow exception occurs for underflowed
21718         result.
21719         * math/s_catanf.c: Include <float.h>.
21720         (__catanf): Ensure underflow exception occurs for underflowed
21721         result.
21722         * math/s_catanh.c: Include <float.h>.
21723         (__catanh): Ensure underflow exception occurs for underflowed
21724         result.
21725         * math/s_catanhf.c: Include <float.h>.
21726         (__catanhf): Ensure underflow exception occurs for underflowed
21727         result.
21728         * math/s_catanhl.c: Include <float.h>.
21729         (__catanhl): Ensure underflow exception occurs for underflowed
21730         result.
21731         * math/s_catanl.c: Include <float.h>.
21732         (__catanl): Ensure underflow exception occurs for underflowed
21733         result.
21734         * math/libm-test.inc (catan_test): Add more tests.
21735         (catanh_test): Likewise.
21736
21737         [BZ #15405]
21738         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21739         underflowed result.
21740         * math/s_ccoshf.c (__ccoshf): Likewise.
21741         * math/s_ccoshl.c (__ccoshl): Likewise.
21742         * math/s_csin.c (__csin): Likewise.
21743         * math/s_csinf.c (__csinf): Likewise.
21744         * math/s_csinh.c (__csinh): Likewise.
21745         * math/s_csinhf.c (__csinhf): Likewise.
21746         * math/s_csinhl.c (__csinhl): Likewise.
21747         * math/s_csinl.c (__csinl): Likewise.
21748         * math/libm-test.inc (ccos_test): Add more tests.
21749         (ccosh_test): Likewise.
21750         (csin_test): Likewise.
21751         (csinh_test): Likewise.
21752
21753 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21754
21755         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21756         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21757         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21758         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21759         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21760         powerpc/power5+/fpu folders.
21761         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21762
21763
21764 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21765
21766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21767
21768 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21769
21770         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21771         additions to variable.
21772         [$(config-machine) = x86_64] (modules-names): Likewise.
21773         ($(objpfx)tst-audit3): Remove dependency.
21774         ($(objpfx)tst-audit3.out): Likewise.
21775         ($(objpfx)tst-audit4): Likewise.
21776         ($(objpfx)tst-audit4.out): Likewise.
21777         ($(objpfx)tst-audit5): Likewise.
21778         ($(objpfx)tst-audit5.out): Likewise.
21779         ($(objpfx)tst-audit6): Likewise.
21780         ($(objpfx)tst-audit6.out): Likewise.
21781         ($(objpfx)tst-audit7): Likewise.
21782         ($(objpfx)tst-audit7.out): Likewise.
21783         (tst-audit3-ENV): Remove variable.
21784         (tst-audit4-ENV): Likewise.
21785         (tst-audit5-ENV): Likewise.
21786         (tst-audit6-ENV): Likewise.
21787         (tst-audit7-ENV): Likewise.
21788         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21789         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21790         addition to variable.
21791         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21792         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21793         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21794         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21795         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21796         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21797         tst-audit3, tst-audit4 and tst-audit5.
21798         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21799         tst-audit6 and tst-audit7.
21800         [$(subdir) = elf] (modules-names): Add audit modules for those
21801         tests.
21802         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21803         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21804         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21805         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21806         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21807         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21808         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21809         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21810         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21811         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21812         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21813         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21814         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21815         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21816         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21817         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21818         Likewise.
21819         [$(subdir) = elf && $(config-cflags-avx) = yes]
21820         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21821         [$(subdir) = elf && $(config-cflags-avx) = yes]
21822         (CFLAGS-tst-auditmod4a.c): Likewise.
21823         [$(subdir) = elf && $(config-cflags-avx) = yes]
21824         (CFLAGS-tst-auditmod4b.c): Likewise.
21825         [$(subdir) = elf && $(config-cflags-avx) = yes]
21826         (CFLAGS-tst-auditmod6b.c): Likewise.
21827         [$(subdir) = elf && $(config-cflags-avx) = yes]
21828         (CFLAGS-tst-auditmod6c.c): Likewise.
21829         [$(subdir) = elf && $(config-cflags-avx) = yes]
21830         (CFLAGS-tst-auditmod7b.c): Likewise.
21831         * elf/tst-audit3.c: Move to ...
21832         * sysdeps/x86_64/tst-audit3.c: ... here.
21833         * elf/tst-audit4.c: Move to ...
21834         * sysdeps/x86_64/tst-audit4.c: ... here.
21835         * elf/tst-audit5.c: Move to ...
21836         * sysdeps/x86_64/tst-audit5.c: ... here.
21837         * elf/tst-audit6.c: Move to ...
21838         * sysdeps/x86_64/tst-audit6.c: ... here.
21839         * elf/tst-audit7.c: Move to ...
21840         * sysdeps/x86_64/tst-audit7.c: ... here.
21841         * elf/tst-auditmod3a.c: Move to ...
21842         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21843         * elf/tst-auditmod3b.c: Move to ...
21844         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21845         * elf/tst-auditmod4a.c: Move to ...
21846         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21847         * elf/tst-auditmod4b.c: Move to ...
21848         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21849         * elf/tst-auditmod5a.c: Move to ...
21850         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21851         * elf/tst-auditmod5b.c: Move to ...
21852         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21853         * elf/tst-auditmod6a.c: Move to ...
21854         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21855         * elf/tst-auditmod6b.c: Move to ...
21856         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21857         * elf/tst-auditmod6c.c: Move to ...
21858         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21859         * elf/tst-auditmod7a.c: Move to ...
21860         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21861         * elf/tst-auditmod7b.c: Move to ...
21862         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21863
21864 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21865
21866         [BZ #15366]
21867         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21868         define unconditionally.
21869         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21870         define unconditionally.
21871         (INT8_C, INT16_C, etc.): Likewise.
21872
21873 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21874
21875         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21876         __ehdr_start with hidden visibility.
21877
21878         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21879
21880 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21881
21882         * math/libm-test.inc (cos_test): Use accurate hex constants.
21883         (sincost_test): Likewise.
21884
21885 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21886
21887         * math/libm-test.inc (catan_test): Add more tests.
21888         (catanh_test): Likewise.
21889
21890         * math/s_catanf.c (__catanf): Use suffixed floating-point
21891         constants.
21892         * math/s_catanhf.c (__catanhf): Likewise.
21893         * math/s_catanhl.c (__catanhl): Likewise.
21894         * math/s_catanl.c (__catanl): Likewise.
21895
21896         [BZ #15394]
21897         * math/s_catan.c (__catan): Calculate imaginary part of result
21898         with log1p not log unless computing log of number close to 0.
21899         * math/s_catanf.c (__catanf): Likewise.
21900         * math/s_catanl.c (__catanl): Likewise.
21901         * math/s_catanh.c (__catanh): Calculate real part of result with
21902         log1p not log unless computing log of number close to 0.
21903         * math/s_catanhf.c (__catanhf): Likewise.
21904         * math/s_catanhl.c (__catanhl): Likewise.
21905         * math/libm-test.inc (catan_test): Add more tests.
21906         (catanh_test): Likewise.
21907         * sysdeps/i386/fpu/libm-test-ulps: Update.
21908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21909
21910 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21911
21912         * benchtests/Makefile: Mention files in which fast and slow
21913         paths of math functions are implemented.
21914
21915 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21916
21917         * sysdeps/posix/timespec_get.c: New file.
21918
21919 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21920
21921         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21922         POWER.
21923         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21924         for POWER.
21925         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21926         powerpc/power5/fpu folders.
21927         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21928         * benchtests/Makefile: Add modf testcase.
21929         * benchtests/bench-modf.c: New file: Benchmark test for mo
21930
21931 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21932
21933         [BZ #14888]
21934         * time/Makefile (tests): Add tst-strptime-whitespace.
21935         * time/strptime_l.c (get_number): Use ISSPACE.
21936         (__strptime_internal): Likewise.
21937         * time/tst-strptime-whitespace.c: New test case.
21938
21939 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21940
21941         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21942         member.
21943         (_nss_files_init): Set it here.
21944
21945 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21946
21947         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21948         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21949         unsigned.
21950
21951 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21952
21953         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21954
21955 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21956
21957         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21958         size just once.
21959
21960 2013-04-21  David S. Miller  <davem@davemloft.net>
21961
21962         * po/ru.po: Update Russion translation from translation project.
21963
21964 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21965
21966         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21967         and setfsgid.
21968
21969 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21970
21971         * configure.in: Remove i386 configure warning. Remove i386 case.
21972         * configure: Regenerate.
21973         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21974         Add example to error message.
21975         * sysdeps/i386/configure: Regenerate.
21976
21977 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21978
21979         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21980         slowtan.
21981         * benchtests/cos-inputs: New file.
21982         * benchtests/slowcos-inputs: New file.
21983         * benchtests/slowcos.c: New file.
21984         * benchtests/slowtan-inputs: New file.
21985         * benchtests/slowtan.c: New file.
21986         * benchtests/tan-inputs: New file.
21987
21988 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21989
21990         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21991         considered kosher.
21992
21993 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21994
21995         * benchtests/Makefile: Include cppflags-iterator.mk to add
21996         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21997
21998         * Makefile.in (bench-clean): New target.
21999         * benchtests/Makefile (bench-clean): Likewise.
22000
22001 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22002
22003         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22004
22005 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22006
22007         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22008
22009 2013-04-15  Andreas Schwab  <schwab@suse.de>
22010
22011         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22012         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22013         * nscd/pwdcache.c (cache_addpw): Likewise.
22014         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22015         more than recsize.
22016
22017 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22018
22019         * benchtests/Makefile (bench): Write all output to
22020         bench-out.tmp together.
22021
22022 2013-04-15  Andreas Schwab  <schwab@suse.de>
22023
22024         * nscd/nscd.c (main): Don't fork again after closing files.
22025
22026 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22027
22028         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22029
22030         * benchtests/Rules (bench-deps): Collect dependencies into a
22031         single variable.  Add Makefile to dependencies.
22032         ($(objpfx)bench-%.c): Depend on bench-deps.
22033
22034 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22035             Xavier Roche  <roche+kml2@exalead.com>
22036
22037         [BZ #15361]
22038         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22039         just that it's a file descriptor.
22040         * manual/llio.texi (Synchronizing AIO Operations): Update description
22041         for EBADF error from aio_fsync.
22042
22043 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22044
22045         * Rules (bench): Move target definition...
22046         * benchtests/Makefile: ... here.
22047
22048 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22049
22050         * math/libm-test.inc (cos_test): Fix PI/2 test.
22051         (sincos_test): Likewise.
22052         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22053         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22054
22055 2013-04-11  Andreas Schwab  <schwab@suse.de>
22056
22057         [BZ #13988]
22058         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22059         accept exponent character only when digits were seen.
22060         * stdio-common/Makefile (tests): Add bug26.
22061         * stdio-common/bug26.c: New file.
22062
22063         [BZ #14293]
22064         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22065         non-freeable.
22066
22067 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22068
22069         * Makeconfig (rtld-prefix): Define built linker prefix.
22070         * Rules (run-bench): Use it.
22071         * math/Makefile (run-regen-ulps): Likewise.
22072
22073         * Rules (bench): Remove eval.
22074
22075 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22076             Roland McGrath  <roland@hack.frob.com>
22077             Ondrej Bilka  <neleai@seznam.cz>
22078
22079         [BZ #15346]
22080         * time/getdate.c: Include ctype.h and alloca.h.
22081         (__getdate_r): Trim leading and trailing spaces of input.
22082         * time/tst-getdate.c (tests): Add tests with leading and
22083         trailing spaces.
22084
22085 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22086
22087         [BZ #14280]
22088         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22089         when computing value.
22090
22091 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22092
22093         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22094         Use testrun.sh to run libm tests.
22095
22096         [BZ #15309]
22097         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22098
22099 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22100
22101         [BZ #15264]
22102         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22103
22104 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22105
22106         * Makefile.in (regen-ulps): New target.
22107         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22108         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22109         [ifneq (no,$(PERL)] (regen-ulps): New target.
22110         [ifeq (no,$(PERL)] (regen-ulps): New target.
22111         * math/libm-test.inc (ulps_file_name): Define.
22112         (output_dir): New variable.
22113         (options): Add "output-dir" option.
22114         (parse_opt): Handle 'o' case.
22115         (main): If output_dir is non-NULL use it as a prefix
22116         otherwise use "".
22117         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22118
22119 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22120
22121         [BZ #10060, #10062]
22122         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22123         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22124         fail configure if __sync_val_compare_and_swap is not inlined.
22125         * sysdeps/i386/configure: Regenerate.
22126         * configure.in: Build for i686 when configured for i386.
22127         * configure: Regenerate.
22128         * README: Remove i386 reference.
22129
22130 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22131
22132         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22133         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22134
22135 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22136
22137         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22138         (lmsnanval): New variables.
22139         (F): Add conversion tests.
22140         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22141         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22142
22143         * stdio-common/tstdiomisc.c (F): Properly collect individual
22144         tests' results.
22145
22146         [BZ #14686, #15336]
22147         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22148         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22149         Instead, use input NaN values or generate a qNaN by arithmetic
22150         operation.  Also fix bugs to comply with the standard.
22151         * math/libm-test.inc (remainder_test): Add more tests.
22152
22153         [BZ #15335, #15342]
22154         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22155         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22156         input NaN values or generate a qNaN by arithmetic operation.
22157
22158         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22159         unreachable code.
22160
22161         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22162         definitions.
22163
22164 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22165
22166         [BZ #14478]
22167         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22168         underflowed result.
22169         * math/s_cexpf.c (__cexpf): Likewise.
22170         * math/s_cexpl.c (__cexpl): Likewise.
22171         * math/libm-test.inc (cexp_test): Add more tests.
22172
22173 2013-04-03  Andreas Schwab  <schwab@suse.de>
22174
22175         [BZ #15330]
22176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22177         order arrays from heap if bigger than alloca cutoff.
22178
22179 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22180
22181         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22182         (SNAN_TESTS_double): Refer to GCC PR56831.
22183         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22184         GCC PR56828.
22185
22186 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22187
22188         * Rules (bench): Move bench.out after the run is complete.
22189
22190         * Rules (bench): Echo currently running benchmark.
22191
22192         * benchtests/Makefile (bench): Add atan and slowatan.
22193         * benchtests/atan-inputs: New file.
22194         * benchtests/slowatan-inputs: New file.
22195         * benchtests/slowatan.c: New file.
22196
22197         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22198         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22199         its value.
22200
22201         [BZ #15305]
22202         * sysdeps/unix/sysv/linux/kernel-features.h
22203         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22204         __ASSUME_XFS_RESTRICTED_CHOWN.
22205         * sysdeps/unix/sysv/linux/pathconf.c
22206         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22207         Save and restore errno.
22208
22209 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22210
22211         [BZ #15327]
22212         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22213         arguments using __kernel_casinh.
22214         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22215         arguments using __kernel_casinhf.
22216         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22217         arguments using __kernel_casinhl.
22218         * math/libm-test.inc (cacosh_test): Add more tests.
22219         * sysdeps/i386/fpu/libm-test-ulps: Update.
22220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22221
22222 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22223
22224         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22226
22227         * bench/Makefile (bench): Add sin and slowsin.
22228         * benchtests/sin-inputs: New file.
22229         * benchtests/slowsin-inputs: New file.
22230         * benchtests/slowsin.c: New file.
22231
22232         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22233         (bench): Add slowexp and slowpow.
22234         (exp-ITER): Increase iterations.
22235         (pow-ITER): Likewise.
22236         * benchtests/exp-inputs: Change input.
22237         * benchtests/pow-inputs: Likewise.
22238         * benchtests/slowexp-inputs: New file.
22239         * benchtests/slowexp.c: New file.
22240         * benchtests/slowpow-inputs: New file.
22241         * benchtests/slowpow.c: New file.
22242
22243 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22244
22245         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22246         instructions.
22247         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22248         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22249         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22250         * benchtests/Makefile: Add rint benchtest.
22251         * benchtests/rint-inputs: Input for rint benchtest.
22252
22253 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22254
22255         * Versions.def (libm): Add GLIBC_2.18.
22256         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22257         hidden libm prototypes.
22258         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22259         * math/Makefile (libm-calls): Add s_issignaling.
22260         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22261         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22262         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22263         declaration.
22264         * math/math.h [__USE_GNU] (issignaling): New macro.
22265         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22266         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22267         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22268         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22269         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22270         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22271         * manual/arith.texi (issignaling): New section.
22272         * manual/libm-err-tab.pl (@all_functions): Update comment.
22273         * math/gen-libm-test.pl (parse_args): Apply special handling for
22274         issignaling.
22275         * math/libm-test.inc (print_float, issignaling_test): New
22276         functions.
22277         (check_float_internal): Add issignaling checks.
22278         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22279         default definition.
22280         * sysdeps/powerpc/math-tests.h: New file.
22281         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22282         tests.
22283         * math/test-snan.c (TEST_FUNC): Likewise.
22284
22285 2013-03-30  David S. Miller  <davem@davemloft.net>
22286
22287         * po/de.po: Update from translation team.
22288
22289 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22290
22291         [BZ #10357]
22292         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22293         imaginary part less than 1.0 and real part less than 0.5
22294         specially.
22295         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22296         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22297         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22298         (cacos_test): Add more tests.
22299         (casin_test): Likewise.
22300         (casinh_test): Likewise.
22301         * sysdeps/i386/fpu/libm-test-ulps: Update.
22302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22303
22304 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22305
22306         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22307         ONE with its value.
22308
22309         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22310         (__pow_mp): Replace ONE and MONE with their values.
22311         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22312         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22313         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22314         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22315         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22316         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22317
22318         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22319
22320         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22321         (__pow_mp): Replace ZERO and MZERO with their values.
22322         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22323         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22324         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22326         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22327         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22328         (__sqr): Likewise.
22329
22330         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22331
22332         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22333
22334 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22335
22336         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22337         Declare with __attribute__ ((weak)).
22338         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22339         Call __call_tls_dtors only if it's not NULL.
22340
22341 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22342
22343         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22344         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22345         magic __ehdr_start linker symbol if it's defined.
22346         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22347         them up here if it was already done.
22348
22349         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22350         (_dl_aux_init): Use const in cast when setting it.
22351         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22352         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22353         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22354
22355         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22356         Declare them here.
22357         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22358         * csu/libc-tls.c: Nor here.
22359         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22360
22361         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22362         (__libc_message): Never call vsyslog.
22363
22364 2013-03-28  Alan Modra  <amodra@gmail.com>
22365
22366         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22367         Define as empty.
22368         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22369         Likewise.
22370
22371 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22372
22373         [BZ #15214]
22374         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22375         underflow.
22376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22377
22378 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22379
22380         [BZ #15304]
22381         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22382         Don't add gid passed as argument.
22383
22384         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22385
22386 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22387
22388         [BZ #15307]
22389         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22390         imaginary part between 1.0 and 1.5 and real part less than 0.5
22391         specially.
22392         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22393         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22394         * math/libm-test.inc (cacos_test): Add more tests.
22395         (casin_test): Likewise.
22396         (casinh_test): Likewise.
22397         * sysdeps/i386/fpu/libm-test-ulps: Update.
22398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22399
22400 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22401
22402         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22403         constants.
22404         (norm): Likewise.
22405         (denorm): Likewise.
22406         (__dbl_mp): Likewise.
22407         (add_magnitudes): Likewise.
22408         (sub_magnitudes): Likewise.
22409         (__add): Likewise.
22410         (__sub): Likewise.
22411         (__mul): Likewise.
22412         (__sqr): Likewise.
22413         (__inv): Likewise.
22414         (__dvd): Likewise.
22415
22416         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22417         commented code.
22418         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22419         (__dubcos): Likewise.
22420         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22421         (__ieee754_acos): Likewise.
22422         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22423         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22424         (__exp1): Likewise.
22425         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22426         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22427         (log1): Likewise.
22428         (my_log2): Likewise.
22429         (checkint): Likewise.
22430         * sysdeps/ieee754/dbl-64/e_remainder.c
22431         (__ieee754_remainder): Likewise.
22432         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22434         (bsloww): Likewise.
22435         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22436
22437         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22438         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22439         MANTISSA_STORE_T to store computations on mantissa.  Use
22440         macros for rounding and division.
22441         (denorm): Likewise.
22442         (__dbl_mp): Likewise.
22443         (add_magnitudes): Likewise.
22444         (sub_magnitudes): Likewise.
22445         (__mul): Likewise.
22446         (__sqr): Likewise.
22447         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22448         powers of two in terms of TWOPOW macro.
22449         (mp_no): Make type of mantissa as MANTISSA_T.
22450         [!RADIXI]: Define RADIXI.
22451         [!TWO52]: Define TWO52.
22452         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22453
22454 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22455
22456         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22457         llroundl symbol when building for PPC32.
22458
22459 2013-03-24  Mark H Weaver  <mhw@netris.org>
22460
22461         * manual/arith.texi (Normalization Functions): Fix prototypes for
22462         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22463
22464 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22465
22466         [BZ #13889]
22467         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22468         high value to check if expl overflow.
22469         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22470         to check for underflow and overflow.
22471         * math/libm-test.inc: Add exp test.
22472
22473 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22474
22475         [BZ #11120]
22476         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22477         with NOT_IN_libc.
22478
22479 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22480
22481         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22482         symbol.
22483
22484 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22485
22486         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22487         wrap blocks consisting of several statements.
22488
22489         * sysdeps/generic/math-tests.h: New file.
22490         * sysdeps/i386/fpu/math-tests.h: Likewise.
22491         * math/test-snan.c: Include it.
22492         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22493
22494 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22495
22496         [BZ #15285]
22497         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22498         (__ieee754_j0l): Do not improve calculations using cos of twice
22499         input for inputs above LDBL_MAX / 2.0L.
22500         (__ieee754_y0l): Likewise.
22501         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22502         (__ieee754_j1l): Do not improve calculations using cos of twice
22503         input for inputs above LDBL_MAX / 2.0L.
22504         (__ieee754_y1l): Likewise.
22505         * math/libm-test.inc (j0_test): Add another test.
22506         (j1_test): Likewise.
22507         (y0_test): Likewise.
22508         (y1_test): Likewise.
22509         * sysdeps/i386/fpu/libm-test-ulps: Update.
22510
22511 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22512
22513         * Rules ($(objpfx)bench-%.c): Include code from a C source
22514         file.
22515
22516 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22517
22518         [BZ #15287]
22519         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22520         imaginary part 1.0 and real part less than 0.5 specially.
22521         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22522         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22523         * math/libm-test.inc (cacos_test): Add more tests.
22524         (casin_test): Likewise.
22525         (casinh_test): Likewise.
22526         * sysdeps/i386/fpu/libm-test-ulps: Update.
22527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22528
22529 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22530
22531         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22532         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22533
22534 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22535
22536         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22537         * config.make.in (config-cflags-sse4): Remove variable.
22538         (config-cflags-avx): Likewise.
22539         (config-cflags-sse2avx): Likewise.
22540         (config-cflags-novzeroupper): Likewise.
22541         (config-asflags-i686): Likewise.
22542         (have-mfma4): Likewise.
22543         (have-as-vis3): Likewise.
22544         (MIG): Likewise.
22545         * configure.in (MIG): Do not AC_SUBST.
22546         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22547         (libc_cv_cc_sse4): Do not AC_SUBST.
22548         (libc_cv_cc_avx): Likewise.
22549         (libc_cv_cc_sse2avx): Likewise.
22550         (libc_cv_cc_novzeroupper): Likewise.
22551         (libc_cv_cc_fma4): Likewise.
22552         (libc_cv_as_i686): Likewise.
22553         (libc_cv_sparc_as_vis3): Likewise.
22554         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22555         LIBC_CONFIG_VAR.
22556         (config-asflags-i686): Likewise.
22557         (config-cflags-avx): Likewise.
22558         (config-cflags-sse2avx): Likewise.
22559         (have-mfma4): Likewise.
22560         (config-cflags-novzeroupper): Likewise.
22561         * sysdeps/mach/configure.in (MIG): Likewise.
22562         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22563         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22564         LIBC_CONFIG_VAR.
22565         (config-cflags-avx): Likewise.
22566         (config-cflags-sse2avx): Likewise.
22567         (have-mfma4): Likewise.
22568         (config-cflags-novzeroupper): Likewise.
22569         * configure: Regenerated.
22570         * sysdeps/i386/configure: Likewise.
22571         * sysdeps/mach/configure: Likewise.
22572         * sysdeps/sparc/configure: Likewise.
22573         * sysdeps/x86_64/configure: Likewise.
22574
22575 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22576
22577         [BZ #14812]
22578         * locale/programs/localedef.c (options): Put N_ translation marker
22579         on argument names, not just descriptions.
22580
22581 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22582
22583         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22584
22585 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22586
22587         [BZ #14176]
22588         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22589
22590 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22591
22592         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22593         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22594         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22595         [!BEFORE_ABORT] (before_abort): New function.
22596         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22597         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22598         (writev_for_fatal): New function.
22599         (WRITEV_FOR_FATAL): New macro; call that.
22600         (backtrace_and_maps): New function.
22601         (BEFORE_ABORT): New macro; call that.
22602         (struct str_list): Type removed.
22603         (__libc_message, __libc_fatal): Functions removed.
22604         Include <sysdeps/posix/libc_fatal.c> instead.
22605
22606 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22607
22608         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22609         constants.
22610         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22611         double constants.
22612
22613 2013-03-19  Andreas Schwab  <schwab@suse.de>
22614
22615         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22616         * sysdeps/gnu/configure: Regenerate.
22617
22618         * configure.in: Substitute libc_cv_rtlddir.
22619         * configure: Regenerate.
22620         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22621         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22622         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22623         * elf/Makefile (install-others, CFLAGS-interp.c)
22624         (ldso_install, common-ldd-rewrite): Likewise.
22625         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22626         $(inst_slibdir)/$(rtld-installed-name).
22627         * scripts/rellns-sh: Add -p option.
22628         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22629         for source.
22630
22631 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22632
22633         * manual/nptl.texi: Renamed to ...
22634         * manual/threads.texi: ... this.
22635         * manual/Makefile (chapters): Update.
22636
22637 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22638
22639         [BZ #14812]
22640         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22641         on argument names, not just descriptions.
22642         * malloc/memusagestat.c (options): Likewise.
22643         * nss/getent.c (options): Likewise.
22644
22645 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22646
22647         [BZ #14812]
22648         * iconv/iconv_prog.c (options): Put N_ translation marker
22649         on argument names, not just descriptions.
22650         * iconv/iconvconfig.c (options): Likewise.
22651
22652 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22653
22654         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22655         implementation which is faster on all x86_64 architectures.
22656         Tested on AMD, Intel Nehalem, SNB, IVB.
22657         * sysdeps/x86_64/strnlen.S: Likewise.
22658
22659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22660         Remove all multiarch strlen and strnlen versions.
22661         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22662         Remove strlen and strnlen related parts.
22663
22664         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22665         Inline strlen part.
22666         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22667
22668         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22669         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22670         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22671         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22672         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22673         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22674
22675 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22676
22677         * manual/memory.texi (Malloc Tunable Parameters):
22678         Sort parameters alphabetically. Add comments for missing entries.
22679
22680 2013-03-17  David S. Miller  <davem@davemloft.net>
22681
22682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22683
22684 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22685
22686         [BZ #15283]
22687         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22688         for arguments at most half maximum finite value.
22689         * math/libm-test.inc (j0_test): Add more tests.
22690         (j1_test): Likewise.
22691         (y0_test): Likewise.
22692         (y1_test): Likewise.
22693         * sysdeps/i386/fpu/libm-test-ulps: Update.
22694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22695
22696         [BZ #14155]
22697         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22698         1 / x and functions P and Q for arguments above 0x1p256L.
22699         (__ieee754_y0l): Likewise.
22700         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22701         (__ieee754_y1l): Likewise.
22702         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22703         (j1_test): Likewise.
22704         (y0_test): Likewise.
22705         (y1_test): Likewise.
22706
22707 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22708
22709         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22710         variable.
22711
22712 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22713
22714         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22715         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22716         zero since it's initialized to EXEC_PAGESIZE.
22717
22718         * sysdeps/unix/sysv/linux/ldsodefs.h
22719         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22720         * sysdeps/generic/ldsodefs.h: ... here.
22721
22722 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22723
22724         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22725
22726         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22727         math/test-snan.c.
22728         * math/test-snan.c: Renamed from
22729         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22730         * math/Makefile (tests): Add test-snan.
22731         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22732         test-powerpc-snan.
22733
22734         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22735         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22736         functions.
22737         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22738         __builtin_nan family of functions.
22739         * math/libm-test.inc (initialize): Initialize qnan_value with
22740         __builtin_nan family of functions.
22741         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22742         Remove variables.
22743         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22744         Remove functions.
22745         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22746         storage class.  Initialize qNaN_var and sNaN_var with
22747         __builtin_nan and __builtin_nans families of functions,
22748         respectively.
22749
22750         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22751         (sqrt_test): Remove duplicate test with qNaN input.
22752         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22753         (round_test, signbit_test, significand_test): Note missing +/-Inf
22754         as well as qNaN tests.
22755
22756         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22757         qNaN_var.  Fix a few strings, too.
22758         * math/libm-test.inc (nan_value): Rename to qnan_value.
22759         * math/gen-libm-test.pl (%beautify): Adjust to that.
22760         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22761         * math/test-misc.c (main): Likewise.
22762         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22763         to __qnan_bytes, and __qnan_union, respectively.
22764         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22765         Likewise.
22766         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22767         and lqnanval, respectively.
22768         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22769         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22770         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22771         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22772
22773         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22774         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22775         doubles.
22776
22777         * math/test-misc.c (main): Fix copy'n'pastos.
22778         * misc/tst-efgcvt.c (special): Likewise.
22779
22780         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22781         Remove declarations.
22782
22783 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22784
22785         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22786         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22787         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22788         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22789
22790 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22791
22792         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22793         macro to return vdso values correctly in IFUNC implementations.
22794         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22795         Optimization by using IFUNC.
22796
22797 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22798             Richard Henderson  <rth@redhat.com>
22799             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22800
22801         * Makefile.in (bench): New target.
22802         * NEWS: Mention the benchmark framework.
22803         * Rules (bench): Likewise.
22804         (binaries-bench): Generate binaries for functions to
22805         benchmark.
22806         * benchtests/Makefile: New makefile for benchmark tests.
22807         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22808         programs.
22809         * benchtests/exp-inputs: New input file for EXP function.
22810         * benchtests/pow-inputs: New input file for POW function.
22811         * scripts/bench.pl: New script to generate source files for
22812         benchmark programs.
22813
22814 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22815
22816         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22817         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22818         computations on mantissa.  Use macros for rounding and
22819         division.
22820         (denorm): Likewise.
22821         (__dbl_mp): Likewise.
22822         (add_magnitudes): Likewise.
22823         (sub_magnitudes): Likewise.
22824         (__mul): Likewise.
22825         (__sqr): Likewise.
22826         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22827         powers of two in terms of TWOPOW macro.
22828         (mp_no): Make type of mantissa as MANTISSA_T.
22829         [!RADIXI]: Define RADIXI.
22830         [!TWO52]: Define TWO52.
22831         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22832
22833         * manual/nptl.texi (cindex): Modify threads to pthreads.
22834
22835 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22836
22837         * sysdeps/x86_64/preconfigure: Regenerated.
22838
22839 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22840
22841         [BZ #14155]
22842         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22843         0x1p28 and above.
22844         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22845         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22846         0x1p28 and above.
22847         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22848         * math/libm-test.inc (j0_test): Do not allow one spurious
22849         underflow exception.
22850         (y1_test): Likewise.
22851
22852 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22853
22854         * manual/Makefile (chapters): Add nptl.
22855         * manual/debug.texi (Debugging Support): Add link to Threads
22856         chapter.
22857         * manual/nptl.texi: New file.
22858
22859         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22860
22861 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22862
22863         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22864         for non-NULL pointer before the memory validity test. Pointed
22865         out by Holger Brunck <holger.brunck@keymile.com>.
22866
22867 2013-03-13  Andreas Schwab  <schwab@suse.de>
22868
22869         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22870         instead of .os.
22871
22872 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22873
22874         * timezone/zic.c: Update from tzcode 2013b.
22875
22876 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22877
22878         * manual/install.texi (Configuring and compiling):
22879         Mention i686 and i586.
22880         * INSTALL: Regenerate.
22881
22882 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22883
22884         * sysdeps/init_array/elf-init.c: New file.
22885         * csu/elf-init.c
22886         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22887         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22888
22889         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22890         __gmon_start__ as global, but as static with a .preinit_array pointer.
22891         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22892         * sysdeps/init_array/crti.S: New file, empty except for comments.
22893         * sysdeps/init_array/crtn.S: Likewise.
22894
22895 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22896
22897         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22898         definining bcopy.
22899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22900         Remove Prefer_SSE_for_memop.
22901         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22902         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22903         HAS_PREFER_SSE_FOR_MEMOP.
22904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22905         memset-x86-64.
22906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22907         Remove bzero, memset ifunc support.
22908         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22909         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22910         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22911         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22912
22913 2013-03-11  Andreas Schwab  <schwab@suse.de>
22914
22915         [BZ #15234]
22916         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22917         by SHLIB_COMPAT.
22918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22919         (GLIBC_2.16): Remove pthread_atfork.
22920
22921 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22922
22923         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22924         (ptestcases.h): Likewise.
22925
22926 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22927
22928         * Makeconfig ($(common-objpfx)config.status): Depend on
22929         sysdeps/*/preconfigure{,.in} too.
22930
22931 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22932
22933         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22934         (__free_hook): Use void * instead of __malloc_ptr_t.
22935         (__malloc_hook): Likewise.
22936         (__realloc_hook): Likewise.
22937         (__memalign_hook): Likewise.
22938         (__after_morecore_hook): Likewise.
22939         * malloc/arena.c (save_malloc_hook): Likewise.
22940         (save_free_hook): Likewise.
22941         * malloc/hooks.c (malloc_hook_ini): Likewise.
22942         (realloc_hook_ini): Likewise.
22943         (memalign_hook_ini): Likewise.
22944         * malloc/malloc.c (malloc_hook_ini): Likewise.
22945         (realloc_hook_ini): Likewise.
22946         (memalign_hook_ini): Likewise.
22947         (__free_hook): Likewise.
22948         (__malloc_hook): Likewise.
22949         (__realloc_hook): Likewise.
22950         (__memalign_hook): Likewise.
22951         (__libc_malloc): Likewise.
22952         (__libc_free): Likewise.
22953         (__libc_realloc): Likewise.
22954         (__libc_memalign): Likewise.
22955         (__libc_valloc): Likewise.
22956         (__libc_pvalloc): Likewise.
22957         (__libc_calloc): Likewise.
22958         (__posix_memalign): Likewise.
22959         * malloc/morecore.c (__sbrk): Likewise.
22960         (__default_morecore): Likewise.
22961
22962         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22963
22964         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22965         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22966         __malloc_ptrdiff_t.
22967
22968         * malloc/malloc.h (__malloc_size_t): Remove macro.
22969         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22970         __malloc_size_t.
22971         (old_memalign_hook): Likewise.
22972         (old_realloc_hook): Likewise.
22973         (struct hdr): Likewise.
22974         (flood): Likewise.
22975         (mallochook): Likewise.
22976         (memalignhook): Likewise.
22977         (reallochook): Likewise.
22978         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22979         (tr_old_realloc_hook): Likewise.
22980         (tr_old_memalign_hook): Likewise.
22981         (tr_mallochook): Likewise.
22982         (tr_reallochook): Likewise.
22983         (tr_memalignhook): Likewise.
22984
22985 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22986
22987         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22988         default_ldbl_pack and using as default implementation.
22989         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22990         implementation.
22991         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22992         redundant definition.
22993         (ldbl_insert_mantissa): Likewise.
22994         (ldbl_canonicalize): Likewise.
22995         (ldbl_nearbyint): Likewise.
22996         (ldbl_pack): Rename to ldbl_pack_ppc.
22997         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22998         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22999         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23000
23001 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23002
23003         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23004         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23005         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23006         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23008         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23009         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23010         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23011
23012 2013-03-07  Andreas Jaeger  <aj@suse.de>
23013
23014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23015         bits/mman-linux.h.
23016
23017 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23018
23019         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23020         Include mpa.h and declare __MPEXP.
23021         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23022         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23023         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23024         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23025         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23026         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23027         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23028
23029         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23030         (__slowpow): Use long double EXPL and LOGL functions to
23031         compute POW.
23032         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23033         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23034         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23035         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23036         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23037         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23038
23039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23040         intermediate variable to calculate exponent.
23041         (__sqr): Likewise.
23042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23043         Likewise.
23044         (__sqr): Likewise.
23045
23046         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23047         [!NO__SQR]: Define __sqr.
23048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23049         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23050         sysdeps/ieee754/dbl-64/mpa.c.
23051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23052
23053         [BZ #12723]
23054         * posix/Makefile (tests): Add tst-pathconf.
23055         * posix/tst-pathconf.c: New test case.
23056         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23057         _PC_PIPE_BUF.
23058         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23059
23060 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23061
23062         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23063
23064 2013-03-06  Andreas Jaeger  <aj@suse.de>
23065
23066         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23067         definition via __MAP_ANONYMOUS.
23068
23069         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23070         it's not part of Linux headers.
23071
23072         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23073         (MAP_HUGE_MASK): Define.
23074
23075         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23076         Define.
23077         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23078         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23079         Define.
23080         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23081         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23082         Define.
23083         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23084         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23085         Define.
23086         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23087
23088         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23089         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23090         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23091         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23092         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23093         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23094
23095         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23096         Handle f2fs.
23097
23098         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23099         Handle f2fs and efivarfs.
23100
23101         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23102         f2fs.
23103
23104         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23105         (EFIVARFS_MAGIC): Add.
23106         (F2FS_LINK_MAX): Add.
23107
23108 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23109
23110         * stdio-common/vfprintf.c: Replace __builtin_expect with
23111         __glibc_unlikely.
23112
23113 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23114
23115         [BZ #13550]
23116         * sysdeps/generic/bp-sym.h: Remove file.
23117         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23118         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23119         <bp-sym.h> and <bp-asm.h>.
23120         (__longjmp): Don't use BP_SYM.
23121         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23122         and <bp-asm.h>.
23123         (memcpy): Don't use BP_SYM.
23124         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23125         <bp-sym.h> and <bp-asm.h>.
23126         (memcpy): Don't use BP_SYM.
23127         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23128         <bp-asm.h>.
23129         (memcpy): Don't use BP_SYM.
23130         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23131         <bp-asm.h>.
23132         (memset): Don't use BP_SYM.
23133         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23134         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23135         (__bzero): Don't use BP_SYM.
23136         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23137         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23138         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23139         <bp-sym.h> and <bp-asm.h>.
23140         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23141         pointers.
23142         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23143         <bp-sym.h> and <bp-asm.h>.
23144         (memcpy): Don't use BP_SYM.
23145         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23146         <bp-sym.h> and <bp-asm.h>.
23147         (memset): Don't use BP_SYM.
23148         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23149         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23150         (__bzero): Don't use BP_SYM.
23151         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23152         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23153         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23154         <bp-sym.h> and <bp-asm.h>.
23155         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23156         pointers.
23157         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23158         <bp-sym.h> and <bp-asm.h>.
23159         (memcpy): Don't use BP_SYM.
23160         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23161         <bp-sym.h> and <bp-asm.h>.
23162         (memset): Don't use BP_SYM.
23163         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23164         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23165         (__bzero): Don't use BP_SYM.
23166         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23167         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23168         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23169         <bp-sym.h> and <bp-asm.h>.
23170         (__memchr): Don't use BP_SYM.
23171         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23172         <bp-sym.h> and <bp-asm.h>.
23173         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23174         pointers.
23175         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23176         <bp-sym.h> and <bp-asm.h>.
23177         (memcpy): Don't use BP_SYM.
23178         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23179         <bp-sym.h> and <bp-asm.h>.
23180         (__mempcpy): Don't use BP_SYM.
23181         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23182         <bp-sym.h> and <bp-asm.h>.
23183         (__memrchr): Don't use BP_SYM.
23184         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23185         <bp-sym.h> and <bp-asm.h>.
23186         (memset): Don't use BP_SYM.
23187         (__bzero): Likewise.
23188         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23189         <bp-sym.h> and <bp-asm.h>.
23190         (__rawmemchr): Don't use BP_SYM.
23191         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23192         <bp-sym.h> and <bp-asm.h>.
23193         (__STRCMP): Don't use BP_SYM.
23194         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23195         <bp-sym.h> and <bp-asm.h>.
23196         (strchr): Don't use BP_SYM.
23197         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23198         <bp-sym.h> and <bp-asm.h>.
23199         (__strchrnul): Don't use BP_SYM.
23200         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23201         <bp-sym.h> and <bp-asm.h>.
23202         (strlen): Don't use BP_SYM.
23203         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23204         <bp-sym.h> and <bp-asm.h>.
23205         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23206         pointers.
23207         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23208         <bp-sym.h> and <bp-asm.h>.
23209         (__strnlen): Don't use BP_SYM.
23210         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23211         <bp-sym.h> and <bp-asm.h>.
23212         (__GI__setjmp): Don't use BP_SYM.
23213         (_setjmp): Likewise.
23214         (__sigsetjmp): Likewise.
23215         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23216         (L(start_addresses)): Don't use BP_SYM.
23217         (_start): Likewise.
23218         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23219         <bp-asm.h>.
23220         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23221         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23222         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23223         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23224         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23225         <bp-asm.h>.
23226         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23227         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23228         about bounded pointers.
23229         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23230         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23231         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23232         <bp-asm.h>.
23233         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23234         about bounded pointers.  Remove GKM FIXME comments.
23235         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23236         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23237         <bp-asm.h>.
23238         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23239         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23240         Remove GKM FIXME comments.
23241         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23242         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23243         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23244         <bp-asm.h>.
23245         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23246         about bounded pointers.  Remove GKM FIXME comment.
23247         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23248         and <bp-asm.h>.
23249         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23250         pointers.
23251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23252         <bp-sym.h> and <bp-asm.h>.
23253         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23255         <bp-sym.h> and <bp-asm.h>.
23256         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23257         comment.
23258
23259 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23260
23261         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23262         call free(NULL).
23263
23264 2013-03-05  David S. Miller  <davem@davemloft.net>
23265
23266         * po/es.po: Update from translation team.
23267
23268 2013-03-05  Andreas Jaeger  <aj@suse.de>
23269
23270         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23271         <bits/mman-linux.h>.
23272         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23273         is fine.
23274         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23275         <bits/mman-linux.h> to end of file.
23276         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23277         is fine.
23278         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23279         <bits/mman-linux.h> to end of file.
23280         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23281         is fine.
23282         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23283         <bits/mman-linux.h> to end of file.
23284
23285         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23286         (MCL_CURRENT, MCL_FUTURE): Define here.
23287
23288 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23289
23290         [BZ #15232]
23291         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23292         attribute_hidden.
23293         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23294
23295 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23296
23297         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23298         fourth parameter needed for rt_sigprocmask syscall.
23299         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23300         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23301         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23302         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23303         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23304         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23305
23306 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23307
23308         [BZ #13550]
23309         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23310         comment about bounded pointers.
23311         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23312         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23313
23314 2013-03-04  Andreas Jaeger  <aj@suse.de>
23315
23316         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23317         common definitions.
23318
23319         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23320         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23321         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23322         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23323         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23324         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23325
23326 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23327
23328         [BZ #15055]
23329         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23330         __ieee754_sqrl instead of __sqrl.
23331
23332 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23333
23334         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23335         * sysdeps/powerpc/fpu_control.h: ... here.
23336         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23337         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23338         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23339         * sysdeps/powerpc/bits/mathinline.h: ... here.
23340
23341 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23342
23343         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23344         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23345         to just [NEED_DL_SYSINFO_DSO].
23346         * elf/dl-support.c: Likewise.
23347         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23348         * elf/rtld.c (dl_main): Likewise.
23349         * elf/setup-vdso.h (setup_vdso): Likewise.
23350         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23351         * sysdeps/unix/sysv/linux/dl-sysdep.c
23352         (_dl_discover_osversion): Likewise.
23353
23354 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23355
23356         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23357         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23358
23359 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23360
23361         * NEWS: Mention libm performance improvements and non-x86 PI
23362         futex support.
23363
23364         * csu/libc-start.c (__pthread_initialize_minimal): Change
23365         function arguments.
23366         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23367
23368 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23369
23370         [BZ #13550]
23371         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23372         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23373         <bp-sym.h> and <bp-asm.h>.
23374         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23375         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23376         and <bp-asm.h>.
23377         (memcpy): Don't use BP_SYM.
23378         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23379         <bp-asm.h>.
23380         (__mpn_add_n): Don't use BP_SYM.
23381         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23382         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23383         and <bp-asm.h>.
23384         (__mpn_addmul_1): Don't use BP_SYM.
23385         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23386         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23387         <bp-sym.h>.
23388         (_setjmp): Don't use BP_SYM.
23389         (__novmx_setjmp): Likewise.
23390         (__GI__setjmp): Likewise.
23391         (__vmx_setjmp): Likewise.
23392         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23393         <bp-sym.h>.
23394         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23395         (__bzero): Don't use BP_SYM.
23396         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23397         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23398         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23399         <bp-sym.h> and <bp-asm.h>.
23400         (memcpy): Don't use BP_SYM.
23401         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23402         <bp-sym.h> and <bp-asm.h>.
23403         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23404         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23405         <bp-sym.h> and <bp-asm.h>.
23406         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23407         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23408         <bp-asm.h>.
23409         (__mpn_lshift): Don't use BP_SYM.
23410         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23411         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23412         <bp-asm.h>.
23413         (memset): Don't use BP_SYM.
23414         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23415         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23416         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23417         <bp-asm.h>.
23418         (__mpn_mul_1): Don't use BP_SYM.
23419         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23420         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23421         <bp-sym.h> and <bp-asm.h>.
23422         (memcmp): Don't use BP_SYM.
23423         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23424         <bp-sym.h> and <bp-asm.h>.
23425         (memcpy): Don't use BP_SYM.
23426         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23427         <bp-sym.h> and <bp-asm.h>.
23428         (memset): Don't use BP_SYM.
23429         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23430         <bp-sym.h> and <bp-asm.h>.
23431         (strncmp): Don't use BP_SYM.
23432         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23433         <bp-sym.h> and <bp-asm.h>.
23434         (memcpy): Don't use BP_SYM.
23435         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23436         <bp-sym.h> and <bp-asm.h>.
23437         (memset): Don't use BP_SYM.
23438         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23439         <bp-sym.h> and <bp-asm.h>.
23440         (__memchr): Don't use BP_SYM.
23441         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23442         <bp-sym.h> and <bp-asm.h>.
23443         (memcmp): Don't use BP_SYM.
23444         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23445         <bp-sym.h> and <bp-asm.h>.
23446         (memcpy): Don't use BP_SYM.
23447         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23448         <bp-sym.h> and <bp-asm.h>.
23449         (__mempcpy): Don't use BP_SYM.
23450         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23451         <bp-sym.h> and <bp-asm.h>.
23452         (__memrchr): Don't use BP_SYM.
23453         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23454         <bp-sym.h> and <bp-asm.h>.
23455         (memset): Don't use BP_SYM.
23456         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23457         <bp-sym.h> and <bp-asm.h>.
23458         (__rawmemchr): Don't use BP_SYM.
23459         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23460         <bp-sym.h> and <bp-asm.h>.
23461         (__STRCMP): Don't use BP_SYM.
23462         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23463         <bp-sym.h> and <bp-asm.h>.
23464         (strchr): Don't use BP_SYM.
23465         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23466         <bp-sym.h> and <bp-asm.h>.
23467         (__strchrnul): Don't use BP_SYM.
23468         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23469         <bp-sym.h> and <bp-asm.h>.
23470         (strlen): Don't use BP_SYM.
23471         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23472         <bp-sym.h> and <bp-asm.h>.
23473         (strncmp): Don't use BP_SYM.
23474         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23475         <bp-sym.h> and <bp-asm.h>.
23476         (__strnlen): Don't use BP_SYM.
23477         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23478         <bp-asm.h>.
23479         (__mpn_rshift): Don't use BP_SYM.
23480         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23481         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23482         <bp-sym.h> and <bp-asm.h>.
23483         (__sigsetjmp): Don't use BP_SYM.
23484         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23485         (L(start_addresses)): Don't use BP_SYM.
23486         (_start): Likewise.
23487         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23488         <bp-asm.h>.
23489         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23490         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23491         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23492         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23493         <bp-asm.h>.
23494         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23495         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23496         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23497         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23498         <bp-asm.h>.
23499         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23500         comments.
23501         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23502         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23503         <bp-asm.h>.
23504         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23505         FIXME comments.
23506         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23507         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23508         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23509         <bp-asm.h>.
23510         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23511         comment.
23512         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23513         and <bp-asm.h>.
23514         (strncmp): Don't use BP_SYM,
23515         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23516         <bp-asm.h>.
23517         (__mpn_sub_n): Don't use BP_SYM.
23518         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23519         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23520         and <bp-asm.h>.
23521         (__mpn_submul_1): Don't use BP_SYM.
23522         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23524         <bp-sym.h> and <bp-asm.h>.
23525         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23527         <bp-sym.h> and <bp-asm.h>.
23528         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23529         comment.
23530
23531 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23532
23533         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23534         Use ZK to minimize writes to Z.
23535         (sub_magnitudes): Simplify code a bit.
23536         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23537         Use ZK to minimize writes to Z.
23538         (sub_magnitudes): Simplify code a bit.
23539
23540 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23541
23542         * csu/gmon-start.c: Add special exception to license text.
23543
23544 2013-02-27  Richard Henderson  <rth@redhat.com>
23545
23546         * scripts/config.guess: Update from config.git.
23547         * scripts/config.sub: Likewise.
23548
23549 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23550
23551         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23552
23553         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23554
23555         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23556
23557         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23558
23559         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23560
23561 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23562
23563         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23564         [$(build-shared = yes].
23565
23566 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23567
23568         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23569         (__mul): Reduce iterations for calculating mantissa.
23570
23571         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23572         MPTWO.
23573         (__mpranred): Likewise.
23574
23575         [BZ #15160]
23576         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23577         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23578
23579 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23580
23581         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23582         Define __attribute__.
23583
23584 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23585
23586         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23587         unused.
23588         * posix/regex_internal.h (__attribute): Remove.
23589         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23590         (re_string_context_at): Likewise.
23591         (bitset_not): Use __attribute__ and mark function as possibly
23592         unused.
23593         (bitset_merge): Likewise.
23594         (bitset_mask): Likewise.
23595         (re_string_char_size_at): Likewise.
23596         (re_string_wchar_at): Likewise.
23597         (re_string_elem_size_at): Likewise.
23598
23599 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23600
23601         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23602         code.
23603         (cc32): Likewise.
23604
23605         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23606         (__acr): Likewise.
23607         (__cpy): Likewise.
23608         (norm): Likewise.
23609         (denorm): Likewise.
23610         (__dbl_mp): Likewise.
23611         (add_magnitudes): Likewise.
23612         (sub_magnitudes): Likewise.
23613         (__mul): Likewise.
23614         (__inv): Likewise.
23615
23616         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23617         style.
23618
23619         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23620         style.
23621
23622         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23623         code.
23624
23625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23626         up changes with default code.
23627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23628         Likewise.
23629
23630 2013-02-24  Allan McRae  <allan@archlinux.org>
23631
23632         * manual/socket.texi (The Internet Namespace): Order menu items
23633         to match that in the file.
23634
23635         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23636         node listing of the info page menu.
23637
23638 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23639
23640         [BZ #13550]
23641         * sysdeps/i386/bp-asm.h: Remove file.
23642         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23643         (PARMS): Do not use macros from bp-asm.h.
23644         (S1): Likewise.
23645         (S2): Likewise.
23646         (SIZE): Likewise.
23647         (__mpn_add_n): Do not use BP_SYM
23648         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23649         "bp-asm.h".
23650         (PARMS): Do not use macros from bp-asm.h.
23651         (S1): Likewise.
23652         (SIZE): Likewise.
23653         (__mpn_addmul_1): Do not use BP_SYM
23654         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23655         "bp-asm.h".
23656         (PARMS): Do not use macros from bp-asm.h.
23657         (SIGMSK): Likewise.
23658         (_setjmp): Likewise.  Do not use BP_SYM.
23659         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23660         "bp-asm.h".
23661         (PARMS): Do not use macros from bp-asm.h.
23662         (SIGMSK): Likewise.
23663         (setjmp): Likewise.  Do not use BP_SYM.
23664         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23665         "bp-asm.h".
23666         (PARMS): Do not use macros from bp-asm.h.
23667         (__frexp): Do not use BP_SYM.
23668         (frexp): Likewise.
23669         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23670         "bp-asm.h".
23671         (PARMS): Do not use macros from bp-asm.h.
23672         (__frexpf): Do not use BP_SYM.
23673         (frexpf): Likewise.
23674         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23675         "bp-asm.h".
23676         (PARMS): Do not use macros from bp-asm.h.
23677         (__frexpl): Do not use BP_SYM.
23678         (frexpl): Likewise.
23679         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23680         "bp-asm.h".
23681         (PARMS): Do not use macros from bp-asm.h.
23682         (__remquo): Do not use BP_SYM.
23683         (remquo): Likewise.
23684         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23685         "bp-asm.h".
23686         (PARMS): Do not use macros from bp-asm.h.
23687         (__remquof): Do not use BP_SYM.
23688         (remquof): Likewise.
23689         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23690         "bp-asm.h".
23691         (PARMS): Do not use macros from bp-asm.h.
23692         (__remquol): Do not use BP_SYM.
23693         (remquol): Likewise.
23694         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23695         "bp-asm.h".
23696         (PARMS): Do not use macros from bp-asm.h.
23697         (DEST): Likewise.
23698         (SRC): Likewise.
23699         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23700         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23701         "bp-asm.h".
23702         (PARMS): Do not use macros from bp-asm.h.
23703         (strlen): Do not use BP_SYM.
23704         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23705         "bp-asm.h".
23706         (PARMS): Do not use macros from bp-asm.h.
23707         (S1): Likewise.
23708         (S2): Likewise.
23709         (SIZE): Likewise.
23710         (__mpn_add_n): Do not use BP_SYM.
23711         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23712         "bp-asm.h".
23713         (PARMS): Do not use macros from bp-asm.h.
23714         (S1): Likewise.
23715         (SIZE): Likewise.
23716         (__mpn_addmul_1): Do not use BP_SYM.
23717         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23718         weak_alias.
23719         (bzero): Likewise.
23720         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23721         "bp-asm.h".
23722         (PARMS): Do not use macros from bp-asm.h.
23723         (S): Likewise.
23724         (SIZE): Likewise.
23725         (__mpn_lshift): Do not use BP_SYM.
23726         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23727         "bp-asm.h".
23728         (PARMS): Do not use macros from bp-asm.h.
23729         (DEST): Likewise.
23730         (SRC): Likewise.
23731         (LEN): Likewise.
23732         (memcpy): Likewise.  Do not use BP_SYM.
23733         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23734         libc_hidden_def and weak_alias.
23735         (mempcpy): Do not use BP_SYM in weak_alias.
23736         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23737         "bp-asm.h".
23738         (PARMS): Do not use macros from bp-asm.h.
23739         (DEST): Likewise.
23740         (LEN): Likewise.
23741         [!BZERO_P] (CHR): Likewise.
23742         (memset): Likewise.  Do not use BP_SYM.
23743         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23744         "bp-asm.h".
23745         (PARMS): Do not use macros from bp-asm.h.
23746         (S1): Likewise.
23747         (SIZE): Likewise.
23748         (__mpn_mul_1): Do not use BP_SYM.
23749         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23750         "bp-asm.h".
23751         (PARMS): Do not use macros from bp-asm.h.
23752         (S): Likewise.
23753         (SIZE): Likewise.
23754         (__mpn_rshift): Do not use BP_SYM.
23755         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23756         "bp-asm.h".
23757         (PARMS): Do not use macros from bp-asm.h.
23758         (STR): Likewise.
23759         (CHR): Likewise.
23760         (strchr): Likewise.  Do not use BP_SYM.
23761         (index): Do not use BP_SYM in weak_alias.
23762         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23763         "bp-asm.h".
23764         (PARMS): Do not use macros from bp-asm.h.
23765         (DEST): Likewise.
23766         (SRC): Likewise.
23767         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23768         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23769         "bp-asm.h".
23770         (PARMS): Do not use macros from bp-asm.h.
23771         (strlen): Do not use BP_SYM.
23772         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23773         "bp-asm.h".
23774         (PARMS): Do not use macros from bp-asm.h.
23775         (S1): Likewise.
23776         (S2): Likewise.
23777         (SIZE): Likewise.
23778         (__mpn_sub_n): Do not use BP_SYM.
23779         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23780         "bp-asm.h".
23781         (PARMS): Do not use macros from bp-asm.h.
23782         (S1): Likewise.
23783         (SIZE): Likewise.
23784         (__mpn_submul_1): Do not use BP_SYM.
23785         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23786         "bp-asm.h".
23787         (PARMS): Do not use macros from bp-asm.h.
23788         (S1): Likewise.
23789         (S2): Likewise.
23790         (SIZE): Likewise.
23791         (__mpn_add_n): Do not use BP_SYM.
23792         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23793         weak_alias.
23794         (bzero): Likewise.
23795         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23796         "bp-asm.h".
23797         (PARMS): Do not use macros from bp-asm.h.
23798         (BLK2): Likewise.
23799         (LEN): Likewise.
23800         (memcmp): Do not use BP_SYM.
23801         (bcmp): Do not use BP_SYM in weak_alias.
23802         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23803         "bp-asm.h".
23804         (PARMS): Do not use macros from bp-asm.h.
23805         (DEST): Likewise.
23806         (SRC): Likewise.
23807         (LEN): Likewise.
23808         (memcpy): Likewise.  Do not use BP_SYM.
23809         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23810         "bp-asm.h".
23811         (PARMS): Do not use macros from bp-asm.h.
23812         (DEST): Likewise.
23813         (SRC): Likewise.
23814         (LEN): Likewise.
23815         (memmove): Likewise.  Do not use BP_SYM.
23816         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23817         "bp-asm.h".
23818         (PARMS): Do not use macros from bp-asm.h.
23819         (DEST): Likewise.
23820         (SRC): Likewise.
23821         (LEN): Likewise.
23822         (__mempcpy): Likewise.  Do not use BP_SYM.
23823         (mempcpy): Do not use BP_SYM in weak_alias.
23824         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23825         "bp-asm.h".
23826         (PARMS): Do not use macros from bp-asm.h.
23827         (DEST): Likewise.
23828         (LEN): Likewise.
23829         [!BZERO_P] (CHR): Likewise.
23830         (memset): Likewise.  Do not use BP_SYM.
23831         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23832         "bp-asm.h".
23833         (PARMS): Do not use macros from bp-asm.h.
23834         (STR2): Likewise.
23835         (strcmp): Do not use BP_SYM.
23836         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23837         "bp-asm.h".
23838         (PARMS): Do not use macros from bp-asm.h.
23839         (STR): Likewise.
23840         (DELIM): Likewise.
23841         [USE_AS_STRTOK_R] (SAVE): Likewise.
23842         (FUNCTION): Likewise.  Do not use BP_SYM.
23843         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23844         aliases.
23845         (strtok_r): Likewise.
23846         (__GI___strtok_r): Likewise.
23847         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23848         (PARMS): Do not use macros from bp-asm.h.
23849         (S): Likewise.
23850         (SIZE): Likewise.
23851         (__mpn_lshift): Do not use BP_SYM.
23852         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23853         (PARMS): Do not use macros from bp-asm.h.
23854         (STR): Likewise.
23855         (CHR): Likewise.
23856         (__memchr): Do not use BP_SYM.
23857         (memchr): Do not use BP_SYM in weak_alias.
23858         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23859         (PARMS): Do not use macros from bp-asm.h.
23860         (BLK2): Likewise.
23861         (LEN): Likewise.
23862         (memcmp): Do not use BP_SYM.
23863         (bcmp): Do not use BP_SYM in weak_alias.
23864         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23865         (PARMS): Do not use macros from bp-asm.h.
23866         (S1): Likewise.
23867         (SIZE): Likewise.
23868         (__mpn_mul_1): Do not use BP_SYM.
23869         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23870         "bp-asm.h".
23871         (PARMS): Do not use macros from bp-asm.h.
23872         (STR): Likewise.
23873         (CHR): Likewise.
23874         (__rawmemchr): Do not use BP_SYM.
23875         (rawmemchr): Do not use BP_SYM in weak_alias.
23876         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23877         (PARMS): Do not use macros from bp-asm.h.
23878         (S): Likewise.
23879         (SIZE): Likewise.
23880         (__mpn_rshift): Do not use BP_SYM.
23881         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23882         (PARMS): Do not use macros from bp-asm.h.
23883         (SIGMSK): Likewise.
23884         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23885         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23886         (_start): Do not use BP_SYM.
23887         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23888         (PARMS): Do not use macros from bp-asm.h.
23889         (DEST): Likewise.
23890         (SRC): Likewise.
23891         (__stpcpy): Likewise.  Do not use BP_SYM.
23892         (stpcpy): Do not use BP_SYM in weak_alias.
23893         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23894         "bp-asm.h".
23895         (PARMS): Do not use macros from bp-asm.h.
23896         (DEST): Likewise.
23897         (SRC): Likewise.
23898         (LEN): Likewise.
23899         (__stpncpy): Likewise.  Do not use BP_SYM.
23900         (stpncpy): Do not use BP_SYM in weak_alias.
23901         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23902         (PARMS): Do not use macros from bp-asm.h.
23903         (STR): Likewise.
23904         (CHR): Likewise.
23905         (strchr): Likewise.  Do not use BP_SYM.
23906         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23907         "bp-asm.h".
23908         (PARMS): Do not use macros from bp-asm.h.
23909         (STR): Likewise.
23910         (CHR): Likewise.
23911         (__strchrnul): Likewise.  Do not use BP_SYM.
23912         (strchrnul): Do not use BP_SYM in weak_alias.
23913         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23914         "bp-asm.h".
23915         (PARMS): Do not use macros from bp-asm.h.
23916         (STOP): Likewise.
23917         (strcspn): Do not use BP_SYM.
23918         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23919         "bp-asm.h".
23920         (PARMS): Do not use macros from bp-asm.h.
23921         (STR): Likewise.
23922         (STOP): Likewise.
23923         (strpbrk): Likewise.  Do not use BP_SYM.
23924         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23925         "bp-asm.h".
23926         (PARMS): Do not use macros from bp-asm.h.
23927         (STR): Likewise.
23928         (CHR): Likewise.
23929         (strrchr): Likewise.  Do not use BP_SYM.
23930         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23931         (PARMS): Do not use macros from bp-asm.h.
23932         (SKIP): Likewise.
23933         (strspn): Do not use BP_SYM.
23934         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23935         (PARMS): Do not use macros from bp-asm.h.
23936         (STR): Likewise.
23937         (DELIM): Likewise.
23938         (SAVE): Likewise.
23939         (FUNCTION): Likewise.  Do not use BP_SYM.
23940         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23941         aliases.
23942         (strtok_r): Likewise.
23943         (__GI___strtok_r): Likewise.
23944         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23945         (PARMS): Do not use macros from bp-asm.h.
23946         (S1): Likewise.
23947         (S2): Likewise.
23948         (SIZE): Likewise.
23949         (__mpn_sub_n): Do not use BP_SYM.
23950         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23951         "bp-asm.h".
23952         (PARMS): Do not use macros from bp-asm.h.
23953         (S1): Likewise.
23954         (SIZE): Likewise.
23955         (__mpn_submul_1): Do not use BP_SYM.
23956         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23957         <bp-sym.h>.
23958         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23959         and <bp-asm.h>.
23960         (PARMS): Do not use macros from bp-asm.h.
23961         (FLAGS): Likewise.
23962         (PTID): Likewise.
23963         (TLS): Likewise.
23964         (CTID): Likewise.
23965         (__clone): Do not use BP_SYM.
23966         (clone): Do not use BP_SYM in weak_alias.
23967         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23968         and <bp-asm.h>.
23969         (PARMS): Do not use macros from bp-asm.h.
23970         (LEN): Likewise.
23971         (__mmap64): Do not use BP_SYM.
23972         (mmap64): Do not use BP_SYM in weak_alias.
23973         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23974         <bp-sym.h> and <bp-asm.h>.
23975         (PARMS): Do not use macros from bp-asm.h.
23976         (__posix_fadvise64_l64): Do not use BP_SYM.
23977         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23978         (PARMS): Do not use macros from bp-asm.h.
23979         (NSOPS): Likewise.
23980         (semtimedop): Do not use BP_SYM.
23981         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23982         and <bp-asm.h>.
23983
23984 2013-02-21  Allan McRae  <allan@archlinux.org>
23985
23986         * manual/message.texi (Charset conversion in gettext):
23987         Move @end statement to beginning of line.
23988
23989 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23990
23991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23992         static.
23993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23994         Likewise.
23995
23996         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23997         (denorm): Likewise.
23998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23999         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24000
24001 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24002
24003         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24004         tail-call to the resolved function if pltexit isn't needed.
24005
24006 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24007
24008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24009         or Y being zero as being unlikely.
24010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24011         Likewise.
24012
24013 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24014
24015         * manual/nss.texi (System Databases and Name Service Switch):
24016         Remove frobnicate @pxref.
24017
24018 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24019
24020         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24021         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24022
24023 2013-02-20  Petr Machata  <pmachata@redhat.com>
24024
24025         * elf/elf.h (R_ARM_TARGET1): New macro.
24026         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24027         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24028         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24029         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24030         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24031         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24032         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24033         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24034         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24035         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24036         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24037         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24038         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24039         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24040         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24041         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24042         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24043         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24044         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24045         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24046         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24047         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24048         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24049         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24050         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24051         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24052         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24053         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24054         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24055         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24056         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24057         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24058         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24059         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24060         (R_ARM_THM_GOT_BREL12): Likewise.
24061         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24062         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24063         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24064         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24065         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24066         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24067         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24068         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24069         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24070
24071 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24072
24073         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24074         __attribute_used__ to __attribute__ ((unused)).
24075
24076 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24077
24078         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24079         powerpc mpa.c.
24080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24081         comment formatting.
24082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24083
24084 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24085
24086         [BZ #13550]
24087         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24088         Remove macro.
24089         (ENTER): Remove both macro definitions.
24090         (LEAVE): Likewise.
24091         (CHECK_BOUNDS_LOW): Likewise.
24092         (CHECK_BOUNDS_HIGH): Likewise.
24093         (CHECK_BOUNDS_BOTH): Likewise.
24094         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24095         (RETURN_BOUNDED_POINTER): Likewise.
24096         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24097         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24098         (POP_ERRNO_LOCATION_RETURN): Likewise.
24099         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24100         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24101         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24102         macros.
24103         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24104         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24105         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24106         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24107         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24108         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24109         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24110         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24111         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24112         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24113         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24114         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24115         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24116         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24117         removed macros.
24118         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24119         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24120         macros.
24121         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24122         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24123         * sysdeps/i386/i586/memset.S (memset): Likewise.
24124         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24125         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24126         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24127         macros.
24128         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24129         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24130         Change uses of L(2) to L(out).
24131         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24132         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24133         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24134         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24135         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24136         removed macros.
24137         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24138         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24139         macros.
24140         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24141         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24142         (RETURN): Do not use macro LEAVE.
24143         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24144         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24145         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24146         * sysdeps/i386/i686/memset.S (memset): Likewise.
24147         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24148         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24149         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24150         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24151         Likewise.
24152         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24153         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24154         L(1_2) and L(1_3) into L(1).
24155         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24156         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24157         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24158         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24159         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24160         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24161         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24162         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24163         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24164         macros.
24165         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24166         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24167         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24168         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24169         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24170         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24171         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24172         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24173         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24174         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24175         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24176         * sysdeps/i386/strspn.S (strspn): Likewise.
24177         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24178         conditional code.
24179         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24180         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24181         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24182         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24183         L(1_3) into L(1_1).
24184         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24185         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24186         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24187         macros.
24188         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24189
24190 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24191
24192         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24193         macro.
24194
24195 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24196
24197         * math/atest-exp.c (exp_mpn): Remove ROUND.
24198         * math/atest-exp2.c (exp_mpn): Likewise.
24199         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24200
24201         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24202         * stdlib/tst-tls-atexit-lib.c: Likewise.
24203         * stdlib/tst-tls-atexit.c: Likewise.
24204
24205 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24206
24207         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24208         and __attribute_alloc_size__.
24209
24210 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24211
24212         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24213         __attribute_alloc_size__.
24214         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24215         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24216
24217 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24218
24219         * include/programs/xmalloc.h: New file.
24220         * catgets/gencat.c: Include it.
24221         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24222         * elf/pldd.c: Likewise.
24223         * iconv/iconv_charmap.c: Likewise.
24224         * iconv/iconvconfig.c: Likewise.
24225         * iconv/strtab.c: Likewise.
24226         * locale/programs/locale.c: Likewise.
24227         * locale/programs/localedef.h: Likewise.
24228         * locale/programs/simple-hash.c: Likewise.
24229         * nscd/nscd.h: Likewise.
24230         * nss/makedb.c: Likewise.
24231         * sysdeps/generic/ldconfig.h: Likewise.
24232
24233 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24234
24235         * Versions.def: Add GLIBC_2.18.
24236         * include/link.h (struct link_map): New member l_tls_dtor_count.
24237         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24238         (__call_tls_dtors): Likewise.
24239         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24240         __cxa_thread_atexit_impl.
24241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24242         Likewise.
24243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24244         Likewise.
24245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24246         Likewise.
24247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24248         Likewise.
24249         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24251         Likewise.
24252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24253         Likewise.
24254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24256         Likewise.
24257         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24258         (tests): Add test case tst-tls-atexit.
24259         (modules-names): Add shared library for tst-tls-atexit.
24260         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24261         (GLIBC_PRIVATE): Add __call_tls_dtors.
24262         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24263         for libstdc++.
24264         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24265         * stdlib/tst-tls-atexit.c: New test case.
24266         * stdlib/tst-tls-atexit-lib.c: New test case.
24267
24268         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24269
24270         * elf/Versions (ld): Add _dl_find_dso_for_object.
24271         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24272         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24273         (dl_open_worker): Use _dl_find_dso_for_object.
24274         * elf/dl-sym.c (do_sym): Likewise.
24275         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24276
24277 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24278
24279         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24280         Syntactic changes only.
24281         (_dl_runtime_profile): Do a tail-call to the resolved function.
24282
24283 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24284
24285         [BZ #13550]
24286         * sysdeps/x86_64/bp-asm.h: Remove file.
24287         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24288         <bp-sym.h> and <bp-asm.h>.
24289         (__clone): Do not use BP_SYM.
24290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24291         <bp-sym.h> and <bp-asm.h>.
24292         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24293         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24294         "bp-asm.h".
24295         (_setjmp): Do not use BP_SYM.
24296         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24297         "bp-asm.h".
24298         (setjmp): Do not use BP_SYM.
24299         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24300         libc_hidden_def.
24301         (mempcpy): Do not use BP_SYM in weak_alias.
24302         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24303         "bp-asm.h".
24304         (strchr): Do not use BP_SYM.
24305         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24306         "bp-asm.h".
24307         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24308         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24309         (_start): Do not use BP_SYM.
24310         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24311         "bp-asm.h".
24312         (strcat): Do not use BP_SYM.
24313         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24314         "bp-asm.h".
24315         (STRCMP): Do not use BP_SYM.
24316         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24317         "bp-asm.h".
24318         (STRCPY): Do not use BP_SYM.
24319         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24320         "bp-asm.h".
24321         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24322         "bp-asm.h".
24323         (FUNCTION): Do not use BP_SYM.
24324         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24325         weak_alias.
24326         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24327
24328 2013-02-17  Andreas Jaeger  <aj@suse.de>
24329
24330         * time/Versions: Sort entries.
24331         * string/Versions: Likewise.
24332         * resolv/Versions: Likewise.
24333         * posix/Versions: Likewise.
24334         * iconv/Versions: Likewise.
24335         * elf/Versions: Likewise.
24336         * wcsmbs/Versions: Likewise.
24337
24338 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24339
24340         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24341         loop termination condition.
24342
24343         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24344         variable to calculate EZ.
24345         (__sqr): Likewise.
24346
24347         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24348         the lower precision input.
24349
24350 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24351
24352         [BZ #13550]
24353         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24354         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24355         (run-via-rtld-prefix): Do not handle %-bp tests.
24356         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24357         (all-object-suffixes): Remove .ob.
24358         (bppfx): Remove variable.
24359         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24360         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24361         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24362         [$(build-bounded) = yes] (libtype.ob): Likewise.
24363         * Makerules (elide-routines.ob): Remove variable.
24364         (do-tests-clean): Do not handle *-bp.out.
24365         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24366         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24367         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24368         (tests): Do not include $(tests-bp.out).
24369         (xtests): Do not include $(xtests-bp.out).
24370         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24371         [$(build-bounded) = yes] ($(addprefix
24372         $(objpfx),$(binaries-bounded))): Remove rule.
24373         ($(objpfx)%-bp.out): Remove rule.
24374         * config.make.in (build-bounded): Remove variable.
24375         * crypt/Makefile [$(build-bounded) = yes]
24376         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24377         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24378         append to variable.
24379         [$(build-bounded) = yes] (install-lib): Likewise.
24380         [$(build-bounded) = yes] (generated): Likewise.
24381         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24382         Remove rule.
24383         * intl/Makefile [$(build-bounded) = yes]
24384         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24385         * math/Makefile [$(build-bounded) = yes]
24386         ($(tests:%=$(objpfx)%-bp): Likewise.
24387         * misc/Makefile [$(build-bounded) = yes]
24388         ($(objpfx)tst-tsearch-bp): Likewise.
24389         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24390         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24391         Remove dependency.
24392         * string/Makefile (o-objects.ob): Remove variable.
24393         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24394         (CFLAGS-.ob): Remove variable.
24395         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24396         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24397         both definitions of variable.
24398         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24399         (ASFLAGS-.ob): Remove variable.
24400
24401 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24402
24403         [BZ #13550]
24404         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24405         Remove __BOUNDED_POINTERS__ from condition.
24406         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24407         * string/bits/string2.h [!__NO_STRING_INLINES &&
24408         !__BOUNDED_POINTERS__]: Likewise.
24409         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24410         Likewise.
24411         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24412         Remove conditional code.
24413         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24414         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24415         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24416         condition.
24417
24418         [BZ #13550]
24419         * csu/libc-start.c: Do not include <bp-sym.h>.
24420         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24421         * elf/dl-open.c: Do not include <bp-sym.h>.
24422         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24423         * math/fegetenv.c: Do not include <bp-sym.h>.
24424         (fegetenv): Do not use BP_SYM in versioned symbols.
24425         * nptl/sysdeps/pthread/bits/libc-lockP.h
24426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24427         <bp-sym.h>.
24428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24429         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24431         (__pthread_mutex_destroy): Likewise.
24432         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24433         (__pthread_mutex_lock): Likewise.
24434         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24435         (__pthread_mutex_trylock): Likewise.
24436         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24437         (__pthread_mutex_unlock): Likewise.
24438         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24439         (__pthread_mutexattr_init): Likewise.
24440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24441         (__pthread_mutexattr_destroy): Likewise.
24442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24443         (__pthread_mutexattr_settype): Likewise.
24444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24445         (__pthread_rwlock_init): Likewise.
24446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24447         (__pthread_rwlock_destroy): Likewise.
24448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24449         (__pthread_rwlock_rdlock): Likewise.
24450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24451         (__pthread_rwlock_tryrdlock): Likewise.
24452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24453         (__pthread_rwlock_wrlock): Likewise.
24454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24455         (__pthread_rwlock_trywrlock): Likewise.
24456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24457         (__pthread_rwlock_unlock): Likewise.
24458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24459         (__pthread_key_create): Likewise.
24460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24461         (__pthread_setspecific): Likewise.
24462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24463         (__pthread_getspecific): Likewise.
24464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24465         Likewise.
24466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24467         (_pthread_cleanup_push_defer): Likewise.
24468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24469         (_pthread_cleanup_pop_restore): Likewise.
24470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24471         (pthread_setcancelstate): Likewise.
24472         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24473         <bp-sym.h>.
24474         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24475         (memchr): Do not use BP_SYM in weak_alias.
24476         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24477         (fegetenv): Do not use BP_SYM in versioned symbols.
24478         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24479         (fesetenv): Do not use BP_SYM in versioned symbols.
24480         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24481         (feupdateenv): Do not use BP_SYM in versioned symbols.
24482         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24483         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24484         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24485         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24486         (open64): Do not use BP_SYM in weak_alias.
24487         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24488         (fegetenv): Do not use BP_SYM in versioned symbols.
24489         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24490         (fesetenv): Do not use BP_SYM in versioned symbols.
24491         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24492         (feupdateenv): Do not use BP_SYM in versioned symbols.
24493         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24494         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24495         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24496         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24497         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24498         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24499         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24500         <bp-sym.h>.
24501         (__libc_start_main): Do not use BP_SYM.
24502
24503 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24504
24505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24506         redundant return line.
24507         (norm): Likewise.
24508         (denorm): Likewise.
24509         (dbl_mp): Likewise.
24510         (sub_magnitudes): Likewise.
24511         (__add): Likewise.
24512         (__sub): Likewise.
24513         (__mul): Likewise.
24514         (__inv): Likewise.
24515         (__dvd): Likewise.
24516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24517         (norm): Likewise.
24518         (denorm): Likewise.
24519         (dbl_mp): Likewise.
24520         (sub_magnitudes): Likewise.
24521         (__add): Likewise.
24522         (__sub): Likewise.
24523         (__mul): Likewise.
24524         (__inv): Likewise.
24525         (__dvd): Likewise.
24526
24527         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24528         instead of __mul.
24529         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24530         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24531         (cc32): Likewise.
24532
24533         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24534         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24536         of __mul for squares.
24537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24538         function
24539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24540         Likewise.
24541         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24542         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24543
24544 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24545
24546         [BZ #13550]
24547         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24548         code.
24549         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24550         prototype or function definition.  Rename ubp_* variables and
24551         parameters.  Remove argv definitions conditional on
24552         [__BOUNDED_POINTERS__].
24553         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24554         * elf/dl-runtime.c (_dl_fixup): Likewise.
24555         * include/set-hooks.h (RUN_HOOK): Likewise.
24556         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24557         definition.
24558         * string/strcpy.c (strcpy): Do not use __unbounded.
24559         * sysdeps/generic/frame.h (struct layout): Likewise.
24560         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24561         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24562         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24563         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24564         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24565         (__backtrace): Likewise.
24566         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24567         use __ptrvalue.
24568         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24569         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24570         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24571         Likewise.
24572         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24573         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24574         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24575         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24576         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24577         Do not use __unbounded.
24578         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24579         Rename __unboundedrlimits parameter to rlimits in prototype.
24580         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24581         Do not use __unbounded.
24582         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24583         not use __ptrvalue.
24584         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24585         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24586         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24587         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24588         __ptrvalue or __unbounded.
24589         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24590         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24591         use __unbounded.
24592         (__new_msgctl): Do not use __ptrvalue.
24593         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24594         __unbounded.
24595         (__libc_msgrcv): Do not use __ptrvalue.
24596         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24597         startup_info): Do not use __unbounded.
24598         (__libc_start_main): Likewise.  Rename ubp_* variables and
24599         parameters.  Remove argv definitions conditional on
24600         [__BOUNDED_POINTERS__].
24601         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24602         __ptrvalue.
24603         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24604         use __unbounded.
24605         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24606         or __ptrvalue.
24607         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24608         use __unbounded.
24609         (__new_shmctl): Do not use __ptrvalue.
24610         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24611         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24612         Likewise.
24613         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24614         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24615         (__libc_sigaction): Likewise.
24616         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24617         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24618         Likewise.
24619         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24620
24621 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24622
24623         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24624
24625         * string/mempcpy.c: Implement by calling memcpy.
24626
24627 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24628
24629         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24630
24631         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24632         evaluation.
24633
24634         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24635         values in the mantissa.
24636
24637         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24638         minimize writes to Z.
24639         (sub_magnitudes): Simplify code a bit.
24640
24641 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24642
24643         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24644         from the message.  The linker prefixes all warnings with that already.
24645
24646 2013-02-12  Andreas Schwab  <schwab@suse.de>
24647
24648         [BZ #15078]
24649         * posix/regexec.c (extend_buffers): Add parameter min_len.
24650         (check_matching): Pass minimum needed length.
24651         (clean_state_log_if_needed): Likewise.
24652         (get_subexp): Likewise.
24653         * posix/Makefile (tests): Add bug-regex34.
24654         (bug-regex34-ENV): Define.
24655         * posix/bug-regex34.c: New file.
24656
24657         [BZ #11561]
24658         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24659         elements compare against the byte sequence of it, not its name.
24660         * posix/Makefile (tests): Add bug-regex35.
24661         (bug-regex35-ENV): Define.
24662         * posix/bug-regex35.c: New file.
24663
24664 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24665
24666         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24667         comment.
24668         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24669         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24670         (CHECK_EOL): Add undef.
24671
24672 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24673
24674         * bits/stdlib-bsearch.h: New file.
24675         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24676         * stdlib/stdlib.h: Likewise.
24677
24678 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24679
24680         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24681         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24682         declaration.
24683         * manual/search.texi (Array Search Function): Add missing const in
24684         lfind prototype.
24685         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24686         declaration to use rlim_t.
24687         (Basic Scheduling Functions): Remove erroneous const from
24688         sched_getparam prototype.  Remove erroneous * from
24689         sched_get_priority_max and sched_get_priority_min prototypes.
24690         (Resource Usage): Fix summary @comment on vtimes to refer to
24691         sys/vtimes.h rather than vtimes.h.
24692         Add missing *s in vtimes prototype.
24693         (Limits on Resources): Fix ulimit prototype to return long int.
24694         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24695         prototypes to use long int rather than double.
24696         (BSD Random): Fix initstate and setstate to use char *, not void *.
24697         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24698         prototype to make second argument 'struct aiocb64 *const[]'.
24699         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24700         (Status of AIO Operations): Remove erroneous const in aio_return and
24701         aio_return64 prototypes.
24702         (Synchronizing I/O): Fix sync prototype to return void.
24703         * manual/startup.texi (Suboptions): Remove an erroneous const in
24704         getsubopt prototype.
24705         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24706         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24707         use size_t rather than int.
24708         (Scanning All Users): Likewise for getpwent_r.
24709         (Setting Groups): Add missing const to setgroups prototype.
24710         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24711         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24712         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24713         'const void *' rather than 'const char *'.
24714         (Host Address Functions): Likewise for inet_ntop.
24715         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24716         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24717         ssize_t for return value.
24718         (Sending Data): Likewise for send, sendto, sendmsg.
24719         (Socket Option Functions): Add a missing const in setsockopt prototype.
24720         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24721         use wchar_t for the argument.
24722         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24723         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24724         take no arguments.
24725         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24726         double/float/long double for second argument.
24727         Fix return types of significand, significandf, significandl.
24728         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24729         argument in fchmod prototype.
24730         (File Owner): Use uid_t and gid_t in fchown prototype.
24731         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24732         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24733         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24734         use 'const struct dirent **' as argument types to CMP function pointer
24735         argument.
24736         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24737         (File Times): Fix summary magic @comment for struct utimbuf and utime
24738         to refer to utime.h, not time.h.
24739         * manual/string.texi (Argz Functions): Add missing const in
24740         argz_extract and argz_next prototypes.
24741         (Finding Tokens in a String): Likewise for basename.
24742         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24743         (Copying and Concatenation): Fix typo in wmemmove prototype.
24744         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24745         (Signal Stack): Remove erroneous const in sigstack prototype.
24746         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24747         prototype.
24748         (Simple Calendar Time): Likewise for stime.
24749         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24750         prototype.
24751         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24752         say sys/sysctl.h instead.
24753         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24754         and vsyslog prototypes.
24755
24756 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24757
24758         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24759         Remove.
24760
24761 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24762
24763         * misc/sys/mman.h: Fix typo in mremap comment.
24764
24765 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24766
24767         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24768         the '\0' terminator.
24769
24770 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24771
24772         [BZ #13550]
24773         * debug/segfault.c: Don't include <bp-checks.h>.
24774         * sysdeps/generic/bp-checks.h: Remove file.
24775         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24776         (__GETDENTS): Don't use CHECK_N.
24777         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24778         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24779         (__getgroups): Don't use CHECK_N.
24780         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24781         (setgroups): Don't use CHECK_N.
24782         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24783         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24784         (__libc_msgrcv): Don't use CHECK_N.
24785         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24786         (__libc_msgsnd): Don't use CHECK_N.
24787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24788         <bp-checks.h>.
24789         (__libc_pread): Don't use CHECK_N.
24790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24791         include <bp-checks.h>.
24792         (__libc_pread64): Don't use CHECK_N.
24793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24794         include <bp-checks.h>.
24795         (__libc_pwrite): Don't use CHECK_N.
24796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24797         include <bp-checks.h>.
24798         (__libc_pwrite64): Don't use CHECK_N.
24799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24800         <bp-checks.h>.
24801         (__libc_pread): Don't use CHECK_N.
24802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24803         include <bp-checks.h>.
24804         (__libc_pread64): Don't use CHECK_N.
24805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24806         include <bp-checks.h>.
24807         (__libc_pwrite): Don't use CHECK_N.
24808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24809         include <bp-checks.h>.
24810         (__libc_pwrite64): Don't use CHECK_N.
24811         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24812         (do_pread): Don't use CHECK_N.
24813         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24814         (do_pread64): Don't use CHECK_N.
24815         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24816         (do_pwrite): Don't use CHECK_N.
24817         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24818         (do_pwrite64): Don't use CHECK_N.
24819         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24820         (__libc_readv): Don't use CHECK_N.
24821         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24822         (semop): Don't use CHECK_N.
24823         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24824         <bp-checks.h>.
24825         (semtimedop): Don't use CHECK_N.
24826         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24827         (__libc_pread): Don't use CHECK_N.
24828         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24829         <bp-checks.h>.
24830         (__libc_pread64): Don't use CHECK_N.
24831         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24832         <bp-checks.h>.
24833         (__libc_pwrite): Don't use CHECK_N.
24834         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24835         <bp-checks.h>.
24836         (__libc_pwrite64): Don't use CHECK_N.
24837         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24838         <bp-checks.h>.
24839         (__libc_msgrcv): Don't use CHECK_N.
24840         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24841         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24842         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24843         (__libc_writev): Don't use CHECK_N.
24844
24845 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24846
24847         * string/strcpy.c: Removed unused variable.
24848
24849         * Makeconfig (+sysdep-includes): Define with := rather than =.
24850         Use an existing include/ subdir of each sysdeps dir before it.
24851
24852 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24853
24854         * nscd/connection.c (register_traced_file): Comment function.
24855         [HAVE_INOTIFY] (union __inev): Define.
24856         [HAVE_INOTIFY] (inotify_check_files): New function.
24857         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24858         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24859         clear_db_cache.
24860         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24861
24862 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24863
24864         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24865         loaded if not already and that a failure is permanent.
24866
24867 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24868
24869         [BZ #15006]
24870         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24871         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24872
24873 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24874
24875         [BZ #13550]
24876         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24877         (CHECK_1_NULL_OK): Likewise.
24878         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24879         (__fxstat): Do not use CHECK_1.
24880         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24881         <bp-checks.h>.
24882         (___fxstat64): Do not use CHECK_1.
24883         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24884         <bp-checks.h>.
24885         (__fxstatat): Do not use CHECK_1.
24886         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24887         <bp-checks.h>.
24888         (__fxstatat64): Do not use CHECK_1.
24889         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24890         <bp-checks.h>.
24891         (__fxstat): Do not use CHECK_1.
24892         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24893         <bp-checks.h>.
24894         (__fxstatat): Do not use CHECK_1.
24895         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24896         <bp-checks.h>.
24897         (__getresgid): Do not use CHECK_1.
24898         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24899         <bp-checks.h>.
24900         (__getresuid): Do not use CHECK_1.
24901         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24902         <bp-checks.h>.
24903         (__lxstat): Do not use CHECK_1.
24904         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24905         <bp-checks.h>.
24906         (__old_msgctl): Do not use CHECK_1.
24907         (__new_msgctl): Likewise.
24908         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24909         <bp-checks.h>.
24910         (__new_setrlimit): Do not use CHECK_1.
24911         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24912         <bp-checks.h>.
24913         (__old_shmctl): Do not use CHECK_1.
24914         (__new_shmctl): Likewise.
24915         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24916         <bp-checks.h>.
24917         (__xstat): Do not use CHECK_1.
24918         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24919         (__lxstat): Do not use CHECK_1.
24920         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24921         <bp-checks.h>.
24922         (___lxstat64): Do not use CHECK_1.
24923         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24924         (__old_msgctl): Do not use CHECK_1.
24925         (__new_msgctl): Likewise.
24926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24927         <bp-checks.h>.
24928         (__gettimeofday): Do not use CHECK_1.
24929         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24930         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24931         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24932         <bp-checks.h>.
24933         (__gettimeofday): Do not use CHECK_1.
24934         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24935         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24936         (__new_shmctl): Do not use CHECK_1.
24937         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24938         <bp-checks.h>.
24939         (do_sigtimedwait): Do not use CHECK_1.
24940         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24941         <bp-checks.h>.
24942         (do_sigwaitinfo): Do not use CHECK_1.
24943         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24944         <bp-checks.h>.
24945         (msgctl): Do not use CHECK_1.
24946         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24947         <bp-checks.h>.
24948         (shmctl): Do not use CHECK_1.
24949         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24950         (ustat): Do not use CHECK_1.
24951         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24952         <bp-checks.h>.
24953         (__fxstat): Do not use CHECK_1.
24954         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24955         <bp-checks.h>.
24956         (__fxstatat): Do not use CHECK_1.
24957         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24958         <bp-checks.h>.
24959         (__lxstat): Do not use CHECK_1.
24960         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24961         <bp-checks.h>.
24962         (__xstat): Do not use CHECK_1.
24963         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24964         (__xstat): Do not use CHECK_1.
24965         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24966         (___xstat64): Do not use CHECK_1.
24967
24968         [BZ #13550]
24969         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24970         definitions.
24971         (CHECK_BOUNDS_HIGH): Likewise.
24972         * string/strcpy.c: Do not include <bp-checks.h>.
24973         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24974
24975 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24976
24977         * nscd/nscd-client.h (__nscd_drop_map_ref):
24978         Add __attribute__ ((unused)).
24979         * nis/nss-nisplus.h (niserr2nss): Likewise.
24980
24981         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24982         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24983
24984         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24985         Remove inline keyword.
24986         * include/rounding-mode.h (round_away): Likewise.
24987         * libio/wfileops.c (adjust_wide_data): Likewise.
24988         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24989         (__m128i_strloadu_tolower): Likewise.
24990         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24991         (__m128i_strloadu_tolower): Likewise.
24992         * time/mktime.c (ydhms_diff): Likewise.
24993         * locale/elem-hash.h (elem_hash): Likewise.
24994         * locale/setlocale.c (setdata): Likewise.
24995         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24996         (re_string_wchar_at): Likewise.
24997         (bitset_not, bitset_merge, bitset_mask): Likewise.
24998         [!(__GNUC__ > 3)] (inline): Remove macro.
24999         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25000         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25001         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25002         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25003         * string/memcmp.c (memcmp_bytes): Likewise.
25004         * locale/programs/locarchive.c (compute_hashval): Likewise.
25005         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25006         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25007         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25008         * nss/getent.c (print_rpc, print_protocols): Likewise.
25009         (print_passwd, print_group, print_aliases): Likewise.
25010         * nis/nss-nisplus.h (niserr2nss): Likewise.
25011         * nscd/connections.c (restart_p): Likewise.
25012         Change return type to bool.
25013
25014 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25015
25016         * Makeconfig (all-Depend-files): Add existing
25017         $(sorted-subdirs:=/Depend) files.
25018         (all-subdirs): Remove nss.
25019         * sysdeps/unix/inet/Subdirs: Add it here instead.
25020         * hesiod/Depend: New file.
25021
25022         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25023         instead of calling alloca.
25024
25025         * io/lseek.c (__lseek): Rename to __libc_lseek.
25026         Define __lseek as an alias.
25027
25028         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25029
25030 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25031
25032         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25033         else clause and remove check for non-standard endianness.
25034
25035 2013-02-04  David S. Miller  <davem@davemloft.net>
25036
25037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25038
25039 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25040
25041         [BZ #13550]
25042         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25043         (__ubp_memchr): Remove prototype.
25044         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25045         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25046         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25047         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25048         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25049         Remove alias.
25050         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25051         (__ubp_memchr): Likewise.
25052         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25053         (__ubp_memchr): Likewise.
25054         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25055         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25056         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25057         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25058         CHECK_STRING.
25059         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25060         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25061         (__getcwd): Do not use CHECK_STRING.
25062         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25063         <bp-checks.h>.
25064         (__real_chown): Do not use CHECK_STRING.
25065         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25066         <bp-checks.h>.
25067         (fchownat): Do not use CHECK_STRING.
25068         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25069         CHECK_STRING.
25070         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25071         <bp-checks.h>.
25072         (__lchown): Do not use CHECK_STRING.
25073         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25074         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25075         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25076         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25078         include <bp-checks.h>.
25079         (truncate64): Do not use CHECK_STRING.
25080         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25081         <bp-checks.h>.
25082         (__real_chown): Do not use CHECK_STRING.
25083         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25084         <bp-checks.h>.
25085         (__lchown): Do not use CHECK_STRING.
25086         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25087         <bp-checks.h>.
25088         (__chown): Do not use CHECK_STRING.
25089         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25090         <bp-checks.h>.
25091         (truncate64): Do not use CHECK_STRING.
25092         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25093         Likewise.
25094         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25095         (__xmknod): Do not use CHECK_STRING.
25096         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25097         <bp-checks.h>.
25098         (__xmknodat): Do not use CHECK_STRING.
25099         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25100         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25101
25102 2013-02-04  Andreas Schwab  <schwab@suse.de>
25103
25104         [BZ #14142]
25105         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25106         * include/netdb.h: Likewise for h_errno.
25107         * elf/tst-stackguard1.c: Include <tls.h>.
25108
25109 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25110
25111         * elf/link.h (struct link_map): Extend the l_addr comment.
25112         * include/link.h (struct link_map): Likewise.
25113
25114 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25115
25116         [BZ #13550]
25117         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25118         (BOUNDED_1): Remove macro.
25119         * debug/backtrace.c: Don't include <bp-checks.h>.
25120         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25121         (__backtrace): Likewise.
25122         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25123         <bp-checks.h>.
25124         (__backtrace): Don't use BOUNDED_1.
25125         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25126         <bp-checks.h>.
25127         (__backtrace): Don't use BOUNDED_1.
25128         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25129         (__backtrace): Don't use BOUNDED_1.
25130         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25131         (shmat): Don't use BOUNDED_N.
25132
25133 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25134
25135         [BZ #13550]
25136         * sysdeps/generic/bp-start.h: Remove file.
25137         * csu/libc-start.c: Don't include <bp-start.h>.
25138         (LIBC_START_MAIN): Set up __environ directly instead of using
25139         INIT_ARGV_and_ENVIRON.
25140         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25141         <bp-start.h>.
25142
25143         [BZ #13550]
25144         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25145         definitions.
25146         (CHECK_FCNTL): Likewise.
25147         (CHECK_N_PAGES): Likewise.
25148
25149         [BZ #13550]
25150         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25151         definitions.
25152         (CHECK_SIGSET_NULL_OK): Likewise.
25153         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25154         <bp-checks.h>.
25155         (sigpending): Don't use CHECK_SIGSET.
25156         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25157         <bp-checks.h>.
25158         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25159         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25160         <bp-checks.h>.
25161         (do_sigsuspend): Don't use CHECK_SIGSET.
25162         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25163         use CHECK_SIGSET.
25164         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25165         (do_sigwait): Don't use CHECK_SIGSET.
25166         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25167         use CHECK_SIGSET.
25168         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25169         include <bp-checks.h>.
25170         (sigpending): Don't use CHECK_SIGSET.
25171         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25172         include <bp-checks.h>.
25173         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25174         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25175         <bp-checks.h>.
25176         (sigpending): Don't use CHECK_SIGSET.
25177         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25178         <bp-checks.h>.
25179         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25180
25181         [BZ #13550]
25182         * sysdeps/generic/bp-semctl.h: Remove file.
25183         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25184         <bp-checks.h> and <bp-semctl.h>.
25185         (__old_semctl): Don't use CHECK_SEMCTL.
25186         (__new_semctl): Likewise.
25187         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25188         and <bp-semctl.h>.
25189         (__old_semctl): Don't use CHECK_SEMCTL.
25190         (__new_semctl): Likewise.
25191         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25192         <bp-checks.h> and <bp-semctl.h>.
25193         (__old_semctl): Don't use CHECK_SEMCTL.
25194         (__new_semctl): Likewise.
25195         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25196         <bp-checks.h> and <bp-semctl.h>.
25197         (semctl): Don't use CHECK_SEMCTL.
25198
25199         [BZ #13550]
25200         * Makerules (elide-bp-thunks): Remove variable.
25201         (elide-routines.oS): Don't use $(elide-bp-thunks).
25202         (elide-routines.os): Likewise.
25203         (elide-routines.o): Likewise.
25204         (elide-routines.op): Likewise.
25205         (elide-routines.og): Likewise.
25206         (objects): Don't use $(bp-thunks).
25207         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25208         include.
25209         (common-generated): Do not add s-proto-bp.d.
25210         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25211         (int): Likewise.
25212         (typ): Likewise.
25213         Do not generate makefile rules for bounded-pointer thunks.
25214         * sysdeps/generic/bp-thunks.h: Remove file.
25215         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25216         * sysdeps/unix/s-proto-bp.S: Likewise.
25217
25218         [BZ #15062]
25219         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25220         parts of result separately when argument is not close to line from
25221         -i to i and one part of argument is small.
25222         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25223         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25224         * math/libm-test.inc (cacos_test): Add more tests.
25225         (casin_test): Likewise.
25226         (casinh_test): Likewise.
25227         * sysdeps/i386/fpu/libm-test-ulps: Update.
25228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25229
25230 2013-01-31  David S. Miller  <davem@davemloft.net>
25231
25232         * po/de.po: Update from translation team.
25233
25234 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25235
25236         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25237
25238 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25239
25240         * configure.in (_AC_PROG_CC_C89): New definition.
25241         * configure: Regenerate.
25242
25243         * configure.in (AC_PROG_CPP): New definition.
25244         * configure: Regenerate.
25245
25246 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25247
25248         * debug/tst-backtrace.h: New file.
25249         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25250         (ret): Remove variable.
25251         (x): Likewise.
25252         (FAIL): Remove macro.
25253         (NO_INLINE): Likewise.
25254         (fn1): Use match function instead of strstr.
25255         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25256         (ret): Remove variable.
25257         (x): Likewise.
25258         (FAIL): Remove macro.
25259         (NO_INLINE): Likewise.
25260         (fn): Use match function instead of strstr.
25261         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25262         (ret): Remove variable.
25263         (x): Likewise.
25264         (FAIL): Remove macro.
25265         (NO_INLINE): Likewise.
25266         (handle_signal): Use match function instead of strstr.
25267         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25268         (ret): Remove variable.
25269         (x): Likewise.
25270         (FAIL): Remove macro.
25271         (NO_INLINE): Likewise.
25272         (handle_signal): Use match function instead of strstr.
25273
25274 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25275
25276         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25277
25278 2013-01-23  David S. Miller  <davem@davemloft.net>
25279
25280         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25281         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25282         argument of CAS if possible.
25283         * sysdeps/sparc/sparc64/bits/atomic.h
25284         (__arch_compare_and_exchange_val_32_acq): Likewise.
25285         (__arch_compare_and_exchange_val_64_acq): Likewise.
25286
25287 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25288
25289         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25290         * sysdeps/posix/ulimit.c: ... this.
25291         Include <limits.h>.
25292         * sysdeps/unix/bsd/ulimit.c: Remove file.
25293
25294 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25295
25296         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25297         (LDFLAGS-tst-array5): Likewise.
25298
25299 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25300
25301         [BZ #15036]
25302         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25303         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25304         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25305         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25306
25307 2013-01-21  David S. Miller  <davem@davemloft.net>
25308
25309         * sysdeps/sparc/backtrace.c: New file.
25310         * sysdeps/sparc/sparc32/backtrace.h: New file.
25311         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25312         * sysdeps/sparc/sparc64/backtrace.h: New file.
25313         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25314         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25315         -funwind-tables.
25316
25317 2013-01-21  Andreas Schwab  <schwab@suse.de>
25318
25319         [BZ #15020]
25320         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25321         closed its stdout.
25322
25323 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25324
25325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25326         "mpa2.h".
25327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25328
25329 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25330             Mark Mitchell  <mark@codesourcery.com>
25331             Tom de Vries  <tom@codesourcery.com>
25332             Paul Pluzhnikov  <ppluzhnikov@google.com>
25333
25334         * debug/tst-backtrace2.c: New file.
25335         * debug/tst-backtrace3.c: Likewise.
25336         * debug/tst-backtrace4.c: Likewise.
25337         * debug/tst-backtrace5.c: Likewise.
25338         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25339         (CFLAGS-tst-backtrace3.c): Likewise.
25340         (CFLAGS-tst-backtrace4.c): Likewise.
25341         (CFLAGS-tst-backtrace5.c): Likewise.
25342         (LDFLAGS-tst-backtrace2): Likewise.
25343         (LDFLAGS-tst-backtrace3): Likewise.
25344         (LDFLAGS-tst-backtrace4): Likewise.
25345         (LDFLAGS-tst-backtrace5): Likewise.
25346         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25347         tst-backtrace4 and tst-backtrace5.
25348
25349 2013-01-18  Anton Blanchard  <anton@samba.org>
25350             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25351
25352         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25353         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25354         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25355         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25357         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25358         "+r" and remove output regs list as redundant.  Add explicit inline
25359         asm to specify register of return val to work around compiler codegen
25360         bug.  Remove (int) cast on return value.  Add return type parameter to
25361         use in macro so that this macro does not truncate return value for
25362         64-bit values.
25363         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25364         pass to INTERNAL_VSYSCALL_NCS.
25365         (INLINE_VSYSCALL): Add 'long int' as return type to
25366         INTERNAL_VSYSCALL_NCS macro invocation.
25367         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25368         INTERNAL_VSYSCALL_NCS macro invocation.
25369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25370
25371 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25372
25373         [BZ #14496]
25374         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25375         Fix application of SIMD FP exception mask.
25376
25377         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25378         mp_no from a power of two.
25379         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25380         __mpexp_twomm1.  Use __pow_mp.
25381
25382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25383         multiplication.
25384
25385 2013-01-17  David S. Miller  <davem@davemloft.net>
25386
25387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25388
25389 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25390
25391         [BZ #15023]
25392         * include/complex.h: Condition contents on [!_COMPLEX_H].
25393         (__kernel_casinhf): New prototype.
25394         (__kernel_casinh): Likewise.
25395         (__kernel_casinhl): Likewise.
25396         * math/Makefile (libm_calls): Add k_casinh.
25397         * math/k_casinh.c: New file.
25398         * math/k_casinhf.c: Likewise.
25399         * math/k_casinhl.c: Likewise.
25400         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25401         finite nonzero arguments.
25402         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25403         finite nonzero arguments.
25404         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25405         finite nonzero arguments.
25406         * math/s_casinh.c: Do not include <float.h>.
25407         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25408         * math/s_casinhf.c: Do not include <float.h>.
25409         (__casinhf): Move code for finite nonzero arguments to
25410         k_casinhf.c.
25411         * math/s_casinhl.c: Do not include <float.h>.
25412         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25413         redefine.
25414         (__casinhl): Move code for finite nonzero arguments to
25415         k_casinhl.c.
25416         * math/libm-test.inc (cacos_test): Add more tests.
25417         * sysdeps/i386/fpu/libm-test-ulps: Update.
25418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25419
25420 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25421
25422         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25423         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25424         [!HAVE_MREMAP]: Remove [defined linux] case.
25425         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25426
25427 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25428
25429         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25430
25431 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25432
25433         * elf/elf.h (R_386_SIZE32): New relocation.
25434         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25435         R_386_SIZE32.
25436         (elf_machine_rela): Likewise.
25437         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25438         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25439
25440 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25441
25442         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25443         (FP_FAST_FMA): Do not define.
25444         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25445         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25446         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25447         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25448         !_SOFT_FLOAT]: Likewise.
25449         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25450         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25451         value.
25452         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25453         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25454         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25455         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25456         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25457         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25458         file.
25459
25460 2013-01-16  Andreas Schwab  <schwab@suse.de>
25461
25462         [BZ #14327]
25463         * include/stdlib.h (__mktemp): Add declaration.
25464         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25465         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25466
25467 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25468
25469         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25470         definitions.
25471         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25472         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25473         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25474         definitions here.
25475         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25476         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25477         definitions.
25478         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25479         and ONE.
25480         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25481         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25482         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25483         definitions.
25484         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25485         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25486         definitions.
25487         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25488
25489         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25490
25491 2013-01-15  David S. Miller  <davem@davemloft.net>
25492
25493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25494         trunc{,f} to libm-sysdep_routes.
25495         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25497         file.
25498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25500         file.
25501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25502         file.
25503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25505         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25506         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25507         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25508         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25509         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25510         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25511
25512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25513         nearbyint{,f} to libm-sysdep_routes.
25514         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25516         New file.
25517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25518         file.
25519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25520         New file.
25521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25522         file.
25523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25525         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25526         file.
25527         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25528         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25529         file.
25530         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25531         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25532         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25533
25534         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25535         libc_feholdexcept and libc_fesetenv.
25536
25537 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25538
25539         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25540
25541 2013-01-14  David S. Miller  <davem@davemloft.net>
25542
25543         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25544         (SPARC_ASM_VIS2_IFUNC): Likewise.
25545         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25547         use of 'siam' instruction.
25548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25549         Likewise.
25550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25551         Likewise.
25552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25553         Likewise.
25554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25559         file.
25560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25561         file.
25562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25563         file.
25564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25565         file.
25566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25568         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25569         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25571         new VIS2 routines.
25572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25575         Likewise.
25576         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25577         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25578         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25579         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25581         routines to libm-sysdep_routines.
25582         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25583
25584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25585         fdim/fdimf to libm-sysdep_routines.
25586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25587         file.
25588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25590         file.
25591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25594         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25595         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25596         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25597         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25598
25599 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25600
25601         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25602         to optimize copies.
25603
25604         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25607
25608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25609         local variable MPTWO.
25610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25611         Likewise.
25612
25613 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25614
25615         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25616         GLOB_NOESCAPE.
25617
25618 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25619
25620         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25621
25622 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25623
25624         * manual/pattern.texi (glob_t): Document gl_flags.
25625         (glob64_t): Likewise.
25626
25627 2013-01-11  David S. Miller  <davem@davemloft.net>
25628
25629         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25630         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25631         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25632         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25633         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25634         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25635         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25636         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25637         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25638         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25639         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25640         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25641         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25642
25643         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25644         sparc V9 rather than using V8 code.
25645         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25646         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25647
25648         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25649         Move to...
25650         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25651         Here.
25652
25653 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25654
25655         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25656         not in the main loop.
25657         * configure: Regenerated.
25658
25659 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25660
25661         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25662         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25663         to just #else.
25664         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25665         [!__GLIBC_HAVE_LONG_LONG] case.
25666         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25667         condition to just #else.
25668         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25669         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25670         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25671         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25672         unconditional.
25673         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25674         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25675         #elif condition to just #else.
25676         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25677         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25678         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25679         #elif condition to just #else.
25680
25681 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25682
25683         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25684         (EF_MIPS_ARCH_64): Fix value.
25685         (EF_MIPS_ARCH_32R2): New.
25686         (EF_MIPS_ARCH_64R2): New.
25687
25688 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25689
25690         * Makeconfig (+link-pie-before-libc): New.
25691         (+link-pie-after-libc): Likewise.
25692         (+link-pie-tests): Likewise.
25693         (+link-pie): Rewritten.
25694         (link-before-libc): Remove $(config-LDFLAGS).
25695         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25696         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25697         (config-LDFLAGS): Renamed to ...
25698         (rtld-LDFLAGS): This.
25699         (rtld-tests-LDFLAGS): New macro.
25700         (link-libc-rpath-link): Likewise.
25701         (link-libc-tests-rpath-link): Likewise.
25702         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25703         (link-libc): Prepand $(link-libc-rpath-link).
25704         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25705         (test-program-prefix): New macro.
25706         (test-via-rtld-prefix): Likewise.
25707         (test-program-cmd): Likewise.
25708         (host-test-program-cmd): Likewise.
25709         * Makefile ($(common-objpfx)testrun.sh): Replace
25710         $(run-program-prefix) with $(test-program-prefix).
25711         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25712         $(rtld-LDFLAGS).
25713         ($(common-objpfx)shlib.lds): Likewise.
25714         (build-module-helper): Likewise.
25715         ($(common-objpfx)format.lds): Likewise.
25716         * Rules (binaries-pie-tests): New.
25717         (binaries-pie-notests): Likewise.
25718         (binaries-pie): Rewritten.
25719         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25720         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25721         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25722         (make-test-out): Replace $(host-built-program-cmd) with
25723         $(host-test-program-cmd).
25724         * config.make.in (build-hardcoded-path-in-tests): New variable.
25725         * configure.in (--enable-hardcoded-path-in-tests): New configure
25726         option.
25727         (hardcoded_path_in_tests): New AC_SUBST.
25728         * configure: Regenerated.
25729         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25730         $(built-program-cmd) with $(test-program-cmd).
25731         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25732         (test_program_cmd): This.
25733         * elf/Makefile ($(objpfx)order.out): Run test with
25734         $(test-program-prefix).
25735         ($(objpfx)order2.out): Likewise.
25736         ($(objpfx)tst-initorder.out): Likewise.
25737         ($(objpfx)tst-initorder2.out): Likewise.
25738         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25739         $(test-program-cmd).
25740         ($(objpfx)tst-array1-static.out): Likewise.
25741         ($(objpfx)tst-array2.out): Likewise.
25742         ($(objpfx)tst-array3.out): Likewise.
25743         ($(objpfx)tst-array4.out): Likewise.
25744         ($(objpfx)tst-array5.out): Likewise.
25745         ($(objpfx)tst-array5-static.out): Likewise.
25746         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25747         $(test-program-cmd).
25748         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25749         $(run-program-prefix) with $(test-program-prefix).
25750         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25751         (test_program_prefix): This.
25752         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25753         $(run-program-prefix) with $(test-program-prefix).
25754         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25755         (test_program_prefix): This.
25756         * iconvdata/tst-tables.sh: Likewise.
25757         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25758         $(run-program-prefix) with $(test-program-prefix).
25759         ($(objpfx)tst-translit.out): Likewise.
25760         ($(objpfx)tst-gettext2.out): Likewise.
25761         ($(objpfx)tst-gettext4.out): Likewise.
25762         ($(objpfx)tst-gettext6.out): Likewise.
25763         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25764         (test_program_prefix): This.
25765         * intl/tst-gettext2.sh: Likewise.
25766         * intl/tst-gettext4.sh  Likewise.
25767         * intl/tst-gettext6.sh: Likewise.
25768         * intl/tst-translit.sh: Likewise.
25769         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25770         with $(test-program-cmd).
25771         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25772         $(run-program-prefix) with $(test-program-prefix).
25773         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25774         (test_program_prefix): This.
25775         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25776         $(run-program-prefix) with $(test-program-prefix).
25777         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25778         (test_program_prefix): This.
25779         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25780         * posix/Makefile ($(objpfx)globtest.out): Replace
25781         $(run-via-rtld-prefix) and $(test-wrapper) with
25782         $(test-program-prefix) and $(test-via-rtld-prefix).
25783         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25784         $(test-program-prefix).
25785         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25786         $(host-test-program-cmd).
25787         (tst-spawn-ARGS): Likewise.
25788         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25789         $(test-program-prefix).
25790         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25791         (test_via_rtld_prefix): This.
25792         (test_wrapper): Renamed to ...
25793         (test_program_prefix): This.
25794         (run_program_prefix): Replaced by test_program_prefix.
25795         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25796         (test_program_prefix): This.
25797         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25798         with $(host-test-program-cmd).
25799         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25800         $(run-program-prefix) with $(test-program-prefix).
25801         ($(objpfx)tst-printf.out): Likewise.
25802         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25803         $(test-program-cmd).
25804         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25805         (test_program_prefix): This.
25806         * stdio-common/tst-unbputc.sh: Likewise.
25807         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25808         $(run-program-prefix) with $(test-program-prefix).
25809         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25810         (test_program_prefix): This.
25811         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25812         $(built-program-cmd) with $(test-program-cmd).
25813
25814 2013-01-11  Andreas Jaeger  <aj@suse.de>
25815
25816         [BZ #15003]
25817         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25818         value. Sync with Linux 3.7.
25819
25820 2013-01-10  David S. Miller  <davem@davemloft.net>
25821
25822         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25823         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25824         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25825
25826 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25827
25828         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25829         never set.
25830         * configure: Regenerated.
25831
25832 2013-01-10  David S. Miller  <davem@davemloft.net>
25833
25834         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25835         sparc V9 rather than using V8 code.
25836         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25837         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25838
25839 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25840
25841         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25842         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25843         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25844         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25845         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25846         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25847         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25848         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25849         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25850         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25851         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25852         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25853         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25854         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25855         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25856         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25857         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25858         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25859         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25860         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25861         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25862         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25863         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25864         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25865         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25866         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25867         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25868
25869 2013-01-10  David S. Miller  <davem@davemloft.net>
25870
25871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25872
25873 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25874
25875         * posix/Makefile (tests-static): New variable.
25876         (tests): Add $(tests-static).
25877         (tst-exec-static-ARGS): New variable.
25878         (tst-spawn-static-ARGS): Likewise.
25879         * posix/tst-exec-static.c: New file.
25880         * posix/tst-spawn-static.c: Likewise.
25881         * posix/tst-exec.c: Support run directly.
25882         * posix/tst-spawn.c: Likewise.
25883
25884 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25885
25886         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25887         long.
25888         * math/bits/mathcalls.h (llrint): Likewise.
25889         (llround): Likewise.
25890         * stdlib/stdlib.h (struct drand48_data): Likewise.
25891         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25892         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25893         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25894         Likewise.
25895         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25896         Likewise.
25897         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25898         (elf_greg_t): Likewise.
25899         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25900         (__jmp_buf): Likewise.
25901         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25902         definitions.
25903         (llrint): Likewise, for all definitions.
25904         (llrintl): Likewise.
25905
25906         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25907         Remove [__GNUC__] condition.
25908         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25909         condition to just [__USE_ISOC99].
25910         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25911
25912 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25913
25914         [BZ #14200]
25915         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25916         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25917         defined.
25918         (_POSIX_V6_ILP32_OFF32): Likewise.
25919         (_XBS5_ILP32_OFF32): Likewise.
25920         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25921         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25922
25923 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25924
25925         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25926
25927         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25928         doubles __mpexp_twomm1.  Adjust usage.
25929         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25930         Remove.
25931
25932 2013-01-10  Andreas Schwab  <schwab@suse.de>
25933
25934         [BZ #14964]
25935         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25936         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25937
25938 2013-01-09  David S. Miller  <davem@davemloft.net>
25939
25940         [BZ #15003]
25941         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25942         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25943         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25944         (TCP_FASTOPEN): Define.
25945         (tcp_repair_opt): New structure.
25946         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25947         enum values.
25948         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25949         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25950         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25951         (tcp_cookie_transactions): New structure.
25952
25953 2013-01-09  Anton Blanchard  <anton@samba.org>
25954
25955         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25956         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25957         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25958         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25959
25960 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25961
25962         * include/features.h (__USE_ANSI): Remove.
25963
25964 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25965
25966         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25967
25968         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25969
25970 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25971
25972         * sysdeps/s390/fpu/libm-test-ulps: Update.
25973
25974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25975
25976         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25977         (__acr): Likewise.
25978         (__cpy): Likewise.
25979         (norm): Likewise.
25980         (denorm): Likewise.
25981         (__mp_dbl): Likewise.
25982         (__dbl_mp): Likewise.
25983         (add_magnitudes): Likewise.
25984         (sub_magnitudes): Likewise.
25985         (__add): Likewise.
25986         (__sub): Likewise.
25987         (__mul): Likewise.
25988         (__inv): Likewise.
25989         (__dvd): Likewise.
25990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25991         (__acr): Likewise.
25992         (__cpy): Likewise.
25993         (norm): Likewise.
25994         (denorm): Likewise.
25995         (__mp_dbl): Likewise.
25996         (__dbl_mp): Likewise.
25997         (add_magnitudes): Likewise.
25998         (sub_magnitudes): Likewise.
25999         (__add): Likewise.
26000         (__sub): Likewise.
26001         (__mul): Likewise.
26002         (__inv): Likewise.
26003         (__dvd): Likewise.
26004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26005         (__acr): Likewise.
26006         (__cpy): Likewise.
26007         (norm): Likewise.
26008         (denorm): Likewise.
26009         (__mp_dbl): Likewise.
26010         (__dbl_mp): Likewise.
26011         (add_magnitudes): Likewise.
26012         (sub_magnitudes): Likewise.
26013         (__add): Likewise.
26014         (__sub): Likewise.
26015         (__mul): Likewise.
26016         (__inv): Likewise.
26017         (__dvd): Likewise.
26018
26019 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26020
26021         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26022         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26023         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26024         2 && __USE_EXTERN_INLINES]: Likewise.
26025
26026 2013-01-08  Andreas Jaeger  <aj@suse.de>
26027
26028         [BZ# 14985]
26029         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26030         Remove.
26031         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26032         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26033
26034 2013-01-07  Anton Blanchard  <anton@samba.org>
26035
26036         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26037         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26038         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26039         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26040         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26041         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26042         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26043         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26045         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26046         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26047         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26049         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26050         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26051         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26052         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26053         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26054         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26055         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26056         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26057         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26058         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26059         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26060         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26061         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26062         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26063         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26064         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26065         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26066         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26068         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26069         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26070         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26071         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26072         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26073         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26074         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26075         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26076         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26077         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26078         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26079
26080 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26081
26082         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26083         (__MALLOC_PMT): Likewise.
26084         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26085         [__GNUC__], only on [_LIBC].
26086         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26087         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26088         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26089         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26090         forward declaration.
26091         (realloc_hook_ini): Likewise.
26092         (memalign_hook_ini): Likewise.
26093         (__libc_memalign): Do not use __MALLOC_PMT in variable
26094         declaration.
26095         (__libc_valloc): Likewise.
26096         (__libc_pvalloc): Likewise.
26097         (__libc_calloc): Likewise.
26098         (__posix_memalign): Likewise.
26099
26100         [BZ #14996]
26101         * math/s_casinh.c: Include <float.h>.
26102         (__casinh): Do not do computation with squaring and square root
26103         for large arguments.
26104         * math/s_casinhf.c: Include <float.h>.
26105         (__casinhf): Do not do computation with squaring and square root
26106         for large arguments.
26107         * math/s_casinhl.c: Include <float.h>.
26108         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26109         (__casinhl): Do not do computation with squaring and square root
26110         for large arguments.
26111         * math/libm-test.inc (casin_test): Add more tests.
26112         (casinh_test): Likewise.
26113         * sysdeps/i386/fpu/libm-test-ulps: Update.
26114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26115
26116 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26117
26118         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26119         (__x86_64_raw_data_cache_size): Likewise.
26120         (__x86_64_data_cache_size_half): Likewise.
26121         (__x86_64_raw_data_cache_size_half): Likewise.
26122         (__x86_64_shared_cache_size): Likewise.
26123         (__x86_64_raw_shared_cache_size): Likewise.
26124         (__x86_64_shared_cache_size_half): Likewise.
26125         (__x86_64_raw_shared_cache_size_half): Likewise.
26126         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26127         to ...
26128         (__x86_data_cache_size): This.
26129         (__x86_64_raw_data_cache_size): Renamed to ...
26130         (__x86_raw_data_cache_size): This.
26131         (__x86_64_data_cache_size_half): Renamed to ...
26132         (__x86_data_cache_size_half): This.
26133         (__x86_64_raw_data_cache_size_half): Renamed to ...
26134         (__x86_raw_data_cache_size_half): This.
26135         (__x86_64_shared_cache_size): Renamed to ...
26136         (__x86_shared_cache_size): This.
26137         (__x86_64_raw_shared_cache_size): Renamed to ...
26138         (__x86_raw_shared_cache_size): This.
26139         (__x86_64_shared_cache_size_half): Renamed to ...
26140         (__x86_shared_cache_size_half): This.
26141         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26142         (__x86_raw_shared_cache_size_half): This.
26143         * sysdeps/x86_64/memcpy.S: Updated.
26144         * sysdeps/x86_64/memset.S: Likewise.
26145         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26147         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26148
26149 2013-01-04  David S. Miller  <davem@davemloft.net>
26150
26151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26152
26153 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26154
26155         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26156         1 to avoid redefinition warning.
26157         (__USE_GNU): Don't define.
26158         (init_signaling_nan): Protoize.
26159
26160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26161
26162 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26163
26164         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26166         (__cpymn): Likewise.
26167         (norm): Remove commented code.
26168         (denorm): Likewise.
26169         (__mp_dbl): Likewise.
26170         (__inv): Likewise.
26171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26172         (__cpymn): Likewise.
26173         (norm): Remove commented code.
26174         (denorm): Likewise.
26175         (__mp_dbl): Likewise.
26176         (__inv): Likewise.
26177
26178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26179         mp_no value for 1.0 and 2.0.
26180         (norm): Use RADIXI instead of radixi.d.
26181         (denorm): Likewise.
26182         (__mul): Use 0.0 instead of zero.d.
26183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26184         mp_no value for 1.0 and 2.0.
26185         (norm): Use RADIXI instead of radixi.d.
26186         (denorm): Likewise.
26187         (__mul): Use 0.0 instead of zero.d.
26188
26189 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26190
26191         [BZ #14994]
26192         * math/s_casinh.c (__casinh): Reduce finite argument to first
26193         quadrant then set signs of results at the end.
26194         * math/s_casinhf.c (__casinhf): Likewise.
26195         * math/s_casinhl.c (__casinhl): Likewise.
26196         * math/libm-test.inc (casin_test): Add more tests.
26197         (casinh_test): Likewise.
26198         * sysdeps/i386/fpu/libm-test-ulps: Update.
26199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26200
26201 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26202
26203         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26204
26205         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26206
26207         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26208         declarations.
26209         (denorm): Likewise.
26210         (__mp_dbl): Likewise.
26211         (__inv): Likewise.
26212
26213         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26214         and adjust the header comment.
26215
26216         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26217         variable name from declaration.
26218
26219 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26220
26221         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26222         Initialize COMMON_CPUID_INDEX_7 element.
26223         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26224         (CPUID_RTM): Likewise.
26225         (HAS_RTM): Likewise.
26226         (COMMON_CPUID_INDEX_7): New enum.
26227
26228 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26229
26230         [BZ #14981]
26231         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26232         size is zero, record memory as freed.
26233
26234 2013-01-03  Andreas Jaeger  <aj@suse.de>
26235
26236         * po/ia.po: Add new Interlingua translation.
26237
26238 2012-01-03  Allan McRae  <allan@archlinux.org>
26239
26240         * locale/programs/localedef.c: Fix description of '--posix' flag.
26241
26242 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26243
26244         * NEWS: Update dates in second copyright notice.
26245         * README: Update copyright dates in example.
26246         * manual/libc.texinfo: Update copyright dates.
26247         * scripts/test-installation.pl: Update copyright date in --version
26248         output.
26249
26250         * hurd/ctty-input.c: Fix copyright notice formatting.
26251         * hurd/ctty-output.c: Likewise.
26252         * hurd/dtable.c: Likewise.
26253         * hurd/hurd-raise.c: Likewise.
26254         * hurd/hurdprio.c: Likewise.
26255         * hurd/msgportdemux.c: Likewise.
26256         * misc/sys/file.h: Likewise.
26257         * misc/sys/ioctl.h: Likewise.
26258         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26259         * sysdeps/mach/hurd/chdir.c: Likewise.
26260         * sysdeps/mach/hurd/fchdir.c: Likewise.
26261         * sysdeps/mach/hurd/rename.c: Likewise.
26262         * sysdeps/mach/hurd/rmdir.c: Likewise.
26263         * sysdeps/mach/hurd/seekdir.c: Likewise.
26264         * sysdeps/mach/hurd/setsid.c: Likewise.
26265         * sysdeps/posix/wait3.c: Likewise.
26266
26267         * All files with FSF copyright notices: Update copyright dates
26268         using scripts/update-copyrights.
26269         * intl/plural.c: Regenerated.
26270         * locale/programs/charmap-kw.h: Likewise.
26271         * locale/programs/locfile-kw.h: Likewise.
26272
26273 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26274
26275         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26276         four values.
26277
26278         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26279         calculation loop and add branch prediction.
26280
26281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26282         check access beyond bounds of m1np.
26283
26284         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26285         MPTWO.
26286         (__inv): Remove local variable MPTWO to use the global
26287         constant.
26288         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26289         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26290         variable MPTWO.
26291         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26292         MP3HALFS static const.
26293
26294 2013-01-01  David S. Miller  <davem@davemloft.net>
26295
26296         * po/ca.po: Update from translation team.
26297
26298 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26299
26300         * scripts/update-copyrights: New file.
26301         * Makeconfig: Reformat copyright notice.
26302         * ctype/ctype.h: Likewise.
26303         * debug/swprintf_chk.c: Likewise.
26304         * elf/dl-cache.c: Likewise.
26305         * elf/dl-debug.c: Likewise.
26306         * elf/dl-object.c: Likewise.
26307         * grp/initgroups.c: Likewise.
26308         * hurd/Makefile: Likewise.
26309         * hurd/hurd/signal.h: Likewise.
26310         * hurd/hurdfault.c: Likewise.
26311         * hurd/hurdioctl.c: Likewise.
26312         * hurd/hurdlookup.c: Likewise.
26313         * hurd/intr-msg.c: Likewise.
26314         * iconv/gconv_open.c: Likewise.
26315         * libio/swprintf.c: Likewise.
26316         * locale/lc-ctype.c: Likewise.
26317         * locale/nl_langinfo.c: Likewise.
26318         * mach/Machrules: Likewise.
26319         * mach/Makefile: Likewise.
26320         * malloc/obstack.h: Likewise.
26321         * manual/Makefile: Likewise.
26322         * manual/tsort.awk: Likewise.
26323         * misc/bits/stab.def: Likewise.
26324         * nis/nis_print_group_entry.c: Likewise.
26325         * nis/nis_table.c: Likewise.
26326         * nis/nss_compat/compat-pwd.c: Likewise.
26327         * nis/nss_compat/compat-spwd.c: Likewise.
26328         * po/Makefile: Likewise.
26329         * posix/fnmatch.c: Likewise.
26330         * posix/regex.h: Likewise.
26331         * resolv/Makefile: Likewise.
26332         * resolv/nss_dns/dns-network.c: Likewise.
26333         * resolv/res_hconf.c: Likewise.
26334         * scripts/gen-sorted.awk: Likewise.
26335         * soft-fp/soft-fp.h: Likewise.
26336         * stdio-common/printf.h: Likewise.
26337         * stdlib/monetary.h: Likewise.
26338         * stdlib/random.c: Likewise.
26339         * stdlib/random_r.c: Likewise.
26340         * sysdeps/generic/Makefile: Likewise.
26341         * sysdeps/gnu/Makefile: Likewise.
26342         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26344         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26345         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26346         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26347         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26348         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26349         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26350         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26352         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26353         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26354         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26355         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26356         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26357         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26358         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26359         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26360         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26361         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26362         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26363         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26364         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26365         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26366         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26367         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26368         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26369         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26370         * sysdeps/mach/hurd/errnos.awk: Likewise.
26371         * sysdeps/mach/hurd/fork.c: Likewise.
26372         * sysdeps/mach/hurd/getcwd.c: Likewise.
26373         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26374         * sysdeps/mach/hurd/mmap.c: Likewise.
26375         * sysdeps/mach/hurd/utimes.c: Likewise.
26376         * sysdeps/mach/hurd/xmknod.c: Likewise.
26377         * sysdeps/posix/profil.c: Likewise.
26378         * sysdeps/posix/readdir_r.c: Likewise.
26379         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26380         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26381         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26382         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26384         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26385         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26386         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26388         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26389         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26390         * sysdeps/pthread/lio_listio.c: Likewise.
26391         * sysdeps/sparc/dl-procinfo.h: Likewise.
26392         * sysdeps/unix/i386/sysdep.S: Likewise.
26393         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26394         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26395         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26396         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26398         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26399         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26400         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26401         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26402         * sysdeps/wordsize-32/divdi3.c: Likewise.
26403         * time/sys/time.h: Likewise.
26404         * wcsmbs/Makefile: Likewise.
26405
26406 2013-01-01  David S. Miller  <davem@davemloft.net>
26407
26408         * po/fr.po: Update from translation team.
26409
26410         * catgets/gencat.c: Update copyright year.
26411         * csu/version.c: Likewise.
26412         * debug/catchsegv.sh: Likewise.
26413         * debug/pcprofiledump.c: Likewise.
26414         * debug/xtrace.sh: Likewise.
26415         * elf/ldconfig.c: Likewise.
26416         * elf/ldd.bash.in: Likewise.
26417         * elf/pldd.c: Likewise.
26418         * elf/sotruss.ksh: Likewise.
26419         * elf/sprof.c: Likewise.
26420         * iconv/iconv_prog.c: Likewise.
26421         * iconv/iconvconfig.c: Likewise.
26422         * locale/programs/locale.c: Likewise.
26423         * locale/programs/localedef.c: Likewise.
26424         * login/programs/pt_chown.c: Likewise.
26425         * malloc/memusage.sh: Likewise.
26426         * malloc/memusagestat.c: Likewise.
26427         * malloc/mtrace.pl: Likewise.
26428         * nscd/nscd.c: Likewise.
26429         * nss/getent.c: Likewise.
26430         * nss/makedb.c: Likewise.
26431         * posix/getconf.c: Likewise.
26432
26433 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26434
26435         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26436         numbers.
26437
26438 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26439
26440         * math/bits/mathcalls.h (modf): Use __nonnull.
26441
26442 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26443
26444         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26445         (split): Use macro CN instead of the bare value.
26446         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26447         could be used.
26448         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26449         instead of the bare value.
26450         (power1): Likewise.
26451
26452 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26453
26454         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26455         __ATAN_TWOM.
26456         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26457
26458         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26459         their values.
26460         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26461         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26462         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26463         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26464
26465 2012-12-28  Andreas Jaeger  <aj@suse.de>
26466
26467         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26468         values are from Linux 3.7.
26469
26470         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26471         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26472
26473 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26474
26475         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26476         TRUE case.
26477
26478         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26479         (norm): Likewise.
26480         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26481         variables with preprocessor constants.
26482         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26483         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26484         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26485
26486 2012-12-27  Bruno Haible  <bruno@clisp.org>
26487
26488         [BZ #14317]
26489         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26490         only if needed.
26491
26492 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26493
26494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26495         and use variable directly.
26496         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26497
26498         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26499         MPONE.
26500         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26501         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26502         variable MPONE.
26503         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26505         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26506         include directive.  Remove local variable MPONE.
26507         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26508         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26509         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26510
26511 2012-12-25  David S. Miller  <davem@davemloft.net>
26512
26513         * version.h (RELEASE): Set to "development".
26514         (VERSION): Set to "2.17.90".
26515         * NEWS: Add 2.18 section.
26516
26517 2012-12-21  David S. Miller  <davem@davemloft.net>
26518
26519         * po/hr.po: Update from translation team.
26520
26521 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26522
26523         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26524
26525 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26526
26527         * NEWS:  Mention new memcpy for MIPS.
26528
26529 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26530
26531         * manual/contrib.texi (Contributors): Spelling correction.
26532
26533 2012-12-15  David S. Miller  <davem@davemloft.net>
26534
26535         * po/ru.po: Update from translation team.
26536
26537 2012-12-13  David S. Miller  <davem@davemloft.net>
26538
26539         * NEWS: Mention IFUNC testsuite enhancements.
26540
26541         * po/pl.po: Update from translation team.
26542         * po/bg.po: Likewise.
26543
26544         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26545         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26546
26547 2012-12-11  David S. Miller  <davem@davemloft.net>
26548
26549         * po/sv.po: Update from translation team.
26550
26551         * po/vi.po: Update from translation team.
26552
26553         * po/cs.po: Update from translation team.
26554
26555         * po/de.po: Update from translation team.
26556         * po/eo.po: Likewise.
26557         * po/nl.po: Likewise.
26558
26559 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26560
26561         [BZ #14246]
26562         * manual/argp.texi (Argp Helper Functions): Move node to follow
26563         Argp Parsing State.
26564
26565         [BZ #14872]
26566         * manual/conf.texi (Limits on File System Capacity): Mention if
26567         terminating null is included in the max size.
26568
26569 2012-12-10  Andreas Jaeger  <aj@suse.de>
26570
26571         * po/cs.po: Update from translation team.
26572
26573 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26574
26575         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26576         void pointer and cast to uintptr_t.
26577         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26578         path.
26579         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26580         * sysdeps/s390/s390-64/memset.S: Likewise.
26581
26582 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26583
26584         [BZ #14833]
26585         * menual/message.texi (Message Translation): Fix typos.
26586         (Helper programs for gettext): Likewise.
26587
26588 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26589
26590         [BZ #14898]
26591         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26592         Change to -1.
26593
26594 2012-12-07  David S. Miller  <davem@davemloft.net>
26595
26596         * po/libc.pot: Update.
26597
26598 2012-12-07  Richard Henderson  <rth@redhat.com>
26599
26600         [BZ #10114]
26601         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26602         normal/normal case to before the switch.
26603         (_FP_DIV): Likewise.
26604
26605 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26606             Mike Frysinger  <vapier@gentoo.org>
26607
26608         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26609         check for __NR_fadvise64_64.
26610
26611 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26612
26613         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26614         0, not just to plain "0" as a statement.
26615         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26616         with cw.
26617
26618 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26619
26620         * NEWS: Use sourceware.org in Bugzilla URL.
26621
26622 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26623
26624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26625         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26626
26627         * stdio-common/tst-put-error.c (do_test): Add newline to the
26628         padded test to ensure flush.
26629
26630 2012-12-05  Jeff Law  <law@redhat.com>
26631
26632         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26633
26634 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26635
26636         * README: Don't refer to ports add-on as distributed separately.
26637         Mention AArch64 in list of systems supported in the ports add-on.
26638
26639         * LICENSES: Add more non-FSF copyright and license notices.
26640
26641         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26642         ((unused)).
26643
26644         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26645
26646         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26647         10000 as width of padded output.
26648
26649 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26650
26651         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26652
26653         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26654         variable LX with __attribute__ ((unused)).
26655         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26656         Likewise.
26657         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26659         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26660         with __attribute__ ((unused)).
26661
26662 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26663
26664         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26665
26666 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26667
26668         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26669         (CFLAGS-nldbl-acos.c): New variable.
26670         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26671         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26672         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26673         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26674         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26675         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26676         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26677         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26678         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26679         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26680         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26681         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26682         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26683         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26684         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26685         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26686         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26687         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26688         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26689         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26690         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26691         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26692         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26693         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26694         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26695         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26696         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26697         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26698         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26699         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26700         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26701         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26702         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26703         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26704         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26705         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26706         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26707         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26708         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26709         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26710         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26711         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26712         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26713         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26714         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26715         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26716         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26717         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26718         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26719         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26720         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26721         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26722         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26723         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26724         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26725         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26726         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26727         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26728         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26729         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26730         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26731         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26732         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26733         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26734         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26735         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26736         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26737         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26738         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26739         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26740         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26741         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26742         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26743         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26744         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26745         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26746         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26747         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26748         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26749         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26750         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26751         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26752         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26753         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26754         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26755         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26756         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26757         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26758         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26759         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26760         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26761         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26762         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26763         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26764         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26765         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26766         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26767
26768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26769         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26770
26771         [BZ #14914]
26772         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26773         whole low double instead of just low 47 bits when splitting values
26774         into two parts.
26775
26776 2012-12-03  Allan McRae  <allan@archlinux.org>
26777
26778         * manual/stdio.texi (Predefined Printf Handlers): Remove
26779         @hsep and @vsep usage.
26780
26781 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26782
26783         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26784         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26785
26786 2012-12-03  Jeff Law  <law@redhat.com>
26787
26788         * time/sys/time.h (settimeofday): Do not mark TV argument
26789         as __nonnull.
26790
26791 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26792
26793         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26794         when currently writing and seek to current position when not.
26795         * libio/Makefile (tests): Remove bug-fclose1.
26796         * libio/bug-fclose1.c: Delete.
26797
26798 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26799
26800         * manual/arith.texi (feenableexcept): Fix typo.
26801         (fedisableexcept): Likewise.
26802
26803 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26804
26805         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26806         second, differently-typed declaration, rather than a cast.
26807
26808 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26809
26810         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26811         * include/rpc/svc.h: ... here.
26812
26813 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26814
26815         [BZ #13013]
26816         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26817         depending n and resplen2 to catch cases where answer
26818         equals answerp2.
26819
26820 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26821
26822         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26823         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26824
26825 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26826
26827         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26828
26829 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26830
26831         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26832
26833 2012-11-28  Jeff Law  <law@redhat.com>
26834
26835         [BZ #13761]
26836         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26837         dataset_temporary.  Track alloca usage into alloca_used.
26838         If dataset is large allocate and release it via malloc/free.
26839
26840 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26841
26842         [BZ #14197]
26843         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26844
26845 2012-11-28  David S. Miller  <davem@davemloft.net>
26846
26847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26848
26849 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26850
26851         [BZ #14803]
26852         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26853         of pi/2 rounded to nearest to 64 bits.
26854         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26855         nearest to 64 bits.
26856         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26857         bits.
26858
26859 2012-11-28  Jeff Law <law@redhat.com>
26860             Martin Osvald <mosvald@redhat.com>
26861
26862         [BZ #14889]
26863         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26864         * sunrpc/svc.c: Include time.h.
26865         (__svc_accept_failed): New function.
26866         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26867         any reason other than EINTR, call __svc_accept_failed.
26868         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26869         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26870
26871 2012-11-28  Andreas Schwab  <schwab@suse.de>
26872
26873         * scripts/abilist.awk: Also handle indirect functions in .opd
26874         section.
26875
26876 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26877
26878         [BZ #13881]
26879         * sysdeps/x86/fpu/powl_helper.c: New file.
26880         * sysdeps/x86/fpu/Makefile: Likewise.
26881         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26882         (p3): New object.
26883         (__ieee754_powl): Use __powl_helper for finite arguments except
26884         integer exponents below 8.
26885         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26886         (p3): New object.
26887         (__ieee754_powl): Use __powl_helper for finite arguments except
26888         integer exponents below 8.
26889         * math/libm-test.inc (pow_test): Add more tests and enable some
26890         previously disabled tests.
26891         * sysdeps/i386/fpu/libm-test-ulps: Update.
26892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26893
26894 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26895             Carlos O'Donell  <carlos_odonell@mentor.com>
26896
26897         * nss/makedb.c (is_prime): Assert that input is odd and greater
26898         than 4.  Note that fact in a comment too.
26899         (next_prime): Add 4 to input.
26900
26901 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26902
26903         [BZ #11741]
26904         * libio/Makefile (tests): Add test case tst-fwrite-error.
26905         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26906         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26907         * libio/tst-fwrite-error.c: New test case.
26908
26909 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26910
26911         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26912         before casting to void *.
26913         * include/libc-internal.h (__pointer_type): New macro.
26914         (__integer_if_pointer_type_sub): Likewise.
26915         (__integer_if_pointer_type): Likewise.
26916         (cast_to_integer): Likewise.
26917         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26918         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26919         before casting to atomic64_t.
26920         (atomic_exchange_acq): Likewise.
26921         (__arch_exchange_and_add_body): Likewise.
26922         (__arch_add_body): Likewise.
26923         (atomic_add_negative): Likewise.
26924         (atomic_add_zero): Likewise.
26925
26926 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26927
26928         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26929         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26930         (add_fdes): Likewise.
26931         (linear_search_fdes): Likewise.
26932         (binary_search_unencoded_fdes): Likewise.
26933
26934 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26935
26936         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26937
26938 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26939
26940         * configure.in: Autodetect C++ header directories.
26941         * configure: Regenerated.
26942
26943 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26944
26945         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26946
26947 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26948
26949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26950
26951 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26952
26953         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26954         LDBL_MANT_DIG == 106]: Disable some tests.
26955         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26956         Likewise.
26957         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26958         Likewise.
26959
26960         [BZ #14871]
26961         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26962         input for small inputs.  Return +/- pi/2 for large inputs.
26963         * math/libm-test.inc (atan_test): Add more tests.
26964
26965         * sysdeps/generic/unwind-dw2-fde-glibc.c
26966         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26967         __attribute__ ((unused)).
26968
26969         [BZ #14645]
26970         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26971         x * y if x and y are nonzero and z is zero.
26972
26973         [BZ #14811]
26974         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26975         nonzero exponents with absolute value below 0x1p-117 to +/-
26976         0x1p-117.
26977
26978         [BZ #14869]
26979         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26980         up arguments below 2**-450, not just those below 2**-500.
26981         * math/libm-test.inc (hypot_test): Add another test.
26982
26983         [BZ #14868]
26984         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26985         Return a+b for ratio over 2**120, not 2**60.
26986         * math/libm-test.inc (hypot_test): Add another test.
26987
26988         * math/libm-test.inc (clog_test): Use
26989         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26990         (clog10_test): Likewise.
26991
26992         [BZ #6778]
26993         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26994
26995 2012-11-22  Andreas Schwab  <schwab@suse.de>
26996
26997         * sysdeps/i386/fpu/libm-test-ulps: Update.
26998
26999 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27000
27001         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27002         printf output with newline.
27003
27004 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27005
27006         [BZ #14865]
27007         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27008         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27009         -z nodlopen, -z initfirst and -z execstack support.
27010         * configure: Regenerated.
27011
27012         * elf/elf.h (DF_1_NODIRECT): New macro.
27013         (DF_1_IGNMULDEF): Likewise.
27014         (DF_1_NOKSYMS): Likewise.
27015         (DF_1_NOHDR): Likewise.
27016         (DF_1_EDITED): Likewise.
27017         (DF_1_NORELOC): Likewise.
27018         (DF_1_SYMINTPOSE): Likewise.
27019         (DF_1_GLOBAUDIT): Likewise.
27020         (DF_1_SINGLETON): Likewise.
27021         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27022         DT_1_SUPPORTED_MASK bits.
27023         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27024
27025 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27026
27027         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27028
27029 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27030
27031         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27032         macro.
27033
27034         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27035         (sendmmsg): Move declarations...
27036         * socket/sys/socket.h: ... here.
27037         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27038         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27039         include it from...
27040         * socket/recvmmsg.c: ... this new file.
27041         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27042         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27043         definition of __sendmmsg hidden.
27044         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27045         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27046         Move ENOSYS stub into and include it from...
27047         * socket/sendmmsg.c: ... this new file.
27048         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27049         (sysdep_routines): Move recvmmsg and sendmmsg...
27050         * socket/Makefile (routines): ... here.
27051         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27052         (GLIBC_PRIVATE): Add __sendmmsg.
27053         * include/sys/socket.h (__sendmmsg): Add declarations.
27054         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27055         sendmmsg.
27056
27057 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27058
27059         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27060         variable I1 with __attribute__ ((unused)).
27061         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27062
27063 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27064
27065         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27066         DUMMY variables with __attribute__ ((unused)).
27067
27068         * bits/byteswap.h: Include <bits/types.h>.
27069         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27070
27071 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27072
27073         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27074         string_t.  Do not manually set errno.
27075         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27076         length with __strnlen.  Make sure to both set errno and return it on
27077         failure.
27078
27079 2012-11-19  David S. Miller  <davem@davemloft.net>
27080
27081         With help from Joseph Myers.
27082         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27083         very large arguments properly.
27084         * math/libm-test.inc (atan_test): New tests.
27085         (atan2_test): New tests.
27086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27088
27089 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27090
27091         [BZ #14856]
27092         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27093         Define to 3.
27094
27095         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27096         [POSIX] (EADDRNOTAVAIL): Likewise.
27097         [POSIX] (EAFNOSUPPORT): Likewise.
27098         [POSIX] (EALREADY): Likewise.
27099         [POSIX] (ECONNABORTED): Likewise.
27100         [POSIX] (ECONNREFUSED): Likewise.
27101         [POSIX] (ECONNRESET): Likewise.
27102         [POSIX] (EDESTADDRREQ): Likewise.
27103         [POSIX] (EDQUOT): Likewise.
27104         [POSIX] (EHOSTUNREACH): Likewise.
27105         [POSIX] (EIDRM): Likewise.
27106         [POSIX] (EISCONN): Likewise.
27107         [POSIX] (ELOOP): Likewise.
27108         [POSIX] (EMULTIHOP): Likewise.
27109         [POSIX] (ENETDOWN): Likewise.
27110         [POSIX] (ENETUNREACH): Likewise.
27111         [POSIX] (ENOBUFS): Likewise.
27112         [POSIX] (ENODATA): Likewise.
27113         [POSIX] (ENOLINK): Likewise.
27114         [POSIX] (ENOMSG): Likewise.
27115         [POSIX] (ENOPROTOOPT): Likewise.
27116         [POSIX] (ENOSR): Likewise.
27117         [POSIX] (ENOSTR): Likewise.
27118         [POSIX] (ENOTCONN): Likewise.
27119         [POSIX] (ENOTSOCK): Likewise.
27120         [POSIX] (EOPNOTSUPP): Likewise.
27121         [POSIX] (EOVERFLOW): Likewise.
27122         [POSIX] (EPROTO): Likewise.
27123         [POSIX] (EPROTONOSUPPORT): Likewise.
27124         [POSIX] (EPROTOTYPE): Likewise.
27125         [POSIX] (ESTALE): Likewise.
27126         [POSIX] (ETIME): Likewise.
27127         [POSIX] (ETXTBSY): Likewise.
27128         [POSIX] (EWOULDBLOCK): Likewise.
27129         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27130         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27131         [POSIX] (SEEK_CUR): Likewise.
27132         [POSIX] (SEEK_END): Likewise.
27133         [POSIX || UNIX98] (mode_t): Do not require.
27134         [POSIX] (off_t): Likewise.
27135         [POSIX] (pid_t): Likewise.
27136         [POSIX] (sys/stat.h): Do not allow header.
27137         [POSIX] (unistd.h): Likewise.
27138         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27139         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27140         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27141         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27142         require.
27143         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27144         sigevent): Specify elements.
27145         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27146         entry.
27147         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27148         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27149
27150         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27151         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27152         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27153         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27154         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27155         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27156         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27157         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27158         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27159         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27160         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27161         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27162         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27163         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27164         Likewise.
27165         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27166         Likewise.
27167         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27168         Likewise.
27169         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27170         Likewise.
27171         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27172         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27173         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27174         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27175         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27176         Specify lower bound on value.
27177         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27178         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27179         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27180         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27181         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27182         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27183         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27184         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27185         value.
27186         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27187         as optional.
27188         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27189         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27190         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27191         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27192         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27193         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27194         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27195         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27196         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27197         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27198         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27199         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27200         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27201         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27202         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27203         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27204         entry.
27205         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27206         optional.
27207         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27208         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27209         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27210         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27211         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27212         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27213         Likewise.
27214         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27215         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27216         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27217         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27218         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27219         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27220         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27221         as optional.
27222         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27223         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27224         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27225         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27226         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27227         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27228         specify as optional.
27229         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27230         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27231         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27232         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27233         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27234         [XPG3] (NL_LANGMAX): Likewise.
27235         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27236         [POSIX || XPG3] (NL_NMAX): Likewise.
27237         [POSIX || XPG3] (NL_SETMAX): Likewise.
27238         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27239         [XPG3] (NZERO): Likewise.
27240         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27241         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27242         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27243         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27244         (REG_ERANGE): Expect.
27245         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27246         optional-constant.
27247         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27248         Use (void) in prototype.
27249         [POSIX] (*_t): Allow.
27250         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27251         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27252         (WRDE_BADVAL): Expect.
27253
27254         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27255         expect.
27256         [XPG3 || XPG4] (O_RSYNC): Likewise.
27257         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27258         Likewise.
27259         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27260         [XPG3 || XPG4] (sigqueue): Likewise.
27261         [XPG3 || XPG4] (sigtimedwait): Likewise.
27262         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27263         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27264         [XPG3 || XPG4] (vsnprintf): Likewise.
27265         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27266         Likewise.
27267         [XPG3 || XPG4] (blksize_t): Likewise.
27268         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27269         Likewise.
27270         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27271         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27272         [XPG3 || XPG4] (struct itimerspec): Likewise.
27273         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27274         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27275         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27276         [XPG3 || XPG4] (clockid_t): Likewise.
27277         [XPG3 || XPG4] (timer_t): Likewise.
27278         [XPG3 || XPG4] (clock_getres): Likewise.
27279         [XPG3 || XPG4] (clock_gettime): Likewise.
27280         [XPG3 || XPG4] (clock_settime): Likewise.
27281         [XPG3 || XPG4] (nanosleep): Likewise.
27282         [XPG3 || XPG4] (timer_create): Likewise.
27283         [XPG3 || XPG4] (timer_delete): Likewise.
27284         [XPG3 || XPG4] (timer_gettime): Likewise.
27285         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27286         [XPG3 || XPG4] (timer_settime): Likewise.
27287         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27288         [XPG3 || XPG4] (getlogin_r): Likewise.
27289         [XPG3 || XPG4] (pread): Likewise.
27290         [XPG3 || XPG4] (pthread_atfork): Likewise.
27291         [XPG3 || XPG4] (pwrite): Likewise.
27292
27293         [BZ #14835]
27294         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27295         <bits/siginfo.h>.
27296
27297 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27298
27299         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27300         finalizing MALLSTREAM.
27301
27302         * sysdeps/mach/hurd/syncfs.c: New file.
27303
27304 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27305
27306         [BZ #14719]
27307         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27308         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27309         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27310         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27311         (_nss_dns_gethostbyname4_r): Likewise.
27312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27313         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27314
27315 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27316
27317         [BZ #13763]
27318         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27319
27320 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27321
27322         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27323         * elf/cache.c (print_entry): Print ",AArch64" for
27324         FLAG_AARCH64_LIB64
27325
27326         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27327         * elf/cache.c (print_entry): Print ",hard-float" for
27328         FLAG_ARM_LIBHF.
27329
27330 2012-11-18  David S. Miller  <davem@davemloft.net>
27331
27332         With help from Joseph Myers.
27333         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27334         cutoff to 2**-13.
27335         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27336         cutoff to 2**-25.
27337         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27338         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27339         small.
27340         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27341         * math/libm-test.inc (y0_test): New tests.
27342         (y1_test): New tests.
27343         * sysdeps/i386/fpu/libm-test-ulps: Update.
27344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27346
27347 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27348
27349         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27350         64-bit targets.
27351         * configure: Regenerated.
27352
27353 2012-11-17  David S. Miller  <davem@davemloft.net>
27354
27355         [BZ #14811]
27356         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27357         nonzero exponents with absolute value below 0x1p-128 to +/-
27358         0x1p-128.
27359
27360 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27361
27362         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27363
27364         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27365
27366         * posix/getconf-speclist.c: New file.
27367         * posix/posix-envs.def: Likewise.
27368         * posix/confstr.c (START_ENV_GROUP): New macro.
27369         (END_ENV_GROUP): Likewise.
27370         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27371         (KNOWN_PRESENT_ENV_STRING): Likewise.
27372         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27373         (UNKNOWN_ENVIRONMENT): Likewise.
27374         (confstr): Include posix-envs.def instead of handling
27375         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27376         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27377         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27378         (END_ENV_GROUP): Likewise.
27379         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27380         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27381         (UNKNOWN_ENVIRONMENT): Likewise.
27382         (__sysconf): Include posix-envs.def instead of handling associated
27383         cases directly here.
27384         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27385         preprocessing getconf-speclist.c rather than running getconf or
27386         generating empty file.
27387
27388 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27389
27390         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27391
27392 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27393
27394         [BZ #14672]
27395         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27396
27397 2012-11-16  David S. Miller  <davem@davemloft.net>
27398
27399         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27400         smaller than LDBL_EPSILON/2.0L, just return xm1.
27401
27402 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27403
27404         * elf/tst-array1.c (init): Set constructor priority to 1000.
27405         (fini): Set destructor priority to 1000.
27406         * elf/tst-array2dep.c: Likewise.
27407
27408 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27409
27410         [BZ #11741]
27411         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27412         (_IO_new_file_xsputn): Also return EOF if none of the input
27413         data was written when overflow failed.
27414         * libio/iopadn.c (_IO_padn): Likewise.
27415         * libio/iowpadn.c (_IO_wpadn): Likewise.
27416         * stdio-common/tst-put-error.c: Add copyright notice.
27417         (do_test): Add case for printing padded string.
27418         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27419         _IO_padn returned error.
27420         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27421         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27422         return EOF.
27423
27424 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27425
27426         * libio/libioP.h: Add comment note that the references to C++
27427         bits are now obsolete.
27428
27429 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27430
27431         * math/libm-test.inc (check_complex): Use asprintf.
27432
27433 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27434
27435         * debug/pcprofiledump.c (print_version): Update copyright year.
27436         * malloc/memusagestat.c (print_version): Likewise.
27437
27438 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27439
27440         [BZ #14831]
27441         * elf/Makefile (tests): Add tst-audit8.
27442         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27443         ($(objpfx)tst-audit8.out): New target.
27444         (tst-audit8-ENV): New variable.
27445         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27446         audit if l_reloc_result is NULL.
27447         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27448         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27449         * elf/tst-audit8.c: New file.
27450
27451 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27452
27453         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27454         * misc/Makefile (CFLAGS-select.c): Define.
27455         * posix/Makefile (CFLAGS-pause.c): Define.
27456
27457 2012-11-13  David S. Miller  <davem@davemloft.net>
27458
27459         * crypt/Makefile: Move test targets after toplevel Rules
27460         inclusion.  Grab any necessary sysdep routines when linking.
27461         * crypt/md5.c (md5_process_block): Remove define, we will always
27462         name it __md5_process_block.
27463         (md5_finish_ctx): Update md5_process_block call.
27464         (md5_stream): Likewise.
27465         (md5_process_bytes): Likewise.
27466         (md5_process_block): Rename to __md5_process_block and move to ...
27467         * crypt/md5-block.c: ... here.
27468         * crypt/sha256.c (sha256_process_block): Move to ...
27469         * crypt/sha256-block.c: ... here.
27470         * crypt/sha512.c (sha512_process_block): Move to ...
27471         * crypt/sha512-block.c: ... here.
27472         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27473         path.
27474         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27475         * sysdeps/sparc/sparc64/multiarch/Makefile
27476         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27477         crypt subdir.
27478         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27479         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27480         multiarch changes.
27481         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27482         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27483         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27484         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27485         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27486         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27487         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27488         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27489         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27490         file.
27491         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27492         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27493         file.
27494         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27495
27496 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27497
27498         * timezone/tzselect.ksh: Update from tzcode git revision
27499         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27500         * timezone/zdump.c: Likewise.
27501         * timezone/zic.c: Likewise.
27502         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27503         in TZVERSION setting, not $(PKGVERSION).
27504         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27505         REPORT_BUGS_TO settings.
27506
27507         [BZ #14838]
27508         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27509         macro.
27510
27511 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27512
27513         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27514         detection to immediately after _FP_ROUND().
27515         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27516         bits are 0.
27517
27518 2012-11-11  David S. Miller  <davem@davemloft.net>
27519
27520         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27521         inttypes.h
27522         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27523         __close rather than their public counterparts.
27524
27525 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27526
27527         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27528         file.
27529         [UNIX98] (sem_timedwait): Do not expect.
27530         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27531         [XPG4 || UNIX98] (sockatmark): Do not expect.
27532         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27533         (clock_getcpuclockid): Do not expect.
27534         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27535         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27536         Do not expect.
27537         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27538         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27539         [UNIX98] (vwscanf): Likewise.
27540         [UNIX98] (vswscanf): Likewise.
27541
27542 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27543
27544         * timezone/version.h: Remove file.
27545         * timezone/README: Do not refer to version.h.
27546         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27547         $(objpfx)version.h.
27548         ($(objpfx)zdump.o): Likewise.
27549         ($(objpfx)version.h): New target.
27550
27551         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27552         2012i.
27553         * timezone/README: Don't mention modification to tzselect.ksh.
27554         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27555         work on unmodified tzselect.ksh.  Substitute version numbers in
27556         tzselect.ksh.
27557
27558         * Makefile (format-me): Remove.
27559         (INSTALL): Adjust indentation.  Use commands directly instead of
27560         using $(format-me).
27561
27562         * aclocal.m4 (ACX_PKGVERSION): New macro.
27563         (ACX_BUGURL): Likewise.
27564         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27565         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27566         (REPORT_BUGS_TO): Likewise.
27567         * configure: Regenerated.
27568         * config.h.in (PKGVERSION): New macro.
27569         (REPORT_BUGS_TO): Likewise.
27570         * config.make.in (PKGVERSION): New variable.
27571         (PKGVERSION_TEXI): Likewise.
27572         (REPORT_BUGS_TO): Likewise.
27573         (REPORT_BUGS_TEXI): Likewise.
27574         * Makefile (format-me): Use -I$(common-objpfx)manual.
27575         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27576         ($(common-objpfx)manual/%): New target.
27577         (manual/%): Remove target.
27578         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27579         (print_version): Use PKGVERSION.
27580         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27581         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27582         and REPORT_BUGS_TO.
27583         ($(objpfx)xtrace): Likewise.
27584         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27585         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27586         (print_version): Use PKGVERSION.
27587         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27588         (do_version): Use PKGVERSION.
27589         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27590         REPORT_BUGS_TO.
27591         (common-ldd-rewrite): Likewise.
27592         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27593         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27594         (print_version): Use PKGVERSION.
27595         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27596         * elf/pldd.c (argp_program_bug_address): Remove variable.
27597         (more_help): New function.
27598         (argp): Use more_help.
27599         (print_version): Use PKGVERSION.
27600         * elf/sln.c (main): Use PKGVERSION.
27601         (usage): Use REPORT_BUGS_TO.
27602         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27603         (top level): Use PKGVERSION.
27604         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27605         (print_version): Use PKGVERSION.
27606         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27607         (print_version): Use PKGVERSION.
27608         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27609         (print_version): Use PKGVERSION.
27610         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27611         (print_version): Use PKGVERSION.
27612         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27613         (print_version): Use PKGVERSION.
27614         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27615         (print_version): Use PKGVERSION.
27616         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27617         and BUGURL.
27618         ($(objpfx)memusage): Likewise.
27619         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27620         (do_version): Use PKGVERSION.
27621         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27622         (print_version): Use PKGVERSION.
27623         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27624         ($PKGVERSION): New variable.
27625         ($REPORT_BUGS_TO): Likewise.
27626         (usage): Use $REPORT_BUGS_TO.
27627         (top level): Use $PKGVERSION.
27628         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27629         ($(objpfx)pkgvers.texi): New rule.
27630         ($(objpfx)stamp-pkgvers): Likewise.
27631         * manual/install.texi: Include pkgvers.texi.
27632         (--with-pkgversion): Document new configure option.
27633         (--with-bugurl): Likewise.
27634         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27635         than necessarily for this particular distribution.  Use
27636         REPORT_BUGS_TO for where to report bugs.
27637         * INSTALL: Regenerated.
27638         * manual/libc.texinfo: Include pkgvers.texi.
27639         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27640         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27641         (print_version): Use PKGVERSION.
27642         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27643         (print_version): Use PKGVERSION.
27644         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27645         (print_version): Use PKGVERSION.
27646         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27647         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27648         macro.
27649         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27650         (print_version): Use PKGVERSION.
27651         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27652         (print_version): Use PKGVERSION.
27653         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27654         and PKGVERSION.
27655
27656         * timezone/checktab.awk: Update from tzcode 2012i.
27657         * timezone/ialloc.c: Likewise.
27658         * timezone/private.h: Likewise.
27659         * timezone/scheck.c: Likewise.
27660         * timezone/tzfile.h: Likewise.
27661         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27662         (TZVERSION): Hardcode tzcode version number.
27663         * timezone/zdump.c: Update from tzcode 2012i.
27664         * timezone/zic.c: Likewise.
27665         * timezone/version.h: New file.
27666         * timezone/README: Describe version.h.  Update upstream location.
27667
27668         [BZ #14824]
27669         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27670         (mktemp): Enable declaration.
27671         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27672         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27673         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27674         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27675         Likewise.
27676         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27677         Likewise.
27678         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27679         Likewise.
27680         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27681         Likewise.
27682         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27683         Likewise.
27684         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27685         Likewise.
27686
27687         [BZ #14821]
27688         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27689         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27690         for copies of such integer values.
27691         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27692         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27693
27694 2012-11-09  Andreas Jaeger  <aj@suse.de>
27695
27696         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27697         definitions and declarations that are provided by
27698         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27699
27700 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27701
27702         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27703         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27704         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27705         definition.
27706
27707 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27708
27709         * elf/elf.h: Update comment before AArch64 relocations.
27710
27711 2012-11-07  David S. Miller  <davem@davemloft.net>
27712
27713         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27714         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27715         (__start_context): Declare.
27716         (__makecontext_ret): Delete.
27717         (__makecontext): Hook up __start_context instead of
27718         __makecontext_ret.
27719         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27720         (sysdep_routines): Add __start_context when in stdlib.
27721
27722 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27723
27724         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27725         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27726         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27727         hardcoded "nm".
27728         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27729         (READELF): New variable.  Use it instead of hardcoded "readelf".
27730
27731 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27732
27733         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27734         * sysdeps/x86/Makefile: Here.
27735         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27736         * sysdeps/x86/tst-xmmymm.sh: This.
27737
27738 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27739
27740         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27741         expectations.
27742         [UNIX98] (pthread_barrier_t): Do not expect.
27743         [UNIX98] (pthread_barrierattr_t): Likewise.
27744         [UNIX98] (pthread_spinlock_t): Likewise.
27745         [UNIX98] (pthread_barrier_destroy): Likewise.
27746         [UNIX98] (pthread_barrier_init): Likewise.
27747         [UNIX98] (pthread_barrier_wait): Likewise.
27748         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27749         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27750         [UNIX98] (pthread_barrierattr_init): Likewise.
27751         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27752         [UNIX98] (pthread_getcpuclockid): Likewise.
27753         [UNIX98] (pthread_mutex_timedlock): Likewise.
27754         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27755         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27756         [UNIX98] (pthread_sigmask): Likewise.
27757         [UNIX98] (pthread_spin_destroy): Likewise.
27758         [UNIX98] (pthread_spin_init): Likewise.
27759         [UNIX98] (pthread_spin_lock): Likewise.
27760         [UNIX98] (pthread_spin_trylock): Likewise.
27761         [UNIX98] (pthread_spin_unlock): Likewise.
27762         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27763         Do not expect.
27764         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27765         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27766         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27767         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27768         [XPG3 || XPG4] (pthread_key_t): Likewise.
27769         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27770         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27771         [XPG3 || XPG4] (pthread_once_t): Likewise.
27772         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27773         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27774         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27775         [XPG3 || XPG4] (pthread_t): Likewise.
27776
27777         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27778         not expect.
27779         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27780
27781         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27782         Change function return type to int.
27783
27784         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27785         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27786         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27787         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27788         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27789         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27790         [!POSIX] (posix_madvise): Likewise.
27791         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27792         && !UNIX98].
27793         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27794         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27795         (mode_t): Likewise.
27796         (posix_mem_offset): Likewise.
27797         (posix_typed_mem_get_info): Likewise.
27798         (posix_typed_mem_open): Likewise.
27799
27800         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27801         Change condition to [XOPEN2K8].
27802
27803         * conform/conformtest.pl: Preprocess allow-header data with -x c
27804         instead of from stdin.
27805         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27806         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27807         [C99-based standards] (cerfc): Likewise.
27808         [C99-based standards] (cexp2): Likewise.
27809         [C99-based standards] (cexpm1): Likewise.
27810         [C99-based standards] (clog10): Likewise.
27811         [C99-based standards] (clog1p): Likewise.
27812         [C99-based standards] (clog2): Likewise.
27813         [C99-based standards] (clgamma): Likewise.
27814         [C99-based standards] (ctgamma): Likewise.
27815         [C99-based standards] (cerff): Likewise.
27816         [C99-based standards] (cerfcf): Likewise.
27817         [C99-based standards] (cexp2f): Likewise.
27818         [C99-based standards] (cexpm1f): Likewise.
27819         [C99-based standards] (clog10f): Likewise.
27820         [C99-based standards] (clog1pf): Likewise.
27821         [C99-based standards] (clog2f): Likewise.
27822         [C99-based standards] (clgammaf): Likewise.
27823         [C99-based standards] (ctgammaf): Likewise.
27824         [C99-based standards] (cerfl): Likewise.
27825         [C99-based standards] (cerfcl): Likewise.
27826         [C99-based standards] (cexp2l): Likewise.
27827         [C99-based standards] (cexpm1l): Likewise.
27828         [C99-based standards] (clog10l): Likewise.
27829         [C99-based standards] (clog1pl): Likewise.
27830         [C99-based standards] (clog2l): Likewise.
27831         [C99-based standards] (clgammal): Likewise.
27832         [C99-based standards] (ctgammal): Likewise.
27833         * conform/data/inttypes.h-data [C99-based standards]: Include
27834         stdint.h-data.  Remove all expectations for stdint.h contents.
27835         [C99-based standards] (PRI*): Do not allow.
27836         [C99-based standards] (SCN*): Likewise.
27837         [C99-based standards] (*_t): Likewise.
27838         [C99-based-standards] (PRId8): Expect macro.
27839         [C99-based-standards] (PRIi8): Likewise.
27840         [C99-based-standards] (PRIo8): Likewise.
27841         [C99-based-standards] (PRIu8): Likewise.
27842         [C99-based-standards] (PRIx8): Likewise.
27843         [C99-based-standards] (PRIX8): Likewise.
27844         [C99-based-standards] (SCNd8): Likewise.
27845         [C99-based-standards] (SCNi8): Likewise.
27846         [C99-based-standards] (SCNo8): Likewise.
27847         [C99-based-standards] (SCNu8): Likewise.
27848         [C99-based-standards] (SCNx8): Likewise.
27849         [C99-based-standards] (PRIdLEAST8): Likewise.
27850         [C99-based-standards] (PRIiLEAST8): Likewise.
27851         [C99-based-standards] (PRIoLEAST8): Likewise.
27852         [C99-based-standards] (PRIuLEAST8): Likewise.
27853         [C99-based-standards] (PRIxLEAST8): Likewise.
27854         [C99-based-standards] (PRIXLEAST8): Likewise.
27855         [C99-based-standards] (SCNdLEAST8): Likewise.
27856         [C99-based-standards] (SCNiLEAST8): Likewise.
27857         [C99-based-standards] (SCNoLEAST8): Likewise.
27858         [C99-based-standards] (SCNuLEAST8): Likewise.
27859         [C99-based-standards] (SCNxLEAST8): Likewise.
27860         [C99-based-standards] (PRIdFAST8): Likewise.
27861         [C99-based-standards] (PRIiFAST8): Likewise.
27862         [C99-based-standards] (PRIoFAST8): Likewise.
27863         [C99-based-standards] (PRIuFAST8): Likewise.
27864         [C99-based-standards] (PRIxFAST8): Likewise.
27865         [C99-based-standards] (PRIXFAST8): Likewise.
27866         [C99-based-standards] (SCNdFAST8): Likewise.
27867         [C99-based-standards] (SCNiFAST8): Likewise.
27868         [C99-based-standards] (SCNoFAST8): Likewise.
27869         [C99-based-standards] (SCNuFAST8): Likewise.
27870         [C99-based-standards] (SCNxFAST8): Likewise.
27871         [C99-based-standards] (PRId16): Likewise.
27872         [C99-based-standards] (PRIi16): Likewise.
27873         [C99-based-standards] (PRIo16): Likewise.
27874         [C99-based-standards] (PRIu16): Likewise.
27875         [C99-based-standards] (PRIx16): Likewise.
27876         [C99-based-standards] (PRIX16): Likewise.
27877         [C99-based-standards] (SCNd16): Likewise.
27878         [C99-based-standards] (SCNi16): Likewise.
27879         [C99-based-standards] (SCNo16): Likewise.
27880         [C99-based-standards] (SCNu16): Likewise.
27881         [C99-based-standards] (SCNx16): Likewise.
27882         [C99-based-standards] (PRIdLEAST16): Likewise.
27883         [C99-based-standards] (PRIiLEAST16): Likewise.
27884         [C99-based-standards] (PRIoLEAST16): Likewise.
27885         [C99-based-standards] (PRIuLEAST16): Likewise.
27886         [C99-based-standards] (PRIxLEAST16): Likewise.
27887         [C99-based-standards] (PRIXLEAST16): Likewise.
27888         [C99-based-standards] (SCNdLEAST16): Likewise.
27889         [C99-based-standards] (SCNiLEAST16): Likewise.
27890         [C99-based-standards] (SCNoLEAST16): Likewise.
27891         [C99-based-standards] (SCNuLEAST16): Likewise.
27892         [C99-based-standards] (SCNxLEAST16): Likewise.
27893         [C99-based-standards] (PRIdFAST16): Likewise.
27894         [C99-based-standards] (PRIiFAST16): Likewise.
27895         [C99-based-standards] (PRIoFAST16): Likewise.
27896         [C99-based-standards] (PRIuFAST16): Likewise.
27897         [C99-based-standards] (PRIxFAST16): Likewise.
27898         [C99-based-standards] (PRIXFAST16): Likewise.
27899         [C99-based-standards] (SCNdFAST16): Likewise.
27900         [C99-based-standards] (SCNiFAST16): Likewise.
27901         [C99-based-standards] (SCNoFAST16): Likewise.
27902         [C99-based-standards] (SCNuFAST16): Likewise.
27903         [C99-based-standards] (SCNxFAST16): Likewise.
27904         [C99-based-standards] (PRId32): Likewise.
27905         [C99-based-standards] (PRIi32): Likewise.
27906         [C99-based-standards] (PRIo32): Likewise.
27907         [C99-based-standards] (PRIu32): Likewise.
27908         [C99-based-standards] (PRIx32): Likewise.
27909         [C99-based-standards] (PRIX32): Likewise.
27910         [C99-based-standards] (SCNd32): Likewise.
27911         [C99-based-standards] (SCNi32): Likewise.
27912         [C99-based-standards] (SCNo32): Likewise.
27913         [C99-based-standards] (SCNu32): Likewise.
27914         [C99-based-standards] (SCNx32): Likewise.
27915         [C99-based-standards] (PRIdLEAST32): Likewise.
27916         [C99-based-standards] (PRIiLEAST32): Likewise.
27917         [C99-based-standards] (PRIoLEAST32): Likewise.
27918         [C99-based-standards] (PRIuLEAST32): Likewise.
27919         [C99-based-standards] (PRIxLEAST32): Likewise.
27920         [C99-based-standards] (PRIXLEAST32): Likewise.
27921         [C99-based-standards] (SCNdLEAST32): Likewise.
27922         [C99-based-standards] (SCNiLEAST32): Likewise.
27923         [C99-based-standards] (SCNoLEAST32): Likewise.
27924         [C99-based-standards] (SCNuLEAST32): Likewise.
27925         [C99-based-standards] (SCNxLEAST32): Likewise.
27926         [C99-based-standards] (PRIdFAST32): Likewise.
27927         [C99-based-standards] (PRIiFAST32): Likewise.
27928         [C99-based-standards] (PRIoFAST32): Likewise.
27929         [C99-based-standards] (PRIuFAST32): Likewise.
27930         [C99-based-standards] (PRIxFAST32): Likewise.
27931         [C99-based-standards] (PRIXFAST32): Likewise.
27932         [C99-based-standards] (SCNdFAST32): Likewise.
27933         [C99-based-standards] (SCNiFAST32): Likewise.
27934         [C99-based-standards] (SCNoFAST32): Likewise.
27935         [C99-based-standards] (SCNuFAST32): Likewise.
27936         [C99-based-standards] (SCNxFAST32): Likewise.
27937         [C99-based-standards] (PRId64): Likewise.
27938         [C99-based-standards] (PRIi64): Likewise.
27939         [C99-based-standards] (PRIo64): Likewise.
27940         [C99-based-standards] (PRIu64): Likewise.
27941         [C99-based-standards] (PRIx64): Likewise.
27942         [C99-based-standards] (PRIX64): Likewise.
27943         [C99-based-standards] (SCNd64): Likewise.
27944         [C99-based-standards] (SCNi64): Likewise.
27945         [C99-based-standards] (SCNo64): Likewise.
27946         [C99-based-standards] (SCNu64): Likewise.
27947         [C99-based-standards] (SCNx64): Likewise.
27948         [C99-based-standards] (PRIdLEAST64): Likewise.
27949         [C99-based-standards] (PRIiLEAST64): Likewise.
27950         [C99-based-standards] (PRIoLEAST64): Likewise.
27951         [C99-based-standards] (PRIuLEAST64): Likewise.
27952         [C99-based-standards] (PRIxLEAST64): Likewise.
27953         [C99-based-standards] (PRIXLEAST64): Likewise.
27954         [C99-based-standards] (SCNdLEAST64): Likewise.
27955         [C99-based-standards] (SCNiLEAST64): Likewise.
27956         [C99-based-standards] (SCNoLEAST64): Likewise.
27957         [C99-based-standards] (SCNuLEAST64): Likewise.
27958         [C99-based-standards] (SCNxLEAST64): Likewise.
27959         [C99-based-standards] (PRIdFAST64): Likewise.
27960         [C99-based-standards] (PRIiFAST64): Likewise.
27961         [C99-based-standards] (PRIoFAST64): Likewise.
27962         [C99-based-standards] (PRIuFAST64): Likewise.
27963         [C99-based-standards] (PRIxFAST64): Likewise.
27964         [C99-based-standards] (PRIXFAST64): Likewise.
27965         [C99-based-standards] (SCNdFAST64): Likewise.
27966         [C99-based-standards] (SCNiFAST64): Likewise.
27967         [C99-based-standards] (SCNoFAST64): Likewise.
27968         [C99-based-standards] (SCNuFAST64): Likewise.
27969         [C99-based-standards] (SCNxFAST64): Likewise.
27970         [C99-based-standards] (PRIdMAX): Likewise.
27971         [C99-based-standards] (PRIiMAX): Likewise.
27972         [C99-based-standards] (PRIoMAX): Likewise.
27973         [C99-based-standards] (PRIuMAX): Likewise.
27974         [C99-based-standards] (PRIxMAX): Likewise.
27975         [C99-based-standards] (PRIXMAX): Likewise.
27976         [C99-based-standards] (SCNdMAX): Likewise.
27977         [C99-based-standards] (SCNiMAX): Likewise.
27978         [C99-based-standards] (SCNoMAX): Likewise.
27979         [C99-based-standards] (SCNuMAX): Likewise.
27980         [C99-based-standards] (SCNxMAX): Likewise.
27981         [C99-based-standards] (PRIdPTR): Likewise.
27982         [C99-based-standards] (PRIiPTR): Likewise.
27983         [C99-based-standards] (PRIoPTR): Likewise.
27984         [C99-based-standards] (PRIuPTR): Likewise.
27985         [C99-based-standards] (PRIxPTR): Likewise.
27986         [C99-based-standards] (PRIXPTR): Likewise.
27987         [C99-based-standards] (SCNdPTR): Likewise.
27988         [C99-based-standards] (SCNiPTR): Likewise.
27989         [C99-based-standards] (SCNoPTR): Likewise.
27990         [C99-based-standards] (SCNuPTR): Likewise.
27991         [C99-based-standards] (SCNxPTR): Likewise.
27992         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27993         allow.
27994         * conform/data/stdint.h-data: Update comments to clarify
27995         requirements.
27996         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27997         type.
27998         [C99-based standards] (INT8_MAX): Likewise.
27999         [C99-based standards] (INT16_MIN): Likewise.
28000         [C99-based standards] (INT16_MAX): Likewise.
28001         [C99-based standards] (INT32_MIN): Likewise.
28002         [C99-based standards] (INT32_MAX): Likewise.
28003         [C99-based standards] (INT64_MIN): Likewise.
28004         [C99-based standards] (INT64_MAX): Likewise.
28005         [C99-based standards] (UINT8_MAX): Likewise.
28006         [C99-based standards] (UINT16_MAX): Likewise.
28007         [C99-based standards] (UINT32_MAX): Likewise.
28008         [C99-based standards] (UINT64_MAX): Likewise.
28009         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28010         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28011         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28012         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28013         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28014         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28015         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28016         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28017         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28018         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28019         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28020         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28021         [C99-based standards] (INT_FAST8_MIN): Likewise.
28022         [C99-based standards] (INT_FAST8_MAX): Likewise.
28023         [C99-based standards] (INT_FAST16_MIN): Likewise.
28024         [C99-based standards] (INT_FAST16_MAX): Likewise.
28025         [C99-based standards] (INT_FAST32_MIN): Likewise.
28026         [C99-based standards] (INT_FAST32_MAX): Likewise.
28027         [C99-based standards] (INT_FAST64_MIN): Likewise.
28028         [C99-based standards] (INT_FAST64_MAX): Likewise.
28029         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28030         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28031         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28032         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28033         [C99-based standards] (INTPTR_MIN): Likewise.
28034         [C99-based standards] (INTPTR_MAX): Likewise.
28035         [C99-based standards] (UINTPTR_MAX): Likewise.
28036         [C99-based standards] (INTMAX_MIN): Likewise.
28037         [C99-based standards] (INTMAX_MAX): Likewise.
28038         [C99-based standards] (UINTMAX_MAX): Likewise.
28039         [C99-based standards] (PTRDIFF_MIN): Likewise.
28040         [C99-based standards] (PTRDIFF_MAX): Likewise.
28041         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28042         [C99-based standards] (SIZE_MAX): Likewise.
28043         [C99-based standards] (WCHAR_MAX): Likewise.
28044         [C99-based standards] (WINT_MAX): Likewise.
28045         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28046         constraint on value.
28047         [C99-based standards] (WCHAR_MIN): Likewise.
28048         [C99-based standards] (WINT_MIN): Likewise.
28049         [C99-based standards] (*_t): Allow.
28050         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28051         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28052         Include math.h-data and complex.h-data.  Remove all expectations
28053         of math.h and complex.h contents.
28054         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28055         at end of line.
28056         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28057         (struct tm): Expect tag.
28058         [C99-based-standards] (wcstof): Expect function.
28059         [C99-based-standards] (wcstold): Likewise.
28060         [C99-based-standards] (wcstoll): Likewise.
28061         [C99-based-standards] (wcstoull): Likewise.
28062         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28063         macro-int-constant.  Specify type.
28064         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28065         constraint on value.
28066         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28067         Specify type.
28068         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28069         Specify value.
28070         [ISO C standards]: Do not allow headers.
28071         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28072         wcs[abcdefghijklmnopqrstuvwxyz]*.
28073         [ISO C standards] (*_t): Do not allow.
28074         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28075         Expect function.
28076         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28077         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28078         Specify type.
28079         [ISO C standards]: Do not allow headers.
28080         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28081         is[abcdefghijklmnopqrstuvwxyz]*.
28082         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28083         to[abcdefghijklmnopqrstuvwxyz]*.
28084         [ISO C standards] (*_t): Do not allow.
28085         * conform/data/stdalign.h-data: New file.
28086         * conform/data/stdbool.h-data: Likewise.
28087         * conform/data/stdnoreturn.h-data: Likewise.
28088
28089 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28090
28091         [BZ #14815]
28092         * manual/filesys.texi (Directory Entries): Typo fix.
28093         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28094
28095 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28096
28097         * elf/elf.h (EM_AARCH64): New macro.
28098         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28099         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28100         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28101         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28102         (R_AARCH64_TLSDESC): Likewise.
28103         (NT_ARM_TLS): Likewise.
28104         (NT_ARM_HW_BREAK): Likewise.
28105         (NT_ARM_HW_WATCH): Likewise.
28106
28107 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28108
28109         [BZ #14811]
28110         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28111         (__ieee754_powl): Saturate nonzero exponents with absolute value
28112         below 0x1p-79 to +/- 0x1p-79.
28113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28114         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28115         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28116         nonzero exponents with absolute value below 0x1p-32 to +/-
28117         0x1p-32.
28118         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28119         (__ieee754_powl): Saturate nonzero exponents with absolute value
28120         below 0x1p-79 to +/- 0x1p-79.
28121         * math/libm-test.inc (pow_test): Add more tests.
28122
28123 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28124
28125         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28126         _dl_s390_cap_flags with kernel. Increase string length.
28127         (_dl_s390_platforms): Add z196 and zEC12.
28128
28129 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28130
28131         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28132         Change XOPEN21K to XOPEN2K.
28133
28134 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28135
28136         * string/memmove.c: Use memcpy when possible.
28137
28138 2012-11-06  Andreas Jaeger  <aj@suse.de>
28139
28140         * po/eo.po: Update from translation team.
28141
28142 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28143
28144         [BZ #14793]
28145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28146         exponent and small x and y exponents, scale x or y up.  Increase
28147         by 2 the exponent used in scaling up.
28148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28150         * math/libm-test.inc (fma_test): Add more tests.
28151         (fma_test_towardzero): Likewise.
28152         (fma_test_downward): Likewise.
28153         (fma_test_upward): Likewise.
28154
28155 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28156
28157         [BZ #14805]
28158         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28159         fenv_t *.
28160
28161         [BZ #14801]
28162         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28163         namespace for names of struct fields.
28164         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28165         fenv_t fields.
28166         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28167         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28168
28169 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28170
28171         [BZ #3665]
28172         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28173
28174 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28175
28176         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28177         PTR_DEMANGLE.
28178
28179         [BZ #5246]
28180         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28181         PTR_DEMANGLE.
28182
28183 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28184
28185         [BZ #14797]
28186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28187         definitely overflow as x * y not x * y + z.
28188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28189         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28190         * math/libm-test.inc (fma_test): Add more tests.
28191         (fma_test_towardzero): Likewise.
28192         (fma_test_downward): Likewise.
28193         (fma_test_upward): Likewise.
28194
28195 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28196
28197         [BZ #157]
28198
28199         * include/stub-tag.h: Remove file.
28200         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28201         '#include' of it.
28202         * manual/maint.texi (Porting): Don't reference it.
28203         * Makerules ($(objpfx)stubs): Likewise.
28204         * dirent/closedir.c: Don't include <stub-tag.h>.
28205         * dirent/dirfd.c: Likewise.
28206         * dirent/fdopendir.c: Likewise.
28207         * dirent/getdents.c: Likewise.
28208         * dirent/getdents64.c: Likewise.
28209         * dirent/opendir.c: Likewise.
28210         * dirent/readdir.c: Likewise.
28211         * dirent/readdir64.c: Likewise.
28212         * dirent/readdir64_r.c: Likewise.
28213         * dirent/readdir_r.c: Likewise.
28214         * dirent/rewinddir.c: Likewise.
28215         * dirent/seekdir.c: Likewise.
28216         * dirent/telldir.c: Likewise.
28217         * gmon/profil.c: Likewise.
28218         * grp/setgroups.c: Likewise.
28219         * inet/if_index.c: Likewise.
28220         * io/access.c: Likewise.
28221         * io/chdir.c: Likewise.
28222         * io/chmod.c: Likewise.
28223         * io/chown.c: Likewise.
28224         * io/close.c: Likewise.
28225         * io/dup.c: Likewise.
28226         * io/dup2.c: Likewise.
28227         * io/dup3.c: Likewise.
28228         * io/euidaccess.c: Likewise.
28229         * io/faccessat.c: Likewise.
28230         * io/fchdir.c: Likewise.
28231         * io/fchmod.c: Likewise.
28232         * io/fchmodat.c: Likewise.
28233         * io/fchown.c: Likewise.
28234         * io/fchownat.c: Likewise.
28235         * io/fcntl.c: Likewise.
28236         * io/flock.c: Likewise.
28237         * io/fstatfs.c: Likewise.
28238         * io/fstatfs64.c: Likewise.
28239         * io/fstatvfs.c: Likewise.
28240         * io/fstatvfs64.c: Likewise.
28241         * io/futimens.c: Likewise.
28242         * io/fxstat.c: Likewise.
28243         * io/fxstat64.c: Likewise.
28244         * io/fxstatat.c: Likewise.
28245         * io/fxstatat64.c: Likewise.
28246         * io/getcwd.c: Likewise.
28247         * io/isatty.c: Likewise.
28248         * io/lchmod.c: Likewise.
28249         * io/lchown.c: Likewise.
28250         * io/link.c: Likewise.
28251         * io/linkat.c: Likewise.
28252         * io/lseek.c: Likewise.
28253         * io/lseek64.c: Likewise.
28254         * io/lxstat64.c: Likewise.
28255         * io/mkdir.c: Likewise.
28256         * io/mkdirat.c: Likewise.
28257         * io/mkfifo.c: Likewise.
28258         * io/mkfifoat.c: Likewise.
28259         * io/open.c: Likewise.
28260         * io/open64.c: Likewise.
28261         * io/openat.c: Likewise.
28262         * io/openat64.c: Likewise.
28263         * io/pipe.c: Likewise.
28264         * io/pipe2.c: Likewise.
28265         * io/poll.c: Likewise.
28266         * io/posix_fadvise.c: Likewise.
28267         * io/posix_fadvise64.c: Likewise.
28268         * io/posix_fallocate.c: Likewise.
28269         * io/posix_fallocate64.c: Likewise.
28270         * io/read.c: Likewise.
28271         * io/readlink.c: Likewise.
28272         * io/readlinkat.c: Likewise.
28273         * io/rmdir.c: Likewise.
28274         * io/sendfile.c: Likewise.
28275         * io/sendfile64.c: Likewise.
28276         * io/statfs.c: Likewise.
28277         * io/statfs64.c: Likewise.
28278         * io/statvfs.c: Likewise.
28279         * io/statvfs64.c: Likewise.
28280         * io/symlink.c: Likewise.
28281         * io/symlinkat.c: Likewise.
28282         * io/ttyname.c: Likewise.
28283         * io/ttyname_r.c: Likewise.
28284         * io/umask.c: Likewise.
28285         * io/unlink.c: Likewise.
28286         * io/unlinkat.c: Likewise.
28287         * io/utime.c: Likewise.
28288         * io/utimensat.c: Likewise.
28289         * io/write.c: Likewise.
28290         * io/xmknod.c: Likewise.
28291         * io/xmknodat.c: Likewise.
28292         * io/xstat.c: Likewise.
28293         * io/xstat64.c: Likewise.
28294         * login/getpt.c: Likewise.
28295         * login/grantpt.c: Likewise.
28296         * login/unlockpt.c: Likewise.
28297         * math/e_acoshl.c: Likewise.
28298         * math/e_acosl.c: Likewise.
28299         * math/e_asinl.c: Likewise.
28300         * math/e_atan2l.c: Likewise.
28301         * math/e_atanhl.c: Likewise.
28302         * math/e_coshl.c: Likewise.
28303         * math/e_expl.c: Likewise.
28304         * math/e_fmodl.c: Likewise.
28305         * math/e_gammal_r.c: Likewise.
28306         * math/e_hypotl.c: Likewise.
28307         * math/e_j0l.c: Likewise.
28308         * math/e_j1l.c: Likewise.
28309         * math/e_jnl.c: Likewise.
28310         * math/e_lgammal_r.c: Likewise.
28311         * math/e_log10l.c: Likewise.
28312         * math/e_log2l.c: Likewise.
28313         * math/e_logl.c: Likewise.
28314         * math/e_powl.c: Likewise.
28315         * math/e_rem_pio2l.c: Likewise.
28316         * math/e_sinhl.c: Likewise.
28317         * math/e_sqrtl.c: Likewise.
28318         * math/fclrexcpt.c: Likewise.
28319         * math/fedisblxcpt.c: Likewise.
28320         * math/feenablxcpt.c: Likewise.
28321         * math/fegetenv.c: Likewise.
28322         * math/fegetexcept.c: Likewise.
28323         * math/fegetround.c: Likewise.
28324         * math/feholdexcpt.c: Likewise.
28325         * math/fesetenv.c: Likewise.
28326         * math/fesetround.c: Likewise.
28327         * math/feupdateenv.c: Likewise.
28328         * math/fgetexcptflg.c: Likewise.
28329         * math/fraiseexcpt.c: Likewise.
28330         * math/fsetexcptflg.c: Likewise.
28331         * math/ftestexcept.c: Likewise.
28332         * math/k_cosl.c: Likewise.
28333         * math/k_rem_pio2l.c: Likewise.
28334         * math/k_sinl.c: Likewise.
28335         * math/k_tanl.c: Likewise.
28336         * math/s_asinhl.c: Likewise.
28337         * math/s_atanl.c: Likewise.
28338         * math/s_cbrtl.c: Likewise.
28339         * math/s_erfl.c: Likewise.
28340         * math/s_expm1l.c: Likewise.
28341         * math/s_log1pl.c: Likewise.
28342         * math/s_tanhl.c: Likewise.
28343         * misc/acct.c: Likewise.
28344         * misc/brk.c: Likewise.
28345         * misc/chflags.c: Likewise.
28346         * misc/chroot.c: Likewise.
28347         * misc/fchflags.c: Likewise.
28348         * misc/fgetxattr.c: Likewise.
28349         * misc/flistxattr.c: Likewise.
28350         * misc/fremovexattr.c: Likewise.
28351         * misc/fsetxattr.c: Likewise.
28352         * misc/fsync.c: Likewise.
28353         * misc/ftruncate.c: Likewise.
28354         * misc/futimes.c: Likewise.
28355         * misc/futimesat.c: Likewise.
28356         * misc/getdomain.c: Likewise.
28357         * misc/getdtsz.c: Likewise.
28358         * misc/gethostid.c: Likewise.
28359         * misc/gethostname.c: Likewise.
28360         * misc/getloadavg.c: Likewise.
28361         * misc/getpagesize.c: Likewise.
28362         * misc/getsysstats.c: Likewise.
28363         * misc/getxattr.c: Likewise.
28364         * misc/gtty.c: Likewise.
28365         * misc/ioctl.c: Likewise.
28366         * misc/lgetxattr.c: Likewise.
28367         * misc/listxattr.c: Likewise.
28368         * misc/llistxattr.c: Likewise.
28369         * misc/lremovexattr.c: Likewise.
28370         * misc/lsetxattr.c: Likewise.
28371         * misc/lutimes.c: Likewise.
28372         * misc/madvise.c: Likewise.
28373         * misc/mincore.c: Likewise.
28374         * misc/mlock.c: Likewise.
28375         * misc/mlockall.c: Likewise.
28376         * misc/mmap.c: Likewise.
28377         * misc/mprotect.c: Likewise.
28378         * misc/msync.c: Likewise.
28379         * misc/munlock.c: Likewise.
28380         * misc/munlockall.c: Likewise.
28381         * misc/munmap.c: Likewise.
28382         * misc/preadv.c: Likewise.
28383         * misc/preadv64.c: Likewise.
28384         * misc/ptrace.c: Likewise.
28385         * misc/pwritev.c: Likewise.
28386         * misc/pwritev64.c: Likewise.
28387         * misc/readv.c: Likewise.
28388         * misc/reboot.c: Likewise.
28389         * misc/remap_file_pages.c: Likewise.
28390         * misc/removexattr.c: Likewise.
28391         * misc/revoke.c: Likewise.
28392         * misc/select.c: Likewise.
28393         * misc/setdomain.c: Likewise.
28394         * misc/setegid.c: Likewise.
28395         * misc/seteuid.c: Likewise.
28396         * misc/sethostid.c: Likewise.
28397         * misc/sethostname.c: Likewise.
28398         * misc/setregid.c: Likewise.
28399         * misc/setreuid.c: Likewise.
28400         * misc/setxattr.c: Likewise.
28401         * misc/sstk.c: Likewise.
28402         * misc/stty.c: Likewise.
28403         * misc/swapoff.c: Likewise.
28404         * misc/swapon.c: Likewise.
28405         * misc/sync.c: Likewise.
28406         * misc/syncfs.c: Likewise.
28407         * misc/syscall.c: Likewise.
28408         * misc/truncate.c: Likewise.
28409         * misc/ualarm.c: Likewise.
28410         * misc/usleep.c: Likewise.
28411         * misc/ustat.c: Likewise.
28412         * misc/utimes.c: Likewise.
28413         * misc/vhangup.c: Likewise.
28414         * misc/writev.c: Likewise.
28415         * posix/_exit.c: Likewise.
28416         * posix/alarm.c: Likewise.
28417         * posix/execve.c: Likewise.
28418         * posix/fexecve.c: Likewise.
28419         * posix/fork.c: Likewise.
28420         * posix/fpathconf.c: Likewise.
28421         * posix/getaddrinfo.c: Likewise.
28422         * posix/getegid.c: Likewise.
28423         * posix/geteuid.c: Likewise.
28424         * posix/getgid.c: Likewise.
28425         * posix/getgroups.c: Likewise.
28426         * posix/getlogin.c: Likewise.
28427         * posix/getlogin_r.c: Likewise.
28428         * posix/getpgid.c: Likewise.
28429         * posix/getpid.c: Likewise.
28430         * posix/getppid.c: Likewise.
28431         * posix/getresgid.c: Likewise.
28432         * posix/getresuid.c: Likewise.
28433         * posix/getsid.c: Likewise.
28434         * posix/getuid.c: Likewise.
28435         * posix/glob64.c: Likewise.
28436         * posix/nanosleep.c: Likewise.
28437         * posix/pathconf.c: Likewise.
28438         * posix/pause.c: Likewise.
28439         * posix/posix_madvise.c: Likewise.
28440         * posix/pread.c: Likewise.
28441         * posix/pread64.c: Likewise.
28442         * posix/pwrite.c: Likewise.
28443         * posix/pwrite64.c: Likewise.
28444         * posix/sched_getaffinity.c: Likewise.
28445         * posix/sched_getp.c: Likewise.
28446         * posix/sched_gets.c: Likewise.
28447         * posix/sched_primax.c: Likewise.
28448         * posix/sched_primin.c: Likewise.
28449         * posix/sched_rr_gi.c: Likewise.
28450         * posix/sched_setaffinity.c: Likewise.
28451         * posix/sched_setp.c: Likewise.
28452         * posix/sched_sets.c: Likewise.
28453         * posix/sched_yield.c: Likewise.
28454         * posix/setgid.c: Likewise.
28455         * posix/setlogin.c: Likewise.
28456         * posix/setpgid.c: Likewise.
28457         * posix/setresgid.c: Likewise.
28458         * posix/setresuid.c: Likewise.
28459         * posix/setsid.c: Likewise.
28460         * posix/setuid.c: Likewise.
28461         * posix/sleep.c: Likewise.
28462         * posix/spawni.c: Likewise.
28463         * posix/sysconf.c: Likewise.
28464         * posix/times.c: Likewise.
28465         * posix/wait.c: Likewise.
28466         * posix/wait3.c: Likewise.
28467         * posix/wait4.c: Likewise.
28468         * posix/waitpid.c: Likewise.
28469         * resolv/gai_sigqueue.c: Likewise.
28470         * resource/getpriority.c: Likewise.
28471         * resource/getrlimit.c: Likewise.
28472         * resource/getrusage.c: Likewise.
28473         * resource/nice.c: Likewise.
28474         * resource/setpriority.c: Likewise.
28475         * resource/setrlimit.c: Likewise.
28476         * resource/ulimit.c: Likewise.
28477         * rt/aio_cancel.c: Likewise.
28478         * rt/aio_fsync.c: Likewise.
28479         * rt/aio_read.c: Likewise.
28480         * rt/aio_sigqueue.c: Likewise.
28481         * rt/aio_suspend.c: Likewise.
28482         * rt/aio_write.c: Likewise.
28483         * rt/clock_getres.c: Likewise.
28484         * rt/clock_gettime.c: Likewise.
28485         * rt/clock_nanosleep.c: Likewise.
28486         * rt/clock_settime.c: Likewise.
28487         * rt/lio_listio.c: Likewise.
28488         * rt/mq_close.c: Likewise.
28489         * rt/mq_getattr.c: Likewise.
28490         * rt/mq_notify.c: Likewise.
28491         * rt/mq_open.c: Likewise.
28492         * rt/mq_receive.c: Likewise.
28493         * rt/mq_send.c: Likewise.
28494         * rt/mq_setattr.c: Likewise.
28495         * rt/mq_timedreceive.c: Likewise.
28496         * rt/mq_timedsend.c: Likewise.
28497         * rt/mq_unlink.c: Likewise.
28498         * rt/shm_open.c: Likewise.
28499         * rt/shm_unlink.c: Likewise.
28500         * rt/timer_create.c: Likewise.
28501         * rt/timer_delete.c: Likewise.
28502         * rt/timer_getoverr.c: Likewise.
28503         * rt/timer_gettime.c: Likewise.
28504         * rt/timer_settime.c: Likewise.
28505         * setjmp/__longjmp.c: Likewise.
28506         * setjmp/setjmp.c: Likewise.
28507         * signal/kill.c: Likewise.
28508         * signal/killpg.c: Likewise.
28509         * signal/raise.c: Likewise.
28510         * signal/sigaction.c: Likewise.
28511         * signal/sigaltstack.c: Likewise.
28512         * signal/sigblock.c: Likewise.
28513         * signal/sigignore.c: Likewise.
28514         * signal/sigintr.c: Likewise.
28515         * signal/signal.c: Likewise.
28516         * signal/sigpause.c: Likewise.
28517         * signal/sigpending.c: Likewise.
28518         * signal/sigqueue.c: Likewise.
28519         * signal/sigreturn.c: Likewise.
28520         * signal/sigset.c: Likewise.
28521         * signal/sigsetmask.c: Likewise.
28522         * signal/sigstack.c: Likewise.
28523         * signal/sigsuspend.c: Likewise.
28524         * signal/sigtimedwait.c: Likewise.
28525         * signal/sigvec.c: Likewise.
28526         * signal/sigwait.c: Likewise.
28527         * signal/sigwaitinfo.c: Likewise.
28528         * signal/sysv_signal.c: Likewise.
28529         * socket/accept.c: Likewise.
28530         * socket/accept4.c: Likewise.
28531         * socket/bind.c: Likewise.
28532         * socket/connect.c: Likewise.
28533         * socket/getpeername.c: Likewise.
28534         * socket/getsockname.c: Likewise.
28535         * socket/getsockopt.c: Likewise.
28536         * socket/isfdtype.c: Likewise.
28537         * socket/listen.c: Likewise.
28538         * socket/recv.c: Likewise.
28539         * socket/recvfrom.c: Likewise.
28540         * socket/recvmsg.c: Likewise.
28541         * socket/send.c: Likewise.
28542         * socket/sendmsg.c: Likewise.
28543         * socket/sendto.c: Likewise.
28544         * socket/setsockopt.c: Likewise.
28545         * socket/shutdown.c: Likewise.
28546         * socket/sockatmark.c: Likewise.
28547         * socket/socket.c: Likewise.
28548         * socket/socketpair.c: Likewise.
28549         * stdio-common/ctermid.c: Likewise.
28550         * stdio-common/cuserid.c: Likewise.
28551         * stdio-common/remove.c: Likewise.
28552         * stdio-common/rename.c: Likewise.
28553         * stdio-common/renameat.c: Likewise.
28554         * stdio-common/tempname.c: Likewise.
28555         * stdlib/getcontext.c: Likewise.
28556         * stdlib/makecontext.c: Likewise.
28557         * stdlib/setcontext.c: Likewise.
28558         * stdlib/swapcontext.c: Likewise.
28559         * stdlib/system.c: Likewise.
28560         * streams/fattach.c: Likewise.
28561         * streams/fdetach.c: Likewise.
28562         * streams/getmsg.c: Likewise.
28563         * streams/getpmsg.c: Likewise.
28564         * streams/putmsg.c: Likewise.
28565         * streams/putpmsg.c: Likewise.
28566         * sysdeps/unix/bsd/getpt.c: Likewise.
28567         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28568         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28569         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28571         Likewise.
28572         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28573         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28574         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28575         * sysvipc/msgctl.c: Likewise.
28576         * sysvipc/msgget.c: Likewise.
28577         * sysvipc/msgrcv.c: Likewise.
28578         * sysvipc/msgsnd.c: Likewise.
28579         * sysvipc/semctl.c: Likewise.
28580         * sysvipc/semget.c: Likewise.
28581         * sysvipc/semop.c: Likewise.
28582         * sysvipc/semtimedop.c: Likewise.
28583         * sysvipc/shmat.c: Likewise.
28584         * sysvipc/shmctl.c: Likewise.
28585         * sysvipc/shmdt.c: Likewise.
28586         * sysvipc/shmget.c: Likewise.
28587         * termios/tcdrain.c: Likewise.
28588         * termios/tcflow.c: Likewise.
28589         * termios/tcflush.c: Likewise.
28590         * termios/tcgetattr.c: Likewise.
28591         * termios/tcgetpgrp.c: Likewise.
28592         * termios/tcsendbrk.c: Likewise.
28593         * termios/tcsetattr.c: Likewise.
28594         * termios/tcsetpgrp.c: Likewise.
28595         * time/adjtime.c: Likewise.
28596         * time/clock.c: Likewise.
28597         * time/getitimer.c: Likewise.
28598         * time/gettimeofday.c: Likewise.
28599         * time/setitimer.c: Likewise.
28600         * time/settimeofday.c: Likewise.
28601         * time/stime.c: Likewise.
28602         * time/time.c: Likewise.
28603
28604 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28605
28606         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28607         /usr/old/bin.
28608
28609         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28610         instead of spaces.
28611         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28612
28613 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28614
28615         [BZ #14796]
28616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28617         FE_TONEAREST before applying Dekker multiplication and Knuth
28618         addition.  Clear inexact exceptions and check for exact zero
28619         results afterwards.
28620         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28621         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28622         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28623         * math/libm-test.inc (fma_test): Add more tests.
28624         (fma_test_towardzero): Likewise.
28625         (fma_test_downward): Likewise.
28626         (fma_test_upward): Likewise.
28627         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28628         function.
28629         (libc_fesetround): New macro.
28630         (libc_fesetroundf): Likewise.
28631         (libc_fesetroundl): Likewise.
28632         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28633         function.
28634         (libc_fesetround_387): Likewise.
28635         (libc_fesetroundf): New macro.
28636         (libc_fesetround): Likewise.
28637         (libc_fesetroundl): Likewise.
28638         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28639         function.
28640         (libc_fesetroundf): New macro.
28641         (libc_fesetround): Likewise.
28642         (libc_fesetroundl): Likewise.
28643         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28644         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28645         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28646         libm_hidden_ver.
28647         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28648         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28649         libm_hidden_def.
28650         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28651         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28652         libm_hidden_ver.
28653         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28654         libm_hidden_def.
28655
28656         [BZ #3439]
28657         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28658         integer constant usable in #if and use that to give value to enum
28659         constant.
28660         (FE_DIVBYZERO): Likewise.
28661         (FE_UNDERFLOW): Likewise.
28662         (FE_OVERFLOW): Likewise.
28663         (FE_INVALID): Likewise.
28664         (FE_INVALID_SNAN): Likewise.
28665         (FE_INVALID_ISI): Likewise.
28666         (FE_INVALID_IDI): Likewise.
28667         (FE_INVALID_ZDZ): Likewise.
28668         (FE_INVALID_IMZ): Likewise.
28669         (FE_INVALID_COMPARE): Likewise.
28670         (FE_INVALID_SOFTWARE): Likewise.
28671         (FE_INVALID_SQRT): Likewise.
28672         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28673         (FE_TONEAREST): Likewise.
28674         (FE_TOWARDZERO): Likewise.
28675         (FE_UPWARD): Likewise.
28676         (FE_DOWNWARD): Likewise.
28677         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28678         (FE_DIVBYZERO): Likewise.
28679         (FE_OVERFLOW): Likewise.
28680         (FE_UNDERFLOW): Likewise.
28681         (FE_INEXACT): Likewise.
28682         (FE_TONEAREST): Likewise.
28683         (FE_DOWNWARD): Likewise.
28684         (FE_UPWARD): Likewise.
28685         (FE_TOWARDZERO): Likewise.
28686         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28687         (FE_UNDERFLOW): Likewise.
28688         (FE_OVERFLOW): Likewise.
28689         (FE_DIVBYZERO): Likewise.
28690         (FE_INVALID): Likewise.
28691         (FE_TONEAREST): Likewise.
28692         (FE_TOWARDZERO): Likewise.
28693         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28694         (FE_OVERFLOW): Likewise.
28695         (FE_UNDERFLOW): Likewise.
28696         (FE_DIVBYZERO): Likewise.
28697         (FE_INEXACT): Likewise.
28698         (FE_TONEAREST): Likewise.
28699         (FE_TOWARDZERO): Likewise.
28700         (FE_UPWARD): Likewise.
28701         (FE_DOWNWARD): Likewise.
28702         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28703         (FE_DIVBYZERO): Likewise.
28704         (FE_OVERFLOW): Likewise.
28705         (FE_UNDERFLOW): Likewise.
28706         (FE_INEXACT): Likewise.
28707         (FE_TONEAREST): Likewise.
28708         (FE_DOWNWARD): Likewise.
28709         (FE_UPWARD): Likewise.
28710         (FE_TOWARDZERO): Likewise.
28711
28712 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28713
28714         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28715
28716 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28717
28718         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28719         commands.  Quote $PWD.
28720         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28721         -x" by "export".
28722         (remove_newlines): Remove.
28723
28724 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28725
28726         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28727         * stdlib/stdlib.h (atof): Moved to ...
28728         * include/bits/stdlib-float.h: Here.  New file.
28729         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28730         * stdlib/bits/stdlib-float.h: New file.
28731         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28732         -mno-sse -mno-mmx.
28733         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28734         <xmmintrin.h>.
28735
28736 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28737
28738         * conform/conformtest.pl (@headers): Add fenv.h.
28739         * conform/data/fenv.h-data: New file.
28740         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28741         include of <math/fenv.h>.
28742
28743         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28744         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28745         && !UNIX98].  Enables tests for XOPEN2K8.
28746         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28747         POSIX2008]: Likewise.
28748
28749         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28750         (struct rusage): Do not expect type or its members.
28751
28752         [BZ #3439]
28753         * math/math.h (FP_NAN): Define macro to integer constant usable in
28754         #if and use that to give value to enum constant.
28755         (FP_INFINITE): Likewise.
28756         (FP_ZERO): Likewise.
28757         (FP_SUBNORMAL): Likewise.
28758         (FP_NORMAL): Likewise.
28759
28760 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28761
28762         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28763         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28764         arguments.
28765
28766 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28767
28768         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28769         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28770         autoconf-time if not.
28771         * configure.in: Remove AC_PREREQ.
28772
28773 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28774
28775         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28776         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28777         of the internal implementation.
28778
28779 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28780
28781         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28782         except include of <misc/sys/syslog.h>.
28783
28784 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28785
28786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28787         function returns with a NULL context exit with zero.
28788
28789 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28790
28791         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28792
28793 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28794
28795         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28796         (run_program_cmd): This.
28797         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28798         (tst_langinfo): New variable.  Use it.
28799
28800 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28801
28802         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28803         floating point opcodes.
28804
28805 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28806
28807         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28808         variable.
28809
28810         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28811
28812         * sysdeps/mach/hurd/powerpc: Remove directory.
28813         * sysdeps/mach/powerpc: Likewise.
28814
28815 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28816
28817         * scripts/check-local-headers.sh: Ignore c++ headers.
28818
28819 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28820
28821         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28822         __libc_cleanup_region_start argument.
28823
28824 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28825
28826         [BZ #14784]
28827         [BZ #14785]
28828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28829         x * y using scaling, not as x * y + z.
28830         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28831         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28832         * math/libm-test.inc (fma_test): Add more tests.
28833         (fma_test_towardzero): Likewise.
28834         (fma_test_downward): Likewise.
28835         (fma_test_upward): Likewise.
28836
28837 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28838
28839         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28840
28841 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28842
28843         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28844         New variable.
28845
28846 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28847
28848         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28849
28850 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28851
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28853         Fix sort order.
28854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28855         Likewise.
28856
28857 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28858
28859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28860         Fix the order of the list for glibc 2.17.
28861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28862         Likewise.
28863
28864 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28865
28866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28867
28868 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28869
28870         [BZ #14610]
28871         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28872         for low part of x being zero before using __atanl (y).
28873         * math/libm-test.inc (atan2_test): Add another test.
28874
28875         * manual/install.texi (Configuring and compiling): Document
28876         general use of test-wrapper and test-wrapper-env.
28877         * INSTALL: Regenerated.
28878
28879         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28880         (__fma): Do not extract and scale down low bits on after-rounding
28881         systems when result rounded to normal precision would have normal
28882         exponent.
28883         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28884         (__fmal): Do not extract and scale down low bits on after-rounding
28885         systems when result rounded to normal precision would have normal
28886         exponent.
28887         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28888         (__fmal): Do not extract and scale down low bits on after-rounding
28889         systems when result rounded to normal precision would have normal
28890         exponent.
28891         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28892         macro.
28893         (fma_test): Add more tests.
28894         (fma_test_towardzero): Likewise.
28895         (fma_test_downward): Likewise.
28896         (fma_test_upward): Likewise.
28897
28898 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28899
28900         * sysdeps/i386/tininess.h: Renamed to ...
28901         * sysdeps/x86/tininess.h: This.
28902         * sysdeps/x86_64/tininess.h: Removed.
28903
28904 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28905
28906         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28907         input.  Use $(build-program-cmd).
28908         ($(objpfx)tst-array1-static.out): Likewise.
28909         ($(objpfx)tst-array2.out): Likewise.
28910         ($(objpfx)tst-array3.out): Likewise.
28911         ($(objpfx)tst-array4.out): Likewise.
28912         ($(objpfx)tst-array5.out): Likewise.
28913         ($(objpfx)tst-array5-static.out): Likewise.
28914
28915 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28916
28917         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28918         if defined.
28919
28920         * nss/nsswitch.h (nss_interface_function): Provide new
28921         macro for use with NSS functions.
28922         * grp/initgroups.c: Use new macro.
28923         * nss/getXXbyYY.c: Likewise.
28924         * nss/getXXbyYY_r.c: Likewise.
28925         * nss/getXXent.c: Likewise.
28926         * nss/getXXent_r.c: Likewise.
28927         * sysdeps/posix/getaddrinfo.c: Likewise.
28928
28929 2012-10-30  Andreas Jaeger  <aj@suse.de>
28930
28931         * po/ru.po: Update Russion translation from translation project.
28932
28933 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28934
28935         [BZ #14152]
28936         [BZ #14783]
28937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28938         result and shift together with sticky bit instead of replicating
28939         round-to-nearest rounding.
28940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28942         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28943         missing underflow exceptions.
28944         (fma_test_towardzero): Add more tests.
28945         (fma_test_downward): Likewise.
28946         (fma_test_upward): Likewise.
28947
28948         [BZ #14047]
28949         * sysdeps/generic/tininess.h: New file.
28950         * sysdeps/i386/tininess.h: Likewise.
28951         * sysdeps/sh/tininess.h: Likewise.
28952         * sysdeps/x86_64/tininess.h: Likewise.
28953         * stdlib/tst-strtod-underflow.c: Likewise.
28954         * stdlib/tst-tininess.c: Likewise.
28955         * stdlib/strtod_l.c: Include <tininess.h>.
28956         (round_and_return): Do not set errno for exact underflow cases.
28957         Force an underflow exception when setting errno for underflow.
28958         Determine underflow based on rounding to normal precision if
28959         TININESS_AFTER_ROUNDING.
28960         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28961         ERANGE for exact underflow cases.
28962         * stdlib/Makefile (tests): Add tst-tininess and
28963         tst-strtod-underflow.
28964         ($(objpfx)tst-tininess): Use $(link-libm).
28965         ($(objpfx)tst-strtod-underflow): Likewise.
28966
28967 2012-10-30  Andreas Jaeger  <aj@suse.de>
28968
28969         [BZ#14767]
28970         * elf/Makefile (tests): Remove conditional for have-initfini-array
28971         since this is now always required and the variable does not exist
28972         anymore.
28973         (tests-static): Likewise.
28974         (modules-names): Likewise.
28975
28976         * po/eo.po: Add Esperanto translation from translation project.
28977
28978         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28979         merged with constructor/destructor.
28980         (init_array): Likewise.
28981         * elf/tst-array2dep.c (fini_array): Likewise.
28982         (init_array): Likewise.
28983
28984 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28985
28986         * manual/message.texi: Delete @cartouche tags.
28987
28988 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28989
28990         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28991         EOPNOTSUPP.
28992         * sysdeps/mach/hurd/fsync.c: Likewise.
28993
28994         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28995         [_POSIX_REALTIME_SIGNALS]: Change condition to
28996         [_POSIX_REALTIME_SIGNALS > 0].
28997
28998 2012-10-27  Andreas Jaeger  <aj@suse.de>
28999
29000         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29001         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29002         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29003         [__WORDSIZE != 64]: Likewise.
29004
29005 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29006
29007         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29008         *  iconvdata/tst-tables.sh: Likewise.
29009
29010 2012-10-25  David S. Miller  <davem@davemloft.net>
29011
29012         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29013         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29014         of strtoull.
29015
29016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29017         ifunc-impl-list.c
29018         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29019         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29020         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29021         file.
29022
29023 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29024
29025         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29026         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29027         __getdirentries.
29028
29029 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29030             Jim Blandy  <jimb@codesourcery.com>
29031
29032         * scripts/cross-test-ssh.sh: New file.
29033         * manual/install.texi (Configuring and compiling): Document use of
29034         cross-test-ssh.sh.
29035         * INSTALL: Regenerated.
29036
29037 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29038
29039         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29040         EOPNOTSUPP.
29041
29042 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29043
29044         * Makeconfig (run-program-prefix): Fix comment.
29045
29046 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29047             Jim Blandy  <jimb@codesourcery.com>
29048
29049         * Makeconfig (test-wrapper): New variable,
29050         (test-wrapper-env): Likewise.
29051         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29052         (run-built-tests): Define to yes.
29053         (run-program-prefix): Use $(test-wrapper).
29054         (built-program-cmd): Likewise.
29055         * Rules (make-test-out): Use $(test-wrapper-env) and
29056         $(host-built-program-cmd).
29057         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29058         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29059         tst-pathopt.sh.
29060         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29061         $(test-wrapper-env) to tst-rtld-load-self.sh.
29062         ($(objpfx)order2.out): Use $(test-wrapper).
29063         ($(objpfx)tst-initorder.out): Likewise.
29064         ($(objpfx)tst-initorder2.out): Likewise.
29065         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29066         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29067         (test_wrapper_env): New variable.  Use it to run ld.so.
29068         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29069         Use it to run ld.so.
29070         (test_wrapper_env): Likewise.
29071         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29072         $(test-wrapper) to run-iconv-test.sh.
29073         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29074         (ICONV): Use $test_wrapper.
29075         * posix/Makefile ($(objpfx)globtest.out): Pass
29076         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29077         globtest.sh, not $(run-program-prefix).
29078         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29079         (test_wrapper): Likewise.
29080         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29081         set together with run_via_rtld_prefix.
29082         (run_program_prefix): Define in terms of test_wrapper and
29083         run_via_rtld_prefix.
29084
29085 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29086
29087         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29088         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29089         Targets removed.
29090
29091         [BZ #14743]
29092         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29093         Declare __clock_getres, __clock_gettime, __clock_settime,
29094         __clock_nanosleep, and __clock_getcpuclockid.
29095         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29096         Remove librt_hidden_def (clock_gettime).
29097         * sysdeps/unix/clock_gettime.c: Likewise.
29098         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29099         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29100         * rt/clock_getres.c: Define __clock_getres as an alias.
29101         * sysdeps/posix/clock_getres.c: Likewise.
29102         * rt/clock_settime.c: Define __clock_settime as an alias.
29103         * sysdeps/unix/clock_settime.c: Likewise.
29104         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29105         * sysdeps/unix/clock_nanosleep.c: Likewise.
29106         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29107         * rt/clock-compat.c: New file.
29108         * rt/Makefile (librt-routines): Add clock-compat and move
29109         $(clock-routines) to ...
29110         (routines): ... here, new variable.
29111         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29112         Don't add get_clockfreq here.
29113         * rt/Versions (libc: GLIBC_2.17): New version set.
29114         Add clock_* symbols here.
29115         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29116         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29117         (GLIBC_2.17): Add clock_* symbols.
29118         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29120         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29122         Likewise.
29123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29124         Likewise.
29125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29129         * NEWS: Mention the move.
29130
29131         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29132         Use __open, __read, __close rather than their public counterparts.
29133         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29134         (__get_clockfreq_via_cpuinfo): Likewise.
29135         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29136         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29137
29138         * config.h.in (HAVE_IFUNC): New #undef.
29139         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29140         was successful.
29141         * configure: Regenerated.
29142
29143 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29144
29145         * configure.in: Move READELF check to start of file.
29146         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29147         libc_cv_asm_gnu_indirect_function in the process.
29148         * configure: Regenerated.
29149
29150 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29151
29152         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29153         send the output to /dev/null.
29154         (libc_cv_cc_with_libunwind): Likewise.
29155         (libc_cv_as_noexecstack): Likewise.
29156         * configure: Regenerate.
29157
29158 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29159
29160         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29161
29162         * posix/globtest.sh (TMPDIR): Do not set.
29163         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29164         (testout): Likewise.
29165
29166 2012-10-24  Andreas Jaeger  <aj@suse.de>
29167
29168         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29169         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29170         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29171         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29172         posix_fadvise64, posix_fallocate64.
29173
29174         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29175         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29176         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29177         Likewise.
29178         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29179         Likewise.
29180         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29181
29182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29183         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29184         <bits/fcntl-linux.h>.
29185         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29186
29187         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29188         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29189         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29190         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29191         [__WORDSIZE != 64]: Likewise.
29192
29193 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29194
29195         * Makeconfig (run-built-tests): New variable.
29196         * Rules [$(cross-compiling) = yes]: Change condition to
29197         [$(run-built-tests) = no].
29198         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29199         to [$(run-built-tests) = yes].
29200         * elf/Makefile [$(cross-compiling) = no]: Likewise
29201         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29202         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29203         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29204         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29205         * io/Makefile [$(cross-compiling) = no]: Likewise.
29206         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29207         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29208         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29209         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29210         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29211         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29212         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29213         * string/Makefile [$(cross-compiling) = no]: Likewise.
29214
29215         * posix/Makefile ($(objpfx)globtest.out): Pass
29216         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29217         $(rtld-installed-name).
29218         * posix/globtest.sh (elf_objpfx): Remove variable.
29219         (rtld_installed_name): Likewise.
29220         (library_path): Likewise.
29221         (run_program_prefix): New variable.  Use for running globtest
29222         binary.
29223
29224 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29225             Joseph Myers  <joseph@codesourcery.com>
29226
29227         * Makeconfig (host-built-program-cmd): New variable.
29228         * elf/Makefile (tst-stackguard1-ARGS): Use
29229         $(host-built-program-cmd).
29230         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29231         (tst-spawn-ARGS): Likewise.
29232         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29233
29234 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29235             Jim Blandy  <jimb@codesourcery.com>
29236
29237         * Makeconfig (run-via-rtld-prefix): New variable.
29238         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29239         (built-program-cmd): Likewise.
29240
29241 2012-10-22  Andreas Jaeger  <aj@suse.de>
29242
29243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29244         __O_RSYNC if it exists, otherwise to O_SYNC.
29245
29246 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29247             Joseph Myers  <joseph@codesourcery.com>
29248
29249         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29250         /dev/null.
29251         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29252         from /dev/null
29253         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29254         /dev/null.
29255
29256 2012-10-22  Andreas Jaeger  <aj@suse.de>
29257
29258         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29259         Define always.
29260         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29261
29262         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29263         bits/fcntl-linux.h.
29264
29265         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29266         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29267
29268         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29269         to __O_LARGEFILE.
29270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29271         to __O_LARGEFILE.
29272
29273 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29274             Joseph Myers  <joseph@codesourcery.com>
29275
29276         * config.make.in (NM): New variable.
29277
29278 2012-10-21  Andreas Jaeger  <aj@suse.de>
29279
29280         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29281         definitions and declarations that are provided by
29282         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29283
29284 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29285
29286         [BZ #14683]
29287         * elf/Makefile (tests-static): Add tst-leaks1-static.
29288         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29289         ($(objpfx)tst-leaks1-static): New rule.
29290         ($(objpfx)tst-leaks1-static-mem): Likewise.
29291         (tst-leaks1-static-ENV): New macro.
29292         * elf/dl-open.c (dl_open_worker): Check the main application
29293         only if SHARED is defined.
29294         * elf/tst-leaks1-static.c: New file.
29295
29296 2012-10-20  Andreas Jaeger  <aj@suse.de>
29297
29298         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29299         generic values for Linux.
29300         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29301         and declarations that are provided by <bits/fcntl-linux.h> and
29302         include <bits/fcntl-linux.h>.
29303         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29304         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29305
29306 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29307
29308         * io/fcntl.h: Move include of <bits/types.h> to the top and
29309         include it unconditionally.
29310
29311 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29312
29313         * wcsmbs/Makefile (tests-ifunc): New variable.
29314         (tests): Add $(tests-ifunc).
29315         * wcsmbs/test-wcschr-ifunc.c: New file.
29316         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29317         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29318         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29319         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29320         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29321
29322         * string/Makefile (tests-ifunc): New variable.
29323         (tests): Add $(tests-ifunc).
29324         * string/test-memccpy.c (TEST_NAME): New macro.
29325         * string/test-memchr.c (TEST_NAME): Likewise.
29326         * string/test-memcmp.c (TEST_NAME): Likewise.
29327         * string/test-memcpy.c (TEST_NAME): Likewise.
29328         * string/test-memmem.c (TEST_NAME): Likewise.
29329         * string/test-memmove.c (TEST_NAME): Likewise.
29330         * string/test-memset.c (TEST_NAME): Likewise.
29331         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29332         * string/test-stpcpy.c (TEST_NAME): Likewise.
29333         * string/test-stpncpy.c (TEST_NAME): Likewise.
29334         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29335         * string/test-strcasestr.c (TEST_NAME): Likewise.
29336         * string/test-strcat.c (TEST_NAME): Likewise.
29337         * string/test-strchr.c (TEST_NAME): Likewise.
29338         * string/test-strcmp.c(TEST_NAME): Likewise.
29339         * string/test-strcpy.c (TEST_NAME): Likewise.
29340         * string/test-strcspn.c (TEST_NAME): Likewise.
29341         * string/test-strlen.c (TEST_NAME): Likewise.
29342         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29343         * string/test-strncmp.c (TEST_NAME): Likewise.
29344         * string/test-strncpy.c (TEST_NAME): Likewise.
29345         * string/test-strnlen.c (TEST_NAME): Likewise.
29346         * string/test-strpbrk.c (TEST_NAME): Likewise.
29347         * string/test-strrchr.c (TEST_NAME): Likewise.
29348         * string/test-strspn.c (TEST_NAME): Likewise.
29349         * string/test-strstr.c (TEST_NAME): Likewise.
29350         * string/test-bcopy-ifunc.c: New file.
29351         * string/test-bzero-ifunc.c: Likewise.
29352         * string/test-memccpy-ifunc.c: Likewise.
29353         * string/test-memchr-ifunc.c: Likewise.
29354         * string/test-memcmp-ifunc.c: Likewise.
29355         * string/test-memcpy-ifunc.c: Likewise.
29356         * string/test-memmem-ifunc.c: Likewise.
29357         * string/test-memmove-ifunc.c: Likewise.
29358         * string/test-mempcpy-ifunc.c: Likewise.
29359         * string/test-memset-ifunc.c: Likewise.
29360         * string/test-rawmemchr-ifunc.c: Likewise.
29361         * string/test-stpcpy-ifunc.c: Likewise.
29362         * string/test-stpncpy-ifunc.c: Likewise.
29363         * string/test-strcasecmp-ifunc.c: Likewise.
29364         * string/test-strcasestr-ifunc.c: Likewise.
29365         * string/test-strcat-ifunc.c: Likewise.
29366         * string/test-strchr-ifunc.c: Likewise.
29367         * string/test-strchrnul-ifunc.c: Likewise.
29368         * string/test-strcmp-ifunc.c: Likewise.
29369         * string/test-strcpy-ifunc.c: Likewise.
29370         * string/test-strcspn-ifunc.c: Likewise.
29371         * string/test-strlen-ifunc.c: Likewise.
29372         * string/test-strncasecmp-ifunc.c: Likewise.
29373         * string/test-strncat-ifunc.c: Likewise.
29374         * string/test-strncmp-ifunc.c: Likewise.
29375         * string/test-strncpy-ifunc.c: Likewise.
29376         * string/test-strnlen-ifunc.c: Likewise.
29377         * string/test-strpbrk-ifunc.c: Likewise.
29378         * string/test-strrchr-ifunc.c: Likewise.
29379         * string/test-strspn-ifunc.c: Likewise.
29380         * string/test-strstr-ifunc.c: Likewise.
29381
29382         * debug/Makefile (tests-ifunc): New variable.
29383         (tests): Add $(tests-ifunc).
29384         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29385         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29386         * debug/test-stpcpy_chk-ifunc.c: New file.
29387         * debug/test-strcpy_chk-ifunc.c: Likewise.
29388
29389 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29390
29391         [BZ #13601]
29392         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29393         header is not read in.
29394
29395 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29396
29397         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29398         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29399         directly.  Pass built executable to script as
29400         $(built-program-cmd).
29401         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29402         $testprogram without using LD_LIBRARY_PATH and $ldso.
29403
29404         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29405         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29406         $(rtld-installed-name).
29407         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29408         (rtld_installed_name): Likewise.
29409         (library_path): Likewise.
29410         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29411         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29412         $(run-program-prefix) to tst-tables.sh.
29413         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29414         it to run tst-table-from and tst-table-to.
29415         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29416         Pass it to tst-table.sh.
29417         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29418         $(run-program-prefix) to tst-gettext.sh.
29419         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29420         tst-translit.sh.
29421         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29422         tst-gettext2.sh.
29423         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29424         to run tst-gettext.
29425         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29426         to run tst-gettext2.
29427         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29428         to run tst-translit.
29429         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29430         $(run-program-prefix) to tst-mtrace.sh.
29431         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29432         to run tst-mtrace.
29433         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29434         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29435         $(rtld-installed-name).
29436         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29437         (rtld_installed_name): Likewise.
29438         (run_program_prefix): New variable.  Use it to run wordexp-test.
29439
29440         * Makeconfig (ARCH): Remove all definitions.
29441         (machine): Likewise.
29442         [ARCH]: Remove conditional code.
29443         [!objdir]: Give error.
29444         [!objdir] (objpfx): Remove.
29445         [!objdir] (common-objpfx): Likewise.
29446         [!objdir] (common-objdir): Likewise.
29447         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29448         AC_CONFIG_FILES call.
29449         * configure: Regenerated.
29450
29451         [BZ #13888]
29452         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29453         or TMPDIR.
29454         (testout): Likewise.
29455
29456         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29457         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29458         $(rtld-installed-name).
29459         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29460         (rtld_installed_name): Likwise.
29461         (runit): Remove function.
29462         (run_getconf): New variable,  Use it for running getconf binary.
29463
29464 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29465
29466         [BZ #14716]
29467         * string/test-memmem.c (check_result): New function.
29468         (do_one_test): Use it.
29469         (check1): New function.
29470         (test_main): Use it.
29471
29472 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29473
29474         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29475
29476 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29477
29478         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29479         (_G_LSEEK64): Likewise.
29480         (_G_MMAP64): Likewise.
29481         (_G_FSTAT64): Likewise.
29482         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29483         (_G_LSEEK64): Likewise.
29484         (_G_MMAP64): Likewise.
29485         (_G_FSTAT64): Likewise.
29486         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29487         unconditional.  Call __mmap64 directly.
29488         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29489         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29490         __lseek64 directly.
29491         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29492         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29493         __mmap64 directly.
29494         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29495         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29496         __lseek64 directly.
29497         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29498         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29499         __lseek64 directly.
29500         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29501         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29502         __lseek64 directly.
29503         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29504         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29505         __fxstat64 directly.
29506         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29507         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29508         unconditional.
29509         (freopen64) [!_G_OPEN64]: Remove conditional code.
29510         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29511         unconditional.
29512         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29513         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29514         unconditional.
29515         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29516         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29517         unconditional.
29518         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29519         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29520         unconditional.
29521         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29522         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29523         unconditional.
29524         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29525         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29526         unconditional.
29527         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29528         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29529         unconditional.
29530         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29531
29532 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29533
29534         [BZ #12140]
29535         * manual/memory.texi (Malloc Tunable Parameters): Add note
29536         about free list pointers overwriting some perturb bytes.
29537         Wording suggested by Roland McGrath.
29538
29539 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29540
29541         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29542         (lgamma_test): Likewise.
29543         (tgamma_test): Likewise.
29544
29545 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29546
29547         [BZ #14700]
29548         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29549         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29550
29551 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29552
29553         * NEWS: Mention BZ #14716.
29554         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29555         when removing AVAILABLE1_USES_J macro.
29556
29557 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29558
29559         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29560         (__bswap_64): __uint64_t for unsigned 64-bit int.
29561
29562 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29563
29564         * include/string.h (memmem): Declare libc hidden alias.
29565         * string/memmem.c (memmem): Define libc hidden alias.
29566         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29567         __read, __close instead of open, read, close.
29568
29569 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29570
29571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29572         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29573         global and hidden.
29574         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29575         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29576         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29577         Likewise.
29578         (__rawmemchr_sse2): Likewise.
29579         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29580         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29581         (__strchr_sse2): Likewise.
29582         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29583         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29584         (__strcasecmp_sse2): Likewise.
29585         (__strncasecmp_sse2): Likewise.
29586         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29587         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29588         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29589         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29590         (__strrchr_sse2): Likewise.
29591         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29592         ifunc-impl-list.c.
29593         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29594         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29595         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29596         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29597         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29598         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29599         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29600         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29601         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29602         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29603         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29604         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29605         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29606         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29607         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29608         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29609         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29610         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29611         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29612         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29613         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29614         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29615         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29616         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29617         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29618         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29619         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29620         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29621         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29622         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29623
29624         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29625         global and hidden.
29626         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29627         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29628         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29629         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29630         Likewise.
29631         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29632         Likewise.
29633         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29634         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29635         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29636         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29637         ifunc-impl-list.c.
29638         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29639         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29640         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29641         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29642         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29643         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29644         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29645         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29646         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29647         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29648         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29649         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29650         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29651         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29652         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29653         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29654         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29655         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29656         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29657         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29658         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29659         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29660         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29661         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29662         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29663         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29664         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29665         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29666         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29667         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29668         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29669         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29670         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29671         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29672         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29673         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29674         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29675         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29676         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29677         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29678         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29679
29680         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29681         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29682         * include/ifunc-impl-list.h: New file.
29683         * misc/ifunc-impl-list.c: Likewise.
29684         * misc/Makefile (routines): Add ifunc-impl-list.
29685         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29686         * string/test-string.h: Include <ifunc-impl-list.h>.
29687         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29688         TEST_NAME]: New variables.
29689         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29690         are defined.
29691         (test_init): Call __libc_ifunc_impl_list to initialize
29692         func_list if TEST_IFUNC and TEST_NAME are defined.
29693
29694         * string/Makefile (strop-tests): Add bcopy and bzero.
29695         * string/test-bcopy.c: New file.
29696         * string/test-bzero.c: Likewise.
29697         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29698         defined.
29699         * string/test-memset.c: Support bzero test if TEST_BZERO is
29700         defined.
29701         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29702         __libc_memmove.
29703         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29704         __libc_memset.
29705         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29706         of memset.
29707
29708 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29709
29710         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29711         * configure: Regenerated.
29712
29713         * Makeconfig (+link-static-before-libc): Don't include
29714         $(link-static-libc).
29715
29716         * libio/libio.h (_IO_pos_t): Remove.
29717
29718 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29719
29720         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29721         McGrath.
29722
29723 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29724
29725         * crypt/crypt-entry.c: Include fips-private.h.
29726         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29727         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29728         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29729         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29730
29731 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29732
29733         * crypt/crypt-private.h: Include stdbool.h.
29734         (_ufc_setup_salt_r): Return bool.
29735         * crypt/crypt-entry.c: Include errno.h.
29736         (__crypt_r): Return NULL with EINVAL for bad salt.
29737         * crypt/crypt_util.c (bad_for_salt): New.
29738         (_ufc_setup_salt_r): Check that salt is long enough and within
29739         the specified alphabet.
29740         * crypt/badsalttest.c: New file.
29741         * crypt/Makefile (tests): Add it.
29742         ($(objpfx)badsalttest): New.
29743
29744 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29745
29746         * NEWS: Add entry for BZ #14602.
29747
29748 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29749
29750         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29751         type-generic.
29752         * math/libm-test.inc: Update comment listing what functions and
29753         macros are tested.
29754         (isgreater_test): New function.
29755         (isgreaterequal_test): Likewise.
29756         (isless_test): Likewise.
29757         (islessequal_test): Likewise.
29758         (islessgreater_test): Likewise.
29759         (isunordered_test): Likewise.
29760         (main): Call the new functions.
29761
29762 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29763
29764         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29765         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29766         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29767         * sysdeps/i386/configure: Regenerated.
29768         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29769         * sysdeps/mach/configure: Regenerated.
29770         * sysdeps/mach/hurd/configure: Regenerated.
29771         * sysdeps/powerpc/configure: Regenerated.
29772         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29773         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29774         * sysdeps/s390/s390-32/configure: Regenerated.
29775         * sysdeps/s390/s390-64/configure: Regenerated.
29776         * sysdeps/sh/configure: Regenerated.
29777         * sysdeps/sparc/configure: Regenerated.
29778         * sysdeps/unix/sysv/linux/configure: Regenerated.
29779         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29780         * sysdeps/x86_64/configure: Regenerated.
29781
29782         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29783         defined.  Don't check if MAP is NULL.
29784
29785 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29786
29787         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29788         (_G_stat64): Likewise.
29789         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29790         (_G_stat64): Likewise.
29791         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29792         instead of struct _G_stat64.
29793         * libio/fileops.c (mmap_remap_check): Likewise.
29794         (decide_maybe_mmap): Likewise.
29795         (_IO_new_file_seekoff): Likewise.
29796         (_IO_file_stat): Likewise.
29797         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29798         _G_off64_t.
29799         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29800         instead of struct _G_stat64.
29801         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29802
29803 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29804
29805         [BZ #14602]
29806         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29807         Replace with ...
29808         (CHECK_EOL): New macro.
29809         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29810         CHECK_EOL.
29811         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29812         Replace with CHECK_EOL.
29813         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29814         Replace with CHECK_EOL.
29815
29816 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29817
29818         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29819         type-generic.
29820         * math/libm-test.inc: Update comment listing what functions and
29821         macros are tested.
29822         (finite_test): New function.
29823         (isinf_test): Likewise.
29824         (isnan_test): Likewise.
29825         (fpclassify_test): Test subnormal input.
29826         (isfinite_test): Likewise.
29827         (isnormal_test): Likewise.
29828         (main): Call the new functions.
29829
29830 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29831
29832         [BZ #14660]
29833         * Makerules (%.dynsym): Force C locale when running
29834         $(OBJDUMP) --dynamic-syms.
29835
29836 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29837
29838         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29839         <stdint.h>.
29840
29841 2012-10-06  David S. Miller  <davem@davemloft.net>
29842
29843         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29844         upper 32-bits of the length value in %o2 since we use branch-on-register
29845         tests which consider the entire 64-bit register.
29846
29847 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29848
29849         * string/test-strstr.c (check2): Add a test for page boundary.
29850
29851 2012-10-05  David S. Miller  <davem@davemloft.net>
29852
29853         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29854         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29855         file.
29856         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29857         sysdep_routines.
29858         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29859         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29860         and bzero when HWCAP_SPARC_CRYPTO is present.
29861
29862 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29863
29864         [BZ #14602]
29865         * string/test-strstr.c (check2): New function.
29866         (test_main): Call check2.
29867
29868         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29869         and bug-strchr1.
29870         * string/bug-strcasestr1.c (do_test): Moved to ...
29871         * string/test-strcasestr.c (check1): Here.  New function.
29872         (do_one_test): Break out result checking code into ...
29873         (check_result): This.  New function.
29874         (do_one_test): Call check_result.
29875         (test_main): Call check1.
29876         * string/bug-strchr1.c (do_test): Moved to ...
29877         * string/test-strchr.c (check1): Here.  New function.
29878         (do_one_test): Break out result checking code into ...
29879         (check_result): This.  New function.
29880         (do_one_test): Call check_result.
29881         (test_main): Call check1.
29882         * string/bug-strstr1.c (main): Moved to ...
29883         * string/test-strstr.c (check1): Here.  New function.
29884         (do_one_test): Break out result checking code into ...
29885         (check_result): This.  New function.
29886         (do_one_test): Call check_result.
29887         (test_main): Call check1.
29888         * string/bug-strcasestr1.c: Removed.
29889         * string/bug-strchr1.c: Likewise.
29890         * string/bug-strstr1.c: Likewise.
29891
29892         * elf/Makefile (dl-routines): Add hwcaps.
29893         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29894         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29895         (_dl_important_hwcaps): Moved to ...
29896         * elf/dl-hwcaps.c: Here.  New file.
29897         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29898
29899         [BZ #14557]
29900         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29901         if IS_IN_rtld isn't defined.
29902
29903         * elf/dl-support.c (_dl_sysinfo_map): New.
29904         Include "get-dynamic-info.h" and "setup-vdso.h".
29905         (_dl_non_dynamic_init): Call setup_vdso.
29906         * elf/dynamic-link.h: Don't include <assert.h>.
29907         (elf_get_dynamic_info): Moved to ...
29908         * elf/get-dynamic-info.h: Here.  New file.
29909         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29910         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29911         * elf/setup-vdso.h: Here.  New file.
29912         * elf/rtld.c: Include "setup-vdso.h".
29913         (dl_main): Call setup_vdso.
29914
29915 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29916
29917         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29918         creal in comment listing functions tested.  List finite, isinf,
29919         isnan, isless, islessequal, isgreater, isgreaterequal,
29920         islessgreater, isunordered, lgamma_r and pow10 as functions and
29921         macros not tested.  Mention which functions not tested are aliases
29922         for other functions.  Fix typo.  Note that signs of NaNs are not
29923         tested.
29924
29925         * scripts/config.guess: Update from config.git.
29926         * scripts/config.sub: Likewise.
29927
29928 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29929
29930         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29931         * misc/madvise.c (madvise): Renamed to __madvise.
29932         Make madvise a weak alias.
29933         * include/sys/mman.h: Declare __madvise.
29934         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29935         * sysdeps/unix/syscalls.list
29936         (madvise): Make __madvise the strong name, and madvise a weak alias.
29937         * sysdeps/unix/sysv/linux/syscalls.list
29938         (madvise, mmap): Remove redundant entries.
29939         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29940         * malloc/malloc.c (mtrim): Likewise.
29941         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29942
29943 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29944
29945         * sysdeps/mach/hurd/dl-cache.c: File removed.
29946         * config.h.in (USE_LDCONFIG): New #undef.
29947         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29948         * configure: Regenerated.
29949         * elf/Makefile (dl-routines): Add dl-cache only under
29950         [$(use-ldconfig) = yes].
29951         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29952         cache on [USE_LDCONFIG].
29953         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29954         [USE_LDCONFIG].
29955         * elf/rtld.c (dl_main): Likewise.
29956
29957 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29958
29959         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29960         _SC_LEVEL4_CACHE_LINESIZE.
29961
29962 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29963
29964         * sysdeps/unix/bsd/confstr.h: File removed.
29965
29966 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29967
29968         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29969         sys/sdt-config.h.
29970
29971 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29972
29973         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29974         Make 'mapoff' field ElfW(Off) rather than off_t.
29975
29976 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29977
29978         * nscd/Makefile: Remove nscd-cflags and all its users.
29979         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29980         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29981
29982         [BZ #10631]
29983         * malloc.c (malloc_printerr): Clarify error message.
29984
29985 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29986
29987         [BZ #14648]
29988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29989         Set bit_FMA_Usable if FMA is supported.
29990         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29991         macro.
29992         (bit_FMA4_Usable): Updated.
29993         (index_FMA_Usable): New macro.
29994         (CPUID_FMA): Likewise
29995         (HAS_FMA): Defined with bit_FMA_Usable.
29996
29997 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29998
29999         * bits/types.h (__swblk_t): Type removed.
30000         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30001         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30003         (__SWBLK_T_TYPE): Likewise.
30004         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30005         (__SWBLK_T_TYPE): Likewise.
30006         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30007         (__SWBLK_T_TYPE): Likewise.
30008         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30009         (__SWBLK_T_TYPE): Likewise.
30010
30011 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30012             Honza Horak <hhorak@redhat.com>
30013
30014         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30015         (xdr_mapname): Use YPMAXMAP as maxsize.
30016         (xdr_peername): Use YPMAXPEER as maxsize.
30017         (xdr_keydat): Use YPAXRECORD as maxsize.
30018         (xdr_valdat): Use YPMAXRECORD as maxsize.
30019
30020 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30021
30022         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30023
30024         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30025         * csu/init-first.c: ... here.
30026         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30027         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30028         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30029         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30030         * sysdeps/i386/init-first.c: File removed.
30031         * sysdeps/sh/init-first.c: File removed.
30032
30033 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30034
30035         [BZ #14645]
30036         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30037         if x * y might underflow to zero and z is zero.
30038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30039         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30040         * math/libm-test.inc (min_subnorm_value): New variable.
30041         (fma_test): Add more tests.
30042         (fma_test_towardzero): Likewise.
30043         (fma_test_downward): Likewise
30044         (fma_test_upward): Likewise.
30045         (initialize): Set min_subnorm_value.
30046
30047 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30048
30049         [BZ #14638]
30050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30051         0 + 0.
30052         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30053         mode for addition resulting in exact zero.
30054         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30055         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30056         exact 0 + 0.
30057         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30058         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30059         * math/libm-test.inc (fma_test): Add more tests.
30060         (fma_test_towardzero): New function.
30061         (fma_test_downward): Likewise.
30062         (fma_test_upward): Likewise.
30063         (main): Call the new functions.
30064
30065 2012-09-28  David S. Miller  <davem@davemloft.net>
30066
30067         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30068
30069 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30070
30071         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30072         instead of SIGALRM.
30073
30074         * sysdeps/gnu/_G_config.h: Moved to ...
30075         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30076         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30077         * sysdeps/generic/_G_config.h: ... here.
30078
30079         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30080
30081         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30082
30083         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30084         Conditionalize target on [libnss_test1.so-version].
30085
30086         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30087
30088         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30089         (elfobjdir): Move out of conditionals.
30090
30091         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30092         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30093         (__nss_lookup_function): Conditionalize label remove_from_tree on
30094         [!DO_STATIC_NSS || SHARED], matching its only use.
30095
30096 2012-09-28  David S. Miller  <davem@davemloft.net>
30097
30098         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30099         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30100         file.
30101         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30102         sysdep_routines.
30103         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30104         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30105         when HWCAP_SPARC_CRYPTO is present.
30106
30107 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30108
30109         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30110
30111 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30112
30113         [BZ #6530]
30114         * stdio-common/vfprintf.c (process_string_arg): Revert
30115         2000-07-22 change.
30116
30117 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30118
30119         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30120         for testcase.
30121         * stdio-common/tst-sprintf.c: Include <locale.h>
30122         (main): Test sprintf's handling of incomplete multibyte
30123         characters.
30124
30125 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30126
30127         * elf/dl-runtime.c (VERSYMIDX): Removed.
30128         * elf/dl-version.c (VERSYMIDX): Likewise.
30129         * elf/do-rel.h (VERSYMIDX): Likewise.
30130         (VALIDX): Likewise.
30131         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30132         * elf/rtld.c (VALIDX): Likewise.
30133         (ADDRIDX): Likewise.
30134         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30135         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30136         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30137         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30138         (VALIDX): Likewise.
30139         (ADDRIDX): Likewise.
30140
30141 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30142
30143         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30144
30145 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30146
30147         [BZ #11438]
30148         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30149         to global scope.
30150         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30151         addresses are in the same scope as 192.0.2/24.
30152         * posix/gai.conf: Document new scope table defaults.
30153
30154 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30155
30156         [BZ #5298]
30157         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30158         for ftell.  Compute offsets from write pointers instead.
30159         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30160
30161 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30162
30163         [BZ #14543]
30164         * libio/Makefile (tests): New test case tst-fseek.
30165         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30166         combination works in wide mode.
30167         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30168         state when the external buffer state changes.
30169
30170 2012-09-27  David S. Miller  <davem@davemloft.net>
30171
30172         [BZ #14376]
30173         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30174         pass reloc->r_addend in as the 'high' argument to
30175         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30176
30177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30178
30179 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30180
30181         * rt/tst-aio2.c: Include <pthread.h>.
30182         * rt/tst-aio3.c: Likewise.
30183
30184 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30185
30186         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30187
30188 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30189
30190         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30191         contents on [SHARED].
30192
30193 2012-09-26  Marek Polacek  <polacek@redhat.com>
30194
30195         [BZ #14530]
30196         [BZ #13741]
30197         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30198         for C++ and GCC <4.3 as well as for non GCC compilers.
30199
30200 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30201
30202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30203
30204 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30205
30206         * Makefile.in (all, install): Declare with .PHONY.
30207         Reported by Michael Hope <michael.hope@linaro.org>.
30208
30209 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30210
30211         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30212         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30213         system header.
30214         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30215         Likewise.
30216         (sydep_routines): Add the new and the internal functions.
30217         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30218         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30220         (GLIBC_2.17): Add the new function.
30221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30222         (GLIBC_2.17): Likewise.
30223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30224         (GLIBC_2.17): Likewise.
30225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30226         (GLIBC_2.17): Likewise.
30227         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30228
30229 2012-09-25  Alan Modra  <amodra@gmail.com>
30230
30231         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30232         Add release barrier before setting once_control to say
30233         initialisation is done.  Add hints on lwarx.  Use macro in
30234         place of isync.
30235         (clear_once_control): Add release barrier.
30236
30237 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30238
30239         [BZ #13629]
30240         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30241         specially.
30242         * math/s_clog10.c (__clog10): Likewise.
30243         * math/s_clog10f.c (__clog10f): Likewise.
30244         * math/s_clog10l.c (__clog10l): Likewise.
30245         * math/s_clogf.c (__clogf): Likewise.
30246         * math/s_clogl.c (__clogl): Likewise.
30247         * math/Makefile (libm-calls): Add x2y2m1.
30248         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30249         (__x2y2m1): Likewise.
30250         (__x2y2m1l): Likewise.
30251         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30252         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30253         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30254         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30255         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30256         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30257         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30258         * sysdeps/i386/fpu/libm-test-ulps: Update.
30259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30260
30261         [BZ #14621]
30262         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30263         int as type of variable DEPTH.
30264         (glob): Use size_t instead of int as type of variables NEWCOUNT
30265         and OLD_PATHC.
30266
30267 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30268
30269         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30270         Add s_sincosf-sse2.
30271         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30272         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30273         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30274         macros for using routine as __sincosf_ia32.
30275         Use macro for function declaration and weak_alias.
30276         * sysdeps/i386/fpu/libm-test-ulps: Update.
30277
30278         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30280
30281         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30282         subnormal argument.
30283         * math/s_cexpf.c (__cexpf): Likewise.
30284         * math/s_csinf.c (__csinf): Likewise.
30285         * math/s_csinhf.c (__csinhf): Likewise.
30286         * math/s_ctanf.c (__ctanf): Likewise.
30287         * math/s_ctanhf.c (__ctanhf): Likewise.
30288         * math/s_ccosh.c (__ccoshf): Likewise.
30289         * math/s_cexp.c (__cexpl): Likewise.
30290         * math/s_csin.c (__csin): Likewise.
30291         * math/s_csinh.c (__csinh): Likewise.
30292         * math/s_ctan.c (__ctan): Likewise.
30293         * math/s_ctanh.c (ctanh): Likewise.
30294         * math/s_ccoshl.c (__ccoshl): Likewise.
30295         * math/s_cexpl.c (__cexpl): Likewise.
30296         * math/s_csinl.c (__csinl): Likewise.
30297         * math/s_csinhl.c (__csinhl): Likewise.
30298         * math/s_ctanl.c (__ctanl): Likewise.
30299         * math/s_ctanhl.c (__ctanhl): Likewise.
30300
30301 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30302
30303         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30304         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30305         (_IO_off_t): Define to __off_t, not _G_off_t.
30306         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30307         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30308         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30309         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30310         type of __dummy and __dummy2 fields.
30311         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30312         (_G_ssize_t): Likewise.
30313         (_G_off_t): Likewise.
30314         (_G_pid_t): Likewise.
30315         (_G_uid_t): Likewise.
30316         (_G_wchar_t): Likewise.
30317         (_G_wint_t): Likewise.
30318         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30319         (_G_ssize_t): Likewise.
30320         (_G_off_t): Likewise.
30321         (_G_pid_t): Likewise.
30322         (_G_uid_t): Likewise.
30323         (_G_wchar_t): Likewise.
30324         (_G_wint_t): Likewise.
30325         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30326         (_G_ssize_t): Likewise.
30327         (_G_off_t): Likewise.
30328         (_G_pid_t): Likewise.
30329         (_G_uid_t): Likewise.
30330         (_G_wchar_t): Likewise.
30331         (_G_wint_t): Likewise.
30332
30333 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30334
30335         * malloc/arena.c: Include malloc-sysdep.h.
30336         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30337         is sufficient to shrink the heap or an unmap is needed.
30338         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30339         new function check_may_shrink_heap.
30340         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30341         new function check_may_shrink_heap.
30342
30343 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30344
30345         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30346         comments.
30347
30348 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30349
30350         * catgets/test-gencat.sh: Add "set -e".
30351         * elf/tst-pathopt.sh: Likewise.
30352         * grp/tst_fgetgrent.sh: Likewise.
30353         * iconvdata/run-iconv-test.sh: Likewise.
30354         * intl/tst-gettext.sh: Likewise.
30355         * intl/tst-gettext2.sh: Likewise.
30356         * intl/tst-gettext4.sh: Likewise.
30357         * intl/tst-gettext6.sh: Likewise.
30358         * intl/tst-translit.sh: Likewise.
30359         * io/ftwtest-sh: Likewise.
30360         * libio/test-freopen.sh: Likewise.
30361         * malloc/tst-mtrace.sh: Likewise.
30362         * posix/globtest.sh: Likewise.
30363         * posix/tst-getconf.sh: Likewise.
30364         * posix/wordexp-tst.sh: Likewise.
30365         * stdio-common/tst-printf.sh: Likewise.
30366         * stdio-common/tst-unbputc.sh: Likewise.
30367         * stdlib/tst-fmtmsg.sh: Likewise.
30368         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30369         * catgets/Makefile: Do not specify -e option when running
30370         testsuite shell scripts.
30371         * elf/Makefile: Likewise.
30372         * grp/Makefile: Likewise.
30373         * iconvdata/Makefile: Likewise.
30374         * intl/Makefile: Likewise.
30375         * io/Makefile: Likewise.
30376         * libio/Makefile: Likewise.
30377         * malloc/Makefile: Likewise.
30378         * posix/Makefile: Likewise.
30379         * stdio-common/Makefile: Likewise.
30380         * stdlib/Makefile: Likewise.
30381         * sysdeps/x86_64/Makefile: Likewise.
30382
30383         * io/ftwtest-sh: Add copyright header.
30384         * posix/globtest.sh: Likewise.
30385         * posix/tst-getconf.sh: Likewise.
30386         * posix/wordexp-tst.sh: Likewise.
30387         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30388
30389 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30390
30391         [BZ #13679]
30392         * Makeconfig (+link): Defined as $(+link-static) if
30393         $(build-shared) isn't yes.
30394         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30395         isn't yes.
30396         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30397
30398         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30399
30400         [BZ #14562]
30401         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30402         new chunk size with MALLOC_ALIGN_MASK.
30403
30404 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30405
30406         [BZ #5044]
30407         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30408         <rounding-mode.h>.
30409         (__printf_fphex): Determine rounding using get_rounding_mode and
30410         round_away.
30411         * stdio-common/tst-printf-round.c (struct hex_test): New
30412         structure.
30413         (hex_tests): New variable.
30414         (test_hex_in_one_mode): New function.
30415         (do_test): Also run tests for hex float output.
30416
30417 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30418
30419         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30420         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30421         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30422         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30423         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30424         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30425         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30426         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30427
30428 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30429
30430         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30431         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30432         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30433         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30434
30435 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30436
30437         [BZ #14579]
30438         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30439         mode only.
30440         * elf/tst-rtld-load-self.sh: New test.
30441         * elf/Makefile: Run it.
30442
30443 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30444
30445         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30446         (tst-writev-ENV): Remove.
30447         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30448
30449 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30450
30451         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30452
30453 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30454
30455         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30456         unconditional.
30457         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30458         Likewise.
30459         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30460         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30461         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30462         Likewise.
30463
30464 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30465
30466         [BZ #14587]
30467         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30468         * config.make.in (have-cpp-asm-debuginfo): Removed.
30469         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30470         * configure: Regenerated.
30471
30472 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30473
30474         [BZ #5044]
30475         * stdio-common/printf_fp.c: Include <stdbool.h> and
30476         <rounding-mode.h>.
30477         (___printf_fp): Determine rounding using get_rounding_mode and
30478         round_away.
30479         * stdio-common/tst-printf-round.c: New file.
30480         * stdio-common/Makefile (tests): Add tst-printf-round.
30481         (link-libm): New variable.
30482         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30483
30484 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30485
30486         [BZ #14576]
30487         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30488         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30489         Likewise.
30490         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30491         Likewise.
30492
30493 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30494
30495         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30496         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30497         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30498         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30499
30500 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30501
30502         [BZ #14518]
30503         * include/rounding-mode.h: New file.
30504         * sysdeps/generic/get-rounding-mode.h: Likewise.
30505         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30506         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30507         (MAX_VALUE): New macro.
30508         (MIN_VALUE): Likewise.
30509         (overflow_value): New function.
30510         (underflow_value): Likewise.
30511         (round_and_return): Use overflow_value and underflow_value to
30512         determine return values in overflow and underflow cases.  Use
30513         round_away to determine rounding depending on rounding mode.
30514         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30515         determine return values in overflow and underflow cases.
30516         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30517         (struct test_results): New structure.
30518         (struct test): Use struct test_results to store expected results
30519         for all rounding modes.
30520         (TEST): Include expected results for all rounding modes.
30521         (test_in_one_mode): New function.
30522         (do_test): Use test_in_one_mode to compute and check results.
30523         Check results for all rounding modes.
30524         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30525         $(link-libm).
30526
30527 2012-12-09  Allan McRae  <allan@archlinux.org>
30528
30529         * sysdeps/i386/fpu/libm-test-ulps: Update
30530
30531 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30532
30533         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30534         (_G_int32_t): Likewise.
30535         (_G_uint16_t): Likewise.
30536         (_G_uint32_t): Likewise.
30537         (_G_HAVE_BOOL): Likewise.
30538         (_G_HAVE_ATEXIT): Likewise.
30539         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30540         (_G_HAVE_IO_FILE_OPEN): Likewise.
30541         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30542         (_G_int32_t): Likewise.
30543         (_G_uint16_t): Likewise.
30544         (_G_uint32_t): Likewise.
30545         (_G_HAVE_BOOL): Likewise.
30546         (_G_HAVE_ATEXIT): Likewise.
30547         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30548         (_G_HAVE_IO_FILE_OPEN): Likewise.
30549         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30550         (_G_int32_t): Likewise.
30551         (_G_uint16_t): Likewise.
30552         (_G_uint32_t): Likewise.
30553         (_G_HAVE_BOOL): Likewise.
30554         (_G_HAVE_ATEXIT): Likewise.
30555         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30556         (_G_HAVE_IO_FILE_OPEN): Likewise.
30557
30558 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30559
30560         * csu/libc-tls.c: Update copyright years.
30561
30562 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30563
30564         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30565         [!_G_USING_THUNKS]: Remove conditional code.
30566         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30567         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30568
30569         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30570         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30571         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30572         (_G_VTABLE_LABEL_PREFIX): Likewise.
30573         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30574         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30575         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30576         (_G_VTABLE_LABEL_PREFIX): Likewise.
30577         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30578         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30579         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30580         (_G_VTABLE_LABEL_PREFIX): Likewise.
30581         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30582
30583 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30584
30585         * libio/Makefile: Include ../Makeconfig before tests.
30586         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30587         only if $(build-shared) is yes.
30588
30589         * iconv/gconv_db.c: Update copyright years.
30590
30591 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30592
30593         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30594         unwind info if defined PIC. Fix special cases description.
30595         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30596
30597         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30598         DP_HI_MASK entry.
30599         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30600
30601 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30602
30603         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30604
30605         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30606         is NULL.
30607
30608         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30609         (LDLIBS-tst-chk4): This.
30610         (LDFLAGS-tst-chk5): Renamed to ...
30611         (LDLIBS-tst-chk5): This.
30612         (LDFLAGS-tst-chk6): Renamed to ...
30613         (LDLIBS-tst-chk6): This.
30614         (LDFLAGS-tst-lfschk4): Renamed to ...
30615         (LDLIBS-tst-lfschk4): This.
30616         (LDFLAGS-tst-lfschk5): Renamed to ...
30617         (LDLIBS-tst-lfschk5): This.
30618         (LDFLAGS-tst-lfschk6): Renamed to ...
30619         (LDLIBS-tst-lfschk6): This.
30620
30621         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30622         on $(common-objpfx)soversions.mk.
30623
30624 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30625
30626         [BZ #10014]
30627         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30628         example host name.
30629
30630 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30631
30632         * malloc/arena.c (arena_get_retry): New function that gets
30633         another arena for the caller to try its request on.
30634         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30635         current arena cannot fulfill the request.
30636         (__libc_memalign): Likewise.
30637         (__libc_memalign): Likewise.
30638         (__libc_pvalloc): Likewise.
30639         (__libc_calloc): Likewise.
30640
30641 2012-09-05  John Tobey  <john.tobey@gmail.com>
30642
30643         [BZ #13542]
30644         * manual/arith.texi (Operations on Complex): Fix description
30645         of carg branch cut.
30646
30647 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30648
30649         [BZ #10014]
30650         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30651         host name.
30652
30653         [BZ #10038]
30654         * manual/memory.texi (Memory): Make order of menu items match
30655         order of sections.
30656
30657 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30658
30659         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30660         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30661         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30662
30663 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30664
30665         * csu/libc-tls.c (static_dtv): Renamed to ...
30666         (_dl_static_dtv): This.  Make it global.
30667         (_dl_initial_dtv): Removed.
30668         (__libc_setup_tls): Updated.
30669         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30670         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30671         DL_INITIAL_DTV.
30672
30673 2012-09-06  Petr Machata  <pmachata@redhat.com>
30674
30675         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30676         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30677         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30678         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30679
30680 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30681
30682         [BZ #14545]
30683         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30684         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30685         freeing dtv[-1].
30686
30687 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30688
30689         [BZ #14544]
30690         * Makeconfig (link-static-before-libc): Replace $(+prector)
30691         with $(+prectorT).
30692         (link-static-after-libc): Replace $(+postctor) with
30693         $(+postctorT).
30694         (link-bounded): Replace $(+prector)/$(+postctor) with
30695         $(+prectorT)/$(+postctorT).
30696         (+prectorT): New macro.
30697         (+postctorT): Likewise.
30698
30699 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30700
30701         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30702         (round_str): Handle values above the maximum for IBM long double
30703         as inexact.
30704         * stdlib/tst-strtod-round.c (tests): Regenerated.
30705
30706 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30707
30708         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30709         assembler flag.
30710         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30711         zarch_nohighgprs around the zarch optimized routines.
30712         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30713         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30714         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30715         for zarch.
30716
30717 2012-09-05  David S. Miller  <davem@davemloft.net>
30718
30719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30720
30721         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30722         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30723         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30724         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30725         entries.
30726
30727 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30728
30729         * malloc/arena.c: Fold copyright years.
30730         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30731
30732 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30733
30734         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30735
30736 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30737
30738         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30739
30740 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30741
30742         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30743         change internal state upon failure.
30744
30745 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30746
30747         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30748         * malloc/memusage.c (mmap): Likewise.
30749         (mmap64, mremap): Likewise.  Adjust name in comment.
30750
30751 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30752
30753         * libio/fileops.c: Fix typos in comments.
30754         * libio/oldfileops.c: Likewise.
30755         * libio/wfileops.c: Likewise.
30756
30757 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30758
30759         [BZ #1349]
30760         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30761         (tst-malloc-usable-ENV): Set environment for test case.
30762         * malloc/hooks.c (malloc_check_get_size): New function to get
30763         requested size.
30764         * malloc/malloc.c (musable): Use malloc_check_get_size.
30765         * malloc/tst-malloc-usable.c: New test case.
30766
30767 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30768
30769         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30770
30771 2012-09-05  Allan McRae  <allan@archlinux.org>
30772
30773         [BZ #13966]
30774         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30775         determine header location.
30776         * configure: Regenerated.
30777
30778 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30779
30780         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30781         float format.
30782         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30783         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30784         format.
30785         (test): Regenerate.
30786
30787 2012-09-04  David S. Miller  <davem@davemloft.net>
30788
30789         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30790         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30791         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30792
30793 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30794
30795         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30796         failures.
30797
30798         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30799
30800 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30801
30802         [BZ #9914]
30803         * libio/iogetdelim.c: Include <limits.h>.
30804         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30805         + len + 1 would overflow.
30806
30807 2012-09-03  Andreas Jaeger  <aj@suse.de>
30808
30809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30810         * sysdeps/i386/fpu/libm-test-ulps: Update.
30811
30812 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30813
30814         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30815         Add s_sinf-sse2, s_conf-sse2.
30816
30817         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30818         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30819         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30820         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30821
30822         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30823         for using routine as __sinf_ia32.
30824         Use macro for function declaration and weak_alias.
30825         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30826         for using routine as __cosf_ia32.
30827         Use macro for function declaration and weak_alias.
30828
30829         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30830         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30831
30832         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30833         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30835
30836         * math/libm-test.inc (cos_test): Add more test cases.
30837         (sin_test): Likewise.
30838         (sincos_test): Likewise.
30839
30840 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30841
30842         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30843         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30844         hidden.
30845         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30846
30847 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30848
30849         [BZ #14538]
30850         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30851         first element of the GOT.
30852         (elf_machine_load_address): Return the difference between
30853         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30854
30855 2012-09-01  Allan McRae  <allan@archlinux.org>
30856
30857         [BZ #13412]
30858         * configure.in (AWK): Require gawk version 3.0 or later.
30859         * configure: Regenerated.
30860
30861 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30862
30863         * sysdeps/unix/sysv/linux/kernel-features.h
30864         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30865         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30866         [__NR_clock_getres]: Make code unconditional.
30867         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30868         (clock_getcpuclockid): Remove code left unreachable by removal of
30869         conditionals.
30870         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30871         code unconditional.
30872         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30873         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30874         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30875         Make code unconditional.
30876         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30877         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30878         * sysdeps/unix/sysv/linux/clock_settime.c
30879         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30880         conditional code.
30881         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30882         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30883
30884 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30885
30886         [BZ #14476]
30887         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30888         scripts/test-installation.pl.
30889
30890         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30891         and $ld_so_version if it is set.
30892
30893 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30894
30895         [BZ #14516]
30896         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30897         failure if reading from procfs failed.
30898         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30899
30900 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30901
30902         * sysdeps/unix/sysv/linux/kernel-features.h
30903         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30904         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30905         Remove conditional code.
30906         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30907         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30908         Remove conditional code.
30909         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30910         * sysdeps/unix/sysv/linux/i386/fxstat.c
30911         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30912         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30913         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30914         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30915         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30916         * sysdeps/unix/sysv/linux/i386/lxstat.c
30917         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30918         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30919         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30920         Remove conditional code.
30921         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30922         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30923         Remove conditional code.
30924         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30925         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30926         <kernel-features.h>.
30927         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30928         Remove.
30929         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30930         Remove conditional code.
30931         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30932         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30933         Remove conditional.
30934
30935 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30936
30937         [BZ #5400]
30938         * NEWS: Add fixed bug number.
30939
30940 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30941
30942         [BZ #14519]
30943         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30944         underflowing exponent in case of negative sign.
30945         * stdlib/tst-strtod-round-data: Add more tests.
30946         * stdlib/tst-strtod-round.c (tests): Regenerated.
30947
30948         [BZ #3479]
30949         * stdlib/strtod_l.c (NDIG): Remove.
30950         (HEXNDIG): Likewise.
30951         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30952         smallest representable value.
30953         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30954         lie within an exact representation of 1/2 ulp of the result.
30955         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30956         unconditionally.
30957         (TENS_P9_IDX): Define unconditionally.
30958         (TENS_P9_SIZE): Likewise.
30959         (TENS_P10_IDX): Likewise.
30960         (TENS_P10_SIZE): Likewise.
30961         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30962         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30963         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30964         entries for 10^2^13 and 10^2^14.
30965         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30966         (TENS_P13_IDX): Define.
30967         (TENS_P13_SIZE): Likewise.
30968         (TENS_P14_IDX): Likewise.
30969         (TENS_P14_SIZE): Likewise.
30970         (_fpioconst_pow10): Change array size to
30971         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30972         unconditional.
30973         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30974         1024]: Add entries for 10^2^13 and 10^2^14.
30975         [LAST_POW10 > _LAST_POW10]: Remove #error.
30976         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30977         (_fpioconst_pow10): Change array size to
30978         FPIOCONST_POW10_ARRAY_SIZE.
30979         * stdlib/gen-fpioconst.c: New file.
30980         * stdlib/gen-tst-strtod-round.c: Likewise.
30981         * stdlib/tst-strtod-round-data: Likewise.
30982         * stdlib/tst-strtod-round.c: Likewise.
30983         * stdlib/Makefile (tests): Add tst-strtod-round.
30984
30985         [BZ #14459]
30986         * stdlib/strtod_l.c: Include <stdint.h>.
30987         (NDEBUG): Do not define.
30988         (round_and_return): Change EXPONENT parameter to type intmax_t.
30989         Rearrange calculations to avoid internal overflow possibilities.
30990         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30991         Rearrange calculations to avoid internal overflow possibilities.
30992         Assert that number fits inside MPNSIZE limbs.
30993         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30994         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30995         calculations and add assertions to avoid internal overflow
30996         possibilities.  Add casts to avoid signed/unsigned operations.
30997         * stdlib/tst-strtod-overflow.c: New file.
30998         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30999
31000 2012-08-25  Marek Polacek  <polacek@redhat.com>
31001
31002         * time/time.h: Fix some typos in comments.
31003
31004 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31005
31006         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31007         * posix/tst-rfc3484-2.c: Likewise.
31008         * posix/tst-rfc3484-3.c: Likewise.
31009
31010 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31011
31012         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31013         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31014
31015 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31016
31017         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31018         #include of fxstatat64.c.
31019
31020 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31021
31022         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31023         * shadow/getspent_r.c: Likewise.
31024         * shadow/getspnam.c: Likewise.
31025         * shadow/getspnam_r.c: Likewise.
31026         * gshadow/getsgent.c: Likewise.
31027         * gshadow/getsgent_r.c: Likewise.
31028         * gshadow/getsgnam.c: Likewise.
31029         * gshadow/getsgnam_r.c: Likewise.
31030         * inet/getnetbyad.c: Likewise.
31031         * inet/getnetbyad_r.c: Likewise.
31032         * inet/getnetbynm.c: Likewise.
31033         * inet/getnetbynm_r.c: Likewise.
31034         * inet/getnetent.c: Likewise.
31035         * inet/getnetent_r.c: Likewise.
31036         * inet/getproto.c: Likewise.
31037         * inet/getproto_r.c: Likewise.
31038         * inet/getprtent.c: Likewise.
31039         * inet/getprtent_r.c: Likewise.
31040         * inet/getprtname.c: Likewise.
31041         * inet/getprtname_r.c: Likewise.
31042         * inet/getrpcbyname.c: Likewise.
31043         * inet/getrpcbyname_r.c: Likewise.
31044         * inet/getrpcbynumber.c: Likewise.
31045         * inet/getrpcbynumber_r.c: Likewise.
31046         * inet/getrpcent.c: Likewise.
31047         * inet/getrpcent_r.c: Likewise.
31048         * inet/getaliasent.c: Likewise.
31049         * inet/getaliasent_r.c: Likewise.
31050         * inet/getaliasname.c: Likewise.
31051         * inet/getaliasname_r.c: Likewise.
31052         * nscd/getgrgid_r.c: Likewise.
31053         * nscd/getgrnam_r.c: Likewise.
31054         * nscd/gethstbyad_r.c: Likewise.
31055         * nscd/gethstbynm3_r.c: Likewise.
31056         * nscd/getpwnam_r.c: Likewise.
31057         * nscd/getpwuid_r.c: Likewise.
31058         * nscd/getsrvbynm_r.c: Likewise.
31059         * nscd/getsrvbypt_r.c: Likewise.
31060         * nscd/gai.c: Likewise.
31061
31062         * configure.in (build_nscd): New substituted variable, set
31063         by --disable-build-nscd and defaults to $use_nscd.
31064         * configure: Regenerated.
31065         * config.make.in (build-nscd): New substituted variable.
31066         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31067         Change conditional to require [$(build-nscd) = yes] as well.
31068         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31069
31070         [BZ# 13696]
31071         * configure.in (use_nscd): New substituted variable, set by
31072         --disable-nscd.  If enabled, define USE_NSCD.
31073         * configure: Regenerated.
31074         * config.h.in: Add USE_NSCD.
31075         * config.make.in (use-nscd): New substituted variable.
31076         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31077         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31078         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31079         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31080         (CFLAGS-getgrnam_r.c): Likewise.
31081         (CFLAGS-initgroups.c): Likewise.
31082         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31083         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31084         Variables removed.
31085         * inet/getnetgrent_r.c
31086         (nscd_setnetgrent): New function, broken out of ...
31087         (setnetgrent): ... here.  Call it.
31088         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31089         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31090         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31091         * nscd/Makefile (routines, aux): Move definitions after include of
31092         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31093         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31094         Conditionalize on [USE_NSCD].
31095         (is_nscd, nscd_init_cb): Likewise.
31096         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31097         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31098         * nss/nss_db/db-init.c: Likewise.
31099         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31100         [USE_NSCD].
31101         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31102         (make_request): Use it.
31103         (cache_valid_p): New function.
31104         (__check_pf): Use it.
31105         * NEWS: Add item for --disable-nscd.
31106
31107 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31108
31109         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31110         to support sed >= 4.2.1-20-ga9bf076.
31111         * configure: Regenerated.
31112
31113 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31114
31115         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31116         Conditionalize whole body on [IREL].
31117
31118 2012-08-22  Jeff Law <law@redhat.com>
31119
31120         [BZ #14505]
31121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31122         if the family is PF_UNSPEC.
31123
31124 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31125
31126         * Makerules (lib-version): Rename from V.
31127         (install-lib-nosubdir): Change V to lib-version.
31128
31129 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31130
31131         [BZ #14252]
31132         * powerpc32/power6/wcschr.c: New file.
31133         * powerpc32/power6/wcscpy.c: New file.
31134         * powerpc32/power6/wcsrchr.c: New file.
31135         * powerpc64/power6/wcschr.c: New file.
31136         * powerpc64/power6/wcscpy.c: New file.
31137         * powerpc64/power6/wcsrchr.c: New file.
31138
31139 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31140
31141         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31142         (two_way_short_needle): Use it.
31143         * string/strstr.c (AVAILABLE1_USES_J): Define.
31144         * string/strcasestr.c: Likewise.
31145
31146         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31147         array references.
31148         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31149
31150         [BZ #11607]
31151         * NEWS: Add an entry.
31152         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31153         define their defaults.
31154         (two_way_short_needle): Detect end-of-string on-the-fly.
31155         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31156         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31157         * string/bug-strcasestr1.c: New test.
31158         * string/Makefile: Run it.
31159
31160 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31161
31162         [BZ #11607]
31163         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31164         the first character.
31165
31166 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31167
31168         * csu/elf-init.c (__libc_csu_irel): Function removed.
31169         * csu/libc-start.c (apply_irel): New function.
31170         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31171
31172 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31173
31174         * sysdeps/unix/sysv/linux/kernel-features.h
31175         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31176         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31177         <kernel-features.h>.
31178         [__NR_fadvise64_64]: Make code unconditional.
31179         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31180         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31181         !__NR_fadvise64_64)]: Likewise.
31182         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31183         !__NR_fadvise64_64))]: Likewise.
31184         [__NR_fadvise64]: Make code unconditional.
31185         [!__NR_fadvise64]: Remove conditional code.
31186         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31187         <kernel-features.h>.
31188         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31189         unconditional.
31190         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31191         conditional code.
31192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31193         not include <kernel-features.h>.
31194         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31195         unconditional.
31196         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31197         conditional code.
31198         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31199         include <kernel-features.h>.
31200         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31201         unconditional.
31202         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31203         conditional code.
31204
31205 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31206
31207         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31208         slight instruction rearrangements per scrollpipe analysis.
31209         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31210
31211 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31212
31213         * manual/syslog.texi (syslog; vsyslog, closelog):
31214         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31215         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31216
31217         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31218         DSOCAPS to match condition on defining it.
31219
31220 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31221
31222         * sysdeps/unix/sysv/linux/kernel-features.h
31223         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31225         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31226         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31228         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31229         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31231         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31232         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31233
31234         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31235         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31236
31237         * sysdeps/unix/sysv/linux/kernel-features.h
31238         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31239         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31240         unconditional.
31241         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31242         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31243         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31244         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31245         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31246         Make code unconditional.
31247         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31248         (__mmap64) [!__NR_mmap2]: Likewise.
31249         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31250         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31251         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31252         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31253         [__NR_mmap2]: Make code unconditional.
31254         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31255         (__mmap64) [!__NR_mmap2]: Likewise.
31256
31257 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31258
31259         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31260
31261 2012-08-18  Andreas Jaeger  <aj@suse.de>
31262
31263         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31264
31265 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31266
31267         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31268         * include/unistd.h (__have_sock_cloexec): Likewise.
31269         (__have_pipe2): Likewise.
31270         (__have_dup3): Likewise.
31271
31272 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31273
31274         [BZ #9685]
31275         * include/unistd.h (__have_pipe2): Change define into an extern int.
31276         (__have_dup3): Likewise.
31277         * socket/have_sock_cloexec.c: Include fcntl.h.
31278         (__have_pipe2): New variable.
31279         (__have_dup3): Likewise.
31280
31281 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31282
31283         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31284
31285 2012-08-17  Marek Polacek  <polacek@redhat.com>
31286
31287         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31288         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31289
31290 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31291
31292         * configure.in: Add AC_SUBST for sysheaders.
31293         * configure: Regenerated.
31294         * config.make.in (sysheaders): New substituted variable.
31295
31296         * sysdeps/unix/mkfifo.c: Moved ...
31297         * sysdeps/posix/mkfifo.c: ... here.
31298         * sysdeps/unix/mkfifoat.c: Moved ...
31299         * sysdeps/posix/mkfifoat.c: ... here.
31300
31301         * sysdeps/unix/utime.c: Moved ...
31302         * sysdeps/posix/utime.c: ... here.
31303
31304         * sysdeps/unix/time.c: Moved ...
31305         * sysdeps/posix/time.c: ... here.
31306         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31307         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31308
31309         * sysdeps/unix/nice.c: Moved ...
31310         * sysdeps/posix/nice.c: ... here.
31311
31312         * sysdeps/unix/alarm.c: Moved ...
31313         * sysdeps/posix/alarm.c: ... here.
31314
31315         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31316
31317 2012-08-17  Jeff Law <law@redhat.com>
31318
31319         * intl/Makefile (codeset_mo): New variable.
31320         ($(codeset_mo)): New target.
31321         (tst-codeset.out): Depend on that.  Remove explicit rule.
31322         (tst-gettext3.out, tst-gettext5.out): Likewise.
31323         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31324         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31325         * intl/tst-codeset.sh: Remove.
31326         * intl/tst-gettext3.sh: Likewise.
31327         * intl/tst-gettext5.sh: Likewise.
31328
31329 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31330
31331         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31332         * sysdeps/unix/syscalls.list: ... here.
31333
31334         * sysdeps/posix/getaddrinfo.c
31335         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31336         (gaiconf_init, gaiconf_reload): Use them.
31337         [!_STATBUF_ST_NSEC]
31338         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31339         Define using time_t rather than struct timespec.
31340
31341         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31342         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31343         Macros removed.
31344         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31345         [!NO_THREADS].
31346         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31347         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31348         Likewise.
31349
31350         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31351         __libc_cleanup_push argument.
31352
31353         * bits/param.h: New file.
31354         * misc/sys/param.h: New file.
31355         * include/sys/param.h: New file.
31356         * misc/Makefile (headers): Add bits/param.h.
31357         * sysdeps/generic/sys/param.h: File removed.
31358         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31359         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31360         * sysdeps/mach/hurd/bits/param.h: New file.
31361         * sysdeps/mach/hurd/sys/param.h: File removed.
31362
31363         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31364         last change.
31365
31366         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31367         [_IO_MTSAFE_IO].
31368         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31369         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31370         New macros.
31371
31372         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31373         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31374         rather than -D_IO_MTSAFE_IO conditionally.
31375         * stdio-common/Makefile (CPPFLAGS): Likewise.
31376         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31377         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31378         Use $(libio-mtsafe).
31379         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31380         of -D_IO_MTSAFE_IO.
31381         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31382         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31383         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31384         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31385         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31386         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31387         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31388         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31389         (CFLAGS-fread_u_chk.c): Likewise.
31390         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31391         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31392         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31393         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31394         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31395         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31396         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31397         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31398         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31399
31400         * libio/Makefile: Test [$(libc-reentrant) = yes]
31401         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31402
31403         * Makeconfig
31404         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31405         * sysdeps/pthread/configure: File removed.
31406         * sysdeps/pthread/Makeconfig: New file.
31407         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31408         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31409
31410 2012-08-16  Gary Benson  <gbenson@redhat.com>
31411
31412         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31413         unmapping the first object in a namespace.
31414
31415 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31416
31417         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31418         (__internal_setnetgrent): ... this.  Add internal_function to
31419         definition.  Add libc_hidden_def.
31420         (setnetgrent): Update caller.
31421         (internal_endnetgrent): Renamed to ...
31422         (__internal_endnetgrent): ... this.  Add internal_function to
31423         definition.  Add libc_hidden_def.
31424         (endnetgrent): Update caller.
31425         (internal_getnetgrent_r): Renamed to ...
31426         (__internal_getnetgrent_r): ... this.  Add internal_function to
31427         definition.  Add libc_hidden_def.
31428         (__getnetgrent_r): Update caller.
31429         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31430
31431 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31432
31433         * stdlib/longlong.h: Update from GCC.
31434
31435 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31436
31437         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31438         on _QL, which is set by umul_ppmm but never used.
31439         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31440         variables, which are set by GMP macros but never used.
31441         * stdio-common/_itowa.c (_itowa): Likewise.
31442         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31443         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31444
31445 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31446
31447         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31448         struct La_sh_regs is not constant.
31449         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31450         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31451         and struct La_sparc64_regs are not constant.
31452
31453 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31454
31455         * sysdeps/unix/sysv/linux/kernel-features.h
31456         (__ASSUME_POSIX_TIMERS): Remove.
31457         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31458         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31459         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31460         Make code unconditional.
31461         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31462         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31463         Make code unconditional.
31464         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31465         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31466         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31467         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31468         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31469         Make code unconditional.
31470         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31471         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31472         (__libc_missing_posix_timers): Remove.
31473
31474 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31475
31476         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31477         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31478
31479         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31480
31481         * elf/dl-sym.c: Include <stdlib.h>.
31482
31483         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31484         constants, which avoids warnings in 32-bit builds.
31485
31486         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31487         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31488
31489         * misc/lseek.c: File moved to ...
31490         * io/lseek.c: ... here.
31491
31492         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31493
31494         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31495         shifting LEN more than 31 bits at once.
31496
31497 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31498
31499         [BZ #14195]
31500         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31501         segmentation fault for a case of two empty input strings.
31502         * string/test-strncasecmp.c (check1): Renamed to...
31503         (bz12205): ...this.
31504         (bz14195): Add new testcase for two empty input strings and N > 0.
31505         (test_main): Call new testcase, adapt for renamed function.
31506
31507 2012-08-15  Andreas Jaeger  <aj@suse.de>
31508
31509         [BZ #14090]
31510         * crypt/md5test2.c: New test, based on test supplied by Serge
31511         Belyshev <belyshev@depni.sinp.msu.ru>.
31512         * crypt/Makefile (xtests): Add md5test-giant..
31513         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31514
31515 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31516
31517         [BZ #14090]
31518         * crypt/md5.c (md5_process_block): Don't assume the buffer
31519         length is less than 2**32.
31520         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31521         length is less than 2**64.
31522
31523 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31524
31525         * string/str-two-way.h: Include <sys/param.h>.
31526         (MAX): Macro removed.
31527
31528         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31529         Move #define and #undef of memmove to just before and after
31530         including <string.h>.
31531
31532         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31533         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31534         and after including <string.h>.  Move declarations of
31535         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31536         to before #include "string/memmove.c".
31537
31538         * include/dirent.h: Declare __getdirentries.
31539
31540         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31541         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31542
31543 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31544
31545         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31546         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31547         * sysdeps/i386/configure: Regenerated.
31548         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31549         STABS_CURRENT_FILE, and STABS_FUN.
31550         (END): Remove call to STABS_FUN_END.
31551         (STABS_CURRENT_FILE1): Delete.
31552         (STABS_CURRENT_FILE): Likewise.
31553         (STABS_FUN): Likewise.
31554         (STABS_FUN_END): Likewise.
31555         (STABS_FUN2): Likewise.
31556         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31557         * sysdeps/x86_64/configure: Regenerated.
31558
31559 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31560
31561         * elf/dl-open.c: Include <atomic.h>.
31562         * elf/dl-lookup.c: Likewise.
31563
31564 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31565
31566         * sysdeps/unix/sysv/linux/kernel-features.h
31567         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31568         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31569         unconditionally.
31570         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31571         unconditionally.
31572         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31573         condition on __ASSUME_CLONE_THREAD_FLAGS.
31574
31575 2012-08-14  Andreas Jaeger  <aj@suse.de>
31576
31577         * sysdeps/i386/fpu/libm-test-ulps: Update.
31578
31579 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31580
31581         * include/atomic.h (atomic_exchange_and_add): Split into ...
31582         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31583         New atomic macros.
31584
31585 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31586
31587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31588
31589 2012-08-13  Jeff Law <law@redhat.com>
31590
31591         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31592         null byte in the output string.
31593
31594 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31595
31596         * sysdeps/unix/sysv/linux/kernel-features.h
31597         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31598         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31599         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31600         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31601         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31602         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31603         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31604
31605 2012-08-09  Jeff Law <law@redhat.com>
31606
31607         [BZ #13939]
31608         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31609         When avoid_arena is set, don't retry in the that arena.  Pick the
31610         next one, whatever it might be.
31611         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31612         (arena_lock): Pass in new parameter to arena_get2.
31613         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31614         arena_get2.
31615         (__libc_malloc): Unify retrying after main arena failure with
31616         __libc_memalign version.
31617         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31618
31619 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31620
31621         [BZ #14166]
31622         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31623         to __redirect_strstr.
31624         (__strstr_sse42): Use typeof __redirect_strstr.
31625         (__strstr_ia32): Likewise.
31626         (__libc_strstr): New prototype.
31627         (strstr): Renamed to ...
31628         (__libc_strstr): This.
31629         (strstr): New strong alias of __libc_strstr.
31630         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31631         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31632         __redirect_time.
31633         Include <time.h>.
31634         (__libc_time): New prototype.
31635         (time_ifunc): Replace time with __libc_time.
31636         (time): New strong alias and hidden definition of __libc_time.
31637         (__GI_time): Remove strong alias.
31638         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31639         Include <stddef.h>.
31640         (memmove): Redefined to __redirect_memmove.
31641         (__memmove_sse2): Use typeof __redirect_memmove.
31642         (__memmove_ssse3): Likewise.
31643         (__memmove_ssse3_back): Likewise.
31644         (__libc_memmove): New prototype.
31645         (memmove): Renamed to ...
31646         (__libc_memmove): This.
31647         (memmove): New strong alias of __libc_memmove.
31648
31649 2012-08-08  Mark Salter  <msalter@redhat.com>
31650
31651         * elf/elf.h
31652         (R_MN10300_TLS_GD): Define.
31653         (R_MN10300_TLS_LD): Likewise.
31654         (R_MN10300_TLS_LDO): Likewise.
31655         (R_MN10300_TLS_GOTIE): Likewise.
31656         (R_MN10300_TLS_IE): Likewise.
31657         (R_MN10300_TLS_LE): Likewise.
31658         (R_MN10300_TLS_DTPMOD): Likewise.
31659         (R_MN10300_TLS_DTPOFF): Likewise.
31660         (R_MN10300_TLS_TPOFF): Likewise.
31661         (R_MN10300_SYM_DIFF): Likewise.
31662         (R_MN10300_ALIGN): Likewise.
31663         (R_MN10300_NUM): Update.
31664
31665 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31666
31667         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31668         Remove.
31669
31670 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31671
31672         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31673
31674         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31675         sysdeps/unix -> sysdeps/posix move.
31676         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31677
31678 2012-08-07      Allan McRae     <allan@archlinux.org>
31679
31680         [BZ #14303]
31681         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31682         (SUNOS_CPP): Likewise.
31683         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31684         not found.
31685         (open_input): Call CPP using execvp.
31686
31687 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31688
31689         * sysdeps/unix/sysv/linux/kernel-features.h
31690         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31691         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31692         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31693         (__ASSUME_WAITID_SYSCALL): Likewise.
31694         * sysdeps/unix/sysv/linux/dl-execstack.c
31695         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31696         code unconditional.
31697         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31698         conditional code.
31699         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31700         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31701         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31702         code.
31703         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31704         unconditional.
31705         [__ASSUME_WAITID_SYSCALL]: Likewise.
31706         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31707
31708 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31709
31710         * sysdeps/unix/closedir.c: Renamed to ...
31711         * sysdeps/posix/closedir.c: ... here.
31712         * sysdeps/unix/dirfd.c: Renamed to ...
31713         * sysdeps/posix/dirfd.c: ... here.
31714         * sysdeps/unix/dirstream.h: Renamed to ...
31715         * sysdeps/posix/dirstream.h: ... here.
31716         * sysdeps/unix/fdopendir.c: Renamed to ...
31717         * sysdeps/posix/fdopendir.c: ... here.
31718         * sysdeps/unix/opendir.c: Renamed to ...
31719         * sysdeps/posix/opendir.c: ... here.
31720         * sysdeps/unix/readdir.c: Renamed to ...
31721         * sysdeps/posix/readdir.c: ... here.
31722         * sysdeps/unix/readdir_r.c: Renamed to ...
31723         * sysdeps/posix/readdir_r.c: ... here.
31724         * sysdeps/unix/rewinddir.c: Renamed to ...
31725         * sysdeps/posix/rewinddir.c: ... here.
31726         * sysdeps/unix/seekdir.c: Renamed to ...
31727         * sysdeps/posix/seekdir.c: ... here.
31728         * sysdeps/unix/telldir.c: Renamed to ...
31729         * sysdeps/posix/telldir.c: ... here.
31730         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31731         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31732         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31733         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31734
31735         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31736         * bits/fcntl.h: ... here.
31737
31738         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31739         not 0.
31740         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31741         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31742         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31743         (struct flock): Move l_start, l_len to the beginning.
31744         Use __pid_t for l_pid.
31745         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31746         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31747         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31748         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31749         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31750         [__USE_LARGEFILE64] (struct flock64): New type.
31751         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31752
31753         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31754         * bits/dirent.h: ... here.
31755
31756         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31757         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31758
31759 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31760
31761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31762         Change from 2.6.0 to 2.6.16.
31763         * sysdeps/unix/sysv/linux/configure: Regenerated.
31764         * sysdeps/unix/sysv/linux/kernel-features.h
31765         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31766         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31767         version.
31768         (__ASSUME_UTIMES): Likewise.
31769         (__ASSUME_CLONE_STOPPED): Remove.
31770         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31771         architectures, not kernel version.
31772         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31773         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31774         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31775         (__ASSUME_WAITID_SYSCALL): Likewise.
31776         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31777         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31778         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31779         refer to older versions.
31780
31781 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31782
31783         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31784         Define alphasort64 as an alias.
31785         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31786         Define versionsort64 as an alias.
31787         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31788         Define scandir64 as an alias.
31789         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31790         Define scandirat64 as an alias.
31791         * dirent/alphasort64.c (alphasort64):
31792         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31793         * dirent/versionsort64.c: Likewise.
31794         * dirent/scandir64.c: Likewise.
31795         * dirent/scandirat64.c: Likewise.
31796         * sysdeps/wordsize-64/alphasort.c: File removed.
31797         * sysdeps/wordsize-64/alphasort64.c: File removed.
31798         * sysdeps/wordsize-64/scandir.c: File removed.
31799         * sysdeps/wordsize-64/scandir64.c: File removed.
31800         * sysdeps/wordsize-64/scandirat.c: File removed.
31801         * sysdeps/wordsize-64/scandirat64.c: File removed.
31802         * sysdeps/wordsize-64/versionsort.c: File removed.
31803         * sysdeps/wordsize-64/versionsort64.c: File removed.
31804         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31805         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31806         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31807         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31808         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31809         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31810         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31811         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31812
31813         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31815         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31816         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31817         [defined __arch64__ || defined __sparcv9]
31818         (__INO_T_MATCHES_INO64_T): New macro.
31819         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31820         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31821         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31822         * sysdeps/unix/sysv/linux/bits/dirent.h
31823         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31824         (_DIRENT_MATCHES_DIRENT64): New macro.
31825
31826         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31827         Define lockf64 as an alias.
31828         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31829         Define fseeko64 as an alias.
31830         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31831         Define ftello64 as an alias.
31832         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31833         Define _IO_fgetpos64 and fgetpos64 as aliases.
31834         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31835         Define _IO_fsetpos64 and fsetpos64 as aliases.
31836         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31837         Conditionalize body on this.
31838         * libio/fseeko64.c: Likewise.
31839         * libio/ftello64.c: Likewise.
31840         * libio/iofgetpos64.c: Likewise.
31841         * libio/iofsetpos64.c: Likewise.
31842         * sysdeps/wordsize-64/lockf.c: File removed.
31843         * sysdeps/wordsize-64/lockf64.c: File removed.
31844         * sysdeps/wordsize-64/fseeko.c: File removed.
31845         * sysdeps/wordsize-64/fseeko64.c: File removed.
31846         * sysdeps/wordsize-64/ftello.c: File removed.
31847         * sysdeps/wordsize-64/ftello64.c: File removed.
31848         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31849         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31850         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31851         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31852         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31853         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31854         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31855         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31856         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31857         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31858         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31859         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31860         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31861         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31862
31863         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31865         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31867         [defined __arch64__ || defined __sparcv9]
31868         (__OFF_T_MATCHES_OFF64_T): New macro.
31869         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31870         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31871         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31872         (__OFF_T_MATCHES_OFF64_T): New macro.
31873
31874 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31875
31876         * stdlib/secure-getenv.c (__secure_getenv): Replace
31877         GLIBC_2_16 with GLIBC_2_17.
31878
31879 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31880
31881         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31882         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31883
31884 2012-08-03  David S. Miller  <davem@davemloft.net>
31885
31886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31887
31888 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31889
31890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31891         Remove.
31892         (__ASSUME_CORRECT_SI_PID): Likewise.
31893         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31894         (__ASSUME_TMPFS_NAME): Likewise.
31895         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31896         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31897         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31898         (HAVE_AUX_SECURE): Make definition unconditional.
31899         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31900         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31901
31902 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31903
31904         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31905         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31906         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31907         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31908         __eloop_threshold instead of SYMLOOP_MAX.
31909
31910         * sysdeps/generic/eloop-threshold.h: New file.
31911         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31912         of MAXSYMLINKS.
31913         * elf/chroot_canon.c (chroot_canon): Likewise.
31914
31915 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31916
31917         [BZ #13717]
31918         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31919         Change to 2.6.0 everywhere.
31920         * sysdeps/unix/sysv/linux/configure: Regenerated.
31921         * sysdeps/unix/sysv/linux/kernel-features.h
31922         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31923         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31924         kernel versions.
31925         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31926         (__ASSUME_FUTEX_REQUEUE): Remove.
31927         (__ASSUME_STATFS64): Define unconditionally.
31928         (__ASSUME_AT_SECURE): Likewise.
31929         (__ASSUME_CORRECT_SI_PID): Likewise.
31930         (__ASSUME_TGKILL): Define without depending on kernel version for
31931         i386.
31932         (__ASSUME_UTIMES): Likewise.
31933         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31934         kernel version.
31935         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31936         (__ASSUME_TMPFS_NAME): Likewise.
31937         * README: Update reference to Linux kernel versions.
31938
31939 2012-08-02  Marek Polacek  <polacek@redhat.com>
31940
31941         [BZ# 14150]
31942         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31943         libc_cv_asm_type_prefix with %.
31944         * configure: Regenerated.
31945         * include/libc-symbols.h: Remove comment about
31946         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31947         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31948         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31949         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31950         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31951         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31952         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31953         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31954         * elf/tst-unique2mod1.c: Likewise.
31955         * elf/tst-unique1mod2.c: Likewise.
31956         * elf/tst-unique1mod1.c: Likewise.
31957         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31958         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31959         Replace ASM_TYPE_DIRECTIVE with .type.
31960         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31961         * sysdeps/i386/sysdep.h: Likewise.
31962         * sysdeps/x86_64/sysdep.h: Likewise.
31963         * sysdeps/sh/sysdep.h: Likewise.
31964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31965         Do not define ASM_TYPE_DIRECTIVE.
31966         * sysdeps/powerpc/sysdep.h: Likewise.
31967         * sysdeps/powerpc/powerpc32/sysdep.h:
31968         Replace ASM_TYPE_DIRECTIVE with .type.
31969         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31970         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31971         * sysdeps/i386/fpu/e_powf.S: Likewise.
31972         * sysdeps/i386/fpu/e_expl.S: Likewise.
31973         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31974         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31975         * sysdeps/i386/fpu/e_pow.S: Likewise.
31976         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31977         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31978         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31979         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31980         * sysdeps/i386/fpu/e_log2.S: Likewise.
31981         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31982         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31983         * sysdeps/i386/fpu/e_powl.S: Likewise.
31984         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31985         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31986         * sysdeps/i386/fpu/e_logl.S: Likewise.
31987         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31988         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31989         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31990         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31991         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31992         * sysdeps/i386/fpu/e_log.S: Likewise.
31993         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31994         * sysdeps/i386/fpu/e_logf.S: Likewise.
31995         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31996         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31997         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31998         * sysdeps/i386/fpu/e_log10.S: Likewise.
31999         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32000         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32001         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32002         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32003         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32004         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32005         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32006         * sysdeps/i386/i686/strtok.S: Likewise.
32007         * sysdeps/i386/i386-mcount.S: Likewise.
32008         * sysdeps/i386/strtok.S: Likewise.
32009         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32010         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32011         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32012         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32013         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32014         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32015         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32016         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32017         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32018         * sysdeps/x86_64/_mcount.S: Likewise.
32019         * sysdeps/x86_64/strtok.S: Likewise.
32020         * sysdeps/sh/_mcount.S: Likewise.
32021
32022 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32023
32024         * libio/iofopen.c: Include <fcntl.h>.
32025         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32026         (_IO_fopen64, fopen64): Define as aliases.
32027         * libio/iofopen64.c: Include <fcntl.h>.
32028         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32029         Conditionalize body on this.
32030         * sysdeps/wordsize-64/iofopen.c: File removed.
32031         * sysdeps/wordsize-64/iofopen64.c: File removed.
32032
32033 2012-08-01  Marek Polacek  <polacek@redhat.com>
32034
32035         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32036         Use dlfcn directly instead of a variable.
32037         (binfmt-subdir): Do not define.
32038         (dlfcn): Likewise.
32039
32040 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32041
32042         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32043         Remove all definitions.
32044         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32045         <kernel-features.h>.
32046         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32047         (miss_F_GETOWN_EX): Remove all definitions.
32048         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32049         macro definition.
32050         [!__ASSUME_FCNTL64]: Remove conditional code.
32051         [__ASSUME_FCNTL64]: Make code unconditional.
32052         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32053         <kernel-features.h>.
32054         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32055         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32056         (lockf64) [__NR_fcntl64]: Make code unconditional.
32057         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32058
32059         * sysdeps/unix/sysv/linux/kernel-features.h
32060         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32061         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32062         Make code unconditional.
32063         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32064         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32066         [__NR_vfork]: Make code unconditional.
32067         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32068         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32070         [__NR_vfork]: Make code unconditional.
32071         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32072         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32073
32074 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32075
32076         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32077         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32078
32079         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32080         Define mkstemp64 as an alias.
32081         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32082         Define mkstemps64 as an alias.
32083         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32084         Define mkostemp64 as an alias.
32085         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32086         Define mkostemps64 as an alias.
32087         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32088         Conditionalize body on this.
32089         * misc/mkostemp64.c: Likewise.
32090         * misc/mkostemps64.c: Likewise.
32091         * misc/mkstemps64.c: Likewise.
32092         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32093         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32094         * sysdeps/wordsize-64/mkostemp.c: File removed.
32095         * sysdeps/wordsize-64/mkstemp.c: File removed.
32096         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32097         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32098         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32099         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32100
32101         [BZ #14138]
32102         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32103         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32104         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32105         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32106
32107         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32108         compat_symbol macros from <shlib-compat.h> rather than the underlying
32109         default_symbol_version and symbol_version macros, so that DEFAULT
32110         lines in shlib-versions are respected.
32111         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32112
32113 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32114
32115         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32116         Declare with warn_unused_result.
32117         (setgid, setregid, setegid, setresgid): Likewise.
32118         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32119         Likewise.
32120         * WUR-REPORT: Remove set*id functions.
32121
32122 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32123
32124         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32125
32126 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32127
32128         [BZ #10191]
32129         * include/sys/socket.h (__libc_accept, __libc_accept4):
32130         Add attribute_hidden.
32131         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32132
32133         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32134         use of PTR_MANGLE.
32135         * inet/getnetgrent_r.c (setup): Likewise.
32136
32137         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32138
32139 2012-07-31  David S. Miller  <davem@davemloft.net>
32140
32141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32142
32143 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32144
32145         [BZ #13629]
32146         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32147         value between 1.0 and 2.0 and smaller part has absolute value less
32148         than 1.0.
32149         * math/s_clog10.c (__clog10): Likewise.
32150         * math/s_clog10f.c (__clog10f): Likewise.
32151         * math/s_clog10l.c (__clog10l): Likewise.
32152         * math/s_clogf.c (__clogf): Likewise.
32153         * math/s_clogl.c (__clogl): Likewise.
32154         * math/libm-test.inc (clog_test): Add more tests.
32155         (clog10_test): Likewise.
32156         * sysdeps/i386/fpu/libm-test-ulps: Update.
32157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32158
32159 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32160
32161         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32162         Exit with zero in case no suitable GID is found, and write a
32163         message to standard error.
32164
32165 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32166
32167         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32168         rather than to 1.
32169         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32170         (MAXPATHLEN): Removed.
32171         (NOGROUP, NODEV): New macros.
32172         (setbit, clrbit, isset, isclr): New macros.
32173         (howmany, roundup, powerof2): New macros.
32174         (DEV_BSIZE): New macro.
32175
32176         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32177         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32178
32179         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32180         definition on [!__NO_LONG_DOUBLE_MATH].
32181
32182         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32183         PTR_MANGLE and PTR_DEMANGLE.
32184
32185         * socket/accept4.c (accept4): Rename to __libc_accept4.
32186         Define accept4 as a weak alias.
32187
32188         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32189         on [_DIRENT_HAVE_D_TYPE].
32190         * io/ftw.c (ftw_dir): Likewise.
32191
32192         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32193
32194         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32195
32196         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32197         Use the BSD numbers rather than the arbitrary ones we had.
32198         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32199         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32200         (SIGXCPU, SIGXFSZ): New macros.
32201         (_NSIG): Now 32.
32202
32203         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32204         initializer on [_LIBC_REENTRANT].
32205
32206         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32207         definitions inside [_POSIX_MAPPED_FILES].
32208
32209         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32210
32211         * dirent/opendir.c: Include <fcntl.h>.
32212
32213         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32214         (__libc_getspecific): Likewise.
32215         (__libc_key_create): Likewise.
32216
32217         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32218         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32219         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32220         (tmpfile64): Define as alias.
32221         * sysdeps/wordsize-64/tmpfile.c: File removed.
32222         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32223         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32224         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32225
32226         * stdio-common/vfscanf.c: Include <stdbool.h>.
32227         * nss/makedb.c: Likewise.
32228         * stdio-common/_i18n_number.h: Likewise.
32229         * argp/argp-help.c: Likewise.
32230         * posix/wordexp.c: Likewise.
32231         * sysdeps/posix/spawni.c: Likewise.
32232         * nss/nss_files/files-initgroups.c: Likewise.
32233         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32234         * nss/nss_files/files-initgroups.c: Likewise.
32235         * nss/nss_db/db-netgrp.c: Likewise.
32236         * nss/nss_db/db-initgroups.c: Likewise.
32237         * io/fchmodat.c: Include <sys/stat.h>.
32238
32239         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32240         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32241
32242         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32243         [HAVE_MMAP].
32244
32245         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32246         Add multiple inclusion protection.
32247
32248 2012-07-27  David S. Miller  <davem@davemloft.net>
32249
32250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32251
32252 2012-07-27  Gary Benson  <gbenson@redhat.com>
32253
32254         [BZ #14298]
32255         * elf/rtld.c: Include <stap-probe.h>.
32256         (dl_main): Added static probes "init_start" and "init_complete".
32257         * elf/dl-load.c: Include <stap-probe.h>.
32258         (lose): Take new parameter "nsid".
32259         Added static probe "map_failed".
32260         (_dl_map_object_from_fd): Pass namespace id to lose.
32261         Added static probe "map_start".
32262         (open_verify): Pass namespace id to lose.
32263         * elf/dl-open.c: Include <stap-probe.h>.
32264         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32265         and "reloc_complete".
32266         * elf/dl-close.c: Include <stap-probe.h>.
32267         (_dl_close_worker): Added static probes "unmap_start" and
32268         "unmap_complete".
32269         * elf/rtld-debugger-interface.txt: New file documenting the above.
32270
32271 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32272
32273         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32274         rather than a string variable.
32275         * sunrpc/rpc_main.c (h_output): Likewise.
32276         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32277
32278 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32279
32280         * inet/check_native.c: New file.
32281
32282 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32283
32284         [BZ #13629]
32285         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32286         if larger part has absolute value 1.0.
32287         * math/s_clog10.c (__clog10): Likewise.
32288         * math/s_clog10f.c (__clog10f): Likewise.
32289         * math/s_clog10l.c (__clog10l): Likewise.
32290         * math/s_clogf.c (__clogf): Likewise.
32291         * math/s_clogl.c (__clogl): Likewise.
32292         * math/libm-test.inc (clog_test): Add more tests.
32293         (clog10_test): Likewise.
32294         * sysdeps/i386/fpu/libm-test-ulps: Update.
32295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32296
32297         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32298         (pltexit): Likewise.
32299         (La_regs): Likewise.
32300         (La_retval): Likewise.
32301         (int_retval): Likewise.
32302         Update #error for removed macros to refer only to definitions in
32303         tst-audit.h.
32304         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32305         macro.
32306         (pltexit): Likewise.
32307         (La_regs): Likewise.
32308         (La_retval): Likewise.
32309         (int_retval): Likewise.
32310         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32311         macro.
32312         (pltexit): Likewise.
32313         (La_regs): Likewise.
32314         (La_retval): Likewise.
32315         (int_retval): Likewise.
32316         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32317         macro.
32318         (pltexit): Likewise.
32319         (La_regs): Likewise.
32320         (La_retval): Likewise.
32321         (int_retval): Likewise.
32322         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32323         macro.
32324         (pltexit): Likewise.
32325         (La_regs): Likewise.
32326         (La_retval): Likewise.
32327         (int_retval): Likewise.
32328         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32329         macro.
32330         (pltexit): Likewise.
32331         (La_regs): Likewise.
32332         (La_retval): Likewise.
32333         (int_retval): Likewise.
32334         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32335         macro.
32336         (pltexit): Likewise.
32337         (La_regs): Likewise.
32338         (La_retval): Likewise.
32339         (int_retval): Likewise.
32340         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32341         macro definitions in tst-audit.h.
32342         * sysdeps/i386/tst-audit.h: New file.
32343         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32344         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32345         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32346         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32347         * sysdeps/sh/tst-audit.h: Likewise.
32348         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32349         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32350         * sysdeps/x86_64/tst-audit.h: Likewise.
32351
32352 2012-07-26  Andreas Jaeger  <aj@suse.de>
32353
32354         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32355         ptrace.
32356
32357         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32358         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32359         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32360         PTRACE_O_MASK.
32361         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32362         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32363         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32364
32365         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32366         value.
32367
32368         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32369         _sigsys.
32370         (si_call_addr, si_syscall, si_arch): Define new macro.
32371         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32372         _sigsys.
32373         (si_call_addr, si_syscall, si_arch): Define new marcro.
32374         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32375         _sigsys.
32376         (si_call_addr, si_syscall, si_arch): Define new macro.
32377         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32378         _sigsys.
32379         (si_call_addr, si_syscall, si_arch): Define new macro.
32380
32381 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32382
32383         [BZ #13717]
32384         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32385         Change to 2.4.21 where previously 2.4.1.
32386         * sysdeps/unix/sysv/linux/configure: Regenerated.
32387         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32388         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32389         Linux kernel version.
32390         (__ASSUME_STD_AUXV): Remove.
32391         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32392         kernel version.
32393         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32394         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32395         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32396         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32397         (__ASSUME_NETLINK_SUPPORT): Likewise.
32398         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32399         (__no_netlink_support): Remove conditional definition.
32400         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32401         Remove.
32402         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32403         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32404         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32405         (if_nameindex_ioctl): Remove.
32406         (if_nameindex_netlink): Do not handle __no_netlink_support.
32407         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32408         code.
32409         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32410         Remove conditional code.
32411         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32412         code.
32413         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32414         unconditional.
32415         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32416         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32417         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32418         Remove.
32419         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32420         [!__ASSUME_STD_AUXV]: Remove conditional code.
32421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32422         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32423         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32425         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32426         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32427         code.
32428         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32430         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32431         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32432         conditional code.
32433         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32435         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32436         code.
32437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32438         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32439         conditional code.
32440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32441         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32442         code unconditional.
32443         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32444         conditional code.
32445         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32446         unconditional.
32447         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32448         conditional code.
32449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32450         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32451         unconditional.
32452         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32453         conditional code.
32454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32455         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32456         code unconditional.
32457         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32458         conditional code.
32459         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32460         unconditional.
32461         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32462         conditional code.
32463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32464         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32465         code unconditional.
32466         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32467         conditional code.
32468         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32469         unconditional.
32470         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32471         conditional code.
32472
32473 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32474
32475         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32476         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32477         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32478         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32479         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32480         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32481         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32482         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32483         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32484         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32485         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32486         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32487         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32488         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32489         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32490         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32491         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32492         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32493         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32495         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32496         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32497         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32498
32499 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32500
32501         * Versions.def: Add GLIBC_2.17.
32502         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32503         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32504         Introduce __libc_secure_getenv.
32505         * stdlib/Versions (2.17): Add secure_getenv
32506         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32507         * stdlib/secure-getenv.c: Rename __secure_getenv to
32508         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32509         symbol __secure_getenv for GLIBC_2.0.
32510         * stdlib/tst-secure-getenv.c: New.
32511         * stdlib/Makefile (tests): Add testcase.
32512         * manual/startup.texi (Environment Access): Document
32513         secure_getenv.
32514         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32515         __libc_secure_getenv.
32516         * inet/ruserpass.c (ruserpass): Likewise.
32517         * malloc/mtrace.c (mtrace): Likewise.
32518         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32519         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32520         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32521         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32522         HAVE_SECURE_GETENV.
32523         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32524         __secure_getenv to __libc_secure_getenv.
32525         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32527         Likewise.
32528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32529         Likewise.
32530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32532         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32537
32538 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32539
32540         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32541         (struct La_i86_retval): Likewise.
32542         (struct La_x86_64_regs): Likewise.
32543         (struct La_x86_64_retval): Likewise.
32544         (struct La_x32_regs): Likewise.
32545         (struct La_x32_retval): Likewise.
32546         (struct La_ppc32_regs): Likewise.
32547         (struct La_ppc32_retval): Likewise.
32548         (struct La_ppc64_regs): Likewise.
32549         (struct La_ppc64_retval): Likewise.
32550         (struct La_sh_regs): Likewise.
32551         (struct La_sh_retval): Likewise.
32552         (struct La_s390_32_regs): Likewise.
32553         (struct La_s390_32_retval): Likewise.
32554         (struct La_s390_64_regs): Likewise.
32555         (struct La_s390_64_retval): Likewise.
32556         (struct La_sparc32_regs): Likewise.
32557         (struct La_sparc32_retval): Likewise.
32558         (struct La_sparc64_regs): Likewise.
32559         (struct La_sparc64_retval): Likewise.
32560         (struct audit_ifaces): Remove architecture-specific pltenter and
32561         pltexit members.
32562         * sysdeps/i386/ldsodefs.h: New file.
32563         * sysdeps/powerpc/ldsodefs.h: Likewise.
32564         * sysdeps/s390/ldsodefs.h: Likewise.
32565         * sysdeps/sh/ldsodefs.h: Likewise.
32566         * sysdeps/sparc/ldsodefs.h: Likewise.
32567         * sysdeps/x86_64/ldsodefs.h: Likewise.
32568
32569 2012-07-25  Marek Polacek  <polacek@redhat.com>
32570
32571         [BZ #6808]
32572         * math/libm-test.inc (yn_test): Add another test.
32573         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32574         to ERANGE when the result is +-Inf.
32575         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32576         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32577         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32578         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32579
32580 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32581
32582         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32583         equal to 0.
32584         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32585         clock_t.
32586         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32587
32588 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32589
32590         * configure.in <sysdeps resolving>: Correct printing
32591         Implies_before.
32592         * configure: Regenerate.
32593
32594 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32595
32596         * math/w_ilogb.c: Include <limits.h>.
32597         * math/w_ilogbl.c: Likewise.
32598
32599 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32600
32601         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32602         va_copy.  Document allowing for unavailable va_copy only as
32603         pre-C99 compatibility.
32604         * manual/string.texi (Copying and Concatenation): Use va_copy
32605         instead of __va_copy in concat example.
32606
32607 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32608
32609         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32610         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32611         it if not null.
32612
32613         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32614         with O_NOLINK passed to __file_name_lookup.
32615
32616         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32617         with O_NOLINK passed to __file_name_lookup.
32618
32619         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32620         negative N or less than NGIDS.
32621
32622         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32623         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32624         enough.  Use memcpy instead of strncpy.
32625
32626 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32627
32628         * elf/Makefile (check-data): Remove.
32629         (localplt.data): New vpath directive.
32630         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32631         instead of $(check-data).
32632         * scripts/data/localplt-generic.data: Move to ...
32633         * sysdeps/generic/localplt.data: ... here.
32634         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32635         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32636         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32638         ... here.
32639         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32641         ... here.
32642         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32644         ... here.
32645         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32647         ... here.
32648         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32650         ... here.
32651         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32653         ... here.
32654
32655 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32656
32657         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32658         PPC32 and PPC64 files.
32659         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32660         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32661
32662 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32663
32664         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32665         __makecontext_ret to ...
32666         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32667         ... here and call exit if uc_link is NULL.  New file.
32668         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32669         __makecontext_ret.S.
32670         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32671         __makecontext_ret to ...
32672         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32673         ... here and call exit if uc_link is NULL.  New file.
32674         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32675         __makecontext_ret.S.
32676
32677 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32678
32679         * elf/elf.h (R_390_IRELATIVE): New definition.
32680         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32681         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32682         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32683         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32684         (elf_machine_lazy_rel): Likewise.
32685         * sysdeps/s390/dl-irel.h: New file.
32686         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32687         * sysdeps/s390/s390-64/memset.S: New asm code.
32688         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32689         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32690         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32691         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32692         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32693         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32694         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32695         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32696         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32697         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32698         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32699         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32700         * sysdeps/s390/s390-32/memset.S: New asm code.
32701         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32702
32703 2012-07-17  Marek Polacek  <polacek@redhat.com>
32704
32705         [BZ #14349]
32706         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32707         * sysdeps/s390/s390-64/configure.in: Likewise.
32708         * sysdeps/sparc/configure.in: Likewise.
32709         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32710         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32711         * sysdeps/i386/configure.in: Likewise.
32712         * sysdeps/x86_64/configure.in: Likewise.
32713         * sysdeps/sh/configure.in: Likewise.
32714         * sysdeps/s390/s390-32/configure: Regenerated.
32715         * sysdeps/s390/s390-64/configure: Likewise.
32716         * sysdeps/x86_64/configure: Likewise.
32717         * sysdeps/sh/configure: Likewise.
32718         * sysdeps/powerpc/powerpc64/configure: Likewise.
32719         * sysdeps/powerpc/powerpc32/configure: Likewise.
32720         * sysdeps/sparc/configure: Likwise.
32721         * sysdeps/i386/configure: Likewise.
32722
32723         * elf/dl-open.c: Comment fixes.
32724
32725 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32726
32727         * Makefile [CXX] (check-data): Remove.
32728         [CXX] (c++-types.data): New vpath directive.
32729         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32730         vpath.  Do not allow for C++ type data being missing.
32731         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32732         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32733         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32734         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32735         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32736         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32737         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32739         ... here.
32740         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32742         ... here.
32743         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32745         ... here.
32746         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32748         ... here.
32749         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32751         ... here.
32752         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32754         ... here.
32755         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32757         ... here.
32758         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32760
32761         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32762         definitions to architecture-specific files.
32763         (TLS_IE): Likewise.
32764         (TLS_LD): Likewise.
32765         (TLS_GD): Likewise.
32766         * sysdeps/i386/tls-macros.h: New file.
32767         * sysdeps/powerpc/tls-macros.h: Likewise.
32768         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32769         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32770         * sysdeps/sh/tls-macros.h: Likewise.
32771         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32772         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32773         * sysdeps/x86_64/tls-macros.h: Likewise.
32774
32775 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32776
32777         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32778         zero value for regular exit case.
32779
32780         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32781         (__start_context): Preserve zero value for regular exit case.
32782
32783 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32784             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32785
32786         * manual/setjmp.texi (setcontext): Clarify normal process
32787         termination when uc_link is the null pointer.
32788         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32789         exit call.
32790
32791 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32792
32793         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32794         preprocessor.  Test for each exception mask separately.
32795
32796 2012-07-16  Andreas Jaeger  <aj@suse.de>
32797
32798         * po/ru.po: Update from translation team.
32799
32800 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32801
32802         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32803         equal to 0.
32804         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32805         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32806         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32807         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32808         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32809
32810 2012-07-13  Andreas Jaeger  <aj@suse.de>
32811
32812         * po/fr.po: Update from translation team.
32813
32814 2012-07-12  Marek Polacek  <polacek@redhat.com>
32815
32816         [BZ #14173]
32817         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32818         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32819         loop condition.
32820
32821 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32822
32823         [BZ #13717]
32824         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32825         Change to 2.4.1 where previously 2.4.0.
32826         * sysdeps/unix/sysv/linux/configure: Regenerated.
32827         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32828         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32829         version.
32830         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32831         (__ASSUME_AT_CLKTCK): Remove.
32832         (__ASSUME_AT_PAGESIZE): Likewise.
32833         (__ASSUME_AT_XID): Likewise.
32834         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32835         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32836         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32837         unconditionally.
32838         (HAVE_AUX_PAGESIZE): Likewise.
32839         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32840         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32841         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32842
32843 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32844
32845         [BZ #14307]
32846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32847         the temporary buffer used to invoke __gethostbyname2_r,
32848         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32849         host_data / struct gaih_addrtuple.
32850         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32851         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32852         header file nss/nsswitch.h.
32853         * nss/nsswitch.h (global scope): Add definition of implementation
32854         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32855         resolv/nss_dns/dns-host.c).
32856
32857 2012-07-11  Andreas Jaeger  <aj@suse.de>
32858
32859         * po/fr.po: Update from translation team.
32860
32861         * po/sv.po: Update from translation team
32862         * po/fr.po: Another update from translation team.
32863
32864 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32865
32866         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32867         for subnormals or multiply small sinh result by itself.
32868         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32870
32871 2012-07-11  David S. Miller  <davem@davemloft.net>
32872
32873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32874
32875 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32876
32877         [BZ #14347]
32878         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32879         (INTERNAL_MARK): Shift it here.
32880
32881 2012-07-10  Marek Polacek  <polacek@redhat.com>
32882
32883         [BZ #14151]
32884         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32885         libc_cv_asm_global_directive with .globl.
32886         * configure: Regenerated.
32887         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32888         with .globl.
32889         * sysdeps/i386/configure: Regenerated.
32890         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32891         with .globl.
32892         * sysdeps/x86_64/configure: Regenerated.
32893         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32894         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32895         * elf/tst-unique2mod2.c: Likewise.
32896         * elf/tst-unique2mod1.c: Likewise.
32897         * elf/tst-unique1mod2.c: Likewise.
32898         * elf/tst-unique1mod1.c: Likewise.
32899         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32900         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32901         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32902         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32903         * sysdeps/mach/sysdep.h: Likewise.
32904         * sysdeps/i386/sysdep.h: Likewise.
32905         * sysdeps/i386/i386-mcount.S: Likewise.
32906         * sysdeps/x86_64/_mcount.S: Likewise.
32907         * sysdeps/x86_64/sysdep.h: Likewise.
32908         * sysdeps/sh/_mcount.S: Likewise.
32909         * sysdeps/sh/sysdep.h: Likewise.
32910         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32911         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32912         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32913         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32914         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32915         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32916         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32917         * locale/localeinfo.h: Likewise.
32918         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32919         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32920
32921 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32922
32923         [BZ #14336]
32924         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32925         system".
32926         * manual/message.texi (The Uniforum approach): Likewise.
32927         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32928         (glibc iconv Implementation): Likewise.
32929
32930 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32931
32932         [BZ #14337]
32933         * math/s_clog.c (__clog): Avoid scaling a value down where that
32934         could result in underflow.
32935         * math/s_clog10.c (__clog10): Likewise.
32936         * math/s_clog10f.c (__clog10f): Likewise.
32937         * math/s_clog10l.c (__clog10l): Likewise.
32938         * math/s_clogf.c (__clogf): Likewise.
32939         * math/s_clogl.c (__clogl): Likewise.
32940         * math/libm-test.inc (clog_test): Add more tests.
32941         (clog10_test): Likewise.
32942         * sysdeps/i386/fpu/libm-test-ulps: Update.
32943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32944
32945 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32946
32947         [BZ #14283]
32948         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32949         by 7 not 8 to examine high bit of fractional part.
32950
32951         [BZ #14042]
32952         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32953         for call to __mcount_internal.
32954         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32955         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32956         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32957
32958 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32959
32960         [BZ #14154]
32961         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32962         approximation for values within 0x1p-13f of an odd multiple of
32963         pi/4.
32964         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32965         exception.  Add more tests.
32966         * sysdeps/i386/fpu/libm-test-ulps: Update.
32967
32968         [BZ #6778]
32969         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32970         inputs and return -1 for them.  Do not check for +Inf in case not
32971         reachable for +Inf.
32972         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32973         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32974         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32975         and return -1 for them.  Do not check for +Inf in case not
32976         reachable for +Inf.
32977         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32978         define.
32979         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32980         and return -1 for them.  Do not check for +Inf in case not
32981         reachable for +Inf.
32982         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32983         spurious underflow.
32984         * sysdeps/i386/fpu/libm-test-ulps: Update.
32985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32986
32987 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32988
32989         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32990
32991 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32992
32993         [BZ #14157]
32994         [BZ #14331]
32995         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32996         could result in spurious underflow.  Scale down values above
32997         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32998         * math/s_csqrtf.c (__csqrtf): Likewise.
32999         * math/s_csqrtl.c (__csqrtl): Likewise.
33000         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33001         spurious underflow.
33002         * sysdeps/i386/fpu/libm-test-ulps: Update.
33003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33004
33005 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33006
33007         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33008         xopen-msg.sed.
33009         * catgets/xopen-msg.awk: New file.
33010         * catgets/xopen-msg.sed: Removed.
33011
33012         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33013         po2text.sed.
33014         * intl/po2test.awk: New file.
33015         * intl/po2test.sed: Removed.
33016
33017 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33018
33019         [BZ #14328]
33020         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33021         or multiply small sinh result by itself.
33022         * math/s_ctanf.c (__ctanf): Likewise.
33023         * math/s_ctanh.c (__ctanh): Likewise.
33024         * math/s_ctanhf.c (__ctanhf): Likewise.
33025         * math/s_ctanhl.c (__ctanhl): Likewise.
33026         * math/s_ctanl.c (__ctanl): Likewise.
33027         * math/libm-test.inc (ctan_test_tonearest): New function.
33028         (ctan_test_towardzero): Likewise.
33029         (ctan_test_downward): Likewise.
33030         (ctan_test_upward): Likewise.
33031         (ctanh_test_tonearest): Likewise.
33032         (ctanh_test_towardzero): Likewise.
33033         (ctanh_test_downward): Likewise.
33034         (ctanh_test_upward): Likewise.
33035         (main): Call these new functions.
33036         * sysdeps/i386/fpu/libm-test-ulps: Update.
33037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33038
33039 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33040
33041         * .gitignore: Delete /ports entry.
33042
33043 2012-07-03  Andreas Jaeger  <aj@suse.de>
33044
33045         * po/bg.po: Update from translation team.
33046         * po/cs.po: Likewise.
33047         * po/de.po: Likewise.
33048         * po/hr.po: Likewise.
33049         * po/nl.pl: Likewise.
33050         * po/pl.po: Likewise.
33051         * po/vi.po: Likewise.
33052
33053 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33054
33055         * Makeconfig [!+link] (+link-before-libc): New variable.
33056         [!+link] (+link-after-libc): Likewise.
33057         [!+link] (+link-tests): Likewise.
33058         [!+link] (+link): Define in terms of $(+link-before-libc) and
33059         $(+link-after-libc).
33060         [!+link-static] (+link-static-before-libc): New variable.
33061         [!+link-static] (+link-static-after-libc): Likewise.
33062         [!+link-static] (+link-static-tests): Likewise.
33063         [!+link-static] (+link-static): Define in terms of
33064         $(+link-static-before-libc) and $(+link-static-after-libc).
33065         [build-shared] (link-libc-before-gnulib): New variable.
33066         [build-shared] (link-libc-tests): Likewise.
33067         [build-shared] (link-libc): Define in terms of
33068         $(link-libc-before-gnulib).
33069         [!build-shared] (link-libc-tests): New variable.
33070         (link-libc-static-tests): New variable.
33071         [!gnulib] (gnulib-arch): New variable.
33072         [!gnulib] (gnulib-tests): Likewise.
33073         [!gnulib] (static-gnulib-arch): Likewise.
33074         [!gnulib] (static-gnulib-tests): Likewise.
33075         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33076         Define with "=" instead of ":=".
33077         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33078         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33079         * Rules (binaries-all-notests): New variable.
33080         (binaries-all-tests): Likewise.
33081         (binaries-static-notests): Likewise.
33082         (binaries-static-tests): Likewise.
33083         (binaries-all): Define using $(binaries-all-notests) and
33084         $(binaries-all-tests).
33085         (binaries-static): Define using $(binaries-static-notests) and
33086         $(binaries-static-tests).
33087         (binaries-shared-tests): New variable.
33088         (binaries-shared-notests): Likewise.
33089         (binaries-shared): Remove variable.
33090         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33091         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33092         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33093         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33094         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33095         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33096         * elf/Makefile (sln-modules): New variable.
33097         (extra-objs): Add $(sln-modules:=.o).
33098         (ldconfig-modules): Add static-stubs.
33099         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33100         * elf/static-stubs.c: New file.
33101
33102         [BZ #14283]
33103         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33104         by 7 not 8 to examine high bit of fractional part.  Use volatile
33105         variables when splitting into final array of floats if
33106         __FLT_EVAL_METHOD__ != 0.
33107         * math/libm-test.inc (cos_test): Add another test.
33108         (sin_test): Likewise.
33109         * sysdeps/i386/fpu/libm-test-ulps: Update.
33110
33111         [BZ #14273]
33112         * math/libm-test.inc (cosh_test): Add more tests.
33113
33114         * version.h (RELEASE): Set to "development".
33115         (VERSION): Set to "2.16.90".
33116
33117 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33118
33119         * NEWS: Update copyright. Remove last-updated date.
33120         Mention math library bug fixes and timezone data changes.
33121         * README: Mention GNU/Hurd, x32, and HPPA support status.
33122
33123 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33124
33125         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33126
33127 2012-06-27  Andreas Jaeger  <aj@suse.de>
33128
33129         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33130
33131 2012-06-25  Andreas Jaeger  <aj@suse.de>
33132
33133         * sysdeps/s390/fpu/libm-test-ulps: Update.
33134
33135 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33136             Thomas Schwinge  <thomas@codesourcery.com>
33137
33138         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33139         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33140         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33141         fanotify_mark.
33142
33143 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33144
33145         * sysdeps/mach/start.c: Remove file.
33146         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33147         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33148         * sysdeps/sh/init-first.c: Likewise.
33149
33150         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33151         registers for frame unwinding purposes, add CFI directives.
33152         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33153         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33154         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33155         Likewise.
33156
33157         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33158         __fortify_fail returning.
33159         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33160
33161         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33162         sysdeps/sh/____longjmp_chk.S.
33163         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33164         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33165         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33166         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33167
33168         * sysdeps/sh/abort-instr.h: New file.
33169         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33170         process in case exit returns.
33171
33172         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33173         initialize the GOT register before use.
33174
33175         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33176         calculation of ARGC > 4.
33177
33178         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33179         meaningful names to some local labels.
33180
33181 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33182             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33183
33184         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33185         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33186         (__arch_compare_and_exchange_val_16_acq): Likewise.
33187         (__arch_compare_and_exchange_val_32_acq): Likewise.
33188         (atomic_exchange_and_add): Fix gUSA sequence.
33189         (atomic_add): Likewise.
33190         (atomic_add_negative): Likewise.
33191         (atomic_add_zero): Likewise.
33192         (atomic_bit_test_set): Likewise.
33193
33194 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33195
33196         [BZ #13579]
33197         * include/link.h (struct link_map): Add l_free_initfini.
33198         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33199         l_initfini.
33200         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33201         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33202         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33203         set.
33204
33205 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33206
33207         * configure.in: Use AC_LANG_SOURCE.
33208         * configure: Regenerate.
33209
33210 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33211
33212         * configure.in (libc_cv_localstatedir): New substituted variable.
33213         * configure: Regenerated.
33214         * config.make.in (localstatedir): New variable, substituted from
33215         libc_cv_localstatedir.
33216         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33217         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33218         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33219         * sysdeps/gnu/configure: Regenerated.
33220
33221 2012-06-21  Jeff Law  <law@redhat.com>
33222
33223         [BZ #14277]
33224         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33225         free.  Simplify list management for _LIBC case.
33226
33227 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33228
33229         [BZ #14273]
33230         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33231         Clear sign bit of 64-bit integer value before comparing against
33232         overflow value.
33233
33234         * sysdeps/mach/configure: Regenerated.
33235
33236 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33237
33238         [BZ #14278]
33239         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33240
33241 2012-06-21  Jeff Law  <law@redhat.com>
33242
33243         [BZ #13882]
33244         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33245         uint16_t for elements in the "seen" array to avoid char overflows.
33246         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33247         * elf/dl-open.c (dl_open_worker): Likewise.
33248
33249 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33250
33251         * scripts/list-sources.sh: Scan PORTS for translations.
33252         * po/libc.pot: Regenerated.
33253
33254 2012-06-21  Andreas Jaeger  <aj@suse.de>
33255
33256         [BZ #12194]
33257         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33258         warning.
33259         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33260         * bits/byteswap-16.h (__bswap_16): Likewise.
33261         * bits/byteswap.h (__bswap_constant_16): Likewise.
33262
33263 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33264
33265         [BZ #14117]
33266         * sysdeps/i386/fpu_control.h: Removed.
33267         * sysdeps/x86_64/fpu_control.h: Moved to ...
33268         * sysdeps/x86/fpu_control.h: Here.
33269
33270         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33271         (_FPU_SETCW): Likewise.
33272
33273 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33274
33275         [BZ #14117]
33276         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33277         * sysdeps/x86/fpu/bits/mathinline.h: This.
33278         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33279
33280         [BZ #14050]
33281         [BZ #14117]
33282         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33283         functions if __x86_64__ is defined.
33284
33285 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33286
33287         * string/endian.h: Add !__ASSEMBLER__ condition for including
33288         conversion interfaces.
33289
33290 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33291
33292         [BZ #14241]
33293         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33294         of ABS(x) in calculating zero to negative powers other than odd
33295         integers.
33296         * math/libm-test.inc (pow_test): Add more tests.
33297
33298 2012-06-15  Andreas Jaeger  <aj@suse.de>
33299
33300         * manual/contrib.texi (Contributors): Update entry of Liubov
33301         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33302         Machado Filho.
33303
33304 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33305
33306         * string/string.h: Add __wur to GNU version of strerror_r.
33307
33308 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33309
33310         [BZ #14229]
33311         * string/Makefile (tests): Add tst-strtok_r.
33312         * string/tst-strtok_r.c: New file.
33313         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33314         RAX_LP/RDX_LP on SAVE_PTR.
33315
33316 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33317
33318         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33319
33320 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33321
33322         * libm_test.inc (csqrt_test): Allow more spurious underflow
33323         exceptions.
33324         (j0_test): Likewise.
33325         (j1_test): Likewise.
33326         (y0_test): Likewise.
33327         (y1_test): Likewise.
33328
33329 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33330
33331         * po/Makefile (libc.pot): Use UTF-8 charset.
33332
33333 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33334
33335         [BZ #14210]
33336         Suppress sign-conversion warning from FD_SET.
33337         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33338         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33339         not unsigned long int.
33340         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33341
33342 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33343
33344         [BZ #14050]
33345         [BZ #14117]
33346         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33347         __extern_always_inline instead of __extern_inline.
33348         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33349         (__signbit): Likewise.
33350         (__signbitl): Support C++ namespace.
33351         (lrintf): New inline function.
33352         (lrint): Likewise.
33353         (llrintf): Likewise.
33354         (llrint): Likewise.
33355         (fmaxf): Likewise.
33356         (fmax): Likewise.
33357         (fminf): Likewise.
33358         (fmin): Likewise.
33359         (rint): Likewise.
33360         (rintf): Likewise.
33361         (ceil): Likewise.
33362         (ceilf): Likewise.
33363         (floor): Likewise.
33364         (floorf): Likewise.
33365         (nearbyint): Likewise.
33366         (nearbyintf): Likewise.
33367
33368 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33369
33370         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33371         non-default versions.
33372
33373 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33374
33375         [BZ #14218]
33376         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33377
33378 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33379
33380         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33381         (FE_UPWARD, FE_DOWNWARD): Don't define.
33382         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33383         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33384
33385         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33386         reading it.
33387         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33388         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33389
33390 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33391
33392         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33393         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33394         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33395         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33396
33397 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33398
33399         [BZ #14117]
33400         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33401         * sysdeps/i386/fpu/Implies: New file.
33402         * sysdeps/x86_64/fpu/Implies: Likewise.
33403         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33404         * sysdeps/x86/fpu/bits/fenv.h: This.
33405
33406         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33407         __SSE_MATH__.
33408
33409 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33410
33411         [BZ #14134]
33412         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33413         character 0xffff that matches the last element of the
33414         conversion table.
33415
33416 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33417
33418         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33419         fmodl commit.
33420
33421 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33422
33423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33424         values higher than 25.6283.
33425
33426 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33427
33428         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33429         subnormal exponent extraction and add some __builtin_expect.
33430         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33431         Fix for subnormal mantissa calculation.
33432
33433 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33434
33435         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33436         cpu2 is -1 and errno is not ENOSYS.
33437
33438 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33439
33440         [BZ #14117]
33441         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33442         * sysdeps/x86/bits/string.h: This.
33443         * sysdeps/x86_64/bits/string.h: Removed.
33444
33445         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33446         if not compiling for x86-64, but compiling for >= i486.
33447
33448         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33449         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33450
33451         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33452         New macro from Linux kernel 3.4.0.
33453         (FP_XSTATE_MAGIC2): Likewise.
33454         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33455         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33456         (struct _fpx_sw_bytes): New struct.
33457         (struct _xsave_hdr): Likewise.
33458         (struct _ymmh_state): Likewise.
33459         (struct _xstate): Likewise.
33460
33461         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33462         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33463         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33464         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33465         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33466         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33467
33468         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33469         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33470         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33471         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33472         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33473         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33474
33475 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33476
33477         [BZ #13743]
33478         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33479         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33480         (sysdep_headers): Include sys/platform/ppc.h.
33481         * sysdeps/powerpc/test-gettimebase.c: Test for
33482         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33483         * manual/Makefile (appendices): Include platform.texi.
33484         * manual/contrib.texi (Contributors): Update @node pointers.
33485         * manual/maint.texi (Maintenance): Likewise.
33486         (Platform): New node.
33487         * manual/platform.texi: New file.  Document the new features.
33488
33489 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33490             Jakub Jelinek  <jakub@redhat.com>
33491
33492         [BZ #14188]
33493         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33494         where __builtin_expect is unavailable.
33495
33496 2012-06-03  David S. Miller  <davem@davemloft.net>
33497
33498         * stdlib/longlong.h: Updated from GCC.
33499
33500 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33501
33502         [BZ #14042]
33503         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33504         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33505         __mcount_internal.
33506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33507         (GLIBC_2.16): Likewise.
33508
33509 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33510
33511         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33512
33513 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33514
33515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33516         (default-abi): New variable.
33517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33518         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33519         variable.
33520         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33521         Likewise.
33522         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33523         Likewise.
33524         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33525         Likewise.
33526
33527         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33528         definition.  Document in comment.
33529
33530 2012-06-01  David S. Miller  <davem@davemloft.net>
33531
33532         * stdlib/longlong.h: Updated from GCC.
33533
33534 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33535
33536         [BZ #14117]
33537         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33538         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33539         sys/debugreg.h sys/io.h here.
33540         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33541         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33542         sys/io.h.
33543         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33544         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33545         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33546         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33547         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33548         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33549
33550         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33551         Define only if __x86_64__ is defined.
33552
33553 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33554
33555         [BZ #14048]
33556         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33557         Use int64_t for variable i.
33558         * math/libm-test.inc (fmod_test): Add more tests.
33559
33560         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33561         z computation is not scheduled after fetestexcept.
33562         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33563         Use math_force_eval instead of asm to ensure calculation scheduled
33564         before exception test.
33565         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33566         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33567
33568 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33569
33570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33571         computation is not scheduled after fetestexcept.
33572
33573 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33574
33575         [BZ #14117]
33576         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33577         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33578
33579 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33580
33581         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33582         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33583
33584 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33585
33586         [BZ #14117]
33587         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33588         <bits/wordsize.h>.
33589         (__WCHAR_MIN): Support __WORDSIZE == 64.
33590         (__WCHAR_MAX): Likewise.
33591
33592         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33593         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33594
33595         [BZ #14183]
33596         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33597         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33598
33599         [BZ #14117]
33600         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33601         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33602
33603         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33604         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33605
33606         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33607         Defined to 1 if __x86_64__ isn't defined.
33608         (_STAT_VER_LINUX_OLD): New.
33609         (st_atime): Remove duplicate.
33610         (st_mtime): Likewise.
33611         (st_ctime): Likewise.
33612
33613 2012-05-31  David S. Miller  <davem@davemloft.net>
33614
33615         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33616         entries.
33617
33618 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33619
33620         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33621         gen-libm-test.pl.
33622
33623         [BZ #14132]
33624         * elf/dl-reloc.c: Include <_itoa.h>.
33625         (_dl_reloc_bad_type): Remove use of INTUSE.
33626         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33627         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33628         * stdio-common/psiginfo.c (psiginfo): Likewise.
33629         * stdio-common/psignal.c (psignal): Likewise.
33630         * string/strsignal.c (strsignal): Likewise.
33631         * include/signal.h (_sys_siglist): Declare hidden proto.
33632         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33633         INTVARDEF with libc_hidden_data_def.
33634         * stdio-common/itoa-udigits.c: Likewise.
33635         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33636         (_itoa_lower_digits_internal): Remove declaration.
33637         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33638         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33639         (_sys_sigabbrev_internal): Remove aliases.
33640         (_sys_siglist): Define hidden alias.
33641
33642 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33643
33644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33645         bits/sysctl.h.
33646
33647 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33648
33649         [BZ #14117]
33650         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33651         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33652
33653         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33654         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33655         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33656         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33657         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33658         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33659
33660         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33661         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33662         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33663
33664         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33665         with __addr.
33666         (insw): Likewise.
33667         (insl): Likewise.
33668         (outsb): Likewise.
33669         (outsw): Likewise.
33670         (outsl): Likewise.
33671
33672         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33673         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33674         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33675
33676         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33677         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33678         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33679         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33680         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33681         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33682
33683         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33684         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33685
33686         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33687         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33688
33689         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33690         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33691         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33692
33693         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33694         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33695         to ...
33696         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33697
33698         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33699         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33700         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33701
33702         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33703         for x86-64.
33704         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33705
33706 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33707
33708         * math/math.h (M_El): Use two more decimal places.
33709         (M_LOG2El): Likewise.
33710         (M_LOG10El): Likewise.
33711         (M_LN2l): Likewise.
33712         (M_LN10l): Likewise.
33713         (M_PIl): Likewise.
33714         (M_PI_2l): Likewise.
33715         (M_PI_4l): Likewise.
33716         (M_1_PIl): Likewise.
33717         (M_2_PIl): Likewise.
33718         (M_2_SQRTPIl): Likewise.
33719         (M_SQRT2l): Likewise.
33720         (M_SQRT1_2l): Likewise.
33721
33722 2012-05-31  David S. Miller  <davem@davemloft.net>
33723
33724         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33725         values between float registers.
33726         * sysdeps/sparc/sparc64/memset.S: Likewise.
33727         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33728
33729 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33730
33731         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33732         -D_FORTIFY_SOURCE=1.
33733         (CPPFLAGS-tst-longjmp_chk.c): Define.
33734         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33735         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33736         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33737         CFLAGS-tst-wchar-h.c.
33738
33739 2012-05-31  Marek Polacek  <polacek@redhat.com>
33740
33741         [BZ #14132]
33742         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33743         __endmntent_internal): Remove declaration.
33744         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33745         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33746         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33747
33748 2012-05-30  David S. Miller  <davem@davemloft.net>
33749
33750         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33751         (___Q_simulate_exceptions): Use real FP ops rather than writing
33752         into the %fsr.
33753         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33754         Likewise.
33755
33756 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33757
33758         [BZ #14117]
33759         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33760         * sysdeps/x86/bits/xtitypes.h: This.
33761
33762         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33763         * sysdeps/x86/bits/wordsize.h: This.
33764
33765         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33766         * sysdeps/x86/bits/huge_vall.h: This.
33767
33768         * sysdeps/i386/bits/select.h: Removed.
33769         * sysdeps/x86_64/bits/select.h: Renamed to ...
33770         * sysdeps/x86/bits/select.h: This.
33771
33772         * sysdeps/i386/bits/setjmp.h: Removed.
33773         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33774         * sysdeps/x86/bits/setjmp.h: This.
33775
33776         * sysdeps/i386/bits/mathdef.h: Removed.
33777         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33778         * sysdeps/x86/bits/mathdef.h: This.
33779
33780 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33781
33782         [BZ #14132]
33783         * include/sys/socket.h (__connect_internal)
33784         (__libc_sa_len_internal): Remove declaration.
33785         (__connect, __libc_sa_len): Declare hidden_proto.
33786         (SA_LEN): Remove use of INTUSE.
33787         * socket/connect.c: Add libc_hidden_def.
33788         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33789         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33790         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33791         alias.
33792         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33793         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33794         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33795         of adding _internal alias.
33796
33797 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33798
33799         [BZ #14117]
33800         * sysdeps/i386/bits/link.h: Removed.
33801         * sysdeps/i386/bits/linkmap.h: Likewise.
33802         * sysdeps/x86_64/bits/link.h: Renamed to ...
33803         * sysdeps/x86/bits/link.h: This.
33804         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33805         * sysdeps/x86/bits/linkmap.h: This.
33806
33807         * sysdeps/i386/bits/endian.h: Removed.
33808         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33809         * sysdeps/x86/bits/endian.h: This.
33810
33811         * sysdeps/i386/bits/byteswap.h: Removed.
33812         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33813         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33814         * sysdeps/x86/bits/byteswap.h: This.
33815         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33816         * sysdeps/x86/bits/byteswap-16.h: This.
33817         * sysdeps/i386/Implies: Add x86.
33818         * sysdeps/x86_64/Implies: Likewise.
33819
33820 2012-05-30  David S. Miller  <davem@davemloft.net>
33821
33822         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33823         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33824         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33825         (FP_TRAPPING_EXCEPTIONS): Define.
33826         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33827         (FP_TRAPPING_EXCEPTIONS): Define.
33828         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33829         subnormals only when inexact has been signalled or underflow
33830         exceptions are enabled.
33831         (_FP_PACK_CANONICAL): Likewise.
33832
33833 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33834
33835         [BZ #14183]
33836         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33837         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33838
33839 2012-05-30  Richard Henderson  <rth@twiddle.net>
33840
33841         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33842         with #ifndef NOT_IN_libc.
33843
33844         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33845         marked to avoid plt entry.
33846
33847 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33848
33849         [BZ #14112]
33850         * Makeconfig (default-abi): New macro.
33851         (abi-includes): Likewise.
33852         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33853         $(abi-$(default-abi)-lib-soname) for soname if defined.
33854         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33855         abi-variants.
33856         * Makefile (installed-stubs): Likewise.
33857         * include/stubs-biarch.h: Removed.
33858         * scripts/lib-names.awk: Only handle one library at a time.
33859         * scripts/soversions.awk: Remove WORDSIZE support.
33860         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33861         entries.
33862         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33863         Removed.
33864         (syscall-list-default-condition): Likewise.
33865         (syscall-list-default-condition): Likewise.
33866         (syscall-list-includes): Likewise.
33867         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33868         syscall-list-* with abi-*.  Handle undefined abi-variants.
33869         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33870         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33871         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33872         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33873         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33874         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33875         Removed.
33876         (syscall-list-32-options): Likewise.
33877         (syscall-list-32-condition): Likewise.
33878         (syscall-list-64-options): Likewise.
33879         (syscall-list-64-condition): Likewise.
33880         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33881         macro.
33882         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33883         Renamed to ...
33884         (abi-*): This.
33885         (abi-64-ld-soname): New macro.
33886         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33887         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33888         Renamed to ...
33889         (abi-*): This.
33890         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33891         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33892
33893 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33894
33895         * sysdeps/unix/sysv/linux/kernel-features.h
33896         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33897         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33898         include <kernel-features.h>.
33899         [!__NR_ftruncate64]: Remove conditional code.
33900         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33901         [__NR_ftruncate64]: Make code unconditional.
33902         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33903         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33904         include <kernel-features.h>.
33905         [!__NR_ftruncate64]: Remove conditional code.
33906         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33907         [__NR_ftruncate64]: Make code unconditional.
33908         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33910         include <kernel-features.h>.
33911         [!__NR_ftruncate64]: Remove conditional code.
33912         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33913         [__NR_ftruncate64]: Make code unconditional.
33914         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33916         include <kernel-features.h>.
33917         [!__NR_ftruncate64]: Remove conditional code.
33918         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33919         [__NR_ftruncate64]: Make code unconditional.
33920         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33921
33922         * configure.in (libc_cv_fpie): Weaken to a compile test using
33923         LIBC_TRY_CC_OPTION.
33924         * configure: Regenerated.
33925
33926 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33927
33928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33932         Refreshed.
33933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33939         Refreshed.
33940
33941 2012-05-27  David S. Miller  <davem@davemloft.net>
33942
33943         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33944         (___Q_zero): New.
33945         (__Q_simulate_exceptions): Return void.  Change to simulate
33946         exceptions by writing into the %fsr.
33947         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33948         (__Qp_handle_exceptions): Likewise.
33949         (numbers): Delete.
33950         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33951         __Qp_handle_exceptions.
33952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33953         __Qp_handle_exceptions.
33954         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33955         as unused and give dummy FP_RND_NEAREST initializer.
33956         (FP_INHIBIT_RESULTS): Define.
33957         (___Q_simulate_exceptions): Update declaration.
33958         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33959         formatting.
33960         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33961         as unused and give dummy FP_RND_NEAREST initializer.
33962         (__Qp_handle_exceptions): Update declaration.
33963         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33964         formatting.
33965
33966 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33967
33968         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33969         the temporary FPU control word.
33970         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33971         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33972         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33973         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33974         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33975         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33976         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33977         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33978         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33979         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33980         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33981
33982 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33983
33984         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33985         fields.
33986
33987 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33988
33989         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33990         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33991         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33992         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33993         Likewise.
33994         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33995         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33996         Likewise.
33997
33998 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33999
34000         * po/h.po: Update from translation team.
34001
34002 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34003
34004         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34005
34006         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34007         handling of denormals.
34008         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34009         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34010         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34011         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34012         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34013         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34014         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34015         Likewise.
34016
34017 2012-05-26  Marek Polacek  <polacek@redhat.com>
34018
34019         [BZ #14152]
34020         * math/libm-test.inc (fma_test): Don't always expect underflow
34021         exception.
34022
34023 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34024
34025         [BZ #12416]
34026         * elf/tst-execstack.c: Include stackinfo.h.
34027         (do_test): Adjust test case to ensure that pthread_getattr_np
34028         behaviour remains the same after marking stack executable.
34029
34030 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34031
34032         * sysdeps/unix/sysv/linux/kernel-features.h
34033         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34034         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34035         kernel-features.h.
34036         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34037         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34038         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34039         kernel-features.h.
34040         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34041         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34042
34043 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34044
34045         * configure.in: Define the default includes to being none.
34046         * configure: Regenerated.
34047
34048 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34049
34050         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34051         * sysdeps/x86_64/setjmp.S: Likewise.
34052         * sysdeps/i386/bsd-setjmp.S: Likewise.
34053         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34054         * sysdeps/i386/setjmp.S: Likewise.
34055         * sysdeps/i386/__longjmp.S: Likewise.
34056         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34057         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34058
34059         * include/stap-probe.h: New file.
34060         * configure.in: Handle --enable-systemtap.
34061         * configure: Regenerated.
34062         * config.h.in (USE_STAP_PROBE): New #undef.
34063         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34064         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34065         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34066
34067 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34068
34069         [BZ #13717]
34070         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34071         to 2.4.0 where earlier.
34072         * sysdeps/unix/sysv/linux/configure: Regenerated.
34073         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34074         <kernel-features.h>.
34075         [__ASSUME_32BITUIDS]: Make code unconditional.
34076         [!__ASSUME_32BITUIDS]: Remove conditional code.
34077         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34078         <kernel-features.h>.
34079         [__ASSUME_32BITUIDS]: Make code unconditional.
34080         [!__ASSUME_32BITUIDS]: Remove conditional code.
34081         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34082         [__ASSUME_32BITUIDS]: Make code unconditional.
34083         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34084         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34085         <kernel-features.h>.
34086         [__ASSUME_32BITUIDS]: Make code unconditional.
34087         [!__ASSUME_32BITUIDS]: Remove conditional code.
34088         * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
34125         <kernel-features.h>.
34126         [__NR_setresgid] (__setresgid): Do not declare.
34127         [__ASSUME_32BITUIDS]: Make code unconditional.
34128         [!__ASSUME_32BITUIDS]: Remove conditional code.
34129         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34130         <kernel-features.h>.
34131         [__NR_setresuid] (__setresuid): Do not declare.
34132         [__ASSUME_32BITUIDS]: Make code unconditional.
34133         [!__ASSUME_32BITUIDS]: Remove conditional code.
34134         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34135         <kernel-features.h>.
34136         [__ASSUME_32BITUIDS]: Make code unconditional.
34137         [!__ASSUME_32BITUIDS]: Remove conditional code.
34138         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34139         <kernel-features.h>.
34140         [__ASSUME_32BITUIDS]: Make code unconditional.
34141         [!__ASSUME_32BITUIDS]: Remove conditional code.
34142         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34143         <kernel-features.h>.
34144         [__ASSUME_32BITUIDS]: Make code unconditional.
34145         [!__ASSUME_32BITUIDS]: Remove conditional code.
34146         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34147         <kernel-features.h>.
34148         [__ASSUME_32BITUIDS]: Make code unconditional.
34149         [!__ASSUME_32BITUIDS]: Remove conditional code.
34150         * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.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/i386/setresuid.c: Do not include
34159         <kernel-features.h>.
34160         [__ASSUME_32BITUIDS]: Make code unconditional.
34161         [!__ASSUME_32BITUIDS]: Remove conditional code.
34162         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34163         <kernel-features.h>.
34164         [__ASSUME_32BITUIDS]: Make code unconditional.
34165         [!__ASSUME_32BITUIDS]: Remove conditional code.
34166         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34167         <kernel-features.h>.
34168         [__ASSUME_32BITUIDS]: Make code unconditional.
34169         [!__ASSUME_32BITUIDS]: Remove conditional code.
34170         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34171         <kernel-features.h>.
34172         [__ASSUME_32BITUIDS]: Make code unconditional.
34173         [!__ASSUME_32BITUIDS]: Remove conditional code.
34174         * sysdeps/unix/sysv/linux/kernel-features.h
34175         (__ASSUME_SETRESUID_SYSCALL): Remove.
34176         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34177         (__ASSUME_32BITUIDS): Likewise.
34178         (__ASSUME_LDT_WORKS): Likewise.
34179         (__ASSUME_O_DIRECTORY): Likewise.
34180         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34181         architecture but not kernel version.
34182         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34183         (__ASSUME_MMAP2_SYSCALL): Likewise.
34184         (__ASSUME_STAT64_SYSCALL): Likewise.
34185         (__ASSUME_IPC64): Likewise.
34186         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34187         <kernel-features.h>.
34188         [__ASSUME_32BITUIDS]: Make code unconditional.
34189         [!__ASSUME_32BITUIDS]: Remove conditional code.
34190         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34191         <kernel-features.h>.
34192         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34193         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34194         132096]: Remove conditional code.
34195         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34196         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34197         <kernel-features.h>.
34198         [__ASSUME_32BITUIDS]: Make code unconditional.
34199         [!__ASSUME_32BITUIDS]: Remove conditional code.
34200         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34201         <kernel-features.h>.
34202         [__ASSUME_32BITUIDS]: Make code unconditional.
34203         [!__ASSUME_32BITUIDS]: Remove conditional code.
34204         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34205         <kernel-features.h>.
34206         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34207         unconditional.
34208         (__setresgid): Do not declare.
34209         [__ASSUME_32BITUIDS]: Make code unconditional.
34210         [!__ASSUME_32BITUIDS]: Remove conditional code.
34211         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34212         <kernel-features.h>.
34213         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34214         unconditional.
34215         (__setresuid): Do not declare.
34216         [__ASSUME_32BITUIDS]: Make code unconditional.
34217         [!__ASSUME_32BITUIDS]: Remove conditional code.
34218         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34219         <kernel-features.h>.
34220         [__ASSUME_32BITUIDS]: Make code unconditional.
34221         [!__ASSUME_32BITUIDS]: Remove conditional code.
34222         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34223         <kernel-features.h>.
34224         [__ASSUME_32BITUIDS]: Make code unconditional.
34225         [!__ASSUME_32BITUIDS]: Remove conditional code.
34226
34227 2012-05-25  Richard Henderson  <rth@twiddle.net>
34228
34229         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34230         dl_hwcap to ifunc resolver.
34231         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34232         elf_ifunc_invoke.
34233         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34234         dl_hwcap to ifunc resolver.
34235         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34236
34237 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34238
34239         [BZ #14153]
34240         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34241         for |x| <= 2**-26, not 2**-57.
34242         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34243         exception.
34244
34245 2012-05-24  Jeff Law  <law@redhat.com>
34246
34247         * stdio-common/Makefile (tests): Add bug25.
34248         * stdio-common/bug25.c: New test.
34249
34250 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34251
34252         [BZ #13576]
34253         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34254         multiple of MALLOC_ALIGNMENT in size.
34255         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34256
34257 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34258
34259         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34260         Require >= 256.
34261         (FILENAME_MAX): Use macro-int-constant.
34262         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34263         (_IOFBF): Use macro-int-constant.
34264         (_IOLBF): Likewise.
34265         (_IONBF): Likewise.
34266         (SEEK_CUR): Likewise.
34267         (SEEK_END): Likewise.
34268         (SEEK_SET): Likewise.
34269         (TMP_MAX): Likewise.
34270         (EOF): Use macro-int-constant.  Require < 0.
34271         (NULL): Use macro-constant.  Require == 0.
34272         (stdin): Require type to be FILE *.
34273         (stdout): Likewise.
34274         (stderr): Likewise.
34275         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34276         macro-int-constant.
34277         (EXIT_SUCCESS): Likewise.
34278         (NULL): Use macro-constant.  Require == 0.
34279         (RAND_MAX): Use macro-int-constant.
34280         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34281         [C99-based standards] (strtof): Require function.
34282         [C99-based standards] (strtold): Likewise.
34283         [C99-based standards] (strtoll): Likewise.
34284         [C99-based standards] (strtoull): Likewise.
34285         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34286         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34287         [ISO || ISO99 || ISO11] (math.h): Likewise.
34288         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34289         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34290         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34291
34292 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34293
34294         [BZ #14132]
34295         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34296         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34297         * intl/dgettext.c (DCGETTEXT): Likewise.
34298         * intl/gettext.c (DCGETTEXT): Likewise.
34299         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34300         * posix/regex_internal.h (gettext): Likewise.
34301         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34302         Remove declaration.
34303         * include/argz.h (__argz_count_internal)
34304         (__argz_stringify_internal): Remove declaration.
34305         (__argz_count, __argz_stringify): Declare hidden proto.
34306         * intl/dcgettext.c: Remove use of INTDEF.
34307         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34308         * string/argz-stringify.c: Likewise.
34309         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34310         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34311         Declare hidden proto.
34312         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34313         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34314         Declare hidden proto.
34315         * include/stdio.h (__asprintf_internal): Don't declare.
34316         (__asprintf): Don't define as macro.  Declare hidden proto.
34317         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34318         (__fsetlocking): Declare hidden proto.
34319         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34320         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34321         hidden proto.
34322         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34323         (_IO_setlinebuf): Remove use of INTUSE.
34324         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34325         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34326         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34327         Remove declaration.
34328         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34329         (_IO_do_flush): Remove use of INTUSE.
34330         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34331         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34332         (_IO_adjust_column, _IO_least_wmarker)
34333         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34334         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34335         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34336         (_IO_default_doallocate, _IO_wdefault_doallocate)
34337         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34338         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34339         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34340         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34341         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34342         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34343         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34344         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34345         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34346         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34347         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34348         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34349         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34350         proto.
34351         (_IO_flush_all_internal, _IO_adjust_column_internal)
34352         (_IO_default_uflow_internal, _IO_default_finish_internal)
34353         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34354         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34355         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34356         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34357         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34358         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34359         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34360         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34361         (_IO_file_close_internal, _IO_file_close_it_internal)
34362         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34363         (_IO_file_init_internal, _IO_file_attach_internal)
34364         (_IO_file_fopen_internal, _IO_file_read_internal)
34365         (_IO_file_sync_internal, _IO_file_seek_internal)
34366         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34367         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34368         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34369         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34370         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34371         (_IO_list_all_internal, _IO_link_in_internal)
34372         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34373         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34374         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34375         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34376         (_IO_do_write_internal, _IO_padn_internal)
34377         (_IO_getline_info_internal, _IO_getline_internal)
34378         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34379         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34380         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34381         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34382         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34383         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34384         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34385         with libc_hidden_ver, remove use of INTUSE.
34386         * libio/genops.c: Likewise.
34387         * libio/freopen.c: Likewise.
34388         * libio/freopen64.c: Likewise.
34389         * libio/iofclose.c: Likewise.
34390         * libio/iofdopen.c: Likewise.
34391         * libio/iofflush.c: Likewise.
34392         * libio/iofflush_u.c: Likewise.
34393         * libio/iofgets.c: Likewise.
34394         * libio/iofgets_u.c: Likewise.
34395         * libio/iofopen.c: Likewise.
34396         * libio/iofopncook.c: Likewise.
34397         * libio/iofread.c: Likewise.
34398         * libio/iofread_u.c: Likewise.
34399         * libio/ioftell.c: Likewise.
34400         * libio/iofwrite.c: Likewise.
34401         * libio/iogetline.c: Likewise.
34402         * libio/iogets.c: Likewise.
34403         * libio/iogetwline.c: Likewise.
34404         * libio/iopadn.c: Likewise.
34405         * libio/iopopen.c: Likewise.
34406         * libio/ioseekoff.c: Likewise.
34407         * libio/ioseekpos.c: Likewise.
34408         * libio/iosetbuffer.c: Likewise.
34409         * libio/iosetvbuf.c: Likewise.
34410         * libio/ioungetc.c: Likewise.
34411         * libio/ioungetwc.c: Likewise.
34412         * libio/iovdprintf.c: Likewise.
34413         * libio/iovsprintf.c: Likewise.
34414         * libio/iovsscanf.c: Likewise.
34415         * libio/memstream.c: Likewise.
34416         * libio/obprintf.c: Likewise.
34417         * libio/oldfileops.c: Likewise.
34418         * libio/oldiofclose.c: Likewise.
34419         * libio/oldiofdopen.c: Likewise.
34420         * libio/oldiofopen.c: Likewise.
34421         * libio/oldiopopen.c: Likewise.
34422         * libio/oldstdfiles.c: Likewise.
34423         * libio/putc.c: Likewise.
34424         * libio/setbuf.c: Likewise.
34425         * libio/setlinebuf.c: Likewise.
34426         * libio/stdfiles.c: Likewise.
34427         * libio/strops.c: Likewise.
34428         * libio/vasprintf.c: Likewise.
34429         * libio/vscanf.c: Likewise.
34430         * libio/vsnprintf.c: Likewise.
34431         * libio/vswprintf.c: Likewise.
34432         * libio/wfiledoalloc.c: Likewise.
34433         * libio/wfileops.c: Likewise.
34434         * libio/wgenops.c: Likewise.
34435         * libio/wmemstream.c: Likewise.
34436         * libio/wstrops.c: Likewise.
34437         * libio/__fpurge.c: Likewise.
34438         * libio/__fsetlocking.c: Likewise.
34439         * assert/assert.c: Likewise.
34440         * debug/fgets_chk.c: Likewise.
34441         * debug/fgets_u_chk.c: Likewise.
34442         * debug/fread_chk.c: Likewise.
34443         * debug/fread_u_chk.c: Likewise.
34444         * debug/gets_chk.c: Likewise.
34445         * debug/obprintf_chk.c: Likewise.
34446         * debug/vasprintf_chk.c: Likewise.
34447         * debug/vdprintf_chk.c: Likewise.
34448         * debug/vsnprintf_chk.c: Likewise.
34449         * debug/vsprintf_chk.c: Likewise.
34450         * malloc/mtrace.c: Likewise.
34451         * misc/error.c: Likewise.
34452         * misc/syslog.c: Likewise.
34453         * stdio-common/asprintf.c: Likewise.
34454         * stdio-common/fxprintf.c: Likewise.
34455         * stdio-common/getw.c: Likewise.
34456         * stdio-common/isoc99_fscanf.c: Likewise.
34457         * stdio-common/isoc99_scanf.c: Likewise.
34458         * stdio-common/isoc99_vfscanf.c: Likewise.
34459         * stdio-common/isoc99_vscanf.c: Likewise.
34460         * stdio-common/isoc99_vsscanf.c: Likewise.
34461         * stdio-common/printf-prs.c: Likewise.
34462         * stdio-common/printf_fp.c: Likewise.
34463         * stdio-common/printf_fphex.c: Likewise.
34464         * stdio-common/printf_size.c: Likewise.
34465         * stdio-common/putw.c: Likewise.
34466         * stdio-common/scanf.c: Likewise.
34467         * stdio-common/sprintf.c: Likewise.
34468         * stdio-common/tmpfile.c: Likewise.
34469         * stdio-common/vfprintf.c: Likewise.
34470         * stdio-common/vfscanf.c: Likewise.
34471         * stdlib/strfmon_l.c: Likewise.
34472         * sunrpc/openchild.c: Likewise.
34473         * sunrpc/xdr_stdio.c: Likewise.
34474         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34475         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34476
34477 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34478
34479         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34480
34481         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34482         in the third column, to generate for the shared library an IFUNC
34483         that uses _dl_vdso_vsym.
34484         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34485         * Makeconfig (object-suffixes-noshared): New variable.
34486
34487         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34488         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34489         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34490         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34491
34492         [BZ #14132]
34493         * include/sys/time.h (__gettimeofday): Remove macro.
34494         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34495         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34496         Remove INTDEF.
34497         (__gettimeofday): Add libc_hidden_def.
34498         (gettimeofday): Add libc_hidden_weak.
34499         * sysdeps/mach/gettimeofday.c: Likewise.
34500         * sysdeps/posix/gettimeofday.c: Likewise.
34501         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34502         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34503         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34504         (__gettimeofday_internal): Remove strong_alias.
34505         (__gettimeofday): Add libc_hidden_def.
34506         (gettimeofday): Add libc_hidden_weak.
34507         * sysdeps/unix/syscalls.list (gettimeofday):
34508         Remove __gettimeofday_internal alias.
34509
34510 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34511             H.J. Lu  <hongjiu.lu@intel.com>
34512
34513         [BZ #12495]
34514         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34515         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34516         (largebin_index_32_big): New.
34517         (largebin_index): Use it for 16-byte alignment.
34518         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34519         correction with front_misalign.
34520
34521 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34522
34523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34525         Likewise.
34526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34527         Likewise.
34528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34529         Likewise.
34530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34531         Likewise.
34532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34533         Likewise.
34534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34535         Likewise.
34536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34537         Likewise.
34538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34539         Likewise.
34540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34541         Likewise.
34542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34543         Likewise.
34544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34545         Likewise.
34546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34547         Likewise.
34548
34549         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34550         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34551
34552 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34553
34554         [BZ #10846]
34555         [BZ #14036]
34556         * math/libm-test.inc (exp_test): Add test from bug 14036.
34557         (pow_test): Add test from bug 10846.
34558
34559         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34560         and other flags.
34561         (special_function): Do not include flags in test name.
34562         (parse_args): Likewise.
34563         * sysdeps/i386/fpu/libm-test-ulps: Update.
34564         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34565         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34566         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34568
34569         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34570         exceptions.
34571         * math/libm-test.inc ("Philosophy"): Update comment about
34572         exception testing.
34573         (UNDERFLOW_EXCEPTION): New macro.
34574         (UNDERFLOW_EXCEPTION_OK): Likewise.
34575         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34576         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34577         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34578         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34579         (INVALID_EXCEPTION_OK): Update value.
34580         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34581         (OVERFLOW_EXCEPTION_OK): Likewise.
34582         (IGNORE_ZERO_INF_SIGN): Likewise.
34583         (test_exceptions): Handle underflow exceptions.
34584         (acos_test): Update for underflow exception expectations.
34585         (cexp_test): Likewise.
34586         (clog_test): Likewise.
34587         (clog10_test): Likewise.
34588         (csqrt_test): Likewise.
34589         (ctan_test): Likewise.
34590         (ctanh_test): Likewise.
34591         (exp_test): Likewise.
34592         (exp10_test): Likewise.
34593         (exp2_test): Likewise.
34594         (expm1_test): Likewise.
34595         (fma_test): Likewise.
34596         (j0_test): Likewise.
34597         (jn_test): Likewise.
34598         (nexttoward_test): Likewise.
34599         (pow_test): Likewise.
34600         (scalbn_test): Likewise.
34601         (scalbln_test): Likewise.
34602         (tan_test): Likewise.
34603         (y1_test): Likewise.
34604         * sysdeps/i386/fpu/libm-test-ulps: Update.
34605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34606
34607 2012-05-23  David S. Miller  <davem@davemloft.net>
34608
34609         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34610         (__libc_sigaction): Remove unused local variables.
34611
34612 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34613
34614         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34615
34616 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34617
34618         mktime: avoid signed integer overflow
34619         * time/mktime.c (__mktime_internal): Do not mishandle the case
34620         where diff == INT_MIN.
34621
34622         mktime: simplify computation of average
34623         * time/mktime.c (ranged_convert): Use new time_t_avg function
34624         instead of rolling our own (probably-slower) code.
34625
34626         mktime: do not assume signed right shift propagates sign bit
34627         * time/mktime.c (isdst_differ): New static function.
34628         (__mktime_internal): No need to normalize tm_isdst now.
34629         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34630         tm_isdst values.
34631
34632         mktime: merge another wrapv change from gnulib
34633         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34634         from some compilers.
34635
34636         mktime: remove incorrect attempt at unusual arithmetics
34637         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34638         The code didn't really work on such machines anyway.
34639         (TYPE_MINIMUM): Assume two's complement.
34640         (twos_complement_arithmetic): Verify that long_int and time_t
34641         are two's complement (or unsigned, in the latter case).
34642
34643         mktime: check signed shifts on long_int and time_t, too
34644         * time/mktime.c (SHR): Check that shifts work as desired
34645         on the types long_int and time_t too, as SHR is used on
34646         such types.
34647
34648         mktime: do not assume 'long' is wide enough
34649         * time/mktime.c (verify): Move decl up.
34650         (long_int): New type.
34651         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34652         to remove assumption in the code that 'long' is wide enough to
34653         store year values.  This assumption is not true on x32 and on
34654         some non-glibc platforms.
34655
34656         mktime: merge wrapv change from gnulib
34657         * time/mktime.c (WRAPV): New macro.
34658         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34659         (guess_time_tm, __mktime_internal): Do not assume that signed
34660         integer overflow wraps around; modern compilers generate code
34661         where this assumption is no longer valid.
34662
34663 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34664
34665         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34666         Replace "jmp L(pseudo_end)" with "ret".
34667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34668         Likewise.
34669
34670 2012-05-23  Andreas Jaeger  <aj@suse.de>
34671
34672         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34673         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34674
34675 2012-05-23  Andreas Jaeger  <aj@suse.de>
34676             Maximilian Attems  <max@stro.at>
34677
34678         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34679         New macros.
34680
34681 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34682
34683         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34684         code so that pseudo_end is just ret and the stack pointer is
34685         correct also for static library in error case.
34686
34687 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34688
34689         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34690         move to syscalls.list.
34691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34695
34696         * manual/install.texi (Running make install): Do not mention Linux
34697         kernel version for which pt_chown is not needed.
34698         (Linux): Do not mention problems with nscd with 2.0 kernels.
34699         * INSTALL: Regenerated.
34700
34701 2012-05-23  Andreas Jaeger  <aj@suse.de>
34702
34703         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34704         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34705         macro.
34706         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34707         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34708         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34709         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34710         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34711         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34712         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34713         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34714         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34715         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34716         * sysdeps/unix/sysv/linux/bits/in.h
34717         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34718
34719 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34720
34721         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34722         (PREPARE_VERSION): Just use assert instead, it will be elided
34723         under [NDEBUG] anyway.
34724
34725 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34726
34727         * sysdeps/unix/sysv/linux/Makefile: Include
34728         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34729         (sysdep_routines): Remove sysctl.
34730         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34731         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34732         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34733         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34734         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34735
34736 2012-05-22  Andreas Jaeger  <aj@suse.de>
34737
34738         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34739         that pseudo_end is just ret and the stack pointer is correct also
34740         for static library in error case.
34741
34742 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34743
34744         [BZ #14122]
34745         * nss/nsswitch.c (defconfig_entries): New variable.
34746         (__nss_database_lookup): Don't leak defconfig entries.
34747         (nss_parse_service_list): Don't leak on error paths.
34748         (free_database_entries): New function.
34749         (free_defconfig): New function.
34750         (free_mem): Move common code to free_database_entries.
34751
34752 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34753
34754         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34755         Add arch_prctl.
34756         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34757
34758         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34759         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34760         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34761         New macro.
34762         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34763         (INTERNAL_SYSCALL_TYPES): Likewise.
34764         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34765         (LOAD_REGS_TYPES_[1-6]): Likewise.
34766         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34767         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34768
34769 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34770
34771         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34772         copysignl for GLIBC_2_0.
34773         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34774         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34775         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34776         logbl for GLIBC_2_0.
34777         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34778         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34779
34780 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34781
34782         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34783         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34784
34785         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34786         Use "neg %eax".
34787
34788         * time/mktime.c: Update copyright years.
34789
34790 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34791
34792         mktime: merge comment-quoting-style change from gnulib
34793         * time/mktime.c: Quote 'like this' in comments.
34794         The GNU coding standards suggest that we no longer quote `like this',
34795         as "`" and "'" are typically rendered asymmetrically nowadays.
34796         The typical gnulib style is to quote 'like this' when quoting
34797         code, and "like this" when quoting English.
34798
34799         * time/mktime.c (compile-command): Add "-I.".
34800
34801         mktime: merge mktime-internal.h change from gnulib
34802         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34803
34804         mktime: merge time_r change from gnulib
34805         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34806
34807         mktime: merge DEBUG change from gnulib
34808         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34809         case system <time.h> has a #define.
34810
34811         mktime: merge <sys/types.h> change from gnulib
34812         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34813         since <time.t> is now guaranteed to define time_t.
34814
34815         mktime: merge HAVE_CONFIG_H change from gnulib
34816         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34817
34818 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34819
34820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34821         Use "neg %eax".
34822
34823         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34824         __rlim_t cast.
34825         (struct rusage): Use anonymous union to pad each field to
34826         __syscall_slong_t.
34827
34828 2012-05-21  David S. Miller  <davem@davemloft.net>
34829
34830         * Makefules (o-iterator): Remove .s cases.
34831         (compile-command.s): Delete.
34832         (COMPILE.s): Delete.
34833         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34834
34835 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34836
34837         * configure.in (libc_cv_predef_stack_protector): Only consider
34838         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34839         * configure: Regenerated.
34840
34841 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34842
34843         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34844         New macro.  Use R*LP on int and pointer.
34845         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34846         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34847         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34848         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34849
34850         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34851         [__WORDSIZE_TIME64_COMPAT32] instead of
34852         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34853         (struct utmp): Likewise.
34854         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34855         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34856         Renamed to ...
34857         (__WORDSIZE_TIME64_COMPAT32): This.
34858         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34859         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34860         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34861         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34862         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34863         (__WORDSIZE_TIME64_COMPAT32): New macro.
34864
34865 2012-05-21  Andreas Jaeger  <aj@suse.de>
34866
34867         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34868         only if [SHARED]. Add prototype for __wcschr_ia32.
34869
34870 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34871
34872         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34873         of %rbp unmolested in the jmp_buf while mangling the low bits.
34874         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34875         unmolested high bits of %rbp while demangling the low bits.
34876         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34877
34878 2012-05-21  Andreas Jaeger  <aj@suse.de>
34879
34880         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34881         * sunrpc/svc_simple.c: Use it for registerrpc.
34882         * sunrpc/xcrypt.c: Use it for passwd2des.
34883
34884         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34885
34886 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34887
34888         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34889         Don't define if [__SYSCALL_WORDSIZE != 32].
34890         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34891         New macro.
34892
34893 2012-05-21  Bruno Haible  <bruno@clisp.org>
34894             Andreas Jaeger  <aj@suse.de>
34895
34896         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34897         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34898         inptr and inend for must_buffer_ch.
34899         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34900         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34901         * stdio-common/Makefile (tests): Remove bug15.
34902         (bug15-ENV): Remove macro.
34903         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34904         anymore.
34905
34906 2012-05-19  Andreas Jaeger  <aj@suse.de>
34907             Roland McGrath  <roland@hack.frob.com>
34908
34909         * manual/contrib.texi: Completely rewritten. It contains now an
34910         alphabetical list of contributors and their contributions.
34911
34912 2012-05-21  Richard Henderson  <rth@twiddle.net>
34913
34914         * misc/getauxval.c (__getauxval): Use unsigned long int.
34915         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34916         (getauxval): Use unsigned long int.
34917
34918 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34919
34920         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34921
34922 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34923
34924         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34925         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34926         __alignof__ (long double).
34927
34928 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34929
34930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34931
34932 2012-05-20  Richard Henderson  <rth@twiddle.net>
34933
34934         * misc/getauxval.c: New file.
34935         * misc/sys/auxv.h: New file.
34936         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34937         (routines): Add getauxval.
34938         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34939         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34940         * elf/dl-sysdep.c (_dl_auxv): Remove.
34941         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34942         * elf/dl-support.c (_dl_auxv): New variable.
34943         (_dl_aux_init): Initialize it.
34944         * manual/startup.texi (Auxiliary Vector): New node.
34945         * sysdeps/generic/bits/hwcap.h: New file.
34946         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34947         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34948         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34949         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34950         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34951         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34953         Update.
34954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34962
34963 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34964
34965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34966
34967 2012-05-19  David S. Miller  <davem@davemloft.net>
34968
34969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34970
34971 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34972
34973         [BZ #14123]
34974         * math/s_ccosh.c: Include <float.h>
34975         (__ccosh): Avoid internal overflow calculating sinh and cosh
34976         values before multiplying by sin and cos values.
34977         * math/s_ccoshf.c: Likewise.
34978         * math/s_ccoshl.c: Likewise.
34979         * math/s_csin.c: Likewise.
34980         * math/s_csinf.c: Likewise.
34981         * math/s_csinl.c: Likewise.
34982         * math/s_csinh.c: Likewise.
34983         * math/s_csinhf.c: Likewise.
34984         * math/s_csinhl.c: Likewise.
34985         * math/libm-test.inc (ccos_test): Add more tests.
34986         (ccosh_test): Likewise.
34987         (csin_test): Likewise.
34988         (csinh_test): Likewise.
34989         * sysdeps/i386/fpu/libm-test-ulps: Update.
34990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34991
34992 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34993
34994         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34995         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34996
34997         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34998
34999 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35000
35001         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35002         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35003         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35004         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35005         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35006         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35007         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35008         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35009         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35010         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35011         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35012         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35013         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35014         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35015         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35016         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35017         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35018         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35019         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35020         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35021         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35022         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35023         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35024         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35025         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35026         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35027         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35028         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35029         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35030         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35031         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35032
35033 2012-05-18  Andreas Jaeger  <aj@suse.de>
35034
35035         * csu/.gitignore: Delete.
35036
35037 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35038
35039         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35040         (timex): Use __syscall_slong_t.
35041
35042 2012-05-18  Andreas Jaeger  <aj@suse.de>
35043             Carlos O'Donell  <carlos_odonell@mentor.com>
35044
35045         * manual/install.texi (Configuring and compiling): Update
35046         description about files modified in the source directory.
35047         * INSTALL: Regenerated.
35048
35049 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35050
35051         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35052         value.  Use "or" to set return value to -1.
35053         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35054         negate return value.
35055
35056 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35057
35058         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35059         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35060         failure if the compiler has Graphite support disabled.
35061         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35062         Likewise.
35063         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35064         (CFLAGS-memmove.c): Likewise.
35065         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35066         Likewise.
35067
35068 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35069
35070         * sysdeps/x86_64/x32/_itoa.h: New file.
35071
35072         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35073         getdents system call only if kernel and user dirents have the
35074         same d_ino and d_off.
35075
35076         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35077         LLONG_MAX != LONG_MAX.
35078         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35079         (_fitoa_word): Likewise.
35080
35081         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35082         years.
35083         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35084         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35085         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35086
35087         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35088         include <bits/wordsize.h>.  Check __x86_64__ instead of
35089         __WORDSIZE.
35090         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35091         if __x86_64__ is defined.  Use anonymous union on fpstate.
35092
35093         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35094         anonymous union.
35095
35096 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35097
35098         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35099         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35100         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35101         Refer to _rtld_local_ro instead of _rtld_global_ro.
35102         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35103         Likewise.
35104         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35105         Likewise.
35106         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35107         Likewise.
35108         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35109         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35110         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35111
35112         * sysdeps/powerpc/powerpc32/dl-machine.c
35113         (__elf_machine_runtime_setup) [PROF]: Don't reference
35114         _dl_prof_resolve.
35115
35116 2012-05-18  Andreas Jaeger  <aj@suse.de>
35117
35118         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35119         function only available for GCCs before 3.4 since GCC 3.4
35120         introduced a builtin.
35121         (lrint): Likewise.
35122         (llrintf): Likewise.
35123         (llrint): Likewise.
35124         (fmaxf): Likewise.
35125         (fmax): Likewise.
35126         (fminf): Likewise.
35127         (fmin): Likewise.
35128         (rint): Likewise.
35129         (rintf): Likewise.
35130         (nearbyint): Likewise.
35131         (nearbyintf): Likewise.
35132         (ceil): Likewise.
35133         (ceilf): Likewise.
35134         (floor): Likewise.
35135         (floorf): Likewise.
35136
35137 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35138
35139         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35140         on both fields and cast pointer to __syscall_ulong_t.
35141
35142         * bits/types.h (__fsword_t): New type.
35143         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35144         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35145         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35146         (__FSWORD_T_TYPE): Likewise.
35147         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35148         (__FSWORD_T_TYPE): Likewise.
35149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35150         (__FSWORD_T_TYPE): Likewise.
35151         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35152         (__FSWORD_T_TYPE): Likewise.
35153         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35154         __SWORD_TYPE with __fsword_t.
35155         (statfs64): Likewise.
35156
35157 2012-05-17  David S. Miller  <davem@davemloft.net>
35158
35159         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35160
35161 2012-05-17  Andreas Jaeger  <aj@suse.de>
35162
35163         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35164         warning.
35165
35166 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35167
35168         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35169
35170 2012-05-17  Andreas Jaeger  <aj@suse.de>
35171
35172         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35173         when it is used.
35174
35175 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35176
35177         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35178
35179 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35180
35181         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35182         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35183
35184 2012-05-17  Andreas Jaeger  <aj@suse.de>
35185             Carlos O'Donell  <carlos_odonell@mentor.com>
35186
35187         [BZ #14059]
35188         * sysdeps/x86_64/multiarch/init-arch.h
35189         (bit_YMM_Usable): Rename to...
35190         (bit_AVX_Usable): ... this.
35191         (bit_FMA4_Usable): New macro.
35192         (bit_XMM_state): New macro.
35193         (bit_YMM_state): New macro.
35194         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35195         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35196         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35197         (CPUID_OSXSAVE): New macro.
35198         (CPUID_AVX): New macro.
35199         (CPUID_FMA4): New macro.
35200         (index_YMM_Usable): Rename to...
35201         (index_AVX_Usable): ... this.
35202         (HAS_AVX): Use HAS_ARCH_FEATURE.
35203         (HAS_FMA4): Likewise.
35204         (HAS_YMM_USABLE): Remove.
35205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35206         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35207         are present.
35208         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35209         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35210         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35211         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35212         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35213
35214 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35215
35216         * math/libm-test.c: Support platforms without multiple rounding modes.
35217         * math/bug-nextafter.c: Support platforms without FP exceptions.
35218         * math/bug-nexttoward.c: Likewise.
35219         * math/test-fenv.c: Likewise.
35220         * math/test-misc.c: Likewise.
35221         * stdlib/bug-getcontext.c: Likewise.
35222
35223 2012-05-17  Andreas Jaeger  <aj@suse.de>
35224
35225         * manual/examples/search.c (critter_cmp): Change signature to
35226         avoid warnings.
35227         * manual/string.texi (Collation Functions): Likewise.
35228
35229 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35230
35231         * bits/types.h: Fold copyright years.
35232         * bits/typesizes.h: Likewise.
35233         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35234         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35235         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35236         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35237         * time/time.h: Likewise.
35238
35239 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35240
35241         [BZ #208]
35242         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35243         in instead of returning them.  Return void.
35244         (__libc_mallinfo): Accumulate over all arenas.
35245         (__malloc_stats): Adjust for change in int_mallinfo interface.
35246
35247 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35248
35249         [BZ #10375]
35250         * configure.in (NM): Add AC_CHECK_TOOL for it.
35251         (libc_extra_cflags): New substituted variable.
35252         Check for -fstack-protector being used implicitly.
35253         * configure: Regenerated.
35254         * config.make.in (config-extra-cflags): New variable,
35255         gets @libc_extra_cflags@.
35256         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35257
35258         [BZ #10375]
35259         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35260         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35261         * configure: Regenerated.
35262         * config.make.in (CPPUNDEFS): New substituted variable.
35263         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35264         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35265         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35266
35267 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35268
35269         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35270         (mq_attr): Use __syscall_slong_t.
35271
35272 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35273
35274         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35275         Check __x86_64__ instead of __WORDSIZE.
35276         (_STAT_VER_LINUX): Likewise.
35277         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35278         __syscall_ulong_t and __syscall_slong_t.
35279         (stat64): Likewise.
35280
35281 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35282
35283         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35284
35285 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35286
35287         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35288
35289 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35290
35291         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35292         __syscall_ulong_t.
35293
35294         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35295         include <bits/wordsize.h>.  Check __x86_64__ instead of
35296         __WORDSIZE.
35297         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35298         defined.
35299         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35300
35301         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35302         include <bits/wordsize.h>.  Check __x86_64__ instead of
35303         __WORDSIZE.
35304         (user_regs_struct): Use "__extension__ unsigned long long"
35305         instead of "unsigned long" if __x86_64__ is defined.
35306         (user): Likewise.  Pad after pointer field if __ILP32__ is
35307         defined.
35308
35309 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35310
35311         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35312         versions 5 to 9.
35313         * configure: Regenerated.
35314         * manual/install.texi (texinfo): Increase version requirement to
35315         4.5 or later.
35316         * INSTALL: Regenerated.
35317
35318         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35319
35320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35321
35322         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35323
35324         * sysdeps/x86_64/x32/ffs.c: New file.
35325
35326         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35327         __syscall_ulong_t.
35328         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35329         defined.  Use __syscall_ulong_t.
35330         (shminfo): Use __syscall_ulong_t.
35331         (shm_info): Likewise.
35332
35333         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35334         __syscall_ulong_t.
35335
35336         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35337         <bits/wordsize.h>.
35338         (msgqnum_t): Use __syscall_ulong_t.
35339         (msglen_t): Likewise.
35340         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35341         __syscall_ulong_t.
35342
35343         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35344         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35345
35346         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35347
35348         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35349         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35350
35351         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35352         __syscall_slong_t.
35353
35354         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35355         include <bits/wordsize.h>.  Check __x86_64__ instead of
35356         __WORDSIZE.
35357
35358         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35359         "unsigned long long int" if __x86_64__ is defined.
35360         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35361
35362         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35363         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35364         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35365
35366         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35367         <stdint.h>.
35368         (GET_PC): Cast to uintptr_t first.
35369         (GET_FRAME): Likewise.
35370         (GET_STACK): Likewise.
35371
35372         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35373         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35374         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35375         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35376         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35377         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35378         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35379         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35380         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35381         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35382         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35383         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35384         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35385         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35386         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35387         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35388         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35389         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35390         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35391         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35392         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35393         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35394         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35395         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35396         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35397         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35398         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35399         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35400         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35401
35402 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35403
35404         * Makerules (+depfiles): Also collect depfiles from .oS in
35405         $(extra-objs).
35406         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35407         .oS, $(libnldbl-routines)).
35408
35409         * Makerules (native-compile-mkdep-flags): Define.
35410         * sunrpc/Makefile (extra-objs): Add $(addprefix
35411         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35412         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35413         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35414         calling $(make-target-directory).
35415
35416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35417
35418         * bits/types.h (__snseconds_t): Removed.
35419         * time/time.h (struct timespec): Replace __snseconds_t with
35420         __syscall_slong_t.
35421         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35422         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35423         Likewise.
35424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35425         (__SNSECONDS_T_TYPE): Likewise.
35426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35427         (__SNSECONDS_T_TYPE): Likewise.
35428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35429         (__SNSECONDS_T_TYPE): Likewise.
35430
35431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35432
35433         * sysdeps/mach/hurd/bits/typesizes.h
35434         (__SYSCALL_SLONG_TYPE): New macro.
35435         (__SYSCALL_ULONG_TYPE): Likewise.
35436
35437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35438
35439         * bits/types.h (__syscall_slong_t): New type.
35440         (__syscall_ulong_t): Likewise.
35441
35442         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35443         (__SYSCALL_ULONG_TYPE): Likewise.
35444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35445         (__SYSCALL_SLONG_TYPE): Likewise.
35446         (__SYSCALL_ULONG_TYPE): Likewise.
35447         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35448         (__SYSCALL_SLONG_TYPE): Likewise.
35449         (__SYSCALL_ULONG_TYPE): Likewise.
35450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35451         (__SYSCALL_SLONG_TYPE): Likewise.
35452         (__SYSCALL_ULONG_TYPE): Likewise.
35453
35454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35455
35456         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35457         Add sigaltstack-offsets.sym.
35458         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35459         <sigaltstack-offsets.h>.
35460         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35461         longjmp_msg pointer.
35462         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35463         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35464         signal stack.
35465         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35466
35467 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35468
35469         * elf/stackguard-macros.h: Remove file.
35470         * sysdeps/generic/stackguard-macros.h: New file.
35471         * sysdeps/i386/stackguard-macros.h: Likewise.
35472         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35473         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35474         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35475         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35476         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35477         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35478         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35479         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35480         <elf/stackguard-macros.h>.
35481
35482         [BZ #14109]
35483         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35484         __aligned__ in attribute.
35485         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35486         (gregset_t): Likewise.
35487
35488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35489
35490         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35491         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35492         * sysdeps/x86_64/x32/Implies-after: New file.
35493
35494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35495
35496         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35497         and access return value for _dl_profile_fixup.  Use R10_LP to
35498         load frame size.
35499
35500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35501
35502         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35503
35504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35505
35506         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35507         * sysdeps/x86_64/x32/sysdep.h: New file.
35508
35509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35510
35511         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35512         * sysdeps/x86_64/setjmp.S: Likewise.
35513
35514 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35515
35516         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35517         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35518         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35519         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35520         remove unused global constant.
35521
35522 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35523
35524         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35525         include of <not-cancel.h>.
35526
35527 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35528
35529         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35530
35531 2012-05-15  Jeff Law  <law@redhat.com>
35532             Andreas Jaeger  <aj@suse.de>
35533
35534         [BZ #13594]
35535         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35536         out from...
35537         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35538         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35539         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35540         code changing __hst_map_handle.map.
35541
35542 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35543
35544         * configure.in (sysnames): Look for Implies-before and Implies-after
35545         files.
35546         * configure: Regenerated.
35547
35548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35549
35550         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35551         8-byte data alignment with LP_SIZE alignment.
35552
35553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35554
35555         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35556         into R10_LP.
35557
35558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35559
35560         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35561
35562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35563
35564         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35565         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35566         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35567         Likewise.
35568         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35569
35570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35571
35572         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35573         (stackinfo_sub_sp): Likewise.
35574
35575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35576
35577         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35578         RAX_LP.
35579
35580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35581
35582         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35583         into R*_LP.
35584
35585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35586
35587         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35588         sizes into R*_LP.
35589
35590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35591
35592         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35593
35594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35595
35596         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35597         into R11_LP and load __x86_64_shared_cache_size_half into
35598         R8_LP.
35599
35600 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35601
35602         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35603         R8_LP.
35604
35605 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35606
35607         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35608         logb for POWER7.
35609         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35610         logbf for POWER7.
35611         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35612         logbl for POWER7.
35613         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35614         powerpc32/power7/fpu/s_logb.c via #include.
35615         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35616         powerpc32/power7/fpu/s_logbf.c via #include.
35617         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35618         powerpc32/power7/fpu/s_logbl.c via #include.
35619
35620 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35621
35622         * README.libm: Remove file.
35623
35624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35625
35626         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35627         count for x32.  Use R*_LP and omit operand-size suffix.
35628
35629 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35630
35631         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35632         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35633         * sysdeps/x86_64/x32/shlib-versions: New file.
35634
35635 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35636
35637         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35638         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35639         Use _dl_fatal_printf instead.
35640
35641 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35642
35643         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35644         set if not set by the user.  Do not allow for being unset.
35645         * sysdeps/unix/sysv/linux/configure: Regenerated.
35646
35647 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35648
35649         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35650         the `q' suffix from lea and replace .quad with ASM_ADDR.
35651
35652 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35653
35654         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35655         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35656         instead of $17.
35657         (PTR_DEMANGLE): Likewise.
35658
35659 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35660
35661         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35662         (LP_OP): Likewise.
35663         (ASM_ADDR): Likewise.
35664         (RAX_LP): Likewise.
35665         (RBP_LP): Likewise.
35666         (RBX_LP): Likewise.
35667         (RCX_LP): Likewise.
35668         (RDI_LP): Likewise.
35669         (RSI_LP): Likewise.
35670         (RSP_LP): Likewise.
35671         (R8_LP): Likewise.
35672         (R9_LP): Likewise.
35673         (R10_LP): Likewise.
35674         (R10_LP): Likewise.
35675         (R11_LP): Likewise.
35676         (R12_LP): Likewise.
35677         (R13_LP): Likewise.
35678         (R14_LP): Likewise.
35679         (R15_LP): Likewise.
35680
35681 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35682
35683         * sysdeps/x86_64/x32/dl-machine.h: New file.
35684
35685 2012-05-14  Andreas Jaeger  <aj@suse.de>
35686
35687         * manual/Makefile (subdir): Remove export of subdir.
35688         (all): Remove target.
35689         (.PHONY): Remove all from list.
35690         (mkinstalldirs): Remove.
35691         (.PHONY): Remove installdirs from list.
35692         ($(inst_infodir)/libc.info): Use make-target-directory.
35693         (installdirs): Remove.
35694         (subdir_%): Remove.
35695         (glibc-targets): Remove.
35696         (lib): Remove.
35697         (stubs): Remove.
35698         ($(objpfx)stubs ../po/manual.pot): Remove.
35699         ($(objpfx)stamp%): Remove.
35700         (make-target-directory): Remove.
35701         (subdir_install): Remove.
35702         (routines): Remove.
35703         (aux): Remove.
35704         (sources): Remove.
35705         (objects): Remove.
35706         (headers): Remove.
35707
35708         [BZ #13750]
35709         * manual/.gitignore: Remove, it's not needed anymore.
35710         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35711         all files in it.
35712         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35713         directory.
35714         (texis): Renamed to $(objpfx)texis.
35715         (texis-path): New, contains path to generated files.
35716         (chapters.%): Use texis-path for complete path, add extra argument
35717         libc-texinfo.sh.
35718         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35719         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35720         (summary,texi, stamp-summary): Use complete path of
35721         files. Generate files in build dir.
35722         (dir-add.texi): Build in build dir.
35723         (libm-err.texi,stamp-libm-err): Likewise.
35724         (version.texi, stamp-version): Likewise.
35725         (.%c.texi): Likewise.
35726         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35727         (mostlyclean): Remove target.
35728         (realclean): Remove target.
35729         (generated): Add new variable with contents from mostlyclean and
35730         realclean, remove entries duplicated in common-mostlyclean, add
35731         stamp-libm-err and stamp-version.
35732         (generated-dirs): Add libc directory.
35733         ($(inst_infodir)/libc.info): Install files from build dir.
35734
35735         * manual/install.texi (Configuring and compiling): Adjust since
35736         the info files are not part of the tar ball anymore.
35737
35738 2012-05-14  Andreas Jaeger  <aj@suse.de>
35739
35740         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35741         variable.
35742
35743 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35744
35745         [BZ #13717]
35746         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35747         to 2.2.0 where earlier.
35748         * sysdeps/unix/sysv/linux/configure: Regenerated.
35749         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35750         Remove conditional code.
35751         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35752         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35753         Remove conditional code.
35754         [!__NR_lchown]: Likewise.
35755         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35756         [__NR_lchown]: Likewise.
35757         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35758         comment referencing __ASSUME_LCHOWN_SYSCALL.
35759         * sysdeps/unix/sysv/linux/i386/sigaction.c
35760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35762         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35763         Remove conditional code.
35764         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35765         (__protocol_available): Remove #if 0 code.
35766         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35767         conditional code.
35768         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35769         * sysdeps/unix/sysv/linux/kernel-features.h
35770         (__ASSUME_GETCWD_SYSCALL): Don't define.
35771         (__ASSUME_REALTIME_SIGNALS): Likewise.
35772         (__ASSUME_PREAD_SYSCALL): Likewise.
35773         (__ASSUME_PWRITE_SYSCALL): Likewise.
35774         (__ASSUME_POLL_SYSCALL): Likewise.
35775         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35776         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35777         non-SPARC.
35778         (__ASSUME_SIOCGIFNAME): Don't define.
35779         (__ASSUME_MSG_NOSIGNAL): Likewise.
35780         (__ASSUME_SENDFILE): Define unconditionally.
35781         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35782         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35783         conditional code.
35784         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35785         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35786         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35787         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35788         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35789         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35790         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35792         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35793         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35795         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35796         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35798         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35799         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35801         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35802         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35804         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35805         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35807         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35808         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35810         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35811         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35813         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35814         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35815         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35816         Remove conditional code.
35817         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35818         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35819         Remove conditional code.
35820         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35821         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35822         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35823         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35824         Remove conditional code.
35825         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35826         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35827         Remove conditional code.
35828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35829         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35830         Remove conditional code.
35831         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35832         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35833         Remove conditional code.
35834         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35835         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35836         Remove conditional code.
35837         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35838         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35839         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35840         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35841         * sysdeps/unix/sysv/linux/sigaction.c
35842         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35843         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35844         * sysdeps/unix/sysv/linux/sigpending.c
35845         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35846         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35847         * sysdeps/unix/sysv/linux/sigprocmask.c
35848         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35849         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35850         * sysdeps/unix/sysv/linux/sigsuspend.c
35851         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35852         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35853         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35854         (__libc_missing_rt_sigs): Remove.
35855         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35856         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35857         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35858         Remove conditional code.
35859         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35860         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35861         return 1.
35862         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35863         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35864         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35865         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35866
35867 2012-05-14  Andreas Jaeger  <aj@suse.de>
35868
35869         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35870         it's not used in glibc.
35871         (__coshm1): Likewise.
35872         (__acosh1p): Likewise.
35873         (__sgn): Likewise.
35874
35875         * manual/string.texi (Copying and Concatenation): Add missing
35876         variable in concat example.
35877         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35878
35879 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35880
35881         [BZ #14103]
35882         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35883         __builtin_clzl with __builtin_clzll.
35884
35885 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35886
35887         [BZ #14104]
35888         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35889         libc_freeres_ptr.
35890
35891 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35892
35893         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35894         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35895         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35896         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35897
35898 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35899
35900         * NEWS: Update ia64 info.
35901
35902 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35903
35904         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35905         used as bcopy.
35906
35907 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35908
35909         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35910         * sysdeps/unix/syscalls.list (dup3): Likewise.
35911         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35912         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35913
35914 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35915
35916         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35917         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35918
35919 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35920
35921         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35922         thread pointer.
35923         (TLS_IE): Use mov/add instead of movq/addq to load thread
35924         pointer.
35925         (TLS_GD_PREFIX): New.
35926         (TLS_GD): Use it.
35927
35928 2012-05-11  David S. Miller  <davem@davemloft.net>
35929
35930         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35931         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35932         (_FPU_SETCW): Likewise.
35933
35934 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35935
35936         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35937         is 32-byte aligned.
35938
35939 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35940
35941         [BZ #11837]
35942         * iconvdata/gb18030.c: Update tables.
35943         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35944         characters specially.
35945         (BODY for TO_LOOP): Add encoding of missing ranges.
35946
35947 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35948
35949         [BZ #13673]
35950         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35951         * sysdeps/mach/hurd/dup3.c: Likewise.
35952         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35953         * sysdeps/powerpc/memmove.c:: Likewise.
35954
35955 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35956
35957         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35958         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35959
35960 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35961
35962         * elf/elf.h (R_X86_64_RELATIVE64): New.
35963         (R_X86_64_NUM): Updated.
35964         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35965         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35966         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35967         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35968         tst-quad1pie tst-quad2pie
35969         (modules-names): Add tst-quadmod1 tst-quadmod2.
35970         ($(objpfx)tst-quad1): New dependency.
35971         ($(objpfx)tst-quad2): Likewise.
35972         ($(objpfx)tst-quad1pie): Likewise.
35973         ($(objpfx)tst-quad2pie): Likewise.
35974         * sysdeps/x86_64/tst-quad1.c: New file.
35975         * sysdeps/x86_64/tst-quad1pie.c: New file.
35976         * sysdeps/x86_64/tst-quad2.c: Likewise.
35977         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35978         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35979         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35980         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35981         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35982
35983 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35984
35985         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35986         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35987         * streams/stropts.h (t_scalar_t): Define type.
35988
35989         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35990         (_PATH_PRESERVE): Set to "/var/lib".
35991         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35992
35993         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35994         instead of int.
35995
35996         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35997         if __dir_mkfile succeeded.
35998
35999         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36000         checking for _hurd_dtablesize.  Unlock it right after having
36001         finished _hurd_dtable allocation.
36002
36003 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36004
36005         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36006         * sysdeps/mach/hurd/configure: Regenerated.
36007         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36008         special-casing to...
36009         * sysdeps/gnu/configure.in: ... this new file.
36010         * sysdeps/unix/sysv/linux/configure: Regenerated.
36011         * sysdeps/gnu/configure: New generated file.
36012
36013         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36014         for Linux: use nsec instead of usec, as well as:
36015         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36016         members of type struct timespec.
36017         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36018         New macros.
36019         (struct stat64): Likewise.
36020         (_STATBUF_ST_NSEC): New macro.
36021         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36022
36023         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36024         __strtoul_internal rather than strtoul.
36025
36026 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36027
36028         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36029         and reject them.
36030
36031 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36032
36033         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36034         which preserves existing values.
36035         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36036
36037 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36038
36039         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36040         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36041         greater than FD_SETSIZE.
36042
36043 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36044
36045         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36046         allocated, call __vm_protect to finish enabling the existing space, and
36047         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36048         allocate the remainder.
36049
36050 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36051
36052         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36053         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36054
36055 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36056
36057         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36058         sysdeps/mach/hurd/readlink.c.
36059
36060         * posix/tst-sysconf.c (posix_options): Only use
36061         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36062         _POSIX_SYNCHRONIZED_IO when they are defined
36063         * sysdeps/mach/hurd/bits/posix_opt.h:
36064         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36065         (_XOPEN_REALTIME): Undefine macro.
36066         (_XOPEN_REALTIME_THREADS): Undefine macro.
36067         (_XOPEN_SHM): Undefine macro.
36068         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36069         macro to -1.
36070         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36071         macro to -1.
36072         (_POSIX_ASYNC_IO): Undefine macro.
36073         (_POSIX_PRIORITIZED_IO): Undefine macro.
36074         (_POSIX_SPIN_LOCKS): Define macro to -1.
36075
36076         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36077         SA_NODEFER, SA_RESETHAND.
36078         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36079         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36080         F_DUPFD_CLOEXEC.
36081
36082 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36083
36084         * elf/Makefile (pldd-modules): Define unconditionally.
36085
36086 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36087
36088         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36089
36090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36091
36092         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36093         Return ENOENT when name is empty.
36094         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36095
36096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36097
36098         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36099
36100         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36101
36102 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36103
36104         Fix mlock in all cases except non-readable pages.
36105         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36106         instead of VM_PROT_ALL as parameter to __vm_wire function.
36107
36108         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36109         (__mkdir): When path is `/', just fail with EEXIST.
36110         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36111
36112 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36113
36114         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36115         <sys/uio.h> (for writev).
36116         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36117         and <sys/param.h> (for MIN).
36118
36119 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36120
36121         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36122         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36123         if interrupted.
36124
36125 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36126
36127         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36128         Depend on against $(link-rpcuserlibs).
36129
36130 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36131
36132         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36133         (__libc_stack_end): Do not use attribute_relro.
36134         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36135         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36136         to libthread-provided value.
36137         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36138         attribute_relro.
36139
36140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36141
36142         [BZ #3748]
36143         * bits/libc-lock.h (__libc_once_get): New macro.
36144         * sysdeps/mach/bits/libc-lock.h: Likewise.
36145         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36146         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36147         instead of using implementation details.
36148
36149         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36150         * libio/freopen.c: Likewise.
36151         * libio/freopen64.c: Likewise.
36152         * misc/syslog.c: Likewise.
36153         * nscd/connections.c: Likewise.
36154         * nscd/netgroupcache.c: Likewise.
36155         * sysdeps/posix/getcwd.c: Likewise.
36156
36157 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36158
36159         * math/w_ilogbf.c: Add #include <limits.h>.
36160
36161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36162
36163         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36164         path instead of returning without unlocking.
36165
36166         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36167         immediate-write ioctls.
36168         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36169
36170 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36171
36172         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36173         __builtin_frame_address instead of making assumptions about the
36174         location of the return address relative to DATA.  Force early load of
36175         the return address.
36176         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36177         __builtin_frame_address.
36178
36179         dup3 for GNU Hurd.
36180         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36181         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36182         implement dup3 and do some further code clean-ups.
36183         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36184         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36185
36186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36187
36188         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36189
36190         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36191         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36192         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36193         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36194         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36195         d->port.lock.
36196
36197         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36198         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36199         when handler == SIG_ERR, not when handler != SIG_ERR.
36200
36201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36202
36203         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36204         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36205         definitions.
36206
36207         accept4 for GNU Hurd.
36208         * include/sys/socket.h (__libc_accept4): New prototype.
36209         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36210         to implement __libc_accept4.
36211         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36212         __libc_accept4.
36213         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36214
36215         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36216         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36217         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36218         signal-defines.sym.
36219
36220 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36221
36222         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36223
36224 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36225
36226         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36227         assertion on O_CLOEXEC flag.
36228         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36229         * hurd/intern-fd.c: Likewise.
36230         * hurd/port2fd.c: Likewise.
36231
36232 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36233
36234         [BZ #3906]
36235         * bits/in.h (IPV6_PKTINFO): Define new macro.
36236         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36237
36238 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36239
36240         [BZ #13954]
36241         [BZ #13955]
36242         [BZ #13956]
36243         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36245         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36246         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36247         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36248         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36249         * math/libm-test.inc (logb_test) : Additional logb tests.
36250
36251 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36252             Andreas Jaeger  <aj@suse.de>
36253
36254         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36255         * configure: Regenerated.
36256         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36257         * config.make.in (link-obsolete-rpc): New substituted variable.
36258         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36259         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36260         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36261         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36262         so that libc.a contains the symbols.
36263         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36264         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36265         * sunrpc/auth_none.c: Likewise.
36266         * sunrpc/auth_unix.c: Likewise.
36267         * sunrpc/authdes_prot.c: Likewise.
36268         * sunrpc/authuxprot.c: Likewise.
36269         * sunrpc/clnt_gen.c: Likewise.
36270         * sunrpc/clnt_perr.c: Likewise.
36271         * sunrpc/clnt_raw.c: Likewise.
36272         * sunrpc/clnt_simp.c: Likewise.
36273         * sunrpc/clnt_tcp.c: Likewise.
36274         * sunrpc/clnt_udp.c: Likewise.
36275         * sunrpc/clnt_unix.c: Likewise.
36276         * sunrpc/des_crypt.c: Likewise.
36277         * sunrpc/des_soft.c: Likewise.
36278         * sunrpc/get_myaddr.c: Likewise.
36279         * sunrpc/key_call.c: Likewise.
36280         * sunrpc/key_prot.c: Likewise.
36281         * sunrpc/netname.c: Likewise.
36282         * sunrpc/pm_getmaps.c: Likewise.
36283         * sunrpc/pm_getport.c: Likewise.
36284         * sunrpc/pmap_clnt.c: Likewise.
36285         * sunrpc/pmap_prot.c: Likewise.
36286         * sunrpc/pmap_prot2.c: Likewise.
36287         * sunrpc/pmap_rmt.c: Likewise.
36288         * sunrpc/publickey.c: Likewise.
36289         * sunrpc/rpc_cmsg.c: Likewise.
36290         * sunrpc/rpc_common.c: Likewise.
36291         * sunrpc/rpc_dtable.c: Likewise.
36292         * sunrpc/rpc_prot.c: Likewise.
36293         * sunrpc/rpc_thread.c: Likewise.
36294         * sunrpc/rtime.c: Likewise.
36295         * sunrpc/svc.c: Likewise.
36296         * sunrpc/svc_auth.c: Likewise.
36297         * sunrpc/svc_raw.c: Likewise.
36298         * sunrpc/svc_run.c: Likewise.
36299         * sunrpc/svc_tcp.c: Likewise.
36300         * sunrpc/svc_udp.c: Likewise.
36301         * sunrpc/svc_unix.c: Likewise.
36302         * sunrpc/svcauth_des.c: Likewise.
36303         * sunrpc/xcrypt.c: Likewise.
36304         * sunrpc/xdr.c: Likewise.
36305         * sunrpc/xdr_array.c: Likewise.
36306         * sunrpc/xdr_float.c: Likewise.
36307         * sunrpc/xdr_intXX_t.c: Likewise.
36308         * sunrpc/xdr_mem.c: Likewise.
36309         * sunrpc/xdr_rec.c: Likewise.
36310         * sunrpc/xdr_ref.c: Likewise.
36311         * sunrpc/xdr_sizeof.c: Likewise.
36312         * sunrpc/xdr_stdio.c: Likewise.
36313
36314 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36315
36316         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36317         change.  Update copyright years.
36318
36319 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36320
36321         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36322
36323 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36324             Joseph Myers  <joseph@codesourcery.com>
36325             Paul Pluzhnikov  <ppluzhnikov@google.com>
36326
36327         [BZ #14012]
36328         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36329         requiring rpcgen.
36330         [cross-compiling] (extra-libs): Likewise.
36331         [cross-compiling] (extra-libs-others): Likewise.
36332         [cross-compiling] (librpcsvc-routines): Likewise.
36333         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36334         [cross-compiling] (omit-deps): Likewise.
36335         (sunrpc-CPPFLAGS): New variable.
36336         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36337         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36338         (cross-rpcgen-objs): New variable.
36339         (extra-objs): Append $(cross-rpcgen-objs).
36340         ($(cross-rpcgen-objs)): New rule.
36341         ($(objpfx)cross-rpcgen): Likewise.
36342         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36343         comment.
36344         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36345         ($(objpfx)x%.stmp): Likewise.
36346         * sunrpc/proto.h [IS_IN_build] (_): Define.
36347         [IS_IN_build] (_libc_intl_domainname): Likewise.
36348
36349 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36350
36351         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36352         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36353         and R_X86_64_TPOFF64.
36354
36355 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36356
36357         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36358         sysdeps/unix/sysv/syscalls.list.
36359         (stime): Likewise.
36360         (utime): Likewise.
36361         * sysdeps/unix/sysv/syscalls.list: Remove file.
36362
36363 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36364
36365         [BZ #3440]
36366         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36367         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36368         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36369         (__LC_IDENTIFICATION): Make these macros useful in #if
36370         expressions, as required by C99.
36371
36372 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36373
36374         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36375         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36376         after this.
36377
36378 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36379
36380         * stdlib/longlong.h: Updated from GCC.
36381
36382 2012-05-09  Andreas Jaeger  <aj@suse.de>
36383
36384         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36385         default is first entry.
36386         (run_mode): Set type.
36387         (main): Remove informal message about syslog.
36388         (options): Fix typo.
36389
36390         [BZ #14053]
36391         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36392         to asm.
36393         (lrint): Likewise.
36394         (llrintf): Likewise.
36395         (llrint): Likewise.
36396         (rint): Likewise.
36397         (rintf): Likewise.
36398         (nearbyint): Likewise.
36399         (nearbyintf): Likewise.
36400
36401 2012-05-09  Andreas Jaeger  <aj@suse.de>
36402             Pedro Alves  <palves@redhat.com>
36403
36404         * nscd/nscd.c (run_mode): Use enum.
36405         (main): Cleanup coding style issue.
36406
36407 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36408             Andreas Jaeger  <aj@suse.de>
36409
36410         * nscd/nscd.c (go_background): Replaced with...
36411         (run_mode): ... this.
36412         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36413         (options): Add -F --foreground.
36414         (main): Implement it.
36415         (parse_opt): Parse it.
36416
36417 2012-05-09  Andreas Jaeger  <aj@suse.de>
36418
36419         [BZ #14083]
36420         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36421         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36422         -Wconversion warning.
36423         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36424         Likewise.
36425
36426 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36427
36428         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36429         == 0.
36430         (LC_ALL): Use macro-int-constant.
36431         (LC_COLLATE): Likewise.
36432         (LC_CTYPE): Likewise.
36433         (LC_MESSAGES): Likewise.
36434         (LC_MONETARY): Likewise.
36435         (LC_NUMERIC): Likewise.
36436         (LC_TIME): Likewise.
36437         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36438         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36439         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36440         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36441         Specify type.
36442         [C99-based standards] (float_t): Expect type.
36443         [C99-based standards] (double_t): Expect type.
36444         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36445         type.
36446         [C99-based standards] (HUGE_VALL): Likewise.
36447         [C99-based standards] (INFINITY): Likewise.
36448         [C99-based standards] (NAN): Likewise.
36449         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36450         [C99-based standards] (FP_NAN): Likewise.
36451         [C99-based standards] (FP_NORMAL): Likewise.
36452         [C99-based standards] (FP_SUBNORMAL): Likewise.
36453         [C99-based standards] (FP_ZERO): Likewise.
36454         [C99-based standards] (FP_FAST_FMA): Use
36455         optional-macro-int-constant.  Specify type.  Require == 1.
36456         [C99-based standards] (FP_FAST_FMAF): Likewise.
36457         [C99-based standards] (FP_FAST_FMAL): Likewise.
36458         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36459         [C99-based standards] (FP_ILOGBNAN): Likewise.
36460         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36461         Specify type.
36462         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36463         [C99-based standards] (math_errhandling): Specify type.
36464         [ISO99 || ISO11] (signgam): Do not allow.
36465         [non-C99-based standards] (copysignf): Do not allow.
36466         [non-C99-based standards] (exp2f): Likewise.
36467         [non-C99-based standards] (log2f): Likewise.
36468         [non-C99-based standards] (modff): Allow.
36469         [non-C99-based standards] (erff): Do not allow.
36470         [non-C99-based standards] (erfcf): Likewise.
36471         [non-C99-based standards] (gammaf): Likewise.
36472         [non-C99-based standards] (hypotf): Likewise.
36473         [non-C99-based standards] (j0f): Likewise.
36474         [non-C99-based standards] (j1f): Likewise.
36475         [non-C99-based standards] (jnf): Likewise.
36476         [non-C99-based standards] (lgammaf): Likewise.
36477         [non-C99-based standards] (tgammaf): Likewise.
36478         [non-C99-based standards] (y0f): Likewise.
36479         [non-C99-based standards] (y1f): Likewise.
36480         [non-C99-based standards] (ynf): Likewise.
36481         [non-C99-based standards] (isnanf): Likewise.
36482         [non-C99-based standards] (acoshf): Likewise.
36483         [non-C99-based standards] (asinhf): Likewise.
36484         [non-C99-based standards] (atanhf): Likewise.
36485         [non-C99-based standards] (cbrtf): Likewise.
36486         [non-C99-based standards] (expm1f): Likewise.
36487         [non-C99-based standards] (ilogbf): Likewise.
36488         [non-C99-based standards] (log1pf): Likewise.
36489         [non-C99-based standards] (logbf): Likewise.
36490         [non-C99-based standards] (nextafterf): Likewise.
36491         [non-C99-based standards] (remainderf): Likewise.
36492         [non-C99-based standards] (rintf): Likewise.
36493         [non-C99-based standards] (scalbf): Likewise.
36494         [non-C99-based standards] (copysignl): Likewise.
36495         [non-C99-based standards] (exp2l): Likewise.
36496         [non-C99-based standards] (log2l): Likewise.
36497         [non-C99-based standards] (modfl): Allow.
36498         [non-C99-based standards] (erfl): Do not allow.
36499         [non-C99-based standards] (erfcl): Likewise.
36500         [non-C99-based standards] (gammal): Likewise.
36501         [non-C99-based standards] (hypotl): Likewise.
36502         [non-C99-based standards] (j0l): Likewise.
36503         [non-C99-based standards] (j1l): Likewise.
36504         [non-C99-based standards] (jnl): Likewise.
36505         [non-C99-based standards] (lgammal): Likewise.
36506         [non-C99-based standards] (tgammal): Likewise.
36507         [non-C99-based standards] (y0l): Likewise.
36508         [non-C99-based standards] (y1l): Likewise.
36509         [non-C99-based standards] (ynl): Likewise.
36510         [non-C99-based standards] (isnanl): Likewise.
36511         [non-C99-based standards] (acoshl): Likewise.
36512         [non-C99-based standards] (asinhl): Likewise.
36513         [non-C99-based standards] (atanhl): Likewise.
36514         [non-C99-based standards] (cbrtl): Likewise.
36515         [non-C99-based standards] (expm1l): Likewise.
36516         [non-C99-based standards] (ilogbl): Likewise.
36517         [non-C99-based standards] (log1pl): Likewise.
36518         [non-C99-based standards] (logbl): Likewise.
36519         [non-C99-based standards] (nextafterl): Likewise.
36520         [non-C99-based standards] (remainderl): Likewise.
36521         [non-C99-based standards] (rintl): Likewise.
36522         [non-C99-based standards] (scalbl): Likewise.
36523         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36524         [non-C99-based standards] (FP_*): Do not allow.
36525         [C99-based standards] (FP_*): Change to
36526         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36527         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36528         allow.
36529         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36530         (SIG_ERR): Likewise.
36531         [X/Open-based standards] (SIG_HOLD): Likewise.
36532         (SIG_IGN): Likewise.
36533         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36534         positive value.
36535         (SIGFPE): Likewise.
36536         (SIGILL): Likewise.
36537         (SIGINT): Likewise.
36538         (SIGSEGV): Likewise.
36539         (SIGTER): Likewise.
36540         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36541         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36542         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36543         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36544         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36545         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36546         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36547         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36548         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36549         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36550         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36551         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36552         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36553         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36554         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36555         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36556         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36557         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36558         [X/Open-based standards] (SIGTRAP): Likewise.
36559         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36560         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36561         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36562         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36563         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36564         allow.
36565
36566 2012-05-08  Ian Wienand  <ianw@vmware.com>
36567
36568         [BZ #14080]
36569         * time/tzset.c (__tzset_parse_tz): Update default rules for
36570         daylight time changes in the Energy Policy Act of 2005.
36571
36572 2012-05-09  Andreas Jaeger  <aj@suse.de>
36573
36574         [BZ #13983]
36575         * elf/ldconfig.c (parse_conf): Change string to make clear that
36576         ldconfig only issued a warning if ld.so.conf does not exist.
36577
36578 2012-05-08  David S. Miller  <davem@davemloft.net>
36579
36580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36581         movxtod instead of popping the value on the stack.
36582
36583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36584
36585 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36586
36587         * config.h.in: Add HAVE_ARM_PCS_VFP.
36588
36589 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36590
36591         [BZ #13979]
36592         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36593         checking but the checks are disabled for any reason.
36594
36595 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36596
36597         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36598         and ELF64_R_TYPE with ELFW(R_TYPE).
36599
36600 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36601
36602         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36603         (ulimit): Likewise.
36604
36605         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36606         (settimeofday): Likewise.
36607
36608 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36609
36610         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36611         a struct th_u2 inside the union, and move tu_block/tu_code into
36612         a new th_u3 union of tu_block/tu_code inside of that.  Move
36613         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36614         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36615         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36616         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36617         (th_stuff): Change to th_u1.tu_stuff.
36618         (th_data): Define.
36619         (th_msg): Change to th_u1.th_u2.tu_data.
36620
36621 2012-05-07  David S. Miller  <davem@davemloft.net>
36622
36623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36624
36625         [BZ #14074]
36626         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36627         (SETUP_PIC_REG): Use it.
36628         (SETUP_PIC_REG_LEAF): Use it.
36629
36630 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36631
36632         [BZ #13885]
36633         [BZ #13923]
36634         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36635         USE_AS_EXPM1L.
36636         (EXPL_FINITE): Likewise.
36637         (FLDLOG): Likewise.
36638         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36639         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36640         e_expl.S.
36641         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36642         USE_AS_EXPM1L.
36643         (EXPL_FINITE): Likewise.
36644         (FLDLOG): Likewise.
36645         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36646         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36647         e_expl.S.
36648         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36649         test of -max_value argument for long double.
36650         * sysdeps/i386/fpu/libm-test-ulps: Update.
36651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36652
36653 2012-05-06  David S. Miller  <davem@davemloft.net>
36654
36655         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36656         quad soft-float symbols whose references which are compiler
36657         generated.
36658         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36659
36660 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36661
36662         [BZ #13884]
36663         [BZ #13914]
36664         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36665         USE_AS_EXP10L.
36666         (EXPL_FINITE): Likewise.
36667         (FLDLOG): Likewise.
36668         (c0): Likewise.
36669         (c1): Likewise.
36670         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36671         Adjust comments for base varying.
36672         (__expl_finite): Change alias to EXPL_FINITE.
36673         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36674         e_expl.S.
36675         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36676         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36677         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36678         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36679         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36680         USE_AS_EXP10L.
36681         (EXPL_FINITE): Likewise.
36682         (FLDLOG): Likewise.
36683         (c0): Likewise.
36684         (c1): Likewise.
36685         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36686         Adjust comments for base varying.
36687         (__expl_finite): Change alias to EXPL_FINITE.
36688         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36689         tests for bugs.
36690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36691
36692         [BZ #14064]
36693         * math/libm-test.inc (check_float_internal): Correct ulp
36694         calculation for subnormal expected results.
36695
36696 2012-05-06  Andreas Jaeger  <aj@suse.de>
36697
36698         * Makeconfig (+math-flags): New, set to -frounding-math.
36699         (+cflags): Add +math-flags so that all of glibc gets compiled with
36700         it.
36701
36702         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36703
36704 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36705
36706         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36707         Disable one test.
36708
36709         [BZ #13787]
36710         [BZ #13922]
36711         [BZ #14036]
36712         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36713         (__ieee754_expl): Allow for and saturate large arguments.
36714         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36715         (u_threshold): Likewise.
36716         (__exp): Call __ieee754_exp before checking for overflow and
36717         underflow.
36718         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36719         (u_threshold): Likewise.
36720         (__expf): Call __ieee754_expf before checking for overflow and
36721         underflow.
36722         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36723         (u_threshold): Likewise.
36724         (__expl): Call __ieee754_expl before checking for overflow and
36725         underflow.
36726         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36727         (__ieee754_expl): Allow for and saturate large arguments.
36728         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36729         missing overflow exception on overflow.
36730         (expm1_test): Do not allow missing overflow exception on overflow.
36731
36732         * sysdeps/i386/fpu/e_expl.c: Move to ...
36733         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36734         rather than using inline asm.
36735         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36736         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36737         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36738
36739         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36740         (nice): Likewise.
36741         (poll): Likewise.
36742         (signal): Likewise.
36743         (time): Likewise.
36744         (times): Likewise.
36745
36746 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36747
36748         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36749         sysdeps/unix/common/syscalls.list.
36750         (fchmod): Likewise.
36751         (fchown): Likewise.
36752         (ftruncate): Likewise.
36753         (getrusage): Likewise.
36754         (gettimeofday): Likewise.
36755         (setpgid): Likewise.
36756         (setregid): Likewise.
36757         (setreuid): Likewise.
36758         (sigaction): Likewise.
36759         (truncate): Likewise.
36760         (vhangup): Likewise.
36761         * sysdeps/unix/common/syscalls.list: Remove file.
36762         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36763         * sysdeps/unix/sysv/linux/Implies: Likewise.
36764
36765 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36766
36767         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36769         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36770         Moved to ...
36771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36772         Here.
36773         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36774         to ...
36775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36776         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36777         to ...
36778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36779         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36780         to ...
36781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36782         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36783         to ...
36784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36785         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36786         to ...
36787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36788         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36789         to ...
36790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36791         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36792         to ...
36793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36794         Here.
36795         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36796         to ...
36797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36798         Here.
36799         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36800         to ...
36801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36802         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36803         Moved to ...
36804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36805         Here.
36806         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36807         to ...
36808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36809
36810 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36811
36812         * sysdeps/unix/common/bits/dirent.h: Remove file.
36813         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36814
36815         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36816         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36817         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36818         * sysdeps/unix/bsd/isatty.c: Likewise.
36819         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36820         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36821         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36822
36823 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36824
36825         [BZ #13563]
36826         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36827         long double comparison inaccuracies.
36828         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36830
36831 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36832
36833         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36834         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36835
36836 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36837
36838         [BZ #14049]
36839         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36840         nonzero digits before rounding a hex value.
36841         * stdlib/tst-strtod.c (tests): Add another test.
36842
36843 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36844
36845         * sysdeps/s390/fpu/libm-test-ulps: Update.
36846
36847 2012-05-03  Andreas Jaeger  <aj@suse.de>
36848
36849         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36850         does not get optimized out.
36851         (malloc_opt_barrier): New.
36852
36853 2012-05-03  Andreas Jaeger  <aj@suse.de>
36854             Roland McGrath  <roland@hack.frob.com>
36855
36856         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36857         intermediate file deletion.
36858         (generated): Add .symlist files.
36859
36860 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36861
36862         [BZ #13775]
36863         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36864         Redirect under this condition.
36865         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36866         [__USE_GNU] (__dprintf_chk): Not under this condition.
36867         [__USE_GNU] (__vdprintf_chk): Likewise.
36868         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36869         under this condition.
36870         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36871         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36872         [__USE_XOPEN2K8] (vdprintf): Likewise.
36873         [__USE_GNU] (__dprintf_chk): Not under this condition.
36874         [__USE_GNU] (__vdprintf_chk): Likewise.
36875         [__USE_GNU] (dprintf): Likewise.
36876         [__USE_GNU] (vdprintf): Likewise.
36877
36878 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36879
36880         * elf/Makefile (common-generated): Set this instead of generated for
36881         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36882         $(all-built-dso)-derived lists.
36883
36884 2012-05-03  Andreas Jaeger  <aj@suse.de>
36885
36886         * sysdeps/i386/fpu/libm-test-ulps: Update.
36887
36888         * FAQ: Removed.
36889         * FAQ.in: Likewise.
36890         * scripts/gen-FAQ.pl: Likewise.
36891         * manual/install.texi (Installation): Point to online location of
36892         FAQ.
36893         * Makefile (files-for-dist): Remove FAQ.
36894         (FAQ): Remove.
36895
36896 2012-05-02  Allan McRae  <allan@archlinux.org>
36897
36898         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36899         (LDFLAGS-reldepmod5.so): Likewise.
36900         (LDFLAGS-reldep6mod1.so): Likewise.
36901         (LDFLAGS-reldep6mod4.so): Likewise.
36902         (LDFLAGS-reldep8mod3.so): Likewise.
36903         (LDFLAGS-unload4mod1.so): Likewise.
36904         (LDFLAGS-unload4mod2.so): Likewise.
36905         (LDFLAGS-tst-initorder): Likewise.
36906         (LDFLAGS-tst-initordera2.so): Likewise.
36907         (LDFLAGS-tst-initordera3.so): Likewise.
36908         (LDFLAGS-tst-initordera4.so): Likewise.
36909         (LDFLAGS-tst-initorderb2.so): Likewise.
36910         (LDFLAGS-noload): Likewise.
36911         (LDFLAGS-next): Likewise.
36912         (LDFLAGS-order2mod1.so): Likewise.
36913         (LDFLAGS-order2mod2.so): Likewise.
36914         (LDFLAGS-tst-initorder2): Likewise.
36915         (LDFLAGS-tst-initorder2a.so): Likewise.
36916         (LDFLAGS-tst-initorder2b.so): Likewise.
36917         (LDFLAGS-tst-initorder2c.so): Likewise.
36918         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36919
36920 2012-05-02  David S. Miller  <davem@davemloft.net>
36921
36922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36923
36924 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36925
36926         [BZ #14055]
36927         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36928
36929 2012-05-02  Andreas Jaeger  <aj@suse.de>
36930
36931         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36932         since we manipulate rounding mode.
36933         (CPPFLAGS-test-idouble.c): Likewise.
36934         (CPPFLAGS-test-ifloat.c): Likewise.
36935         (CFLAGS-test-ldouble.c): Likewise.
36936         (CFLAGS-test-double.c): Likewise.
36937         (CFLAGS-test-float.c): Likewise.
36938         (CFLAGS-test-misc.c): Likewise.
36939         (CFLAGS-test-test-fenv.c): Likewise.
36940
36941 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36942
36943         [BZ #2550]
36944         [BZ #2570]
36945         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36946         comparisons to determine direction to adjust input.
36947
36948 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36949
36950         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36951         output to the target.
36952
36953         * scripts/localplt.awk: New file.
36954         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36955         (check-localplt-CFLAGS): Variable removed.
36956         ($(all-built-dso:=.jmprel)): New static pattern rule.
36957         (generated): Add those targets.
36958         (localplt-built-dso): New variable.
36959         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36960
36961         * elf/check-localplt.c: File removed.
36962
36963         * scripts/check-execstack.awk: New file.
36964         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36965         (check-execstack-CFLAGS): Variable removed.
36966         ($(objpfx)check-execstack.h): Target removed.
36967         ($(objpfx)execstack-default): New target.
36968         (generated): Add that instead of check-execstack.h.
36969         ($(all-built-dso:=.phdr)): New static pattern rule.
36970         (generated): Add those targets.
36971         * elf/check-execstack.c: File removed.
36972
36973         * scripts/check-textrel.awk: New file.
36974         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36975         (check-textrel-CFLAGS): Variable removed.
36976         (all-built-dso): Use := to define.o
36977         ($(all-built-dso:=.dyn)): New static pattern rule.
36978         (generated): Add those targets.
36979         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36980         * config.make.in (READELF): New substituted variable.
36981         * elf/check-textrel.c: File removed.
36982
36983 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36984
36985         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36986         allow.
36987         * conform/data/ctype.h-data [C99-based standards] (isblank):
36988         Expect function.
36989         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36990         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36991         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36992         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36993         Specify type.  Require positive value.
36994         (EILSEQ): Likewise.
36995         (ERANGE): Likewise.
36996         [ISO || POSIX] (EILSEQ): Do not expect.
36997         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36998         Specify type.  Require positive value.
36999         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37000         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37001         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37002         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37003         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37004         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37005         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37006         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37007         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37008         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37009         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37010         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37011         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37012         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37013         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37014         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37015         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37016         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37017         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37018         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37019         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37020         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37021         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37022         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37023         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37024         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37025         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37026         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37027         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37028         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37029         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37030         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37031         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37032         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37033         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37034         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37035         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37036         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37037         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37038         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37039         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37040         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37041         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37042         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37043         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37044         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37045         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37046         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37047         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37048         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37049         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37050         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37051         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37052         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37053         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37054         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37055         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37056         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37057         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37058         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37059         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37060         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37061         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37062         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37063         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37064         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37065         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37066         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37067         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37068         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37069         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37070         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37071         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37072         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37073         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37074         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37075         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37076         Require >= 2.
37077         (FLT_ROUNDS): Expect as macro, not constant.
37078         (FLT_MANT_DIG): Use macro-int-constant.
37079         (DBL_MANT_DIG): Likewise.
37080         (LDBL_MANT_DIG): Likewise.
37081         (FLT_DIG): Likewise.
37082         (DBL_DIG): Likewise.
37083         (LDBL_DIG): Likewise.
37084         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37085         (DBL_MIN_EXP): Likewise.
37086         (LDBL_MIN_EXP): Likewise.
37087         (FLT_MAX_EXP): Use macro-int-constant.
37088         (DBL_MAX_EXP): Likewise.
37089         (LDBL_MAX_EXP): Likewise.
37090         (FLT_MAX_10_EXP): Likewise.
37091         (DBL_MAX_10_EXP): Likewise.
37092         (LDBL_MAX_10_EXP): Likewise.
37093         (FLT_MAX): Use macro-constant.
37094         (DBL_MAX): Likewise.
37095         (LDBL_MAX): Likewise.
37096         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37097         (DBL_EPSILON): Likewise.
37098         (LDBL_EPSILON): Likewise.
37099         (FLT_MIN): Likewise.
37100         (DBL_MIN): Likewise.
37101         (LDBL_MIN): Likewise.
37102         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37103         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37104         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37105         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37106         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37107         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37108         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37109         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37110         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37111         [ISO11] (FLT_TRUE_MIN): Likewise.
37112         [ISO11] (LDBL_TRUE_MIN): Likewise.
37113         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37114         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37115         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37116         (SCHAR_MAX): Likewise.
37117         (UCHAR_MAX): Likewise.
37118         (CHAR_MIN): Likewise.
37119         (CHAR_MAX): Likewise.
37120         (MB_LEN_MAX): Use macro-int-constant.
37121         (SHRT_MIN): Use macro-int-constant.  Specify type.
37122         (SHRT_MAX): Likewise.
37123         (USHRT_MAX): Likewise.
37124         (INT_MAX): Likewise.
37125         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37126         bound negative.
37127         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37128         bound with "U".
37129         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37130         bound with "L".
37131         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37132         bound negative.  Suffix upper bound with "L".
37133         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37134         bound with "UL".
37135         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37136         Specify type.
37137         [C99-based standards] (LLONG_MAX): Likewise.
37138         [C99-based standards] (ULLONG_MAX): Likewise.
37139         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37140         == 0.
37141         [ISO11] (max_align_t): Require type.
37142         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37143
37144         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37145         from $CFLAGS, without defining away __attribute__ calls.
37146         (checknamespace): Use $CFLAGS_namespace.
37147
37148         * conform/conformtest.pl (@keywords): Only include C99 keywords
37149         for standards based on C99 or C11.
37150
37151         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37152         Disable tests.
37153         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37154         UNIX98]: Likewise.
37155
37156         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37157         usability of symbols in #if.
37158
37159         * conform/conformtest.pl: If macro or constant types start
37160         "promoted:", expect the symbol to be of the following type
37161         promoted by the integer promotions.
37162
37163         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37164         in one place.  Also handle "macro-constant".
37165
37166         * conform/conformtest.pl: Only accept expected macro values with
37167         "==".  Parse all "macro" lines in one place.
37168         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37169
37170         * conform/conformtest.pl: Handle braced types on "constant" lines
37171         instead of handling "typed-constant".
37172         * conform/data/signal.h-data: Use "constant" instead of
37173         "typed-constant".
37174
37175         * conform/conformtest.pl: Handle "optional-" at start of lines in
37176         one place rather than duplicating several cases.  Handle each
37177         format of "macro" line with initial "optional-".
37178
37179         * conform/conformtest.pl: Only accept expected constant or
37180         optional-constant values with "==".  Parse all "constant" lines in
37181         one place.  Parse all "optional-constant" lines in one place.
37182         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37183         * conform/data/fmtmsg.h-data: Likewise.
37184         * conform/data/netinet/in.h-data: Likewise.
37185         * conform/data/tar.h-data: Likewise.
37186         * conform/data/limits.h-data: Use "==" form on "constant" and
37187         "optional-constant" lines.
37188
37189         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37190         Use -std=c99 for XOPEN2K.
37191         (@knownproblems): Remove.
37192         (newtoken): Don't check %isknown.
37193
37194         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37195         Do not expect macro.
37196         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37197         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37198         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37199         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37200         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37201         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37202         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37203         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37204         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37205         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37206         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37207         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37208         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37209         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37210         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37211         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37212         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37213         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37214         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37215         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37216         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37217         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37218         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37219         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37220         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37221         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37222         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37223         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37224         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37225         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37226         [XPG3] (acosh): Likewise.
37227         [XPG3] (asinh): Likewise.
37228         [XPG3] (atanh): Likewise.
37229         [XPG3] (cbrt): Likewise.
37230         [XPG3] (expm1): Likewise.
37231         [XPG3] (ilogb): Likewise.
37232         [XPG3] (log1p): Likewise.
37233         [XPG3] (logb): Likewise.
37234         [XPG3] (nextafter): Likewise.
37235         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37236         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37237         [XPG3] (remainder): Likewise.
37238         [XPG3] (rint): Likewise.
37239         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37240         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37241         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37242         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37243         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37244         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37245         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37246         [UNIX98 || XOPEN2K] (scalb): Expect.
37247         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37248         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37249         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37250         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37251         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37252         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37253         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37254         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37255         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37256         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37257         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37258         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37259         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37260         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37261         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37262         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37263         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37264         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37265         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37266         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37267         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37268         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37269         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37270         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37271         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37272         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37273         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37274         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37275         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37276         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37277         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37278         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37279         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37280         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37281         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37282         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37283         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37284         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37285         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37286         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37287         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37288         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37289         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37290         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37291         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37292         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37293         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37294         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37295         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37296         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37297         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37298         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37299         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37300         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37301         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37302         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37303         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37304         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37305         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37306         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37307         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37308         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37309         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37310         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37311         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37312         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37313         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37314         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37315         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37316         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37317         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37318         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37319         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37320         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37321         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37322         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37323         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37324         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37325         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37326         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37327         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37328         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37329         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37330         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37331         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37332         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37333         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37334         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37335         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37336         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37337         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37338         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37339         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37340         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37341         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37342         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37343         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37344         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37345         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37346         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37347         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37348         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37349         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37350         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37351         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37352         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37353         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37354         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37355         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37356         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37357         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37358         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37359         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37360         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37361         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37362         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37363         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37364         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37365         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37366         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37367         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37368         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37369         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37370         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37371         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37372         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37373         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37374         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37375         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37376         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37377         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37378         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37379         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37380         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37381         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37382         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37383         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37384
37385         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37386         _XOPEN_SOURCE_EXTENDED for XPG4.
37387
37388         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37389
37390         * Makeconfig (localtime): Remove variable.
37391         (inst_localtime-file): Likewise.
37392
37393 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37394
37395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37396         Update.
37397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37398         Update.
37399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37400         Update.
37401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37402         Update.
37403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37404         Update.
37405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37406         Update.
37407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37408         Update.
37409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37410         Update.
37411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37412         Update.
37413
37414 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37415
37416         [BZ #2550]
37417         [BZ #2570]
37418         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37419         comparisons to determine direction to adjust input.
37420         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37421         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37422         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37423         Likewise.
37424         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37425         Likewise.
37426         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37427         Likewise.
37428         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37429         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37430         Likewise.
37431         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37432         Likewise.
37433         * math/libm-test.inc (nexttoward_test): Add more tests.
37434
37435 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37436
37437         [BZ #14040]
37438         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37439         in version GLIBC_2.1, not GLIBC_2.0.
37440         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37441         Likewise.
37442
37443 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37444
37445         [BZ #13942]
37446         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37447         (1 - x) * (1 + x).
37448         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37449         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37450         * math/libm-test.inc (acos_test): Add more tests.
37451         (asin_test): Likewise.
37452         * sysdeps/i386/fpu/libm-test-ulps: Update.
37453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37454
37455         [BZ #14034]
37456         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37457         of square root.
37458         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37459         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37460         * math/libm-test.inc (acos_test_tonearest): New function.
37461         (acos_test_towardzero): Likewise.
37462         (acos_test_downward): Likewise.
37463         (acos_test_upward): Likewise.
37464         (asin_test_tonearest): Likewise.
37465         (asin_test_towardzero): Likewise.
37466         (asin_test_downward): Likewise.
37467         (asin_test_upward): Likewise.
37468         (main): Call the new functions.
37469         * sysdeps/i386/fpu/libm-test-ulps: Update.
37470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37471
37472         [BZ #13884]
37473         [BZ #13924]
37474         * math/e_exp10.c: Include <float.h>.
37475         (__ieee754_exp10): Handle underflow here rather than multiplying
37476         large negative argument by M_LN10.
37477         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37478         of __ieee754_expf.
37479         * math/e_exp10l.c: Include <float.h>.
37480         (__ieee754_exp10l): Handle underflow here rather than multiplying
37481         large negative argument by M_LN10l.
37482         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37483         spurious overflow exception on underflow.
37484
37485 2012-04-29  Marek Polacek  <polacek@redhat.com>
37486
37487         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37488         (__fortify_function): New macro.
37489         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37490         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37491         __extern_always_inline.
37492         * libio/bits/stdio2.h: Likewise.
37493         * libio/bits/stdio.h: Likewise.
37494         * string/string.h: Likewise.
37495         * string/bits/string3.h: Likewise.
37496         * include/stdio.h: Likewise.
37497         * stdlib/bits/stdlib.h: Likewise.
37498         * stdlib/stdlib.h: Likewise.
37499         * rt/bits/mqueue2.h: Likewise.
37500         * rt/mqueue.h: Likewise.
37501         * posix/bits/unistd.h: Likewise.
37502         * posix/unistd.h: Likewise.
37503         * io/bits/poll2.h: Likewise.
37504         * io/bits/fcntl2.h: Likewise.
37505         * io/fcntl.h: Likewise.
37506         * io/sys/poll.h: Likewise.
37507         * misc/bits/syslog.h: Likewise.
37508         * misc/bits/syslog-ldbl.h: Likewise.
37509         * misc/sys/syslog.h: Likewise.
37510         * socket/bits/socket2.h: Likewise.
37511         * socket/sys/socket.h: Likewise.
37512         * debug/tst-chk1.c: Likewise.
37513         * wcsmbs/bits/wchar2.h: Likewise.
37514         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37515         * wcsmbs/wchar.h: Likewise.
37516
37517 2012-04-29  Andreas Jaeger  <aj@suse.de>
37518
37519         * Makerules (tests): Remove enable-check-abi protection.
37520         (check-abi-warn): Remove.
37521         (check-abi-%): Remove check-abi-warn usage.
37522
37523         * configure.in: Remove check-abi configure option.
37524         * configure: Regenerated.
37525         * config.make.in (enable-check-abi): Remove.
37526
37527 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37528
37529         [BZ #14033]
37530         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37531         double functions to double *_finite functions.
37532
37533         [BZ #13941]
37534         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37535         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37536         LDBL_MIN_EXP.
37537         * stdio-common/Makefile (tests): Add tst-sprintf3.
37538         * stdio-common/tst-sprintf3.c: New file.
37539
37540         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37541         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37542
37543 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37544
37545         * conform/conformtest.pl: Remove duplicate typed-constant
37546         handling.
37547
37548 2012-04-28  David S. Miller  <davem@davemloft.net>
37549
37550         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37551         (check-abi-%): Remove AWK script prerequisite and explicit
37552         abilist directory.
37553         (check-abi): Rewrite to just diff the symlist with the abilist.
37554         (config-tls, config-abi-config): Delete, no longer used.
37555         (update-abi-%): Remove AWK script and explicit abilist directory.
37556         (update-abi): Rewrite to simply compare and conditionally copy the
37557         symlist and the sysdep abilist file.  Remove update-abi-config
37558         checks.
37559         * abilist/ld.abilist: Remove.
37560         * abilist/libBrokenLocale.abilist: Remove.
37561         * abilist/libanl.abilist: Remove.
37562         * abilist/libcrypt.abilist: Remove.
37563         * abilist/libdl.abilist: Remove.
37564         * abilist/librt.abilist: Remove.
37565         * abilist/libthread_db.abilist: Remove.
37566         * abilist/libutil.abilist: Remove.
37567         * scripts/extract-abilist.awk: Remove.
37568         * scripts/merge-abilist.awk: Remove.
37569         * sysdeps/generic/libcidn.abilist: New file.
37570         * sysdeps/generic/libnss_compat.abilist: New file.
37571         * sysdeps/generic/libnss_db.abilist: New file.
37572         * sysdeps/generic/libnss_dns.abilist: New file.
37573         * sysdeps/generic/libnss_files.abilist: New file.
37574         * sysdeps/generic/libnss_hesiod.abilist: New file.
37575         * sysdeps/generic/libnss_nis.abilist: New file.
37576         * sysdeps/generic/libnss_nisplus.abilist: New file.
37577         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37578         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37579         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37580         file.
37581         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37582         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37583         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37584         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37585         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37586         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37587         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37588         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37589         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37590         file.
37591         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37592         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37593         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37594         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37595         file.
37596         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37597         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37598         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37599         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37600         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37601         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37602         file.
37603         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37604         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37605         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37606         file.
37607         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37608         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37609         New file.
37610         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37611         New file.
37612         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37613         New file.
37614         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37615         New file.
37616         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37617         New file.
37618         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37619         New file.
37620         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37621         New file.
37622         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37623         New file.
37624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37625         New file.
37626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37627         New file.
37628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37629         New file.
37630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37631         New file.
37632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37633         New file.
37634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37635         file.
37636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37637         New file.
37638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37639         New file.
37640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37641         file.
37642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37643         New file.
37644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37645         New file.
37646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37647         file.
37648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37649         New file.
37650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37651         New file.
37652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37653         New file.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37655         New file.
37656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37657         New file.
37658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37659         New file.
37660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37662         file.
37663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37664         New file.
37665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37666         file.
37667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37668         file.
37669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37670         file.
37671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37672         file.
37673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37674         file.
37675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37676         New file.
37677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37678         file.
37679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37680         file.
37681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37682         New file.
37683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37684         file.
37685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37687         file.
37688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37689         New file.
37690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37691         file.
37692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37693         file.
37694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37695         file.
37696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37697         file.
37698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37699         file.
37700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37701         New file.
37702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37703         file.
37704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37705         file.
37706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37707         New file.
37708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37709         file.
37710         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37711         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37712         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37713         file.
37714         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37715         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37716         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37717         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37718         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37719         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37720         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37721         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37722         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37723         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37726         file.
37727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37728         New file.
37729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37730         file.
37731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37732         file.
37733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37734         file.
37735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37736         file.
37737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37738         file.
37739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37740         New file.
37741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37742         New file.
37743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37744         file.
37745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37746         New file.
37747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37748         file.
37749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37751         file.
37752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37753         New file.
37754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37755         file.
37756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37757         file.
37758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37759         file.
37760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37761         file.
37762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37763         file.
37764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37765         New file.
37766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37767         New file.
37768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37769         file.
37770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37771         New file.
37772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37773         file.
37774
37775 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37776
37777         * conform/conformtest.pl: Fix typo in handling typed-constant from
37778         allow-header.
37779
37780 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37781
37782         * README: Cut down references to pre-2.6 Linux kernels and
37783         Linuxthreads.  Update lists of configurations in libc and ports
37784         and sort alphabetically.  Say "or newer" with Linux kernel version
37785         requirements.
37786
37787         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37788
37789 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37790
37791         [BZ #887]
37792         * math/libm-test.inc (logb_test_downward): New test to expose
37793         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37794         rounding mode.
37795
37796 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37797
37798         [BZ #14027]
37799         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37800         to be done.
37801         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37802         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37803
37804 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37805
37806         * sysdeps/unix/i386/brk.S: Remove file.
37807         * sysdeps/unix/i386/dl-brk.S: Likewise.
37808         * sysdeps/unix/i386/pipe.S: Likewise.
37809         * sysdeps/unix/i386/sigreturn.S: Likewise.
37810         * sysdeps/unix/i386/syscall.S: Likewise.
37811         * sysdeps/unix/i386/vfork.S: Likewise.
37812         * sysdeps/unix/i386/wait.S: Likewise.
37813
37814         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37815         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37816
37817         * configure.in (arm*-none*): Do not allow without
37818         --enable-hacker-mode.
37819         (netbsd*): Remove case setting base_os.
37820         (386bsd*): Likewise.
37821         (freebsd*): Likewise.
37822         (bsdi*): Likewise.
37823         (osf*): Likewise.
37824         (sunos*): Likewise.
37825         (ultrix*): Likewise.
37826         (newsos*): Likewise.
37827         (dynix*): Likewise.
37828         (*bsd*): Likewise.
37829         (sysv*): Likewise.
37830         (isc*): Likewise.
37831         (esix*): Likewise.
37832         (sco*): Likewise.
37833         (minix*): Likewise.
37834         (irix4*): Likewise.
37835         (irix6*): Likewise.
37836         (solaris[2-9]*): Likewise.
37837         (none): Likewise.
37838         * configure: Regenerated.
37839
37840 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37841
37842         [BZ #11521]
37843         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37844         overflow or cancellation in calculating denominator.
37845         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37846         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37847         down expression to avoid unexpected rounding in newer GCCs.
37848         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37849
37850 2012-04-26  David S. Miller  <davem@davemloft.net>
37851
37852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37853         long-double compat symbols.
37854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37867
37868 2012-04-25  David S. Miller  <davem@davemloft.net>
37869
37870         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37871         HWCAP_* values only after the memory barriers have been defined.
37872         (atomic_full_barrier): Define.
37873         (atomic_read_barrier): Define.
37874         (atomic_write_barrier): Define.
37875
37876 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37877
37878         * shlib-versions: Add libgcc_s version information.
37879         * sysdeps/generic/libgcc_s.h: Remove.
37880         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37881         libgcc_s.h.
37882         * sysdeps/gnu/unwind-resume.c: Likewise.
37883         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37884
37885 2012-04-25  David S. Miller  <davem@davemloft.net>
37886
37887         * sysdeps/unix/sparc/brk.S: Delete.
37888         * sysdeps/unix/sparc/dl-brk.S: Delete.
37889         * sysdeps/unix/sparc/pipe.S: Delete.
37890         * sysdeps/unix/sparc/sysdep.S: Delete.
37891         * sysdeps/unix/sparc/sysdep.h: Delete.
37892         * sysdeps/unix/sparc/vfork.S: Delete.
37893         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37894         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37895         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37896         (ret_ERRVAL, r0, r1, MOVE): Define.
37897         (JUMPTARGET): Remove.
37898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37899         sysdeps/unix/sparc/sysdep.h
37900         (ENTRY, END): Remove.
37901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37902
37903 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37904
37905         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37906         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37907         -DIS_IN_build.
37908
37909         * timezone/README: Update upstream location and email address for
37910         tzcode and tzdata.
37911         * timezone/zdump.c: Update from tzcode 2012b.
37912         * timezone/zic.c: Likewise.
37913
37914         * configure.in (libc_cv_as_needed): Remove test.
37915         * configure: Regenerated.
37916         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37917         conditional definition.
37918         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37919         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37920         * config.make.in (have-as-needed): Remove variable.
37921
37922 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37923             Paul Pluzhnikov  <ppluzhnikov@google.com>
37924
37925         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37926         strings correctly.
37927
37928 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37929
37930         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37931         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37932         * sysdeps/sh/strlen.S: Likewise.
37933
37934 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37935
37936         * sysdeps/unix/fork.S: Remove file.
37937         * sysdeps/unix/i386/fork.S: Likewise.
37938         * sysdeps/unix/sparc/fork.S: Likewise.
37939
37940         * sysdeps/unix/system.c: Remove file.
37941         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37942
37943         * sysdeps/unix/getegid.S: Remove file.
37944         * sysdeps/unix/geteuid.S: Likewise.
37945
37946 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37947
37948         * scripts/check-localplt.awk: New file.
37949         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37950         of diff.
37951         * scripts/data/localplt-generic.data: Add a comment.
37952
37953         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37954         NODE when __dir_mkfile failed.
37955         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37956         Reported by Ludovic Courtès <ludo@gnu.org>.
37957
37958 2012-04-24  Andreas Jaeger  <aj@suse.de>
37959
37960         * Makerules (common-clean): Also remove gen-as-const-headers
37961         files.
37962
37963 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37964
37965         * Makerules (native-compile): Do not change working directory for
37966         build.  Use $(OUTPUT_OPTION) in command.
37967         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37968
37969 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37970
37971         [BZ #13886]
37972         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37973         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37974         * math/libm-test.inc (floor_test): Add more tests.
37975         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37976
37977 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37978
37979         * sysdeps/unix/getdents.c: Remove file.
37980         * sysdeps/unix/sysv/getdents.c: Likewise.
37981         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37982
37983         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37984         sysdeps/unix/mman/syscalls.list.
37985         (mmap): Likewise.
37986         (mprotect): Likewise.
37987         (msync): Likewise.
37988         (munmap): Likewise.
37989         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37990         * sysdeps/unix/mman/syscalls.list: Remove.
37991         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37992
37993         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37994         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37995         * configure: Regenerated.
37996         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37997         $(libgcc_s_suffix).
37998         * config.make.in (libgcc_s_suffix): Remove variable.
37999
38000 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38001
38002         * sysdeps/unix/sysv/gethostname.c: Move to ...
38003         * sysdeps/posix/gethostname.c: ... here.
38004
38005         * sysdeps/unix/execve.S: Remove file.
38006
38007         * sysdeps/unix/_exit.S: Remove file.
38008
38009 2012-04-23  Andreas Jaeger  <aj@suse.de>
38010
38011         [BZ #13739]
38012         * manual/Makefile: Remove make dist support, there's no
38013         need for a stand-alone documentation tar ball.
38014         (TEXI2DVI): Define always, it's not in Makeconfig.
38015         (dist): Removed.
38016         (tar-it): Removed.
38017         (edition): Removed.
38018         (glibc-doc-$(edition).tar): Removed
38019         (%.Z): Removed.
38020         (%.gz): Removed.
38021         (%.uu): Removed.
38022         (ETAGS): Remove, it's in Makeconfig.
38023         (move-if-change): Remove, it's in Makeconfig.
38024
38025 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38026
38027         [BZ #13970]
38028         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38029         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38030         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38031         (strtod_l, strtof_l, strtold_l): Remove __wur.
38032         It is not necessarily an error to ignore strtol's return value.
38033         One can reliably look at the stored endptr to decide whether
38034         the number had valid syntax.
38035
38036 2012-04-21  Andreas Jaeger  <aj@suse.de>
38037
38038         [BZ #13739]
38039         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38040
38041 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38042
38043         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38044         * sysdeps/unix/sysv/Versions: Remove file.
38045
38046 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38047
38048         [BZ #13927]
38049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38050
38051 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38052
38053         [BZ #7064]
38054         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38055         version from __vm86.
38056
38057 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38058
38059         * sysdeps/unix/common/lxstat.c: Remove file.
38060         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38061
38062         * sysdeps/unix/sysv/Makefile: Remove file.
38063
38064         * sysdeps/unix/sysv/direct.h: Remove file.
38065
38066         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38067         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38068         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38069         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38070         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38071         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38072         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38073
38074         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38075
38076         * sysdeps/unix/xmknod.c: Remove file.
38077         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38078
38079         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38080
38081         * sysdeps/unix/sysv/i386/time.S: Remove file.
38082
38083         * sysdeps/unix/fxstat.c: Remove file.
38084         * sysdeps/unix/xstat.c: Likewise.
38085         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38086
38087         * sysdeps/unix/sysv/sigaction.c: Remove file.
38088
38089         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38090         (sysdep_headers): Remove variable.
38091         [termio.h not in sysdep_headers] (generated): Likewise.
38092         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38093         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38094         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38095         * sysdeps/unix/sysv/tcflow.c: Likewise.
38096         * sysdeps/unix/sysv/tcflush.c: Likewise.
38097         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38098         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38099         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38100         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38101         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38102
38103         * sysdeps/unix/siglist.c: Remove file.
38104
38105         * sysdeps/unix/getppid.S: Remove file.
38106
38107         * sysdeps/unix/mkdir.c: Remove file.
38108         * sysdeps/unix/rmdir.c: Likewise.
38109
38110 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38111
38112         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38113         ERR_MAX value.
38114         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38115         errlist-compat value.
38116
38117 2012-04-18  David S. Miller  <davem@davemloft.net>
38118
38119         * sysdeps/generic/memcopy.h (reg_char): Delete.
38120         * debug/strcat_chk.c: Use char, not reg_char.
38121         * debug/strcpy_chk.c: Likewise.
38122         * debug/strncat_chk.c: Likewise.
38123         * debug/strncpy_chk.c: Likewise.
38124         * string/memchr.c: Likewise.
38125         * string/memrchr.c: Likewise.
38126         * string/rawmemchr.c: Likewise.
38127         * string/strcat.c: Likewise.
38128         * string/strchr.c: Likewise.
38129         * string/strchrnul.c: Likewise.
38130         * string/strcmp.c: Likewise.
38131         * string/strcpy.c: Likewise.
38132         * string/strncat.c: Likewise.
38133         * string/strncmp.c: Likewise.
38134         * string/strncpy.c: Likewise.
38135
38136 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38137
38138         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38139         __builtin_memcopy is called when src and dest ranges are known to not
38140         overlap.
38141
38142 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38143
38144         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38145         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38146         fwd_align_merge macro call.
38147         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38148         bwd_align_merge macro call.
38149         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38150
38151 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38152
38153         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38154         bwd_align_merge macros.
38155         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38156         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38157         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38158
38159 2012-04-18  David S. Miller  <davem@davemloft.net>
38160
38161         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38162
38163 2012-04-18  Andreas Jaeger  <aj@suse.de>
38164
38165         [BZ# 6794]
38166         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38167         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38168         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38169
38170         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38171         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38172         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38173
38174         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38175         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38176         Adjust for changed ldbl-128 files.
38177
38178         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38179         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38180         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38181
38182 2012-04-17  David S. Miller  <davem@davemloft.net>
38183
38184         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38185
38186 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38187
38188         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38189         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38190         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38191         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38192         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38193         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38194
38195 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38196
38197         [BZ #6794]
38198         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38199         * math/libm-test.inc: Add ilogb errno and exception tests.
38200         * math/w_ilogb.c: New file: ilogb wrapper.
38201         * math/w_ilogbf.c: New file: ilogbf wrapper.
38202         * math/w_ilogbl.c: New file: ilogbl wrapper.
38203         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38204         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38205         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38206         exception being thrown with 0.0 as argument.
38207         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38208         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38209         exception being thrown with 0.0 as argument.
38210         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38211         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38212         exception being thrown with 0.0 as argument.
38213         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38214         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38215         exception being thrown with 0.0 as argument.
38216         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38217         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38218         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38219         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38220         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38221         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38222         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38223         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38224         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38225
38226 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38227
38228         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38229         with altivec.
38230
38231 2012-04-16  Marek Polacek  <polacek@redhat.com>
38232
38233         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38234
38235 2012-04-16  Marek Polacek  <polacek@redhat.com>
38236
38237         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38238         operands of fdivp instruction.
38239
38240 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38241
38242         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38243         * elf/tst-auditmod3b.c: Likewise.
38244         * elf/tst-auditmod4b.c: Likewise.
38245         * elf/tst-auditmod5b.c: Likewise.
38246         * elf/tst-auditmod6b.c: Likewise.
38247         * elf/tst-auditmod6c.c: Likewise.
38248         * elf/tst-auditmod7b.c: Likewise.
38249         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38250         * sysdeps/x86_64/preconfigure.in: Likewise.
38251         * sysdeps/x86_64/preconfigure: Regenerated.
38252
38253 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38254
38255         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38256         __ILP32__.
38257
38258 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38259
38260         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38261         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38262
38263 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38264
38265         [BZ #13973]
38266         * locale/iso-639.def: Fix gl language name. Spotted by
38267         Yaron Shahrabani.
38268
38269 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38270
38271         [BZ #2074]
38272         * libio/libio.h (__io_write_fn): Update comment.
38273
38274 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38275
38276         [BZ #2074]
38277         * stdio.texi (Hook Functions): The user provided writer function
38278         is not allowed to return -1.
38279
38280 2012-04-11  David S. Miller  <davem@davemloft.net>
38281
38282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38283
38284 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38285
38286         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38287         Add a leading slash to rtkaio.
38288
38289 2012-04-11  Jim Meyering  <meyering@redhat.com>
38290
38291         [BZ #11959]
38292         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38293         It is not necessarily an error to ignore fwrite's return
38294         value.  One can reliably use ferror to test for errors after
38295         the fact.
38296
38297 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38298
38299         * bits/types.h (__snseconds_t): New type.
38300         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38301
38302         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38303         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38304         (__SNSECONDS_T_TYPE): Likewise.
38305         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38306         (__SNSECONDS_T_TYPE): Likewise.
38307         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38308         (__SNSECONDS_T_TYPE): Likewise.
38309
38310 2012-04-10  Andreas Jaeger  <aj@suse.de>
38311
38312         [BZ #2636]
38313         * manual/time.texi (Processor Time): Return type of times is
38314         elapsed real time since an arbitrary point in the past.
38315         (CPU Time): Move CLK_TCK from here...
38316         (Processor Time): ...to here.  Correct description.
38317         * manual/conf.texi (Constants for Sysconf): Correct description of
38318         _SC_CLK_TCK.
38319
38320 2012-04-10  David S. Miller  <davem@davemloft.net>
38321
38322         [BZ #13967]
38323         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38324         where the is a gap between DT_REL(A) and DT_JMPREL.
38325
38326 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38327
38328         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38329         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38330         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38331
38332 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38333
38334         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38335         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38336         (dl_main): Handle --inhibit-cache.
38337         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38338         _dl_inhibit_cache.
38339         * elf/dl-load.c (_dl_map_object): Use it.
38340         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38341
38342 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38343
38344         [BZ #13872]
38345         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38346         (__ieee754_powl): Saturate large exponents rather than testing for
38347         overflow of y*log2(x).
38348         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38349         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38350         exceptions.
38351
38352         [BZ #11521]
38353         * math/s_ctan.c: Include <float.h>.
38354         (__ctan): Avoid internal overflow or cancellation in calculating
38355         denominator.
38356         * math/s_ctanf.c: Likewise.
38357         * math/s_ctanl.c: Likewise.
38358         * math/s_ctanh.c: Likewise.
38359         * math/s_ctanhf.c: Likewise.
38360         * math/s_ctanhl.c: Likewise.
38361         * math/libm-test.inc (ctan_test): Add more tests.
38362         (ctanh_test): Likewise.
38363         * sysdeps/i386/fpu/libm-test-ulps: Update.
38364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38365
38366 2012-04-09  Andreas Jaeger  <aj@suse.de>
38367
38368         [BZ #6894]
38369         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38370         is an optional BSD extension.
38371
38372         [BZ #10254]
38373         * manual/stdio.texi (Opening Streams): Document additional fopen
38374         parameters.
38375
38376 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38377
38378         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38379         %eax without telling the compiler.
38380
38381 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38382
38383         [BZ # 13963]
38384         * manual/install.texi: Use sourceware.org.
38385
38386 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38387
38388         [BZ #13873]
38389         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38390         (__ieee754_pow): Generate overflow and underflow using huge*huge
38391         and tiny*tiny rather than just returning constant infinity or zero
38392         for large exponents.
38393         * math/libm-test.inc (pow_test): Require overflow exceptions for
38394         applicable cases of large exponents.
38395
38396         [BZ #706]
38397         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38398         (__ieee754_pow): Use iterative multiplication algorithm only for
38399         integer exponents with absolute value below 1024.  Check for odd
38400         integer exponents when using algorithm for real exponents.
38401         * math/libm-test.inc (pow_test): Add more tests.
38402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38403
38404 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38405
38406         [BZ #13705]
38407         * math/libm-test.inc (exp_test): Do not allow overflow exception
38408         on underflow test.
38409
38410 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38411
38412         [BZ #13705]
38413         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38414         instead of __kernel_standard_f.
38415
38416 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38417
38418         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38419         * sysdeps/x86_64/memset_chk.S: Likewise.
38420
38421 2012-04-08  Andreas Jaeger  <aj@suse.de>
38422
38423         [BZ #10153]
38424         * manual/startup.texi (Environment Access): Describe return value
38425         for putenv and setenv.
38426
38427         [BZ #6895]
38428         * manual/filesys.texi (Directory Entries): Add description for
38429         DT_LNK.
38430
38431         [BZ #6890]
38432         * manual/filesys.texi (Directory Entries): Clarify that it's file
38433         system not operating system in the description of DT_UNKNOWN.
38434
38435         [BZ #6578]
38436         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38437
38438 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38439
38440         [BZ #6649]
38441         * manual/llio.texi (Opening and Closing Files): Add cross
38442         reference to explain mode argument.
38443
38444 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38445
38446         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38447         * sysdeps/x86_64/memset_chk.S: Likewise.
38448
38449 2012-04-07  David S. Miller  <davem@davemloft.net>
38450
38451         * elf/elf.h (R_SPARC_WDISP10): Define.
38452         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38453         R_SPARC_SIZE32.
38454         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38455         R_SPARC_SIZE64 and R_SPARC_H34.
38456
38457 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38458
38459         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38460         conditions and remove no longer applicable assertion.
38461
38462 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38463
38464         * bits/byteswap.h: Include <features.h>.
38465         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38466         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38467
38468 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38469
38470         * bits/byteswap.h (__bswap_16): Removed.
38471         Include <bits/byteswap-16.h> to get __bswap_16.
38472         * sysdeps/i386/bits/byteswap.h: Likewise.
38473         * sysdeps/s390/bits/byteswap.h: Likewise.
38474         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38475         * bits/byteswap-16.h: New file.
38476         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38477         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38478         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38479         * string/Makefile (headers): Add bits/byteswap-16.h.
38480
38481 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38482
38483         [BZ #13895]
38484         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38485         extra indirection.
38486         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38487         * nss/tst-nss-static.c: New.
38488
38489 2012-04-06  Robert Millan  <rmh@gnu.org>
38490
38491         [BZ #6486]
38492         * manual/llio.texi (File Position Primitive): lseek
38493         refers to WHENCE when it really means OFFSET.
38494
38495 2012-04-06  Andreas Jaeger  <aj@suse.de>
38496
38497         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38498         strncmp declarations.
38499
38500         * abilist/libc.abilist: Add __poll and __ppoll.
38501
38502 2012-04-05  David S. Miller  <davem@davemloft.net>
38503
38504         * scripts/check-local-headers.sh: Accept a host triplet in the
38505         path matched by the exclude regexp.
38506
38507         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38508         definition.
38509         * sysdeps/powerpc/powerpc32/dl-machine.h
38510         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38511         * sysdeps/s390/s390-32/dl-machine.h
38512         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38513         * sysdeps/sparc/sparc32/dl-machine.h
38514         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38515         * sysdeps/sparc/sparc64/dl-machine.h
38516         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38517
38518         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38519         lazy binding.
38520         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38521         undefined symbol errors.
38522
38523         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38524         DT_NEEDED entries.
38525
38526 2012-04-05  Michael Matz  <matz@suse.de>
38527
38528         [BZ #13592]
38529         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38530
38531 2012-04-05  Andreas Jaeger  <aj@suse.de>
38532
38533         [BZ #13908]
38534         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38535         comment.
38536
38537 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38538
38539         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38540         which ROUND is no valid rounding mode.
38541
38542 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38543
38544         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38545         read again.
38546         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38547
38548 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38549
38550         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38551         an exception using FPU order intentionally.
38552
38553 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38554
38555         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38556         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38557         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38558         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38559
38560 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38561
38562         [BZ #12340]
38563         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38564         EINVAL when BUFLEN is too smal.
38565
38566 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38567
38568         [BZ #13553]
38569         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38570         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38571
38572 2012-04-03  Andreas Jaeger  <aj@suse.de>
38573
38574         [BZ #13938]
38575         * manual/setjmp.texi (System V contexts): Fix sentence.
38576
38577         [BZ #13926]
38578         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38579         New macro for this case.
38580         [!__GNUC__] (__bswap_64): New inline function for this case.
38581         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38582         * bits/byteswap.h: Likewise.
38583         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38584         ull, guard with __GLIBC_HAVE_LONG_LONG.
38585
38586         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38587         __GLIBC_HAVE_LONG_LONG.
38588
38589         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38590         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38591
38592 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38593
38594         [BZ #13691]
38595         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38596         inptr and inend, rather than using last_ch.
38597
38598 2012-04-02  David S. Miller  <davem@davemloft.net>
38599
38600         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38601         * stdio-common/printf-parse.h (read_int): Change return type to
38602         'int', return -1 on INT_MAX overflow.
38603         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38604         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38605         overflows INT_MAX.  Check for overflow of in-format-string precision
38606         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38607         SIZE_MAX not INT_MAX for integer overflow test.
38608         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38609         skip the construct in the format string but do not record anything.
38610         * stdio-common/bug22.c: Adjust to test both width/prevision
38611         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38612         explicitly for proper errno values.
38613
38614 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38615
38616         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38617         CHAR_MAX.
38618         * string/test-strcmp.c [! WIDE]: Likewise.
38619         * time/tst-mktime2.c: Likewise for INT_MAX.
38620         * string/test-string.h: #include <sys/param.h> for MIN.
38621
38622         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38623         * sysdeps/i386/init-first.c (init): Likewise.
38624         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38625         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38626         * sysdeps/sh/init-first.c (init): Likewise.
38627
38628 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38629
38630         * po/ru.po: Update from translation team.
38631         * po/vi.po: Likewise.
38632
38633 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38634
38635         * resolv/nss_dns/dns-host.c: Merge copyright years.
38636
38637 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38638
38639         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38640         Optimize memcpy with prefetch if
38641         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38642         src, dst pointers have unequal 16 byte alignments.
38643
38644 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38645
38646         [BZ #13928]
38647         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38648         from a CNAME entry and return the minimum ttl for the query.
38649         (gaih_getanswer_slice): Likewise.
38650
38651 2012-03-30  Jeff Law  <law@redhat.com>
38652
38653         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38654         due to long keys.
38655         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38656         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38657
38658         * resolv/nss_dns/dns-host.c: Update copyright year.
38659
38660 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38661
38662         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38663         requests to save a system call.  Fix check that all bytes are sent.
38664
38665         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38666         comments for sendmmsg.
38667
38668 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38669
38670         [BZ #13691]
38671         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38672         with only 1 character between 0x0041 and 0x01b0.
38673         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38674         * wcsmbs/tst-mbsnrtowcs.c: New file.
38675
38676 2012-03-29  David S. Miller  <davem@davemloft.net>
38677
38678         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38679         small copies by hand.
38680
38681 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38682
38683         [BZ #13761]
38684         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38685         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38686         group memberships.
38687
38688 2012-03-28  David S. Miller  <davem@davemloft.net>
38689
38690         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38691         that branches into memcpy.
38692         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38693         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38694         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38695         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38696         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38697         bits.
38698         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38699         implementation too.
38700         * sysdeps/sparc/mempcpy.S: New file.
38701
38702         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38703         the IFUNC routine in the libc case.
38704         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38705
38706         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38707         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38708         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38709         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38710         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38711         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38712         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38713         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38714
38715         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38716         loop to 256 bytes instead of 64 bytes and fix test signedness.
38717
38718         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38719         * sysdeps/sparc/sparc32/Makefile: rather than here...
38720         * sysdeps/sparc/sparc64/Makefile: and here.
38721
38722 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38723
38724         * malloc/mallocbug.c: Avoid warnings about unused variables.
38725
38726 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38727
38728         [BZ #13760]
38729         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38730         in the right place. Discard and retry query if response is
38731         larger than input buffer size.
38732
38733 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38734
38735         [BZ #369]
38736         [BZ #2678]
38737         [BZ #3866]
38738         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38739         x for large integer exponent.
38740         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38741         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38742         sign of result as needed afterwards.
38743         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38744         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38745         result for underflowing pow the same as for overflow.
38746         (__kernel_standard_l): Handle powl overflow and underflow here
38747         rather than calling __kernel_standard.
38748         * math/libm-test.inc (pow_test): Add more tests.
38749
38750         [BZ #3868]
38751         [BZ #13879]
38752         [BZ #13910]
38753         [BZ #13911]
38754         [BZ #13912]
38755         [BZ #13913]
38756         [BZ #13915]
38757         [BZ #13916]
38758         [BZ #13917]
38759         [BZ #13918]
38760         [BZ #13919]
38761         [BZ #13920]
38762         [BZ #13921]
38763         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38764         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38765         (__kernel_standard_l): New function.
38766         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38767         __kernel_standard.
38768         * math/w_acosl.c (__acosl): Likewise.
38769         * math/w_asinl.c (__asinl): Likewise.
38770         * math/w_atan2l.c (__atan2l): Likewise.
38771         * math/w_atanhl.c (__atanhl): Likewise.
38772         * math/w_coshl.c (__coshl): Likewise.
38773         * math/w_exp10l.c (__exp10l): Likewise.
38774         * math/w_exp2l.c (__exp2l): Likewise.
38775         * math/w_fmodl.c (__fmodl): Likewise.
38776         * math/w_hypotl.c (__hypotl): Likewise.
38777         * math/w_j0l.c (__j0l, __y0l): Likewise.
38778         * math/w_j1l.c (__j1l, __y1l): Likewise.
38779         * math/w_jnl.c (__jnl, __ynl): Likewise.
38780         * math/w_lgammal.c (__lgammal): Likewise.
38781         * math/w_log10l.c (__log10l): Likewise.
38782         * math/w_log2l.c (__log2l): Likewise.
38783         * math/w_logl.c (__logl): Likewise.
38784         * math/w_powl.c (__powl): Likewise.
38785         * math/w_remainderl.c (__remainderl): Likewise.
38786         * math/w_scalbl.c (sysv_scalbl): Likewise.
38787         * math/w_sinhl.c (__sinhl): Likewise.
38788         * math/w_sqrtl.c (__sqrtl): Likewise.
38789         * math/w_tgammal.c (__tgammal): Likewise.
38790         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38791         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38792         * math/libm-test.inc (acos_test): Add more tests.
38793         (acosh_test): Likewise.
38794         (asin_test): Likewise.
38795         (atanh_test): Likewise.
38796         (exp_test): Likewise.
38797         (exp10_test): Likewise.
38798         (exp2_test): Likewise.
38799         (expm1_test): Likewise.
38800         (lgamma_test): Likewise.
38801         (log_test): Likewise.
38802         (log10_test): Likewise.
38803         (log1p_test): Likewise.
38804         (log2_test): Likewise.
38805         (pow_test): Do not allow some spurious overflow exceptions.
38806         (sqrt_test): Add more tests.
38807         (tgamma_test): Likewise.
38808         (y0_test): Likewise.
38809         (y1_test): Likewise.
38810         (yn_test): Likewise.
38811
38812 2012-03-27  Anton Blanchard  <anton@samba.org>
38813
38814         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38815         MAP_HUGETLB.
38816         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38817         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38818         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38819
38820 2012-03-27  David S. Miller  <davem@davemloft.net>
38821
38822         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38823
38824         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38825         have-as-vis3 check.
38826
38827 2012-03-27  Andreas Jaeger  <aj@suse.de>
38828
38829         * sysdeps/x86_64/elf/configure.in: Moved to ...
38830         * sysdeps/x86_64/configure.in: ... here.
38831         * sysdeps/x86_64/elf/start.S: Moved to ...
38832         * sysdeps/x86_64/start.S: ... here.
38833         * sysdeps/x86_64/elf/configure: Delete.
38834
38835         * sysdeps/x86_64/configure.in: Merge contents from
38836         sysdeps/i386/configure.in (without i686 check).
38837
38838         * sysdeps/i386/elf/Versions: Merge into ...
38839         * sysdeps/i386/Versions: ... this.
38840         * sysdeps/i386/elf/Versions: Delete file.
38841         * sysdeps/i386/elf/start.S: Moved to ...
38842         * sysdeps/i386/start.S: ...here.
38843         * sysdeps/i386/elf/configure.in: Merge into...
38844         * sysdeps/i386/configure.in: ...here.
38845         * sysdeps/i386/elf/configure.in: Delete file.
38846         * sysdeps/i386/elf/configure: Delete file.
38847
38848         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38849         * debug/backtracesyms.c: ... here.
38850         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38851         * debug/backtracesymsfd.c: ... here.
38852         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38853         * sysdeps/generic/ifunc-sel.h: ... here.
38854
38855         * sysdeps/unix/i386/start.c: Delete file.
38856         * sysdeps/unix/sparc/start.c: Delete file.
38857         * sysdeps/unix/start.c: Delete file.
38858
38859         * sysdeps/sh/elf/configure.in: Moved to ...
38860         * sysdeps/sh/configure.in: ... here.
38861         * sysdeps/sh/elf/start.S: Moved to ...
38862         * sysdeps/sh/start.S: ... here.
38863         * sysdeps/sh/elf/configure: Delete file.
38864
38865         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38866         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38867         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38868         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38869         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38870         * sysdeps/powerpc/powerpc64/start.S: here.
38871         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38872         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38873         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38874         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38875         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38876
38877         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38878         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38879         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38880         * sysdeps/powerpc/powerpc32/start.S: ... here.
38881         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38882         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38883         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38884
38885         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38886         * sysdeps/powerpc/ifunc-sel.h: ... here.
38887         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38888         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38889
38890         * sysdeps/sparc/elf/configure.in: Moved to ...
38891         * sysdeps/sparc/configure.in: ... here.
38892         * sysdeps/sparc/elf/configure: Delete file.
38893         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38894         * sysdeps/sparc/sparc32/start.S: ... here.
38895         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38896         * sysdeps/sparc/sparc64/start.S: ... here.
38897         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38898         * sysdeps/sparc/sparc32/Makefile: ... this.
38899         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38900         * sysdeps/sparc/sparc64/Makefile: ... this.
38901
38902         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38903         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38904         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38905         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38906         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38907         * sysdeps/s390/s390-32/setjmp.S: ... here.
38908         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38909         * sysdeps/s390/s390-32/configure.in: ... here.
38910         * sysdeps/s390/s390-32/elf/configure: Delete file.
38911         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38912         * sysdeps/s390/s390-32/start.S: ... here.
38913
38914         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38915         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38916         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38917         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38918         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38919         * sysdeps/s390/s390-64/setjmp.S: ... here.
38920         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38921         * sysdeps/s390/s390-64/configure.in: ... here
38922         * sysdeps/s390/s390-64/elf/configure: Delete file.
38923         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38924         * sysdeps/s390/s390-64/start.S: ... here.
38925         * sysdeps/s390/s390-64/elf/configure: Delete.
38926
38927         * configure.in: Remove support for elf directories in sysdeps.
38928
38929         * configure: Regenerated.
38930         * sysdeps/i386/configure: Regenerated.
38931         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38932         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38933         * sysdeps/s390/s390-32/configure: Regenerated.
38934         * sysdeps/s390/s390-64/configure: Regenerated.
38935         * sysdeps/sh/configure: Regenerated.
38936         * sysdeps/sparc/configure: Regenerated.
38937         * sysdeps/x86_64/configure: Regenerated.
38938
38939 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38940
38941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38942
38943         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38944         denormal result into account.
38945
38946 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38947
38948         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38949         Reported by Allan McRae <allan@archlinux.org>.
38950
38951 2012-03-23  Jeff Law  <law@redhat.com>
38952
38953         * nss/getnssent.c (__nss_getent): Fix typo.
38954
38955 2012-03-23  David S. Miller  <davem@davemloft.net>
38956
38957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38958
38959 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38960
38961         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38962         to pad to uint64_t for each field.
38963         (dl_tls_index): Replace unsigned long with uint64_t.
38964
38965 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38966         Paul Pluzhnikov  <ppluzhnikov@google.com>
38967
38968         [BZ #6528]
38969         * grp/Makefile (otherlibs): Don't set it.
38970         * inet/Makefile (otherlibs): Likewise.
38971         * login/Makefile (otherlibs): Likewise.
38972         * nscd/Makefile (otherlibs): Likewise.
38973         * posix/Makefile (otherlibs): Likewise.
38974         * pwd/Makefile (otherlibs): Likewise.
38975         * rt/Makefile (otherlibs): Likewise.
38976         * sunrpc/Makefile (otherlibs): Likewise.
38977         * nss/Makefile (otherlibs): Likewise.
38978         Add libnss_files to routines and static-only-routines.
38979         ($(objpfx)getent): Remove rule.
38980         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38981         static-only-routines.
38982
38983 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38984
38985         [BZ #13892]
38986         * math/s_cexp.c: Include <float.h>.
38987         (__cexp): Handle exp result overflowing not necessarily
38988         overflowing both real and imaginary parts of result.
38989         * math/s_cexpf.c: Likewise.
38990         * math/s_cexpl.c: Likewise.
38991         * math/libm-test.inc (cexp_test): Add more tests.
38992         * sysdeps/i386/fpu/libm-test-ulps: Update.
38993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38994
38995 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38996
38997         * include/link.h (ELFW): New macro.
38998         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38999         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39000
39001 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39002
39003         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39004         with uint64_t.
39005
39006 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39007
39008         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39009         declaration.
39010         (struct La_x32_retval): Likewise.
39011
39012 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39013
39014         * sysdeps/x86_64/preconfigure.in: New file.
39015         * sysdeps/x86_64/preconfigure: New generated file.
39016
39017 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39018
39019         [BZ #13824]
39020         * math/e_exp2l.c: Include <float.h>.
39021         (__ieee754_exp2l): Handle overflow and underflow cases
39022         separately.  Only pass fractional part of argument to
39023         __ieee754_expl.
39024         * math/libm-test.inc (exp2_test): Add more tests.
39025
39026         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39027         negating x to take absolute value.
39028         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39029         Likewise.
39030         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39031         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39032         Likewise.
39033         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39034         computing low part if x was negated.
39035         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39036
39037 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39038
39039         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39040         la_x32_gnu_pltexit.
39041         (pltexit): Cast int_retval to ptrdiff_t.
39042         * elf/tst-auditmod3b.c: Likewise.
39043         * elf/tst-auditmod4b.c: Likewise.
39044         * elf/tst-auditmod5b.c: Likewise.
39045         * elf/tst-auditmod6b.c: Likewise.
39046         * elf/tst-auditmod6c.c: Likewise.
39047         * elf/tst-auditmod7b.c: Likewise.
39048
39049         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39050         and x32_gnu_pltexit.
39051
39052         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39053         __ELF_NATIVE_CLASS.
39054         (La_x32_regs): New macro.
39055         (La_x32_retval): Likewise.
39056         (la_x32_gnu_pltenter): New function prototype.
39057         (la_x32_gnu_pltexit): Likewise.
39058
39059 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39060
39061         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39062         exponent.
39063
39064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39065
39066         * configure.in (libc_cv_cc_nofma): Check for option to disable
39067         generation of FMA instructions.
39068         * configure: Regenerate.
39069         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39070         * sysdeps/ieee754/dbl-64/Makefile: New file.
39071         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39072         Remove brandred-fma4.
39073         (CFLAGS-brandred-fma4.c): Remove.
39074         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39075         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39076         define.
39077         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39078         define.
39079
39080 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39081
39082         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39083         LLONG_MAX != LONG_MAX.
39084         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39085         (_fitoa_word): Likewise.
39086         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39087         LLONG_MAX != LONG_MAX.
39088         * stdio-common/_itowa.h: Include <_itoa.h>.
39089         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39090         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39091         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39092         only if not defined.
39093         (_ITOA_WORD_TYPE): Likewise.
39094         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39095         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39096
39097 2012-03-21  David S. Miller  <davem@davemloft.net>
39098
39099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39100
39101 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39102
39103         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39104         of x86_64 when setting libc_cv_slibdir, libdir and
39105         libc_cv_localedir.
39106         * sysdeps/unix/sysv/linux/configure: Regenerated.
39107
39108 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39109
39110         * manual/lang.texi (Old Varargs): Remove section.
39111         (How Variadic): Update menu.
39112         (va_start): Do not mention varargs.h.
39113
39114 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39115             Joseph Myers  <joseph@codesourcery.com>
39116
39117         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39118         link test.
39119         * configure: Regenerated.
39120
39121 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39122
39123         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39124         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39125         conformtest.pl
39126
39127 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39128
39129         * NOTES: Remove.
39130         * Makefile (files-for-dist): Remove NOTES.
39131         (NOTES): Remove rule.
39132         * README: Don't refer to NOTES.
39133         * manual/creature.texi: Don't include macros.texi.
39134         * manual/intro.texi (creature.texi): Remove comment referring to
39135         NOTES.
39136
39137         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39138         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39139         * configure: Regenerated.
39140         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39141         LIBC_TRY_CC_OPTION.
39142         (libc_cv_as_i686): Likewise.
39143         (libc_cv_cc_avx): Likewise.
39144         (libc_cv_cc_sse2avx): Likewise.
39145         (libc_cv_cc_fma4): Likewise.
39146         (libc_cv_cc_novzeroupper): Likewise.
39147         * sysdeps/i386/configure: Regenerated.
39148
39149         [BZ #13883]
39150         * sysdeps/i386/fpu/s_cexp.S: Remove.
39151         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39152         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39153         * math/libm-test.inc (cexp_test): Add more tests.
39154         * sysdeps/i386/fpu/libm-test-ulps: Update.
39155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39156
39157 2012-03-21  Allan McRae  <allan@archlinux.org>
39158
39159         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39160
39161 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39162
39163         [BZ #13871]
39164         * math/w_exp2.c: Do not include <float.h>.
39165         (o_threshold, u_threshold): Remove.
39166         (__exp2): Calculate result before checking finiteness and calling
39167         __kernel_standard.
39168         * math/w_exp2f.c: Likewise.
39169         * math/w_exp2l.c: Likewise.
39170         * math/libm-test.inc (exp2_test): Require overflow exception for
39171         1e6 input.
39172
39173         [BZ #3866]
39174         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39175         range of signed 64-bit integers before using fistpll.  Remove
39176         checks for whether integers fit in mantissa bits.
39177         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39178         the range of signed 32-bit integers before using fistpl.  Remove
39179         checks for whether integers fit in mantissa bits.
39180         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39181         (__ieee754_powl): Test for y outside the range of signed 64-bit
39182         integers before using fistpll.  Reduce 64-bit values to 63-bit
39183         ones as needed.
39184         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39185         divide-by-zero is raised for zero to large negative powers.
39186         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39187         (__ieee754_powl): Test for y outside the range of signed 64-bit
39188         integers before using fistpll.  Reduce 64-bit values to 63-bit
39189         ones as needed.
39190         * math/libm-test.inc (pow_test): Add more tests.
39191
39192 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39193
39194         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39195         <stdio-common/_itoa.h>.
39196         * debug/segfault.c: Likewise.
39197         * elf/dl-cache.c: Likewise.
39198         * elf/dl-minimal.c: Likewise.
39199         * elf/dl-misc.c: Likewise.
39200         * elf/dl-sysdep.c: Likewise.
39201         * elf/dl-version.c: Likewise.
39202         * elf/rtld.c: Likewise.
39203         * hurd/hurdsock.c: Likewise.
39204         * hurd/lookup-retry.c: Likewise.
39205         * malloc/malloc.c: Likewise.
39206         * malloc/mtrace.c: Likewise.
39207         * nscd/nscd_getgr_r.c: Likewise.
39208         * nscd/nscd_getpw_r.c: Likewise.
39209         * nscd/nscd_getserv_r.c: Likewise.
39210         * posix/getopt_init.c: Likewise.
39211         * posix/wordexp.c: Likewise.
39212         * stdio-common/_itoa.c: Likewise.
39213         * stdio-common/printf_fphex.c: Likewise.
39214         * stdio-common/vfprintf.c: Likewise.
39215         * string/_strerror.c: Likewise.
39216         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39217         * sysdeps/i386/i686/hp-timing.h: Likewise.
39218         * sysdeps/mach/_strerror.c: Likewise.
39219         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39220         * sysdeps/mach/hurd/sethostid.c: Likewise.
39221         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39222         * sysdeps/mach/xpg-strerror.c: Likewise.
39223         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39224         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39225         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39226         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39227         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39228         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39229         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39230         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39231         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39232         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39233         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39234         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39235         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39236         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39237         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39238         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39239         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39240         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39241         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39242         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39243         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39244
39245         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39246
39247         * stdio-common/_itoa.h: Moved to ...
39248         * sysdeps/generic/_itoa.h: Here.
39249
39250         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39251
39252         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39253         instead of "_itoa.h" and "_itowa.h".
39254         * stdio-common/vfprintf.: Likewise.
39255
39256 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39257
39258         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39259         <bits/wordsize.h>.
39260         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39261         (__signbit): Likwise.
39262         (llrintf): Likwise.
39263         (llrint): Likwise.
39264
39265 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39266
39267         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39268         __WORDSIZE != 64.
39269
39270 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39271
39272         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39273         OVERFLOW_EXCEPTION_OK.
39274         * math/libm-test.inc ("Philosophy"): Update comment about
39275         exception testing.
39276         (OVERFLOW_EXCEPTION): Define.
39277         (OVERFLOW_EXCEPTION_OK): Likewise.
39278         (INVALID_EXCEPTION_OK): Renumber.
39279         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39280         (IGNORE_ZERO_INF_SIGN): Likewise.
39281         (test_exceptions): Handle FE_OVERFLOW.
39282         (exp10_test): Expect overflow exceptions.
39283         (exp2_test): Likewise.
39284         (expm1_test): Likewise.
39285         (nextafter_test): Likewise.
39286         (pow_test): Likewise.
39287         (scalbn_test): Likewise.
39288         (scalbln_test): Likewise.
39289
39290 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39291
39292         * sysdeps/x86_64/bits/atomic.h
39293         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39294         64bit integer.
39295         (atomic_exchange_acq): Likewise.
39296         (__arch_exchange_and_add_body): Likewise.
39297         (__arch_add_body): Likewise.
39298         (atomic_add_negative): Likewise.
39299         (atomic_add_zero): Likewise.
39300
39301 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39302
39303         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39304         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39305
39306 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39307
39308         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39309         Check __x86_64__ instead of __WORDSIZE.
39310
39311 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39312
39313         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39314
39315 2012-03-19  David S. Miller  <davem@davemloft.net>
39316
39317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39318
39319         * sysdeps/sparc/fpu/fenv_private.h: New file.
39320         * sysdeps/sparc/fpu/math_private.h: Use it.
39321         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39322         Remove.
39323         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39324         (libc_feholdexcept_setroundl): Remove.
39325         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39326         Remove.
39327         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39328         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39329
39330 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39331
39332         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39333         int64_t instead of long int.
39334         (INSERT_WORDS64): Likwise.
39335
39336 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39337
39338         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39339         _Unwind_GetCFA return to _Unwind_Ptr first.
39340
39341 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39342
39343         [BZ #13629]
39344         * math/s_clog.c: Include <float.h>.
39345         (__clog): Scale large or subnormal inputs.
39346         * math/s_clogf.c: Likewise.
39347         * math/s_clogl.c: Likewise.
39348         * math/s_clog10.c: Include <float.h>.
39349         (M_LOG10_2): Define.
39350         (__clog10): Scale large or subnormal inputs.
39351         * math/s_clog10f.c: Likewise.
39352         * math/s_clog10l.c: Likewise.
39353         * math/libm-test.inc (clog_test): Add more tests.
39354         (clog10_test): Likewise.
39355         * sysdeps/i386/fpu/libm-test-ulps: Update.
39356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39357
39358         [BZ #11451]
39359         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39360         x and y.
39361         * math/libm-test.inc (atan2_test): Add another test.
39362
39363         * Makerules (common-objdir-compile): Remove.
39364         * sysdeps/unix/Makefile (config-generated): Do not add
39365         $(unix-generated) to variable.
39366         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39367         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39368         Remove rule.
39369         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39370         Likewise.
39371         [generic bits/local_lim.h] (before-compile): Do not append to
39372         variable.
39373         [generic bits/local_lim.h] (common-generated): Likewise.
39374         [generic sys/param.h] (before-compile): Do not append to variable.
39375         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39376         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39377         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39378         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39379         include.
39380         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39381         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39382         [generic sys/param.h] ($(addprefix
39383         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39384         [generic sys/param.h] (common-generated): Do not append to
39385         variable.
39386         [generic sys/param.h] (sysdep_headers): Likewise.
39387         [generic bits/errno.h] (before-compile): Do not append to
39388         variable.
39389         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39390         rule.
39391         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39392         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39393         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39394         [generic bits/errno.h] (common-generated): Do not append to
39395         variable.
39396         [generic bits/ioctls.h] (before-compile): Do not append to
39397         variable.
39398         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39399         rule.
39400         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39401         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39402         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39403         rule.
39404         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39405         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39406         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39407         [generic bits/ioctls.h] (common-generated): Do not append to
39408         variable.
39409         [generic sys/syscall.h] (syscall.h): Remove variable.
39410         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39411         rule.
39412         [generic sys/syscall.h] (before-compile): Do not append to
39413         variable.
39414         [generic sys/syscall.h] (common-generated): Likewise.
39415         * sysdeps/unix/errnos-tmpl.c: Remove file.
39416         * sysdeps/unix/errnos.awk: Likewise.
39417         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39418         * sysdeps/unix/ioctls.awk: Likewise.
39419         * sysdeps/unix/mk-local_lim.c: Likewise.
39420         * sysdeps/unix/snarf-ioctls: Likewise.
39421
39422 2012-03-19  Richard Henderson  <rth@twiddle.net>
39423
39424         * sysdeps/i386/fpu/fenv_private.h: New file.
39425         * sysdeps/i386/fpu/math_private.h: Use it.
39426         (math_opt_barrier, math_force_eval): Remove.
39427         (libc_feholdexcept_setround_53bit): Remove.
39428         (libc_feupdateenv_53bit): Remove.
39429         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39430         (math_opt_barrier, math_force_eval): Remove.
39431         (libc_feholdexcept): Remove.
39432         (libc_feholdexcept_setround): Remove.
39433         (libc_fetestexcept, libc_fesetenv): Remove.
39434         (libc_feupdateenv_test): Remove.
39435         (libc_feupdateenv, libc_feholdsetround): Remove.
39436         (libc_feresetround): Remove.
39437
39438         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39439         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39440
39441         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39442         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39443         (libc_feupdateenv_testl): New.
39444         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39445         (libc_feupdateenv_testf): New.
39446         (libc_feupdateenv): Use libc_feupdateenv_test.
39447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39448         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39449
39450         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39451         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39452         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39453         (libc_feresetround_noex): New.
39454         (libc_feresetround_noexf): New.
39455         (libc_feresetround_noexl): New.
39456         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39457         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39458         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39459         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39460         SET_RESTORE_ROUND.
39461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39463         (__cos): Likewise.
39464         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39465         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39466         SET_RESTORE_ROUND_NOEX.
39467         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39468         SET_RESTORE_ROUND_NOEXF.
39469         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39470         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39471         (libc_feholdsetroundf): New.
39472         (libc_feresetround, libc_feresetroundf): New.
39473
39474         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39475         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39476         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39477
39478         * sysdeps/generic/math_private.h: Include <fenv.h>.
39479         (default_libc_feholdexcept): New.
39480         (default_libc_feholdexcept_setround): New.
39481         (default_libc_fesetenv, default_libc_feupdateenv): New.
39482         (libc_feholdexcept): Only define if undefined.
39483         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39484         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39485         (libc_feholdexcept_setroundl): Likewise.
39486         (libc_feholdexcept_setround_53bit): Likewise.
39487         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39488         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39489         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39490         (libc_feupdateenv_53bit): Likewise.
39491         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39492         (libc_feholdexcept): Convert from macro to inline function.
39493         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39494         (libc_fesetenv, libc_feupdateenv): Likewise.
39495
39496         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39497         not previously defined.
39498         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39499         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39500         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39501         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39502         * sysdeps/ieee754/flt-32/math_private.h: New file.
39503         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39504         math_private.h below SET_FLOAT_WORD.
39505         (__isnan, __isinf_ns, __finite): Remove.
39506         (__isnanf, __isinf_nsf, __finitef): Remove.
39507
39508 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39509
39510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39511
39512 2012-03-17  David S. Miller  <davem@davemloft.net>
39513
39514         [BZ #6471]
39515         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39516         for 2.16.
39517
39518 2012-03-16  David S. Miller  <davem@davemloft.net>
39519
39520         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39521         warnings.
39522
39523         [BZ #6471]
39524         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39525         properly.
39526         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39527         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39528         sysdep_routines when subdir is sysvipc.
39529         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39530         __getshmlba helper.
39531
39532         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39533
39534 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39535
39536         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39537         [__LP64__].
39538
39539 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39540
39541         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39542         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39543         (__lround): Renamed to ...
39544         (__llround): This.  Replace long int with long long int.
39545         Define lround functions as aliases of llround functions.
39546         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39547
39548 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39549
39550         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39551         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39552         adresses to uintptr_t.  Replace "long int" and "unsigned long
39553         int" with "greg_t" on va_arg.
39554
39555 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39556
39557         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39558         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39559
39560         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39561         Move e_machine check before EI_CLASS check.  Handle x32
39562         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39563         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39564         SKIP_EM_IA_64 and include
39565         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39566
39567         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39568         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39569         (add_system_dir): New macro.
39570
39571         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39572         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39573
39574 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39575
39576         [BZ #2551]
39577         [BZ #2552]
39578         [BZ #2553]
39579         [BZ #2554]
39580         [BZ #2562]
39581         [BZ #2563]
39582         [BZ #2565]
39583         [BZ #2566]
39584         [BZ #2576]
39585         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39586         (y0): Likewise.
39587         * math/w_j0f.c (j0f): Likewise.
39588         (y0f): Likewise.
39589         * math/w_j0l.c (__j0l): Likewise.
39590         (__y0l): Likewise.
39591         * math/w_j1.c (j1): Likewise.
39592         (y1): Likewise.
39593         * math/w_j1f.c (j1f): Likewise.
39594         (y1f): Likewise.
39595         * math/w_j1l.c (__j1l): Likewise.
39596         (__y1l): Likewise.
39597         * math/w_jn.c (jn): Likewise.
39598         (yn): Likewise.
39599         * math/w_jnf.c (jnf): Likewise.
39600         (ynf): Likewise.
39601         * math/w_jnl.c (__jnl): Likewise.
39602         (__ynl): Likewise.
39603         * math/libm-test.inc (j0_test): Add more tests.
39604         (j1_test): Likewise.
39605         (jn_test): Likewise.  Add trailing semicolon to existing test.
39606         (y0_test): Likewise.
39607         (y1_test): Likewise.
39608         * sysdeps/i386/fpu/libm-test-ulps: Update.
39609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39610
39611         [BZ #13851]
39612         [BZ #13854]
39613         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39614         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39615         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39616         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39617         (__tanl): Set errno for infinite argument.
39618         * sysdeps/i386/fpu/mptan.c: Remove.
39619         * sysdeps/i386/fpu/s_tan.S: Likewise.
39620         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39621         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39622         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39623         * math/libm-test.inc (tan_test): Add more tests and enable more
39624         tests for double and long double.
39625         * sysdeps/i386/fpu/libm-test-ulps: Update.
39626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39627
39628 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39629
39630         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39631         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39632
39633 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39634
39635         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39636         * configure.in: Use it for both main tree and add-ons.
39637         * configure: Regenerated.
39638
39639 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39640
39641         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39642
39643 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39644
39645         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39646         in comment.
39647
39648         [BZ #13851]
39649         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39650         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39651         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39652         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39653         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39654         infinite argument.
39655         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39656         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39657         != 0 for prec == 2.
39658         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39659         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39660         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39661         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39662         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39663         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39664         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39665         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39666         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39667         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39668         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39669         * math/libm-test.inc (cos_test): Add more tests and enable more
39670         tests for long double.
39671         (sin_test): Likewise.
39672         (sincos_test): Likewise.
39673         * sysdeps/i386/fpu/libm-test-ulps: Update.
39674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39675
39676 2012-03-16  David S. Miller  <davem@davemloft.net>
39677
39678         * sysdeps/sparc/fpu/math_private.h: New file.
39679
39680 2012-03-15  David S. Miller  <davem@davemloft.net>
39681
39682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39683         file.
39684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39686         file.
39687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39688         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39689         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39691         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39693         sysdep routines.
39694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39695
39696         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39697         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39698
39699         * sysdeps/sparc/sparc-ifunc.h: New file.
39700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39701         sparc-ifunc.h
39702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39704         Likewise.
39705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39706         Likewise.
39707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39711         Likewise.
39712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39717         Likewise.
39718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39719         Likewise.
39720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39724         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39726         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39727         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39732         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39733         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39738         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39740         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39741         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39742         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39743         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39744
39745 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39746
39747         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39748         scaling.
39749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39750
39751 2012-03-15  Andreas Jaeger  <aj@suse.de>
39752
39753         [BZ #13852]
39754         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39755         ieee754/flt-32 implementation for sin, cos and sincos.
39756         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39757         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39758         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39759         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39760         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39761         ieee754/flt-32 implementation for tan.
39762
39763         * math/libm-test.inc (cos_test): Enable some large input tests for
39764         float as well
39765         (sin_test): Likewise.
39766         (sincos_test): Likewise.
39767         (tan_test): Add tests for large input.
39768
39769         * sysdeps/i386/fpu/libm-test-ulps: Update.
39770
39771 2012-03-15  Andreas Jaeger  <aj@suse.de>
39772
39773         [BZ #13658]
39774         * math/libm-test.inc (cos_test): Add more test cases.
39775         (sin_test): Likewise.
39776         (sincos_test): Likewise.
39777
39778 2012-03-15  Andreas Jaeger  <aj@suse.de>
39779
39780         [BZ #13837]
39781         * math/libm-test.inc (cos_test): Add a test case for large input
39782         value.
39783         (sin_test): Likewise.
39784         (sincos_test): Likewise.
39785
39786 2012-03-15  Andreas Jaeger  <aj@suse.de>
39787             Joseph Myers  <joseph@codesourcery.com>
39788
39789         [BZ #13658]
39790         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39791         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39792         * sysdeps/i386/fpu/branred.c: Likewise.
39793         * sysdeps/i386/fpu/dosincos.c: Likewise.
39794         * sysdeps/i386/fpu/mpa.c: Likewise.
39795         * sysdeps/i386/fpu/s_cos.S: Likewise.
39796         * sysdeps/i386/fpu/s_sin.S: Likewise.
39797         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39798         * sysdeps/i386/fpu/sincos32.c: Likewise.
39799
39800         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39801         Define.
39802         (libc_feupdateenv_53bit): Define.
39803         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39804         Define.
39805         (libc_feupdateenv_53bit): Define.
39806
39807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39808         53 bit (without extend i386 double precision).
39809
39810         * math/libm-test.inc (sincos_test): Add tests for large input.
39811         (sin): Likewise.
39812         (cos): Likewise.
39813
39814         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39815
39816 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39817
39818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39819
39820 2012-03-15  David S. Miller  <davem@davemloft.net>
39821
39822         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39823         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39824         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39825         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39830         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39836         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39838         file.
39839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39841         file.
39842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39844         file.
39845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39847         file.
39848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39849         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39850         fmin/fmax sysdep routines.
39851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39852
39853 2012-03-14  David S. Miller  <davem@davemloft.net>
39854
39855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39858         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39859         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39860         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39861         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39862         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39864         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39867         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39868         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39869         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39870         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39871         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39872         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39873         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39874         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39875         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39876         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39877         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39878         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39879         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39880         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39881         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39882         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39883         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39884         routines.
39885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39886         file.
39887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39889         file.
39890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39892         file.
39893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39895         file.
39896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39898         file.
39899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39901         file.
39902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39903         file.
39904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39905         file.
39906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39907         file.
39908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39909         New file.
39910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39911         file.
39912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39913         file.
39914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39916         file.
39917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39919         file.
39920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39922         file.
39923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39925         VIS3 routines.
39926
39927         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39928         New file.
39929
39930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39931
39932         * sysdeps/sparc/configure.in: New file.
39933         * sysdeps/sparc/configure: Generate.
39934         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39935         * configure: Regenerate.
39936         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39937         * config.make.in (have-as-vis3): New.
39938         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39939         available use -Av9d instead of -Av9a.
39940         * sysdeps/sparc/sparc64/Makefile: Likewise.
39941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39943         New file.
39944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39945         file.
39946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39947         New file.
39948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39949         file.
39950         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39951         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39952         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39953         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39954         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39955
39956         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39957         fzeros/fnegs to load 0x80000000 into a float register instead of
39958         using the stack.
39959         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39960
39961 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39962
39963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39964         bits/syscall.h.
39965         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39966         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39967         ($(inst_includedir)/bits/syscall.h): Remove rule.
39968         ($(objpfx)bits/syscall.d): Include instead of
39969         $(objpfx)syscall-list.d.
39970         (generated): Change syscall-list.h and syscall-list.d to
39971         bits/syscall.h and bits/syscall.d.
39972
39973 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39974
39975         [BZ #13846]
39976         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39977
39978 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39979
39980         [BZ #13841]
39981         * math/s_csqrt.c: Include <float.h>.
39982         (__csqrt): Scale large or subnormal inputs.
39983         * math/s_csqrtf.c: Likewise.
39984         * math/s_csqrtl.c: Likewise.
39985         * math/libm-test.inc (csqrt_test): Add more tests.
39986         * sysdeps/i386/fpu/libm-test-ulps: Update.
39987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39988
39989         [BZ #13840]
39990         * math/libm-test.inc (hypot_test): Add more tests.
39991
39992 2012-03-13  David S. Miller  <davem@davemloft.net>
39993
39994         [BZ #13840]
39995         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39996         double-precision for the calculation instead of scaling.
39997
39998 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39999
40000         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40001         manipulate bits before adding and subtracting TWO52[sx].
40002         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40003         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40004         Likewise.
40005         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40006
40007 2012-03-13  David S. Miller  <davem@davemloft.net>
40008
40009         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40010         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40011         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40012         rtld-global-offsets.h
40013         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40014
40015         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40016         large parameters.
40017
40018         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40019
40020         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40021         'err' in the ifdef scope in which it is actually used.
40022
40023         * nss/nss_db/db-init.c: Include string.h
40024
40025 2012-03-12  David S. Miller  <davem@davemloft.net>
40026
40027         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40028         masking out of the most significant byte of random value used.
40029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40030         Fix coding style in previous change.
40031
40032         * sysdeps/unix/sysv/linux/kernel-features.h
40033         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40034         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40035         expression.
40036         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40037         later.
40038
40039 2012-03-11  David S. Miller  <davem@davemloft.net>
40040
40041         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40042         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40043         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40044         for 'resultvar' otherwise things get truncated on 64-bit.
40045
40046         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40047         Fix masking out of the most significant byte of random value used.
40048
40049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40050
40051 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40052
40053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40054
40055 2012-03-09  David S. Miller  <davem@davemloft.net>
40056
40057         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40058         variables with appropriate CPP guards.
40059         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40060         from the frame pointer, not the stack pointer.  Correct layout
40061         comments.  Fix test on resulting framesize and the management of
40062         the outregs buffer for pltexit.  Preserve floating point return
40063         values across _dl_call_pltexit call.
40064         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40065         framesize and the management of the outregs buffer for pltexit.
40066         Preserve floating point return values across _dl_call_pltexit
40067         call.
40068         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40069         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40070         (la_sparc64_gnu_pltexit): New functions.
40071         (print_exit): Fix format string for return register value.
40072
40073 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40074
40075         * sunrpc/Makefile (others): Add rpcgen.
40076         ($(objpfx)rpcgen): Remove special build rule and dependency on
40077         libc.
40078         * sunrpc/rpcgen.c: New file.
40079
40080 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40081
40082         [BZ #13673]
40083         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40084         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40085         * sysdeps/i386/crti.S: Likewise.
40086         * sysdeps/i386/crtn.S: Likewise.
40087         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40088         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40089         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40090         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40091         * sysdeps/sh/crti.S: Likewise.
40092         * sysdeps/sh/crtn.S: Likewise.
40093         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40094
40095         [BZ #13673]
40096         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40097         with URL.
40098         * locale/programs/locfile-kw.gperf: Likewise.
40099         * locale/programs/charmap-kw.h: Regenerated.
40100         * locale/programs/locfile-kw.h: Likewise.
40101
40102         [BZ #13673]
40103         * intl/plural.y: Replace FSF snail mail address with URL.
40104         * intl/plural.c: Regenerated.
40105
40106 2012-03-09  Richard Henderson  <rth@twiddle.net>
40107
40108         * include/math_private.h: Remove file.
40109         * math/math_private.h: Move file ...
40110         * sysdeps/generic/math_private.h: ... here.
40111
40112         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40113         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40114         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40115
40116         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40117         and <math_private.h>.
40118         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40119         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40120         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40121         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40122         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40123         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40124         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40125         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40126         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40127         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40128         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40129         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40130         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40131         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40132         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40133         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40134         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40135         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40136         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40137         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40138         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40139         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40140         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40141         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40142         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40143         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40144         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40145         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40147         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40148         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40149         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40150         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40151         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40152         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40153         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40154         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40155         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40156         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40157         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40158         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40159         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40160         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40161         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40162         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40163         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40164         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40165         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40166         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40167         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40168         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40169         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40170         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40171         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40172         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40173         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40174         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40175         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40176         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40177         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40178         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40179         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40180         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40181         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40182         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40183         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40184         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40185         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40186         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40187         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40188         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40189         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40190         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40191         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40192         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40193         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40194         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40195         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40196         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40197         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40198         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40199         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40200         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40201         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40202         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40203         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40204         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40205         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40206         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40207         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40208         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40209         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40210         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40211         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40212         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40213         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40214         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40215         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40216         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40217         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40218         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40219         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40220         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40221         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40222         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40223         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40224         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40225         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40226         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40227         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40228         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40229         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40230         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40231         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40232         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40233         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40234         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40235         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40236         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40237         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40238         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40239         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40240         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40241         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40242         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40243         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40244         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40245         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40246         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40247         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40248         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40249         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40250         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40251         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40252         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40253         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40254         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40255         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40256         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40257         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40258         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40259         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40260         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40261         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40262         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40263         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40264         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40265         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40266         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40267         * sysdeps/ieee754/k_standard.c: Likewise.
40268         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40269         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40270         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40271         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40272         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40273         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40274         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40275         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40276         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40277         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40278         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40279         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40280         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40281         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40282         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40283         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40284         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40285         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40286         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40287         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40288         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40289         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40292         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40293         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40294         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40295         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40296         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40297         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40298         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40299         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40301         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40302         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40303         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40304         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40305         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40306         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40309         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40310         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40311         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40312         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40313         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40314         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40315         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40316         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40317         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40318         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40319         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40320         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40321         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40322         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40323         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40324         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40325         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40326         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40327         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40328         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40329         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40330         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40331         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40332         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40333         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40334         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40335         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40337         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40338         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40339         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40340         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40341         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40342         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40343         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40344         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40345         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40346         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40347         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40348         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40349         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40350         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40351         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40352         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40353         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40354         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40355         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40356         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40357         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40358         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40359         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40360         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40361         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40362         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40363         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40364         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40365         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40366         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40367         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40369         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40370         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40371         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40372         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40373         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40374         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40375         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40376         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40377         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40378         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40379         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40380         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40381         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40382         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40383         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40384         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40385         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40386         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40387         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40388         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40389         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40390         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40391         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40392         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40393         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40394         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40395         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40396         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40397         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40398         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40399         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40400         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40401         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40402         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40403         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40404         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40405         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40406         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40407         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40408         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40409         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40410         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40411         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40412         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40413         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40414         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40415         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40416         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40417         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40418         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40419         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40420         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40421         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40422         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40423         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40424         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40425         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40426         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40427         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40428         * sysdeps/ieee754/s_lib_version.c: Likewise.
40429         * sysdeps/ieee754/s_matherr.c: Likewise.
40430         * sysdeps/ieee754/s_signgam.c: Likewise.
40431         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40432         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40433         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40434         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40435         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40436         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40437         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40438         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40439         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40440         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40441         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40442         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40443         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40444         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40445         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40446         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40447         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40448         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40449         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40450         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40451         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40452
40453 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40454
40455         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40456         * sunrpc/rpc_main.c: Likewise.
40457         * sunrpc/rpc_svcout.c: Likewise.
40458
40459 2012-03-09  David S. Miller  <davem@davemloft.net>
40460
40461         * include/math_private.h: New file.
40462
40463 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40464
40465         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40466         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40467         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40468         from <bits/socket_type.h>.
40469         (enum __socket_type): Don't define here.
40470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40472         bits/socket_type.h.
40473
40474         [BZ #13566]
40475         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40476         checking __USE_GNU.
40477
40478         * Makerules ($(inst_includedir)/%.h): New rule.
40479         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40480         (install-others): Remove variable setting.
40481         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40482
40483 2012-03-08  Richard Henderson  <rth@twiddle.net>
40484
40485         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40486         from macro to inline function; merge with the
40487         !__LIBC_INTERNAL_MATH_INLINES version.
40488         (__ieee754_sqrtf): Likewise.
40489
40490         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40491         to inline function.
40492         (__rintf, __floor, __floorf): Likewise.
40493
40494         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40495         macro to inline function.
40496         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40497
40498         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40499         not <math/math_private.h>.
40500
40501 2012-03-08  David S. Miller  <davem@davemloft.net>
40502
40503         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40504         copyright year.
40505         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40506
40507 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40508
40509         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40510         normalization.
40511         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40512         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40513
40514 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40515
40516         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40517         be defined individually, they must be defined as a block.  Define
40518         S for printing a string instead of hidint the different by using a
40519         macro for adding the 'l'.
40520         * stdio-common/tst-fphex-wide.c: Adjust.
40521
40522 2012-03-07  Marek Polacek  <polacek@redhat.com>
40523
40524         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40525
40526 2012-03-08  Marek Polacek  <polacek@redhat.com>
40527
40528         [BZ #13806]
40529         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40530         * stdio-common/tst-fphex.c: Define a few macros to make the
40531         test reusable.  Use them.
40532         * stdio-common/tst-fphex-wide.c: New file.
40533
40534 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40535
40536         [BZ #6911]
40537         * manual/macros.texi (gnusystems): New macro.
40538         (nongnusystems): Likewise.
40539         (gnulinuxhurdsystems): Likewise.
40540         (gnuhurdsystems): Likewise..
40541         (gnulinuxsystems): Likewise.
40542         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40543         variants of the GNU system, not "GNU system".
40544         * manual/conf.texi: Likewise.
40545         * manual/errno.texi: Likewise.  Update example of errno macro
40546         expansion.
40547         * manual/filesys.texi: Likewise.
40548         (getumask): Document as specific to GNU/Hurd.
40549         * manual/install.texi: Likewise.  Reword some references to
40550         GNU/Linux.
40551         * manual/intro.texi: Likewise.
40552         * manual/io.texi: Likewise.
40553         (File Name Portability): Detail which constraints are inapplicable
40554         to all GNU systems and which are only inapplicable to GNU/Hurd.
40555         * manual/job.texi: Likewise.
40556         * manual/llio.texi: Likewise.
40557         (O_NOCTTY): Document as present on GNU/Linux.
40558         * manual/maint.texi: Likewise.
40559         * manual/memory.texi: Likewise.
40560         * manual/pattern.texi: Likewise.
40561         * manual/pipe.texi: Likewise.
40562         * manual/process.texi: Likewise.
40563         * manual/resource.texi: Likewise.
40564         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40565         child on GNU/Hurd.
40566         * manual/setjmp.texi: Likewise.
40567         * manual/signal.texi: Likewise.
40568         * manual/startup.texi: Likewise.
40569         * manual/stdio.texi: Likewise.
40570         * manual/terminal.texi: Likewise.
40571         (ONLCR): Document as POSIX.
40572         (OXTABS): Document availability on GNU/Linux as XTABS.
40573         (ONOEOT): Document availability separately from other bits.
40574         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40575         * manual/time.texi: Likewise.
40576         * manual/users.texi: Likewise.
40577         * INSTALL: Regenerated.
40578         * sysdeps/gnu/errlist.c: Regenerated.
40579
40580         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40581         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40582         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40583         puts.
40584         * configure: Regenerated.
40585
40586 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40587
40588         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40589         default includes instead of AC_HEADER_CHECK.
40590         * sysdeps/i386/configure: Regenerated.
40591
40592         [BZ #10716]
40593         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40594         * math/s_cacoshf.c (__cacoshf): Likewise.
40595         * math/s_cacoshl.c (__cacoshl): Likewise.
40596         * math/s_casinh.c (__casinh): Set signs of result from argument.
40597         * math/s_casinhf.c (__casinhf): Likewise.
40598         * math/s_casinhl.c (__casinhl): Likewise.
40599         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40600         (casinh_test): Add more tests.
40601         * sysdeps/i386/fpu/libm-test-ulps: Update.
40602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40603
40604 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40605
40606         * po/zh_TW.po: Update from translation team.
40607
40608         * login/Makefile (distribute): Remove variable.
40609         * catgets/Makefile: Likewise.
40610         * mach/Makefile: Likewise.
40611         * malloc/Makefile: Likewise.
40612         * misc/Makefile: Likewise.
40613         * iconv/Makefile: Likewise.
40614         * nscd/Makefile: Likewise.
40615         * hurd/Makefile: Likewise.
40616         * manual/Makefile: Likewise.
40617         * locale/Makefile: Likewise.
40618         * intl/Makefile: Likewise.
40619         * conform/Makefile: Likewise.
40620         * nss/Makefile: Likewise.
40621         * time/Makefile: Likewise.
40622         * soft-fp/Makefile: Likewise.
40623         * dirent/Makefile: Likewise.
40624         * gmon/Makefile: Likewise.
40625         * po/Makefile: Likewise.
40626         * rt/Makefile: Likewise.
40627         * socket/Makefile: Likewise.
40628         * math/Makefile: Likewise.
40629         * signal/Makefile: Likewise.
40630         * debug/Makefile: Likewise.
40631         * elf/Makefile: Likewise.
40632         * timezone/Makefile: Likewise.
40633         * stdlib/Makefile: Likewise.
40634         * iconvdata/Makefile: Likewise.
40635         * sunrpc/Makefile: Likewise.
40636         * io/Makefile: Likewise.
40637         * argp/Makefile: Likewise.
40638         * inet/Makefile: Likewise.
40639         * hesiod/Makefile: Likewise.
40640         * grp/Makefile: Likewise.
40641         * csu/Makefile: Likewise.
40642         * wctype/Makefile: Likewise.
40643         * crypt/Makefile: Likewise.
40644         * libio/Makefile: Likewise.
40645         * string/Makefile: Likewise.
40646         * nis/Makefile: Likewise.
40647         * resolv/Makefile: Likewise.
40648         * stdio-common/Makefile: Likewise.
40649         * wcsmbs/Makefile: Likewise.
40650         * dlfcn/Makefile: Likewise.
40651         * posix/Makefile: Likewise.
40652
40653         [BZ #6959]
40654         * timezone/Makefile: Don't install timezone files, just the programs
40655         and scripts.
40656
40657 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40658
40659         * nss/databases.def: Add missing gshadow entry.
40660
40661         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40662
40663 2012-03-06  Marek Polacek  <polacek@redhat.com>
40664
40665         [BZ #13726]
40666         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40667         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40668         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40669         * stdio-common/tst-long-dbl-fphex.c: New file.
40670
40671 2012-03-06  David S. Miller  <davem@davemloft.net>
40672
40673         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40674         (set_obp_int): New function.
40675         (get_obp_int): New function.
40676         (__get_clockfreq_via_dev_openprom): Likewise.
40677         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40678         Avoid unused variable warnings on 'val' and use builtin_expect.
40679         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40680         __builtin_expect.
40681         (INLINE_CLONE_SYSCALL): Likewise.
40682
40683 2012-03-05  David S. Miller  <davem@davemloft.net>
40684
40685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40686
40687 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40688
40689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40690
40691         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40692         only for |x| >= 40.
40693         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40694
40695 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40696
40697         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40698         Replace gettimeofday with __vdso_gettimeofday.
40699
40700         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40701         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40702         __vdso_clock_gettime and __vdso_getcpu.
40703
40704         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40705         time with __vdso_time.
40706
40707 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40708
40709         * manual/lang.texi (size_t): Note types to which size_t may be
40710         equivalent with the GNU C Library, but do not describe when
40711         differences between them are significant.
40712
40713 2012-03-05  Andreas Jaeger  <aj@suse.de>
40714
40715         * sysdeps/i386/fpu/libm-test-ulps: Update.
40716
40717 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40718
40719         [BZ #3976]
40720         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40721         (__ieee754_pow): Save and restore rounding mode and use
40722         round-to-nearest for main computations.
40723         * math/libm-test.inc (pow_test_tonearest): New function.
40724         (pow_test_towardzero): Likewise.
40725         (pow_test_downward): Likewise.
40726         (pow_test_upward): Likewise.
40727         (main): Call the new functions.
40728         * sysdeps/i386/fpu/libm-test-ulps: Update.
40729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40730
40731         [BZ #3976]
40732         * math/libm-test.inc (cosh_test_tonearest): New function.
40733         (cosh_test_towardzero): Likewise.
40734         (cosh_test_downward): Likewise.
40735         (cosh_test_upward): Likewise.
40736         (sinh_test_tonearest): Likewise.
40737         (sinh_test_towardzero): Likewise.
40738         (sinh_test_downward): Likewise.
40739         (sinh_test_upward): Likewise.
40740         (main): Call the new functions.
40741         * sysdeps/i386/fpu/libm-test-ulps: Update.
40742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40743
40744 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40745
40746         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40747         default stack guard is set in last bytes.
40748         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40749
40750 2012-03-05  Kees Cook  <keescook@chromium.org>
40751
40752         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40753
40754         [BZ #13656]
40755         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40756         possibly allocate from heap instead of stack.
40757         * stdio-common/bug-vfprintf-nargs.c: New file.
40758         * stdio-common/Makefile (tests): Add nargs overflow test.
40759
40760 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40761
40762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40763
40764 2012-03-03  Marek Polacek  <polacek@redhat.com>
40765
40766         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40767         * math/math_private.h: Likewise.
40768         * stdlib/tst-strtod.c: Likewise.
40769         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40770         * sysdeps/x86_64/bits/atomic.h: Likewise.
40771
40772 2012-03-02  David S. Miller  <davem@davemloft.net>
40773
40774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40778         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40779         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40780         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40781         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40782
40783 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40784
40785         [BZ #13792]
40786         * manual/examples/README: New file, says the example source files
40787         can be used under GPL>=2.
40788         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40789         line containing just "*/".
40790         * manual/examples/add.c: Add copyright header (GPL>=2).
40791         * manual/examples/argp-ex1.c: Likewise.
40792         * manual/examples/argp-ex2.c: Likewise.
40793         * manual/examples/argp-ex3.c: Likewise.
40794         * manual/examples/argp-ex4.c: Likewise.
40795         * manual/examples/atexit.c: Likewise.
40796         * manual/examples/db.c: Likewise.
40797         * manual/examples/dir.c: Likewise.
40798         * manual/examples/dir2.c: Likewise.
40799         * manual/examples/execinfo.c: Likewise.
40800         * manual/examples/filecli.c: Likewise.
40801         * manual/examples/filesrv.c: Likewise.
40802         * manual/examples/fmtmsgexpl.c: Likewise.
40803         * manual/examples/genpass.c: Likewise.
40804         * manual/examples/inetcli.c: Likewise.
40805         * manual/examples/inetsrv.c: Likewise.
40806         * manual/examples/isockad.c: Likewise.
40807         * manual/examples/longopt.c: Likewise.
40808         * manual/examples/memopen.c: Likewise.
40809         * manual/examples/memstrm.c: Likewise.
40810         * manual/examples/mkfsock.c: Likewise.
40811         * manual/examples/mkisock.c: Likewise.
40812         * manual/examples/mygetpass.c: Likewise.
40813         * manual/examples/pipe.c: Likewise.
40814         * manual/examples/popen.c: Likewise.
40815         * manual/examples/rprintf.c: Likewise.
40816         * manual/examples/search.c: Likewise.
40817         * manual/examples/select.c: Likewise.
40818         * manual/examples/setjmp.c: Likewise.
40819         * manual/examples/sigh1.c: Likewise.
40820         * manual/examples/sigusr.c: Likewise.
40821         * manual/examples/stpcpy.c: Likewise.
40822         * manual/examples/strdupa.c: Likewise.
40823         * manual/examples/strftim.c: Likewise.
40824         * manual/examples/strncat.c: Likewise.
40825         * manual/examples/subopt.c: Likewise.
40826         * manual/examples/swapcontext.c: Likewise.
40827         * manual/examples/termios.c: Likewise.
40828         * manual/examples/testopt.c: Likewise.
40829         * manual/examples/testpass.c: Likewise.
40830         * manual/examples/timeval_subtract.c: Likewise.
40831
40832         [BZ #13792]
40833         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40834         function to ...
40835         * manual/timeval_subtract.c.texi: ... here, new file.
40836
40837 2012-03-02  David S. Miller  <davem@davemloft.net>
40838
40839         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40840
40841 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40842
40843         [BZ #3976]
40844         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40845         (__sin): Save and restore rounding mode and use round-to-nearest
40846         for all computations.
40847         (__cos): Save and restore rounding mode and use round-to-nearest
40848         for all computations.
40849         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40850         <fenv.h>.
40851         (tan): Save and restore rounding mode and use round-to-nearest for
40852         all computations.
40853         * math/libm-test.inc (cos_test_tonearest): New function.
40854         (cos_test_towardzero): Likewise.
40855         (cos_test_downward): Likewise.
40856         (cos_test_upward): Likewise.
40857         (sin_test_tonearest): Likewise.
40858         (sin_test_towardzero): Likewise.
40859         (sin_test_downward): Likewise.
40860         (sin_test_upward): Likewise.
40861         (tan_test_tonearest): Likewise.
40862         (tan_test_towardzero): Likewise.
40863         (tan_test_downward): Likewise.
40864         (tan_test_upward): Likewise.
40865         (main): Call the new functions.
40866         * sysdeps/i386/fpu/libm-test-ulps: Update.
40867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40868
40869         [BZ #10135]
40870         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40871         small n, then large n, before computing and testing k+n.
40872         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40873         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40874         Likewise.
40875         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40876         Likewise.
40877         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40878         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40879         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40880         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40881         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40882         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40883         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40884         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40885         * math/libm-test.inc (scalbn_test): Add more tests.
40886         (scalbln_test): Likewise.
40887
40888         * manual/filesys.texi (mode_t): Describe constraints on size and
40889         signedness, not exact equivalence to a particular type.
40890         (ino_t): Likewise.
40891         (ino64_t): Likewise.
40892         (dev_t): Likewise.
40893         (nlink_t): Likewise.
40894         (blkcnt_t): Likewise.
40895         (blkcnt64_t): Likewise.
40896         * manual/llio.texi (off_t): Likewise.
40897
40898         [BZ #3976]
40899         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40900         (__ieee754_exp): Save and restore rounding mode and use
40901         round-to-nearest for all computations.
40902         * math/libm-test.inc (exp_test_tonearest): New function.
40903         (exp_test_towardzero): Likewise.
40904         (exp_test_downward): Likewise.
40905         (exp_test_upward): Likewise.
40906         (main): Call the new functions.
40907         * sysdeps/i386/fpu/libm-test-ulps: Update.
40908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40909
40910 2012-03-01  Chris Demetriou  <cgd@google.com>
40911
40912         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40913         have predictable order.
40914
40915 2012-03-01  David S. Miller  <davem@davemloft.net>
40916
40917         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40918
40919         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40920         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40921         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40922         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40923
40924         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40925         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40926         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40928         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40929         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40930         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40931         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40932         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40933
40934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40935
40936         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40937         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40938         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40939
40940         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40941         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40942         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40943         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40944         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40945         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40946         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40947         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40948         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40949         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40950         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40951         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40952         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40953         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40954         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40955         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40956         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40957         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40958         * sysdeps/sparc/elf/configure: Regenerated.
40959
40960 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40961
40962         * configure.in (AS, LD): Require binutils 2.20 or later.
40963         * configure: Regenerated.
40964         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40965         as required minimum version.
40966         * INSTALL: Regenerated.
40967
40968         [BZ #2541]
40969         [BZ #4108]
40970         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40971         before squaring exponent.
40972         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40973         bottom long double and 27 bits of top long double before squaring
40974         exponent.
40975         * math/libm-test.inc (erfc_test): Add more tests.
40976         * sysdeps/i386/fpu/libm-test-ulps: Update.
40977         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40979
40980 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40981
40982         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40983         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40984         containing bit-fields.
40985         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40986         * soft-fp/single.h (_FP_UNION_S): Likewise.
40987         * soft-fp/double.h (_FP_UNION_D): Likewise.
40988
40989 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40990
40991         [BZ #13786]
40992         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40993         not include ../strcmp.S.
40994         [USE_AS_STRNCASECMP_L]: Likewise.
40995         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40996         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40997         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40998         (__strncasecmp_l_ia32): Define as alias to
40999         __strncasecmp_l_nonascii.
41000
41001         [BZ #5794]
41002         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41003         * sysdeps/i386/fpu/libm-test-ulps: Update.
41004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41005
41006         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41008
41009 2012-02-29  Jeff Law  <law@redhat.com>
41010
41011         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41012         out of bounds read.
41013
41014 2012-02-29  Marek Polacek  <polacek@redhat.com>
41015
41016         [BZ #13706]
41017         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41018         * elf/Makefile: Add rules to run tst-unused-dep.out.
41019
41020 2012-02-28  David S. Miller  <davem@davemloft.net>
41021
41022         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41023         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41024         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41025         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41026         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41027         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41028
41029 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41030
41031         * math/libm-test.inc (llround_test): Move one test from
41032         lround_test.  Use TEST_f_L in moved test.
41033         (lround_test): Move misplaced test to llround_test.  Add testcase
41034         from bug 2561.
41035
41036 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41037
41038         * sysdeps/x86_64/fpu/e_expf.S: New file.
41039         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41040
41041 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41042
41043         [BZ #13637]
41044         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41045         of remain_len that may cause incomplete multi-byte character and
41046         false match.
41047         * posix/bug-regex33.c: New file.
41048         * posix/Makefile (tests): Add bug-regex33.
41049
41050 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41051
41052         * manual/macros.texi: New file.
41053         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41054         * manual/libc.texinfo: Include macros.texi.
41055         * manual/creatute.texi: Likewise.
41056         * manual/install.texi: Likewise.
41057         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41058         @glibcadj{} in references to the GNU C Library.
41059         * manual/charset.texi: Likewise.
41060         * manual/conf.texi: Likewise.
41061         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41062         when not using those macros.
41063         * manual/creature.texi: Likewise.
41064         * manual/crypt.texi: Likewise.
41065         * manual/errno.texi: Likewise.
41066         * manual/filesys.texi: Likewise.
41067         * manual/header.texi: Likewise.
41068         * manual/install.texi: Likewise.
41069         * manual/intro.texi: Likewise.
41070         * manual/io.texi: Likewise.
41071         * manual/job.texi: Likewise.
41072         * manual/lang.texi: Likewise.
41073         * manual/libc.texiinfo: Likewise.
41074         * manual/llio.texi: Likewise.
41075         * manual/locale.texi: Likewise.
41076         * manual/maint.texi: Likewise.
41077         * manual/math.texi: Likewise.
41078         * manual/memory.texi: Likewise.
41079         * manual/message.texi: Likewise.
41080         * manual/nss.texi: Likewise.
41081         * manual/pattern.texi: Likewise.
41082         * manual/process.texi: Likewise.
41083         * manual/resource.texi: Likewise.
41084         * manual/search.texi: Likewise.
41085         * manual/setjmp.texi: Likewise.
41086         * manual/signal.texi: Likewise.
41087         * manual/socket.texi: Likewise.
41088         * manual/startup.texi: Likewise.
41089         * manual/stdio.texi: Likewise.
41090         * manual/string.texi: Likewise.
41091         * manual/sysinfo.texi: Likewise.
41092         * manual/syslog.texi: Likewise.
41093         * manual/terminal.texi: Likewise.
41094         * manual/time.texi: Likewise.
41095         * manual/users.texi: Likewise.
41096         * INSTALL: Regenerated.
41097         * NOTES: Regenerated.
41098         * sysdeps/gnu/errlist.c: Regenerated.
41099
41100 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41101
41102         * include/dirent.h: Include <dirstream.h> before
41103         <dirent/dirent.h>.
41104
41105 2012-02-28  David S. Miller  <davem@davemloft.net>
41106
41107         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41108         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41109         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41110         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41111
41112 2012-02-27  David S. Miller  <davem@davemloft.net>
41113
41114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41116         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41117         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41118
41119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41120         frame pointer instead of stack pointer relative arg slot.
41121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41122         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41123         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41124
41125 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41126
41127         [BZ #3992]
41128         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41129
41130 2012-02-27  David S. Miller  <davem@davemloft.net>
41131
41132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41136         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41137         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41138         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41139         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41140
41141 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41142
41143         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41144         later.  Allow versions 5-9.
41145         * configure: Regenerated.
41146         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41147         required minimum version and 4.6 as recommended version.  Do not
41148         mention bugs in GCC 2.7 and 2.8.
41149         * INSTALL: Regenerated.
41150
41151 2012-02-27  David S. Miller  <davem@davemloft.net>
41152
41153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41157         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41158         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41159         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41160         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41161
41162         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41163         manipulate bits before adding and subtracting TWO112[sx].
41164         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41165
41166 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41167
41168         [BZ #13775]
41169         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41170         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41171         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41172         being in POSIX, because they are in 1003.1-2008.
41173
41174         * rt/tst-aio.c: Include <fcntl.h>.
41175         * rt/tst-aio7.c: Likewise.
41176         * rt/tst-aio64.c: Likewise.
41177
41178         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41179
41180 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41181
41182         * manual/install.texi (--with-headers): Describe headers as
41183         interface headers, not private headers.
41184         (Specific advice for GNU/Linux systems): Describe use of headers
41185         from "make headers_install", not private headers from older
41186         kernels.
41187         * INSTALL: Regenerated.
41188         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41189         Change to 2.6.19.
41190         * sysdeps/unix/sysv/linux/configure: Regenerated.
41191
41192         * manual/llio.texi (fclean): Remove documentation.
41193
41194         * manual/Makefile (libc-texi-generated): New variable.  Include
41195         version.texi.
41196         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41197         $(libc-texi-generated), not duplicated list of files.
41198         (version.texi, stamp-version): New rules.
41199         (realclean): Remove $(libc-texi-generated), not individual files
41200         from that list.  Do not remove dir-add.texinfo.
41201         * manual/libc.texinfo: Comment out uses of edition numbers and
41202         references to printed manual.  Remove last-updated dates.
41203         (EDITION): Comment out.
41204         (ISBN): Likewise.
41205         (VERSION, UPDATED): Remove.
41206         (version.texi): Include.
41207
41208 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41209
41210         * sysdeps/posix/spawni.c: Include <signal.h>.
41211         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41212         * sysdeps/pthread/aio_fsync.c: Likewise.
41213
41214 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41215
41216         * conform/Makefile (tests): Run only when not cross-compiling and
41217         when fast-check is not defined.
41218
41219         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41220         * conform/data/limits.h-data: Fixes for POSIX2008.
41221         * conform/run-conformtest.sh: Run all tests.
41222         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41223         headers.
41224         * include/bits/dlfcn.h: Likewise.
41225         * include/langinfo.h: Likewise.
41226         * include/monetary.h: Likewise.
41227         * include/sys/poll.h: Likewise.
41228
41229         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41230         for __USE_GNU.
41231         * posix/spawn.h: Define __need_sigset_t.
41232         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41233         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41234         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41235         to get sigevent_t only.
41236         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41237         only for __USE_GNU.
41238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41239         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41240         process_vm_writev only for __USE_GNU.
41241         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41242
41243         * conform/Makefile: For now ignore errors from run-conformtest.
41244         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41245         POSIX to avoid namespace pollution.  Don't prepend headers.
41246         * conform/data/aio.h-data: Fixes for POSIX testing.
41247         * conform/data/fcntl.h-data: Likewise.
41248         * conform/data/glob.h-data: Likewise.
41249         * conform/data/grp.h-data: Likewise.
41250         * conform/data/pthread.h-data: Likewise.
41251         * conform/data/pwd.h-data: Likewise.
41252         * conform/data/signal.h-data: Likewise.
41253         * conform/data/spawn.h-data: Likewise.
41254         * conform/data/stdio.h-data: Likewise.
41255         * conform/data/stdlib.h-data: Likewise.
41256         * conform/data/stropts.h-data: Likewise.
41257         * conform/data/sys/mman.h-data: Likewise.
41258         * conform/data/sys/stat.h-data: Likewise.
41259         * conform/data/sys/types.h-data: Likewise.
41260         * conform/data/sys/wait.h-data: Likewise.
41261         * conform/data/time.h-data: Likewise.
41262         * conform/data/unistd.h-data: Likewise.
41263         * conform/data/utime.h-data: Likewise.
41264
41265         * io/sys/stat.h: fchmod was always in POSIX.
41266         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41267         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41268         * rt/aio.h: Define __need_timespec before including <time.h>.
41269         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41270         struct.  Add forward declaration of pthread_attr_t and use it in
41271         sigevent.
41272         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41273         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41274         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41275         always remove CLK_TCK definition.
41276
41277 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41278
41279         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41280
41281 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41282
41283         * conform/run-conformtest.sh: New file.
41284         * conform/Makefile: Run run-conformtest for tests.
41285         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41286         support.
41287
41288         * conform/data/uchar.h-data: New file.
41289         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41290         * conform/data/arpa/inet.h-data: Likewise.
41291         * conform/data/assert.h-data: Likewise.
41292         * conform/data/complex.h-data: Likewise.
41293         * conform/data/cpio.h-data: Likewise.
41294         * conform/data/ctype.h-data: Likewise.
41295         * conform/data/dirent.h-data: Likewise.
41296         * conform/data/dlfcn.h-data: Likewise.
41297         * conform/data/errno.h-data: Likewise.
41298         * conform/data/fcntl.h-data: Likewise.
41299         * conform/data/float.h-data: Likewise.
41300         * conform/data/fmtmsg.h-data: Likewise.
41301         * conform/data/fnmatch.h-data: Likewise.
41302         * conform/data/ftw.h-data: Likewise.
41303         * conform/data/glob.h-data: Likewise.
41304         * conform/data/grp.h-data: Likewise.
41305         * conform/data/iconv.h-data: Likewise.
41306         * conform/data/inttypes.h-data: Likewise.
41307         * conform/data/langinfo.h-data: Likewise.
41308         * conform/data/libgen.h-data: Likewise.
41309         * conform/data/limits.h-data: Likewise.
41310         * conform/data/locale.h-data: Likewise.
41311         * conform/data/math.h-data: Likewise.
41312         * conform/data/monetary.h-data: Likewise.
41313         * conform/data/mqueue.h-data: Likewise.
41314         * conform/data/ndbm.h-data: Likewise.
41315         * conform/data/net/if.h-data: Likewise.
41316         * conform/data/netdb.h-data: Likewise.
41317         * conform/data/netinet/in.h-data: Likewise.
41318         * conform/data/nl_types.h-data: Likewise.
41319         * conform/data/poll.h-data: Likewise.
41320         * conform/data/pthread.h-data: Likewise.
41321         * conform/data/pwd.h-data: Likewise.
41322         * conform/data/regex.h-data: Likewise.
41323         * conform/data/sched.h-data: Likewise.
41324         * conform/data/search.h-data: Likewise.
41325         * conform/data/semaphore.h-data: Likewise.
41326         * conform/data/setjmp.h-data: Likewise.
41327         * conform/data/signal.h-data: Likewise.
41328         * conform/data/spawn.h-data: Likewise.
41329         * conform/data/stdarg.h-data: Likewise.
41330         * conform/data/stdio.h-data: Likewise.
41331         * conform/data/stdlib.h-data: Likewise.
41332         * conform/data/string.h-data: Likewise.
41333         * conform/data/strings.h-data: Likewise.
41334         * conform/data/stropts.h-data: Likewise.
41335         * conform/data/sys/ipc.h-data: Likewise.
41336         * conform/data/sys/mman.h-data: Likewise.
41337         * conform/data/sys/msg.h-data: Likewise.
41338         * conform/data/sys/resource.h-data: Likewise.
41339         * conform/data/sys/select.h-data: Likewise.
41340         * conform/data/sys/sem.h-data: Likewise.
41341         * conform/data/sys/shm.h-data: Likewise.
41342         * conform/data/sys/socket.h-data: Likewise.
41343         * conform/data/sys/stat.h-data: Likewise.
41344         * conform/data/sys/statvfs.h-data: Likewise.
41345         * conform/data/sys/time.h-data: Likewise.
41346         * conform/data/sys/timeb.h-data: Likewise.
41347         * conform/data/sys/times.h-data: Likewise.
41348         * conform/data/sys/types.h-data: Likewise.
41349         * conform/data/sys/uio.h-data: Likewise.
41350         * conform/data/sys/un.h-data: Likewise.
41351         * conform/data/sys/utsname.h-data: Likewise.
41352         * conform/data/sys/wait.h-data: Likewise.
41353         * conform/data/syslog.h-data: Likewise.
41354         * conform/data/tar.h-data: Likewise.
41355         * conform/data/termios.h-data: Likewise.
41356         * conform/data/utime.h-data: Likewise.
41357         * conform/data/utmpx.h-data: Likewise.
41358         * conform/data/varargs.h-data: Likewise.
41359         * conform/data/wchar.h-data: Likewise.
41360         * conform/data/wctype.h-data: Likewise.
41361         * conform/data/wordexp.h-data: Likewise.
41362
41363         * include/stropts.h: New file.
41364         * include/uchar.h: New file.
41365         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41366         * include/assert.h: Likewise.
41367         * include/ctype.h: Likewise.
41368         * include/dirent.h: Likewise.
41369         * include/dlfcn.h: Likewise.
41370         * include/fcntl.h: Likewise.
41371         * include/fnmatch.h: Likewise.
41372         * include/glob.h: Likewise.
41373         * include/grp.h: Likewise.
41374         * include/libio.h: Likewise.
41375         * include/locale.h: Likewise.
41376         * include/math.h: Likewise.
41377         * include/net/if.h: Likewise.
41378         * include/netdb.h: Likewise.
41379         * include/netinet/in.h: Likewise.
41380         * include/pthread.h: Likewise.
41381         * include/pwd.h: Likewise.
41382         * include/regex.h: Likewise.
41383         * include/sched.h: Likewise.
41384         * include/search.h: Likewise.
41385         * include/setjmp.h: Likewise.
41386         * include/signal.h: Likewise.
41387         * include/stdio.h: Likewise.
41388         * include/stdlib.h: Likewise.
41389         * include/string.h: Likewise.
41390         * include/sys/cdefs.h: Likewise.
41391         * include/sys/mman.h: Likewise.
41392         * include/sys/msg.h: Likewise.
41393         * include/sys/resource.h: Likewise.
41394         * include/sys/select.h: Likewise.
41395         * include/sys/socket.h: Likewise.
41396         * include/sys/stat.h: Likewise.
41397         * include/sys/statvfs.h: Likewise.
41398         * include/sys/time.h: Likewise.
41399         * include/sys/times.h: Likewise.
41400         * include/sys/uio.h: Likewise.
41401         * include/sys/utsname.h: Likewise.
41402         * include/sys/wait.h: Likewise.
41403         * include/termios.h: Likewise.
41404         * include/time.h: Likewise.
41405         * include/ulimit.h: Likewise.
41406         * include/unistd.h: Likewise.
41407         * include/utime.h: Likewise.
41408         * include/wchar.h: Likewise.
41409         * include/wctype.h: Likewise.
41410         * include/wordexp.h: Likewise.
41411
41412         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41413
41414         * time/time.h: TIME_UTC must be a macro.
41415         Make timespec_get available for ISO C11 only as well.
41416
41417 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41418
41419         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41420         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41421
41422 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41423
41424         * configure.in: Use -o not -a in test for unsupported multi-arch.
41425
41426 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41427
41428         * manual/texinfo.tex: Update to version 2012-01-19.16.
41429
41430 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41431
41432         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41433
41434 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41435
41436         [BZ #13738]
41437         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41438         * manual/fdl-1.3.texi: New file.
41439         * manual/fdl-1.1.texi: File removed.
41440
41441         [BZ #13738]
41442         * manual/libc.texinfo (FDL_VERSION): New @set.
41443         Use it for mention of FDL in cover text.
41444         (Documentation License): Use it in @include file name.
41445
41446 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41447             Roland McGrath  <roland@hack.frob.com>
41448
41449         [BZ #5461]
41450         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41451         (not LONG_LONG_MAX and LONG_LONG_MIN.
41452         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41453         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41454         name.
41455         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41456
41457 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41458
41459         [BZ #2547]
41460         [BZ #11365]
41461         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41462         manipulate bits before adding and subtracting TWO23[sx].
41463         * math/libm-test.inc (nearbyint_test): Add more tests.
41464
41465 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41466
41467         [BZ #2548]
41468         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41469         bits before adding and subtracting TWO23[sx].
41470         * math/libm-test.inc (rint_test): Add more tests.
41471         (rint_test_tonearest): Likewise.
41472         (rint_test_towardzero): Likewise.
41473         (rint_test_downward): Likewise.
41474         (rint_test_upward: Likewise.
41475
41476 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41477
41478         [BZ #10110]
41479         * include/stdc-predef.h: New file.  Extracted from features.h.
41480         * include/features.h: Include stdc-predef.h.
41481         * Makefile (headers): Add stdc-predef.h.
41482         * CONFORMANCE (Compiler limitations): Update.
41483
41484 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41485
41486         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41487
41488 2012-02-21  David S. Miller  <davem@davemloft.net>
41489
41490         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41491         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41492
41493 2012-02-20  David S. Miller  <davem@davemloft.net>
41494
41495         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41496         using a normal save/restore sequence, rather than allocating a
41497         dummy stack frame just to store a frame pointer and restore.
41498         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41499
41500 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41501
41502         * manual/install.texi: Fix stray word in line-wrapped comment.
41503
41504 2012-02-20  David S. Miller  <davem@davemloft.net>
41505
41506         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41507         both binutils and gcc support GOTDATA.
41508
41509         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41510         "rd %pc" in the PIC register setup sequences.
41511
41512         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41513         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41514         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41515         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41516         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41517         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41518         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41519         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41521         (SYSCALL_ERROR_HANDLER): Likewise.
41522         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41523         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41525         (SYSCALL_ERROR_HANDLER): Likewise.
41526
41527         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41528         (HAVE_GCC_GOTDATA): New.
41529         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41530         relocation support in both binutils and gcc.
41531         * sysdeps/sparc/elf/configure: Regenerate.
41532
41533         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41534         * sysdeps/sparc/sparc32/elf/configure: Delete.
41535         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41536         * sysdeps/sparc/sparc64/elf/configure: Delete.
41537         * sysdeps/sparc/elf/configure.in: New file.
41538         * sysdeps/sparc/elf/configure: Generate.
41539
41540         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41541         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41542         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41543         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41544         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41545
41546 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41547
41548         * manual/install.texi: Do not mention specific glibc version
41549         numbers.
41550         * manual/libc.texinfo (VERSION, UPDATED): Update.
41551         (@copying): Use @copyright{} and range of years.
41552
41553 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41554
41555         [BZ #13695]
41556         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41557         [crti.S not in sysdirs] (generated): Do not append.
41558         [crti.S not in sysdirs] (omit-deps): Likewise.
41559         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41560         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41561         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41562         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41563         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41564         Likewise.
41565         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41566         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41567         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41568         * csu/defs.awk: Remove file.
41569         * sysdeps/generic/initfini.c: Likewise.
41570         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41571         variable.
41572         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41573         Likewise.
41574
41575 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41576
41577         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41578         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41579         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41580         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41581         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41582         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41583         <bits/epoll.h>.
41584         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41585         (__EPOLL_PACKED): Define to empty if not defined by
41586         <bits/epoll.h>.
41587         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41589         bits/epoll.h.
41590
41591 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41592
41593         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41594         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41595         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41596         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41597         <bits/timerfd.h>.
41598         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41599         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41600         bits/timerfd.h.
41601
41602 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41603
41604         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41605         in C locale.
41606         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41607         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41608         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41610
41611 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41612
41613         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41614         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41615
41616 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41617
41618         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41619         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41620         defined.
41621         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41622         Likewise.
41623         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41624         entry for 2.16.
41625
41626 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41627
41628         * math/w_acos.c: Use non-signaling floating-point comparisons.
41629         * math/w_acosf.c: Likewise.
41630         * math/w_acosh.c: Likewise.
41631         * math/w_acoshf.c: Likewise.
41632         * math/w_acoshl.c: Likewise.
41633         * math/w_acosl.c: Likewise.
41634         * math/w_asin.c: Likewise.
41635         * math/w_asinf.c: Likewise.
41636         * math/w_asinl.c: Likewise.
41637         * math/w_atanh.c: Likewise.
41638         * math/w_atanhf.c: Likewise.
41639         * math/w_atanhl.c: Likewise.
41640         * math/w_exp2.c: Likewise.
41641         * math/w_exp2f.c: Likewise.
41642         * math/w_exp2l.c: Likewise.
41643         * math/w_j0.c: Likewise.
41644         * math/w_j0f.c: Likewise.
41645         * math/w_j0l.c: Likewise.
41646         * math/w_j1.c: Likewise.
41647         * math/w_j1f.c: Likewise.
41648         * math/w_j1l.c: Likewise.
41649         * math/w_jn.c: Likewise.
41650         * math/w_jnf.c: Likewise.
41651         * math/w_log.c: Likewise.
41652         * math/w_log10.c: Likewise.
41653         * math/w_log10f.c: Likewise.
41654         * math/w_log10l.c: Likewise.
41655         * math/w_log2.c: Likewise.
41656         * math/w_log2f.c: Likewise.
41657         * math/w_log2l.c: Likewise.
41658         * math/w_logf.c: Likewise.
41659         * math/w_logl.c: Likewise.
41660         * math/w_sqrt.c: Likewise.
41661         * math/w_sqrtf.c: Likewise.
41662         * math/w_sqrtl.c: Likewise.
41663         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41664         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41665         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41666         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41667         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41668
41669 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41670
41671         [BZ #9739]
41672         * manual/string.texi (strnlen): Use correct parameter name in
41673         equivalent expression.
41674
41675 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41676
41677         [BZ #11174]
41678         * manual/users.texi (seteuid): Consistently use neweuid for
41679         argument name.
41680
41681 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41682
41683         [BZ #13704]
41684         * manual/nss.texi (Services in the NSS configuration): Correct
41685         list of services in example configuration file.
41686
41687 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41688
41689         [BZ #11322]
41690         * manual/arith.texi: Remove statements about negative zero
41691         behaving identically to zero.
41692
41693 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41694
41695         [BZ #5993]
41696         * manual/install.texi: Do not document upgrading from libc5.
41697
41698 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41699
41700         [BZ #4596]
41701         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41702
41703 2012-02-18  David S. Miller  <davem@davemloft.net>
41704
41705         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41706         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41707         %o7 across the call.
41708         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41709         instead.
41710         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41711         SETUP_PIC_REG_LEAF.
41712         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41713         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41714         * sysdeps/sparc/crtn.S: Likewise.
41715
41716 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41717
41718         * aout/Makefile: Remove.
41719
41720 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41721
41722         [BZ #13058]
41723         * manual/examples/argp-ex1.c (main): Format definition in GNU
41724         style.
41725         * manual/examples/argp-ex2.c (main): Likewise.
41726         * manual/examples/argp-ex3.c (main): Likewise.
41727         * manual/examples/argp-ex4.c (main): Likewise.
41728         * manual/examples/longopt.c (main): Use new-style prototype
41729         definition.
41730         * manual/examples/strncat.c (main): Specify return type and use
41731         (void) for arguments.
41732         * manual/examples/subopt.c (main): Use char **argv argument.
41733
41734 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41735
41736         [BZ #5077]
41737         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41738         rounding modes.
41739
41740 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41741
41742         [BZ #6907]
41743         * manual/string.texi (strchr): Change when strchrnul is
41744         recommended.
41745
41746 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41747
41748         [BZ #174]
41749         * manual/locale.texi (setlocale): Document LOCPATH.
41750
41751 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41752
41753         [BZ #10210]
41754         * manual/process.texi (execle): Move @dots{} before last argument.
41755
41756 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41757
41758         [BZ #12047]
41759         * manual/charset.texi (Generic Charset Conversion): Fix typo
41760         (LC_TYPE -> LC_CTYPE).
41761
41762 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41763
41764         [BZ #5805]
41765         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41766         (scalbnf): Likewise.
41767         (scalbnl): Likewise.
41768         (scalbln): Likewise.
41769         (scalblnf): Likewise.
41770         (scalblnl): Likewise.
41771         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41772         (vwarnx): Likewise.
41773         (verr): Likewise.
41774         (verrx): Likewise.
41775         * manual/filesys.texi (telldir): Use braces around return type.
41776         * manual/llio.texi (mmap): Add space after comma.
41777         (mmap64): Likewise.
41778         * manual/math.texi (jn): Use @var{} on parameter names.
41779         (jnf): Likewise.
41780         (jnl): Likewise.
41781         (yn): Likewise.
41782         (ynf): Likewise.
41783         (ynl): Likewise.
41784         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41785         line.
41786         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41787         "...".
41788         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41789         (sched_get_priority_max): Likewise.
41790         * manual/signal.texi (sigvec): Add space after comma.
41791         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41792         names.
41793         (if_indextoname): Likewise.
41794         (if_freenameindex): Likewise.
41795         (sendto): Use ',' instead of '.' in prototype.
41796         * manual/startup.texi (syscall): Use @dots{} instead of literal
41797         "...".
41798         * manual/stdio.texi (__fpending): Separate initial words of
41799         paragraph from @deftypefun line.
41800         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41801         "...".
41802         (vsyslog): Use @var{} on parameter names.
41803         * manual/terminal.texi (stty): Use @var{} on parameter names.
41804         * manual/users.texi (getutmp): Use @var{} on parameter names.
41805         (getutmpx): Likewise.
41806
41807 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41808
41809         [BZ #6884]
41810         * manual/stdio.texi (fopen): Fix typos in description of
41811         ",ccs=STRING".
41812
41813 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41814
41815         [BZ #4026]
41816         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41817         get clock_id definition.
41818
41819 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41820
41821         [BZ #4822]
41822         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41823         (madvise): Cast every argument to void on its own.
41824
41825 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41826
41827         [BZ #9902]
41828         * manual/startup.texi (Exit Status): Fix typo.
41829
41830 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41831
41832         [BZ #10140]
41833         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41834         * manual/examples/argp-ex2.c: Likewise.
41835         * manual/examples/argp-ex3.c: Likewise.
41836
41837 2012-02-16  Richard Henderson  <rth@redhat.com>
41838
41839         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41840         * sysdeps/s390/s390-32/initfini.c: Remove.
41841         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41842         * sysdeps/s390/s390-64/initfini.c: Remove.
41843
41844 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41845
41846         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41847         compiler output for sysdeps/generic/initfini.c.
41848         * sysdeps/sh/elf/initfini.c: Remove file.
41849
41850 2012-02-16  David S. Miller  <davem@davemloft.net>
41851
41852         [BZ #11494]
41853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41854
41855         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41856         * sysdeps/sparc/crti.S: New file.
41857         * sysdeps/sparc/crtn.S: New file.
41858         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41859         * sysdeps/sparc/sparc64/Makefile: Likewise.
41860
41861 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41862
41863         [BZ #3335]
41864         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41865
41866 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41867
41868         [BZ #4822]
41869         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41870
41871         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41872         (write, read, close): Likewise.
41873         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41874
41875 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41876
41877         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41878         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41879         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41880         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41881         <bits/signalfd.h>.
41882         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41884         bits/signalfd.h.
41885
41886 2012-02-14  Marek Polacek  <polacek@redhat.com>
41887
41888         * sysdeps/x86_64/crti.S: New file.
41889         * sysdeps/x86_64/crtn.S: New file.
41890         * sysdeps/x86_64/elf/initfini.c: Remove file.
41891
41892 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41893
41894         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41895         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41896         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41897         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41898         <bits/inotify.h>.
41899         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41900         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41901         bits/inotify.h.
41902
41903 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41904
41905         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41906         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41907         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41908         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41909         <bits/eventfd.h>.
41910         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41912         bits/eventfd.h.
41913
41914 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41915
41916         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41917         __feraiseexcept instead of feraiseexcept.
41918
41919         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41920         nanosleep invocations.
41921         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41922         strings, and add error checking for a nanosleep invocations.
41923
41924 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41925
41926         Replace FSF snail mail address with URLs, as per GNU coding standards.
41927         Most of the snail mail addresses were wrong anyway, and omitting
41928         them makes the source code easier to maintain.  Almost all of the
41929         changes are to license notices and to locale LC_IDENTIFICATION
41930         addresses, except for this one:
41931         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41932         not its snail mail address.
41933
41934 2012-02-09  Richard Henderson  <rth@twiddle.net>
41935
41936         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41937         of kernel-features.h.
41938
41939         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41940
41941 2012-02-08  Marek Polacek  <polacek@redhat.com>
41942
41943         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41944         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41945         * sysdeps/gnu/_G_config.h: Likewise.
41946         * sysdeps/generic/_G_config.h: Likewise.
41947
41948 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41949
41950         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41951         tests.
41952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41953
41954         * sysdeps/powerpc/powerpc32/crti.S: New file.
41955         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41956         * sysdeps/powerpc/powerpc64/crti.S: New file.
41957         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41958
41959         * Makeconfig (have-initfini): Don't set.
41960         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41961         * configure.in (nopic_initfini): Don't substitute.
41962         * config.h.in (HAVE_INITFINI): Don't #undef.
41963         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41964         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41965
41966 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41967
41968         Support crti.S and crtn.S provided directly by architectures.
41969         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41970         [crti.S in sysdirs] (omit-deps): Likewise.
41971         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41972         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41973         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41974         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41975         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41976         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41977         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41978         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41979         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41980         compiler output for sysdeps/generic/initfini.c.
41981         * sysdeps/i386/elf/Makefile: Remove file.
41982         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41983
41984 2012-02-07  Marek Polacek  <polacek@redhat.com>
41985
41986         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41987         * sysdeps/gnu/_G_config.h: Likewise.
41988         * sysdeps/mach/hurd/_G_config.h: Likewise.
41989
41990 2012-02-07  Marek Polacek  <polacek@redhat.com>
41991
41992         * math/Makefile (tests): Add tst-CMPLX2.
41993         * math/tst-CMPLX2.c: New file.
41994
41995 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41996
41997         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41998
41999         * math/libm-test.inc (jn_test): Add missing L suffix.
42000
42001 2012-02-06  Marek Polacek  <polacek@redhat.com>
42002
42003         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42004         * sysdeps/i386/fpu/e_powf.S: Likewise.
42005         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42006         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42007         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42008         * sysdeps/i386/fpu/e_pow.S: Likewise.
42009         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42010         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42011         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42012         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42013         * sysdeps/i386/fpu/e_log2.S: Likewise.
42014         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42015         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42016         * sysdeps/i386/fpu/e_powl.S: Likewise.
42017         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42018         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42019         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42020         * sysdeps/i386/fpu/e_logl.S: Likewise.
42021         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42022         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42023         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42024         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42025         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42026         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42027         * sysdeps/i386/fpu/e_log.S: Likewise.
42028         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42029         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42030         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42031         * sysdeps/i386/fpu/e_logf.S: Likewise.
42032         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42033         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42034         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42035         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42036         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42037         * sysdeps/i386/fpu/e_log10.S: Likewise.
42038         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42039         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42040         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42041         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42042         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42043         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42044         * sysdeps/i386/asm-syntax.h: Likewise.
42045         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42046         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42047         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42048         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42049         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42050         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42051         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42052         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42053         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42054         * sysdeps/powerpc/sysdep.h: Likewise.
42055         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42056         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42057
42058 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42059
42060         [BZ #411]
42061         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42062
42063 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42064
42065         * sysdeps/i386/sysdep.h: Include <features.h>.
42066         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42067         version.
42068
42069 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42070
42071         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42072         Define.
42073         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42074         LOAD_PIC_REG_STR.
42075
42076 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42077
42078         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42079         (SETUP_PIC_REG): Use GET_PC_THUNK.
42080         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42081         macro.
42082
42083 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42084
42085         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42086         for non-PIC compilation.
42087         (SETUP_PIC_REG): Add .p2align directive.
42088         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42089         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42090         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42091         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42092         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42093         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42094         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42095         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42096         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42097         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42098         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42099         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42100         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42101         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42102         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42103         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42104         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42105         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42106         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42107         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42108         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42109         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42110         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42111         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42112         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42114         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42115         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42116         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42117         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42118         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42119         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42120         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42121         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42122         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42123         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42124         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42125         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42126         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42127         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42128         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42129
42130 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42131
42132         * math/tst-CMPLX.c: Include <stdio.h>.
42133
42134 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42135
42136         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42137         float.
42138         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42139         * sysdeps/sparc/bits/mathdef.h: Likewise.
42140
42141 2012-01-31  Marek Polacek  <polacek@redhat.com>
42142
42143         * libio/libio.h: Don't define _PARAMS.
42144         * locale/programs/config.h: Don't define PARAMS.
42145         * stdlib/strtol_l.c: Likewise.
42146         (__strtol_l): Remove PARAMS from the prototype.
42147
42148 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42149
42150         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42151         names.  Just use the correct names.  Remove unnecessary wrapper
42152         functions.
42153         * malloc/arena.c: Likewise.
42154         * malloc/hooks.c: Likewise.
42155
42156         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42157         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42158         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42159
42160 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42161
42162         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42163         into tail calls.
42164         (update_get_addr): New function.
42165         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42166         GET_ADDR_MODULE parameter.
42167
42168 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42169
42170         * crypt/cert.c: Remove __STDC__ conditionals.
42171         * crypt/crypt-entry.c: Likewise.
42172         * crypt/crypt_util.c: Likewise.
42173         * libio/filedoalloc.c: Likewise.
42174         * libio/fileops.c: Likewise.
42175         * libio/genops.c: Likewise.
42176         * libio/iofclose.c: Likewise.
42177         * libio/iofdopen.c: Likewise.
42178         * libio/iofopen.c: Likewise.
42179         * libio/iofopen64.c: Likewise.
42180         * libio/iogetdelim.c: Likewise.
42181         * libio/iopopen.c: Likewise.
42182         * libio/obprintf.c: Likewise.
42183         * libio/oldfileops.c: Likewise.
42184         * libio/oldiofclose.c: Likewise.
42185         * libio/oldiofdopen.c: Likewise.
42186         * libio/oldiofopen.c: Likewise.
42187         * libio/oldiopopen.c: Likewise.
42188         * libio/wfiledoalloc.c: Likewise.
42189         * libio/wgenops.c: Likewise.
42190         * locale/programs/xmalloc.c: Likewise.
42191         * misc/syslog.c: Likewise.
42192         * stdio-common/xbug.c: Likewise.
42193         * string/memchr.c: Likewise.
42194         * string/memcmp.c: Likewise.
42195         * string/memrchr.c: Likewise.
42196         * string/rawmemchr.c: Likewise.
42197         * sysdeps/posix/getcwd.c: Likewise.
42198         * time/strftime_l.c: Likewise.
42199
42200 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42201
42202         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42203         * config.make.in (config-cflags-sse2avx): Define.
42204         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42205         Fix typo.
42206
42207 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42208
42209         * scripts/config.guess: Update from upstream config git repository.
42210         * scripts/config.sub: Likewise.
42211
42212 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42213
42214         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42215         (EM_NUM): Update.
42216         (R_TILEPRO_*, R_TILEGX_*): New macros.
42217
42218         * scripts/firstversions.awk: Fix bug in version range handling.
42219
42220         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42221
42222         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42223
42224         * include/sys/epoll.h: New file.
42225         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42226         libc_hidden_def.
42227
42228 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42229
42230         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42231         Avoid unnecessary __WORDSIZE == 64 test.
42232         (fmaxf): Use VEX format if possible.
42233         (fmax): Likewise.
42234         (fminf): Likewise.
42235         (fmin): Likewise.
42236
42237         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42238         * math/math_private.h: Remove libc_fegetround* and
42239         libc_fesetround*.
42240         * sysdeps/i386/configure.in: Check for -msse2avx.
42241         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42242         also if SSE2AVX is defined.
42243         Remove libc_fegetround* and libc_fesetround*.
42244         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42245         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42246         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42247         of HAS_YMM_USABLE.
42248         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42249         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42250         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42251         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42252         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42253
42254         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42255
42256 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42257
42258         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42259         size is not set.
42260         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42261
42262 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42263
42264         [BZ #13618]
42265         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42266         relocation.
42267         * Makeconfig (libm): Define.
42268         * elf/Makefile: Add rules to build and run tst-relsort1.
42269         * elf/tst-relsort1.c: New file.
42270         * elf/tst-relsort1mod1.c: New file.
42271         * elf/tst-relsort1mod2.c: New file.
42272
42273 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42274
42275         * math/s_ldexp.c: Remove __STDC__ conditionals.
42276         * math/s_ldexpf.c: Likewise.
42277         * math/s_ldexpl.c: Likewise.
42278         * math/s_nextafter.c: Likewise.
42279         * math/s_nexttowardf.c: Likewise.
42280         * math/s_significand.c: Likewise.
42281         * math/s_significandf.c: Likewise.
42282         * math/s_significandl.c: Likewise.
42283         * math/w_jnl.c: Likewise.
42284         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42285         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42286         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42287         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42288         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42289         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42290         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42291         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42292         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42293         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42294         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42295         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42296         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42297         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42298         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42299         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42300         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42301         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42302         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42303         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42304         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42305         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42306         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42307         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42308         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42309         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42310         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42311         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42312         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42313         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42314         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42315         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42316         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42317         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42318         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42319         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42320         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42321         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42322         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42323         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42324         * sysdeps/ieee754/k_standard.c: Likewise.
42325         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42326         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42327         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42328         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42329         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42330         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42331         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42332         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42333         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42334         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42335         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42336         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42337         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42338         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42339         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42341         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42342         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42343         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42344         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42345         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42346         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42347         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42348         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42349         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42350         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42351         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42352         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42353         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42354         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42355         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42356         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42357         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42358         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42359         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42360         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42361         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42362         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42363         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42364         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42365         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42366         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42367         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42368         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42369         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42370         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42371         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42372         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42373         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42374         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42375         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42376         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42377         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42378         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42379         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42380         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42381         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42382         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42383         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42384         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42385         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42386         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42387         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42388         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42389         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42390         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42391         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42392         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42393         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42394         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42395         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42396         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42397         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42398         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42399         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42400         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42401         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42402         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42403         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42404         * sysdeps/ieee754/s_matherr.c: Likewise.
42405         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42406         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42407         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42408         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42409
42410 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42411
42412         * crypt/md5.h: Remove __STDC__ conditionals.
42413         * libio/libioP.h: Likewise.
42414         * locale/programs/config.h: Likewise.
42415         * sysdeps/generic/sysdep.h: Likewise.
42416         * sysdeps/i386/asm-syntax.h: Likewise.
42417         * sysdeps/s390/asm-syntax.h: Likewise.
42418         * sysdeps/unix/sysdep.h: Likewise.
42419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42421
42422 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42423
42424         * libio/libio.h: Remove __STDC__ conditionals.
42425         * malloc/obstack.h: Likewise.
42426         * math/complex.h: Likewise.
42427         * math/math.h: Likewise.
42428         * sysdeps/generic/_G_config.h: Likewise.
42429         * sysdeps/gnu/_G_config.h: Likewise.
42430         * sysdeps/mach/hurd/_G_config.h: Likewise.
42431         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42432         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42433         * sysdeps/sparc/bits/mathdef.h: Likewise.
42434
42435 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42436
42437         [BZ #13583]
42438         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42439         Clean up HAS_* macros.
42440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42441         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42442         possible.
42443         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42444         HAS_AVX.
42445         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42446         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42447         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42448         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42449         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42450
42451 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42452
42453         * elf/tst-unique3.cc (gets): Remove declaration.
42454         * elf/tst-unique3lib.cc (gets): Likewise.
42455         * elf/tst-unique3lib2.cc (gets): Likewise.
42456         * elf/tst-unique4.cc (gets): Likewise.
42457
42458 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42459
42460         * include/stdio.h: Add C++ protection.  Add gets declarations and
42461         definitions.
42462         * debug/tst-chk1.c: Don't declare gets here.
42463         * stdio-common/tst-gets.c: Likewise.
42464
42465 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42466
42467         * posix/glob: Remove directory.
42468
42469 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42470
42471         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42472
42473 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42474
42475         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42476         of the non-standard EPFNOSUPPORT.
42477
42478 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42479
42480         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42481         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42482         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42483
42484 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42485
42486         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42487
42488 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42489
42490         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42491         transient errors.
42492         * nscd/grpcache.c (cache_addgr): Likewise.
42493         * nscd/hstcache.c (cache_addhst): Likewise.
42494         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42495         * nscd/pwdcache.c (cache_addpw): Likewise.
42496         * nscd/servicescache.c (cache_addserv): Likewise.
42497
42498 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42499
42500         * malloc/malloc.c: Various cleanups.
42501         * malloc/hooks.c: Likewise.
42502
42503         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42504         * stdlib/bug-fmtmsg1.c: New file.
42505
42506         * stdlib/fmtmsg.c (init): Add missing unlock.
42507         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42508
42509 2012-01-12  Marek Polacek  <polacek@redhat.com>
42510
42511         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42512         and _GNU_SOURCE.
42513
42514 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42515
42516         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42517         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42518         macro to ensure uniqueness of label name.
42519         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42520         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42521
42522 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42523
42524         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42525
42526         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42527         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42528         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42530
42531 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42532
42533         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42534
42535         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42536         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42537         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42538
42539         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42540
42541         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42542         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42543         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42544         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42545
42546         * math/bits/math-finite.h: Add ldexp support.
42547
42548 2012-01-10  Marek Polacek  <polacek@redhat.com>
42549
42550         * locale/programs/localedef.h (show_archive_content): Add noreturn
42551         attribute.
42552
42553 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42554
42555         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42556
42557 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42558
42559         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42560
42561         * io/Makefile (headers): Add bits/poll2.h.
42562
42563 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42564
42565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42566         typo #include statement.
42567
42568 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42569
42570         * include/sys/cdefs.h: Define __attribute_alloc_size.
42571         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42572         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42573         * elf/pldd.c: Likewise.
42574         * iconv/iconv_charmap.c: Likewise.
42575         * iconv/iconvconfig.c: Likewise.
42576         * iconv/strtab.c: Likewise.
42577         * locale/programs/locale.c: Likewise.
42578         * locale/programs/localedef.h: Likewise.
42579         * locale/programs/simple-hash.c: Likewise.
42580         * nscd/nscd.h: Likewise.
42581         * nss/makedb.c: Likewise.
42582         * sysdeps/generic/ldconfig.h: Likewise.
42583         * locale/programs/localedef.c: Remove xmalloc prototype.
42584         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42585
42586 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42587
42588         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42589         appropriate.
42590
42591 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42592
42593         * math/Makefile (tests): Add tst-CMPLX.
42594         * math/tst-CMPLX.c: New file.
42595
42596         * math/complex.h (CMPLXL): Fix typo.
42597
42598         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42599         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42600         GLIBC_2.16.
42601         * debug/tst-chk1.c: Add poll and ppoll tests.
42602         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42603         * include/sys/poll.h: Add hidden proto for ppoll.
42604         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42605         * sysdeps/mach/hurd/ppoll.c: Likewise.
42606         * io/ppoll.c: Likewise.
42607         * debug/poll_chk.c: New file.
42608         * debug/ppoll_chk.c: New file.
42609         * include/bits/poll2.h: New file.
42610         * io/bits/poll2.h: New file.
42611
42612         [BZ #1350]
42613         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42614
42615         * configure.in: static is always set to yes.  Remove.
42616         * config.make.in: Don't set build-static.
42617         * Makeconfig: Remove use of build-static.
42618         * dlfcn/Makefile: Likewise.
42619         * elf/Makefile: Likewise.
42620         * math/Makefile: Likewise.
42621         * misc/Makefile: Likewise.
42622         * nptl/Makefile: Likewise.
42623         * sysdeps/mach/hurd/Makefile: Likewise.
42624
42625         * configure.in: PWD_P is not used anymore.
42626         * config.make.in: Remove PWD_P entry.
42627
42628         * configure.in: Remove last remnants of RANLIB.
42629         No need to check for signed size_t anymore.
42630         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42631         and IA-64.
42632         Remove __builtin_expect test because we require at least gcc 3.4.
42633         * aclocal.m4: Likewise.
42634
42635         * wcsmbs/mbrtoc16.c: Implement using towc function.
42636         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42637         * wcsmbs/wcsmbsload.c: Likewise.
42638         * iconv/gconv_simple.c: Likewise.
42639         * iconv/gconv_int.h: Likewise.
42640         * iconv/gconv_builtin.h: Likewise.
42641         * iconv/iconv_prog.c: Remove CHAR16 handling.
42642
42643         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42644
42645         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42646
42647         * configure.in: Remove --with-elf and --enable-bounded options.
42648         Dont set base_machine for ia64.  More non-ELF conditions removed.
42649         Remove testing and setting of leading underscore information.
42650         * config.make.in (build-bounded): Set to no.
42651         * config.h.in: Remove NO_UNDERSCORES entry.
42652         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42653         them.
42654         * csu/start.c: Remove !NO_UNDERSCORE code.
42655         * locale/localeinfo.h: Likewise.
42656         * sysdeps/generic/machine-gmon.h: Likewise.
42657         * sysdeps/generic/sysdep.h: Likewise.
42658         * sysdeps/i386/sysdep.h: Likewise.
42659         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42660         * sysdeps/mach/sysdep.h: Likewise.
42661         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42662         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42663         * sysdeps/sh/sysdep.h: Likewise.
42664         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42665         * sysdeps/unix/i386/sysdep.S: Likewise.
42666         * sysdeps/unix/sparc/start.c: Likewise.
42667         * sysdeps/unix/sparc/sysdep.S: Likewise.
42668         * sysdeps/unix/sparc/sysdep.h: Likewise.
42669         * sysdeps/unix/start.c: Likewise.
42670         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42671         * sysdeps/x86_64/sysdep.h: Likewise.
42672
42673 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42674
42675         [BZ #13553]
42676         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42677         for non-gcc.
42678         * argp/argp-fmtstream.h: Use const instead __const.
42679         * argp/argp.h: Likewise.
42680         * assert/assert.h: Likewise.
42681         * bits/fenv.h: Likewise.
42682         * bits/sched.h: Likewise.
42683         * bits/sigset.h: Likewise.
42684         * bits/sigthread.h: Likewise.
42685         * catgets/nl_types.h: Likewise.
42686         * conform/data/pthread.h-data: Likewise.
42687         * crypt/crypt-private.h: Likewise.
42688         * crypt/crypt.h: Likewise.
42689         * crypt/crypt_util.c: Likewise.
42690         * ctype/ctype.h: Likewise.
42691         * debug/execinfo.h: Likewise.
42692         * debug/mbsnrtowcs_chk.c: Likewise.
42693         * debug/mbsrtowcs_chk.c: Likewise.
42694         * debug/wcsnrtombs_chk.c: Likewise.
42695         * debug/wcsrtombs_chk.c: Likewise.
42696         * debug/wcstombs_chk.c: Likewise.
42697         * dirent/dirent.h: Likewise.
42698         * dlfcn/dlfcn.h: Likewise.
42699         * elf/neededtest4.c: Likewise.
42700         * grp/grp.h: Likewise.
42701         * gshadow/gshadow.h: Likewise.
42702         * iconv/gconv.h: Likewise.
42703         * iconv/gconv_int.h: Likewise.
42704         * iconv/gconv_simple.c: Likewise.
42705         * iconv/iconv.h: Likewise.
42706         * iconv/loop.c: Likewise.
42707         * iconv/skeleton.c: Likewise.
42708         * include/aio.h: Likewise.
42709         * include/aliases.h: Likewise.
42710         * include/argz.h: Likewise.
42711         * include/arpa/inet.h: Likewise.
42712         * include/assert.h: Likewise.
42713         * include/dirent.h: Likewise.
42714         * include/dlfcn.h: Likewise.
42715         * include/execinfo.h: Likewise.
42716         * include/fcntl.h: Likewise.
42717         * include/fenv.h: Likewise.
42718         * include/glob.h: Likewise.
42719         * include/grp.h: Likewise.
42720         * include/libintl.h: Likewise.
42721         * include/mntent.h: Likewise.
42722         * include/netdb.h: Likewise.
42723         * include/pwd.h: Likewise.
42724         * include/rpc/netdb.h: Likewise.
42725         * include/sched.h: Likewise.
42726         * include/search.h: Likewise.
42727         * include/shadow.h: Likewise.
42728         * include/signal.h: Likewise.
42729         * include/stdio.h: Likewise.
42730         * include/stdlib.h: Likewise.
42731         * include/string.h: Likewise.
42732         * include/sys/socket.h: Likewise.
42733         * include/sys/stat.h: Likewise.
42734         * include/sys/statfs.h: Likewise.
42735         * include/sys/statvfs.h: Likewise.
42736         * include/sys/syslog.h: Likewise.
42737         * include/sys/time.h: Likewise.
42738         * include/sys/uio.h: Likewise.
42739         * include/time.h: Likewise.
42740         * include/unistd.h: Likewise.
42741         * include/utmp.h: Likewise.
42742         * include/wchar.h: Likewise.
42743         * include/wctype.h: Likewise.
42744         * inet/aliases.h: Likewise.
42745         * inet/arpa/inet.h: Likewise.
42746         * inet/netinet/ether.h: Likewise.
42747         * inet/netinet/in.h: Likewise.
42748         * intl/libintl.h: Likewise.
42749         * io/bits/fcntl2.h: Likewise.
42750         * io/fcntl.h: Likewise.
42751         * io/ftw.h: Likewise.
42752         * io/sys/poll.h: Likewise.
42753         * io/sys/stat.h: Likewise.
42754         * io/sys/statfs.h: Likewise.
42755         * io/sys/statvfs.h: Likewise.
42756         * io/utime.h: Likewise.
42757         * libio/bits/stdio.h: Likewise.
42758         * libio/bits/stdio2.h: Likewise.
42759         * libio/libio.h: Likewise.
42760         * libio/libioP.h: Likewise.
42761         * libio/stdio.h: Likewise.
42762         * locale/lc-ctype.c: Likewise.
42763         * locale/locale.h: Likewise.
42764         * login/utmp.h: Likewise.
42765         * malloc/arena.c: Likewise.
42766         * malloc/malloc.c: Likewise.
42767         * malloc/malloc.h: Likewise.
42768         * malloc/mcheck.c: Likewise.
42769         * malloc/mtrace.c: Likewise.
42770         * math/bits/mathcalls.h: Likewise.
42771         * math/fenv.h: Likewise.
42772         * math/math_private.h: Likewise.
42773         * misc/bits/error.h: Likewise.
42774         * misc/bits/syslog.h: Likewise.
42775         * misc/err.h: Likewise.
42776         * misc/error.h: Likewise.
42777         * misc/fstab.h: Likewise.
42778         * misc/mntent.h: Likewise.
42779         * misc/regexp.h: Likewise.
42780         * misc/search.h: Likewise.
42781         * misc/sgtty.h: Likewise.
42782         * misc/sys/mman.h: Likewise.
42783         * misc/sys/syslog.h: Likewise.
42784         * misc/sys/uio.h: Likewise.
42785         * misc/sys/xattr.h: Likewise.
42786         * misc/ttyent.h: Likewise.
42787         * nis/rpcsvc/ypclnt.h: Likewise.
42788         * nss/nss.h: Likewise.
42789         * posix/bits/unistd.h: Likewise.
42790         * posix/fnmatch.h: Likewise.
42791         * posix/glob.h: Likewise.
42792         * posix/sched.h: Likewise.
42793         * posix/spawn.h: Likewise.
42794         * posix/sys/wait.h: Likewise.
42795         * posix/unistd.h: Likewise.
42796         * posix/wordexp.h: Likewise.
42797         * pwd/pwd.h: Likewise.
42798         * resolv/netdb.h: Likewise.
42799         * resource/sys/resource.h: Likewise.
42800         * rt/aio.h: Likewise.
42801         * rt/bits/mqueue2.h: Likewise.
42802         * rt/mqueue.h: Likewise.
42803         * shadow/shadow.h: Likewise.
42804         * signal/signal.h: Likewise.
42805         * socket/send.c: Likewise.
42806         * socket/sendto.c: Likewise.
42807         * socket/sys/socket.h: Likewise.
42808         * stdio-common/printf.h: Likewise.
42809         * stdlib/bits/stdlib.h: Likewise.
42810         * stdlib/fmtmsg.h: Likewise.
42811         * stdlib/monetary.h: Likewise.
42812         * stdlib/stdlib.h: Likewise.
42813         * stdlib/ucontext.h: Likewise.
42814         * streams/stropts.h: Likewise.
42815         * string/argz.h: Likewise.
42816         * string/bits/string2.h: Likewise.
42817         * string/string.h: Likewise.
42818         * string/strings.h: Likewise.
42819         * sunrpc/rpc/auth.h: Likewise.
42820         * sunrpc/rpc/auth_des.h: Likewise.
42821         * sunrpc/rpc/clnt.h: Likewise.
42822         * sunrpc/rpc/netdb.h: Likewise.
42823         * sunrpc/rpc/pmap_clnt.h: Likewise.
42824         * sunrpc/rpc/xdr.h: Likewise.
42825         * sysdeps/generic/inttypes.h: Likewise.
42826         * sysdeps/generic/net/if.h: Likewise.
42827         * sysdeps/generic/sys/swap.h: Likewise.
42828         * sysdeps/gnu/net/if.h: Likewise.
42829         * sysdeps/gnu/utmpx.h: Likewise.
42830         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42831         * sysdeps/i386/i486/bits/string.h: Likewise.
42832         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42833         * sysdeps/s390/bits/string.h: Likewise.
42834         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42835         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42836         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42837         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42838         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42839         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42840         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42841         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42842         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42843         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42844         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42845         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42846         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42847         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42848         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42849         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42850         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42851         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42852         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42853         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42854         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42855         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42856         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42857         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42858         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42859         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42860         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42861         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42862         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42863         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42864         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42865         * sysvipc/sys/ipc.h: Likewise.
42866         * sysvipc/sys/msg.h: Likewise.
42867         * sysvipc/sys/sem.h: Likewise.
42868         * sysvipc/sys/shm.h: Likewise.
42869         * termios/termios.h: Likewise.
42870         * time/sys/time.h: Likewise.
42871         * time/time.h: Likewise.
42872         * wcsmbs/bits/wchar2.h: Likewise.
42873         * wcsmbs/uchar.h: Likewise.
42874         * wcsmbs/wchar.h: Likewise.
42875         * wctype/wctype.h: Likewise.
42876
42877         [BZ #13551]
42878         * Makeconfig: Remove all but ELF support including AIX support.
42879         * Makerules: Likewise.
42880         * config.h.in: Likewise.
42881         * config.make.in: Likewise.
42882         * configure: Likewise.
42883         * configure.in: Likewise.
42884         * csu/Makefile: Likewise.
42885         * csu/version.c: Likewise.
42886         * debug/Makefile: Likewise.
42887         * dlfcn/Makefile: Likewise.
42888         * elf/Makefile: Likewise.
42889         * extra-lib.mk: Likewise.
42890         * iconv/Makefile: Likewise.
42891         * include/libc-symbols.h: Likewise.
42892         * include/shlib-compat.h: Likewise.
42893         * resolv/Makefile: Likewise.
42894         * resolv/res_libc.c: Likewise.
42895         * rt/Makefile: Likewise.
42896         * sysdeps/i386/asm-syntax.h: Likewise.
42897         * sysdeps/i386/sysdep.h: Likewise.
42898         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42899         * sysdeps/mach/sysdep.h: Likewise.
42900         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42901         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42902         * sysdeps/s390/asm-syntax.h: Likewise.
42903         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42904         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42905         * sysdeps/sh/sysdep.h: Likewise.
42906         * sysdeps/unix/sparc/sysdep.h: Likewise.
42907         * sysdeps/wordsize-32/divdi3.c: Likewise.
42908         * sysdeps/x86_64/sysdep.h: Likewise.
42909
42910         * argp/Versions: Remove _argp_unlock_xxx.
42911
42912         [BZ #13559]
42913         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42914         * abilist/libBrokenLocale.abilist: Likewise.
42915         * abilist/libanl.abilist: Likewise.
42916         * abilist/libc.abilist: Likewise.
42917         * abilist/libcrypt.abilist: Likewise.
42918         * abilist/libdl.abilist: Likewise.
42919         * abilist/libm.abilist: Likewise.
42920         * abilist/libnsl.abilist: Likewise.
42921         * abilist/libpthread.abilist: Likewise.
42922         * abilist/libresolv.abilist: Likewise.
42923         * abilist/librt.abilist: Likewise.
42924         * abilist/libthread_db.abilist: Likewise.
42925         * abilist/libutil.abilist: Likewise.
42926         * abilist/libnss_db.abilist: New file.
42927
42928         * scripts/abilist.awk: Add support for indirect functions.
42929
42930         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42931
42932         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42933
42934         * shlib-versions: Remove entries for ports architectures.
42935
42936         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42937         files in ports.
42938         * elf/stackguard-macros.h: Remove support for IA-64.
42939         * elf/tst-auditmod1.c: Likewise.
42940         * sysdeps/generic/ldsodefs.h: Likewise.
42941
42942         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42943         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42944         configure files.
42945
42946         [BZ #13552]
42947         * configure.in: Remove --enable-omitfp support.
42948         * FAQ.in: Adjust.
42949         * config.make.in: Likewise.
42950         * Makeconfig: Likewise.
42951         * manual/install.texi: Likewise.
42952
42953         In case anyone cares, the IA-64 architecture could move to ports.
42954         * sysdeps/ia64/*: Removed.
42955         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42956         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42957
42958         [BZ #13555]
42959         * configure.in: Remove entries for unsupported architectures.
42960
42961         [BZ #13533]
42962         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42963         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42964         routines.
42965         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42966         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42967         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42968         fall back to using wcrtomb.
42969         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42970         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42971         renaming.
42972         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42973         * wcsmbs/tst-c16c32-1.c: New file.
42974
42975         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42976         local variable.
42977
42978         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42979
42980         * elf/tst-unique3.cc: Add explicit declaration of gets.
42981         * elf/tst-unique3lib.cc: Likewise.
42982         * elf/tst-unique3lib2.cc: Likewise.
42983         * elf/tst-unique4.cc: Likewise.
42984
42985         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42986
42987 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42988
42989         [BZ #13566]
42990         * assert/assert.h (static_assert): Don't define for C++.
42991         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42992         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42993
42994 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42995
42996         * iconv/loop.c (single loop): Fix assertion in storing of
42997         remaining bytes.
42998
42999         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43000
43001 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43002
43003         * posix/getconf.c: Update copyright year.
43004         * nss/getent.c: Likewise.
43005         * nss/makedb.c: Likewise.
43006         * iconv/iconvconfig.c: Likewise.
43007         * iconv/iconv_prog.c: Likewise.
43008         * elf/ldconfig.c: Likewise.
43009         * elf/pldd.c: Likewise.
43010         * elf/sotruss.ksh: Likewise.
43011         * catgets/gencat.c: Likewise.
43012         * csu/version.c: Likewise.
43013         * elf/ldd.bash.in: Likewise.
43014         * elf/sprof.c (print_version): Likewise.
43015         * locale/programs/locale.c: Likewise.
43016         * locale/programs/localedef.c: Likewise.
43017         * login/programs/pt_chown.c: Likewise.
43018         * nscd/nscd.c (print_version): Likewise.
43019         * debug/xtrace.sh: Likewise.
43020         * malloc/memusage.sh: Likewise.
43021         * malloc/mtrace.pl: Likewise.
43022         * debug/catchsegv.sh: Likewise.
43023
43024 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43025
43026         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43027         pure attribute.
43028
43029 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43030
43031         [BZ #13533]
43032         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43033         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43034         transformations.
43035         * iconv/gconv_int.h: Likewise.
43036         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43037         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43038         from libc for GLIBC_2.16.
43039         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43040         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43041         * wcsmbs/uchar.h: Really define mbstate_t.
43042         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43043         * wcsmbs/c16rtomb.c: New file.
43044         * wcsmbs/mbrtoc16.c: New file.
43045         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43046         for C/POSIX locale.
43047         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43048         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43049
43050         * wcsmbs/wchar.h: Add missing __restrict.
43051
43052 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43053
43054         [BZ #13532]
43055         * time/Makefile (routines): Add timespec_get.
43056         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43057         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43058         timespec for ISO C11.
43059         * time/timespec_get.c: New file.
43060         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43061         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43062
43063         [BZ #13531]
43064         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43065         * stdlib/stdlib.h: Declare aligned_alloc.
43066         * Versions.def: Add GLIBC_2.16 for libc.
43067         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43068
43069         [BZ 13527]
43070         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43071         ISO C11.
43072
43073         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43074         code.
43075
43076         [BZ #13528]
43077         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43078
43079         [BZ #13529]
43080         * assert/assert.h (static_assert): Define.
43081
43082         * version.h: Update for 2.16 development version.
43083
43084         [BZ #13526]
43085         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43086         _ISOC11_SOURCE.
43087
43088         * version.h (RELEASE): Bump for 2.15 release.
43089         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43090
43091         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43092         Patch by Marek Polacek <mpolacek@redhat.com>.
43093
43094         * bits/byteswap.h: Protect long long constants with __extension__.
43095         * sysdeps/i386/bits/byteswap.h: Likewise.
43096         * sysdeps/ia64/bits/byteswap.h: Likewise.
43097         * sysdeps/s390/bits/byteswap.h: Likewise.
43098         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43099
43100 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43101
43102         [BZ #13540]
43103         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43104         destination buffer.
43105         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43106
43107 2011-12-23  Marek Polacek  <polacek@redhat.com>
43108
43109         * elf/dl-addr.c (determine_info): Add inline keyword.
43110         * elf/tst-auditmod4b.c (check_avx): Likewise.
43111         * elf/tst-auditmod6b.c (check_avx): Likewise.
43112         * elf/tst-auditmod6c.c (check_avx): Likewise.
43113         * elf/tst-auditmod7b.c (check_avx): Likewise.
43114
43115 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43116
43117         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43118         !__SSE_MATH__.
43119
43120 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43121
43122         [BZ #13540]
43123         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43124         processing for last bytes.
43125
43126 2011-08-06  Bruno Haible  <bruno@clisp.org>
43127
43128         [BZ #13061]
43129         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43130         U+0385, not to U+1FEE.
43131
43132         [BZ #13062]
43133         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43134         entry for U+00A5 U+0301.
43135
43136 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43137
43138         [BZ #13166]
43139         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43140         buffer for the output is too small.
43141
43142         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43143         optimization.
43144
43145         [BZ #13185]
43146         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43147         SSE flags if possible.
43148
43149 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43150
43151         [BZ #13540]
43152         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43153         processing for last bytes.
43154
43155 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43156
43157         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43158         (syscall-list-default-options, syscall-list-default-condition)
43159         (syscall-list-includes): Define.
43160         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43161         list of ABIs and options and #if conditions for each ABI.  Do not
43162         handle common syscalls between ABIs specially.
43163         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43164         Remove.
43165         (syscall-list-variants, syscall-list-32bit-options)
43166         (syscall-list-32bit-condition, syscall-list-64bit-options)
43167         (syscall-list-64bit-condition): Define.
43168         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43169         (syscall-list-variants, syscall-list-32bit-options)
43170         (syscall-list-32bit-condition, syscall-list-64bit-options)
43171         (syscall-list-64bit-condition): Define.
43172         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43173         Remove.
43174         (syscall-list-variants, syscall-list-32bit-options)
43175         (syscall-list-32bit-condition, syscall-list-64bit-options)
43176         (syscall-list-64bit-condition): Define.
43177         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43178         Remove.
43179         (syscall-list-variants, syscall-list-32bit-options)
43180         (syscall-list-32bit-condition, syscall-list-64bit-options)
43181         (syscall-list-64bit-condition): Define.
43182
43183 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43184
43185         * locale/iso-639.def: Add brx entry.
43186
43187         [BZ #13328]
43188         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43189         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43190
43191         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43192         __feraiseexcept_renamed.
43193
43194 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43195
43196         [BZ #13538]
43197         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43198         EPOLLET with unsigned values.
43199         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43200         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43201
43202         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43203         to large cancellation.
43204         * math/s_cacoshf.c: Likewise.
43205         * math/s_cacoshl.c: Likewise.
43206
43207 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43208
43209         [BZ #13305]
43210         [BZ #12786]
43211         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43212         * math/s_cacoshf.c: Likewise.
43213         * math/s_cacoshl.c: Likewise.
43214
43215 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43216
43217         [BZ #13439]
43218         * iconv/gconv.h: Define __GCONV_SWAP.
43219         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43220         * iconvdata/utf-16.c: Likewise.
43221         * iconvdata/utf-32.c: Likewise.
43222
43223 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43224
43225         [BZ #13524]
43226         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43227         numerator after shifting it by one limb.
43228
43229 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43230
43231         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43232         under [__USE_EXTERN_INLINES].
43233
43234 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43235
43236         [BZ #13446]
43237         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43238
43239 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43240
43241         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43242         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43243         optimized code.
43244         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43245         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43246         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43247         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43248         for strncasecmp/strncasecmp_l compilation.
43249         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43250         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43251
43252 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43253
43254         [BZ #13484]
43255         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43256         of __asm__.
43257
43258 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43259
43260         [BZ #13506]
43261         * time/tzfile.c (__tzfile_read): Check values from file header.
43262
43263 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43264
43265         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43266         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43267         * powerpc/powerpc32/dl-start.S: Likewise.
43268         * powerpc/powerpc32/elf/start.S: Likewise.
43269         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43270         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43271         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43272         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43273         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43274         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43275         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43276         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43277         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43278         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43279         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43280         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43281         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43282         * powerpc/powerpc32/memset.S: Likewise.
43283         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43284         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43285         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43286         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43287         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43288         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43289         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43290         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43291         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43292         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43293         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43294         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43295         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43296
43297 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43298
43299         * math/libm-test.inc: Added more nearbyint tests.
43300         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43301         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43302         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43304
43305 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43306
43307         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43308         FD_CLOEXEC.
43309
43310 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43311
43312         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43313         Add wcscpy-ssse3 wcscpy-c.
43314         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43315         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43316         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43317         * sysdeps/x86_64/wcschr.S: New file.
43318         * sysdeps/x86_64/wcsrchr.S: New file.
43319         * string/test-strcmp.c: Remove checking of wcscmp function for
43320         wrong alignments.
43321         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43322         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43323         wcsrchr-sse2 wcsrchr-c.
43324         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43325         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43326         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43327         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43328         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43329         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43330         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43331         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43332         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43333         * wcsmbc/wcschr.c (WCSCHR): New macro.
43334
43335 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43336
43337         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43338         * wcsmbs/test-wcsrchr.c: New file.
43339         * string/test-strrchr.c: Add wcsrchr support.
43340         (WIDE): New macro.
43341         * wcsmbs/test-wcscpy.c: New file.
43342         * string/test-strcpy.c: Add wcscpy support.
43343         (WIDE): New macro.
43344
43345 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43346
43347         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43348         the inner loop.
43349
43350 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43351
43352         [BZ #13472]
43353         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43354
43355 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43356
43357         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43358         Minor optimizations.
43359
43360         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43361         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43362         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43363
43364 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43365
43366         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43367         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43368         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43369         for gcc to avoid warnings.
43370         * inet/Makefile (tests): Add tst-checks.
43371         * inet/tst-checks.c: New file.
43372
43373         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43374         warning.
43375
43376         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43377         __wmemcmp_sse2.
43378
43379         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43380         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43381
43382         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43383
43384 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43385
43386         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43387         problem.
43388
43389         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43390
43391 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43392
43393         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43394         conditional on GCC version.
43395         (__arch_compare_and_exchange_val_8_acq)
43396         (__arch_compare_and_exchange_val_16_acq)
43397         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43398         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43399         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43400
43401 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43402
43403         * sysdeps/sh/backtrace.c: New file.
43404
43405 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43406
43407         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43408         parenthesis.
43409
43410 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43411
43412         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43413         falling back to utime.
43414
43415 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43416
43417         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43418         expectations for float.
43419
43420 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43421
43422         * locale/weight.h (findidx): Add parameter len.
43423         * locale/weightwc.h (findidx): Likewise.
43424         * posix/fnmatch_loop.c (FCT): Adjust caller.
43425         * posix/regcomp.c (build_equiv_class): Likewise.
43426         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43427         * posix/regexec.c (check_node_accept_bytes): Likewise.
43428         * string/strcoll_l.c (STRCOLL): Likewise.
43429         * string/strxfrm_l.c (STRXFRM): Likewise.
43430
43431 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43432
43433         * Makefile.in: Remove CVSOPT handling.
43434         * configure.in: Remove use of AC_REVISION.
43435         * iconvdata/Makefile (distribute): No need to filter out CVS.
43436         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43437         handling.
43438
43439 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43440
43441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43442         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43443         [USE_AS_STRNCASECMP_L]: Likewise.
43444         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43445         NO_TLS_DIRECT_SEG_REFS.
43446         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43447         Fix argument offsets for non-PIC.
43448         [USE_AS_STRNCASECMP_L]: Likewise.
43449         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43450         NO_TLS_DIRECT_SEG_REFS.
43451
43452 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43453
43454         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43455         O_CLOEXEC.
43456         * locale/loadlocale.c (_nl_load_locale): Likewise.
43457
43458 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43459
43460         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43461         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43462         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43463         (SYSCALL_GETTIME): Set errno on error.
43464
43465         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43466         count references to noai6ai_cached.
43467
43468 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43469
43470         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43471
43472         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43473         FD_CLOEXEC for /proc/self/maps.
43474
43475         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43476         FD_CLOEXEC for /proc/meminfo.
43477
43478         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43479         gai.conf.
43480
43481         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43482         FD_CLOEXEC for given file.
43483
43484         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43485
43486         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43487         FD_CLOEXEC for /etc/hosts.
43488         (_gethtent): Likewise.
43489
43490         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43491
43492         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43493         cancellation and set FD_CLOEXEC for /etc/netgroup.
43494
43495         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43496         reading /etc/publickey.
43497
43498         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43499         allow cancellation when reading /etc/group.
43500
43501         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43502         cancellation.
43503         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43504
43505         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43506         when using data file.
43507
43508         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43509
43510         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43511         (write_nis_obj): Use "c" and "e" in fopen.
43512
43513         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43514
43515         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43516
43517         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43518
43519         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43520
43521         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43522         locale.alias.
43523
43524         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43525
43526         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43527
43528         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43529
43530         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43531         file parsing and set FD_CLOEXEC.
43532
43533 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43534
43535         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43536
43537 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43538
43539         * malloc/arena.c (arena_get2): Don't call reused_arena when
43540         _int_new_arena failed.
43541
43542 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43543
43544         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43545         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43546         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43547         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43548         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43549         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43550         to compile strcasecmp and strncasecmp.
43551         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43552         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43553
43554         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43555
43556 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43557
43558         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43559         locale-defines.sym to gen-as-const-headers.
43560         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43561         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43563         to compile strcasecmp and strncasecmp.
43564         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43565         strcasecmp_l and strncasecmp_l.
43566         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43567         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43568         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43569         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43570         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43571         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43572         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43573         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43574         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43575         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43576         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43577
43578 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43579
43580         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43581         result of SYSDEP_GETTIME_CPU to retval.
43582         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43583         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43584
43585         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43586         variable.
43587
43588         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43589         mantissa words.
43590         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43591
43592         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43593         from unused variable.
43594
43595         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43596         DWARF definitions.
43597         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43598         for assembling.
43599
43600         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43601         over namespaces.
43602
43603         * sunrpc/rpc_prot.c (rejected): Fix case value.
43604
43605         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43606         unsigned long long int to avoid warnings in shift.
43607
43608         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43609         of use of trans.
43610         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43611         variable tmp.
43612
43613         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43614         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43615         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43616
43617         * nis/nis_table.c (nis_list): Use variable of correct type for
43618         result of __follow_path call.
43619
43620 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43621
43622         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43623         of math functions ceil, trunc, floor, round, and sqrt, when
43624         avaliable on the platform.
43625         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43626         name clash.
43627         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43628         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43629         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43630
43631 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43632
43633         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43634         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43635
43636 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43637
43638         * include/unistd.h: Fix __readlink return type.
43639         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43640
43641 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43642
43643         * stdlib/ucontext.h: Undo last change for makecontext.
43644
43645 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43646
43647         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43648
43649         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43650         * setjmp/setjmp.h: Mark functions as non-leaf.
43651         * setjmp/bits/setjmp2.h: Likewise.
43652         * stdlib/ucontext.h: Likewise.
43653
43654 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43655
43656         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43657         (reused_arena): Don't check arena limit.
43658         (arena_get2): Atomically check arena limit.
43659
43660 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43661
43662         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43663         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43664
43665         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43666         instructions.
43667
43668 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43669
43670         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43671         handler when locking.
43672
43673         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43674         Fix size of allocated buffer.
43675
43676 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43677
43678         [BZ #10103]
43679         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43680         declarations for long double functions.
43681         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43682
43683         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43684
43685 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43686
43687         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43688         installed.
43689
43690         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43691         is disabled.
43692
43693 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43694
43695         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43696
43697 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43698
43699         * include/alloca.h (stackinfo_alloca_round): Define.
43700         (extend_alloca): Use it.
43701         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43702         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43703         here.
43704
43705         * scripts/check-local-headers.sh: Ignore libaudit.h.
43706
43707         * nscd/Makefile (extra-objs): Make recursively expanded.
43708
43709 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43710
43711         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43712         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43713
43714         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43715         * posix/tst-rfc3484-2.c: Likewise.
43716         * posix/tst-rfc3484-3.c: Likewise.
43717
43718         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43719         process_vm_writev.
43720         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43721         process_vm_writev.
43722         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43723         process_vm_writev from libc using GLIBC_2.15 version.
43724
43725         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43726
43727 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43728
43729         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43730         stack usage.
43731
43732 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43733
43734         [BZ #13367]
43735         * nss/getent.c (initgroups_keys): Show error message in case no group
43736         names are given.
43737
43738         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43739         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43740         __bump_nl_timestamp.
43741         * nscd/connections (nscd_init): When host database is served open
43742         netlink socket and request notification about configuration changes.
43743         (main_loop_poll): Track netlink file descriptor and bump timestamp
43744         in case data becomes available.
43745         (main_loop_epoll): Likewise.
43746         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43747         (database_pers_head): Add extra_data fileds.
43748         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43749         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43750         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43751         Adjust caller.
43752         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43753         in6ai data, call __free_in6ai.
43754         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43755         Add -DHAVE_NETLINK.
43756         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43757         interface information.  Reuse previous data if netlink timestamp
43758         is not changed.
43759         (__bump_nl_timestamp): New function.
43760         (__free_in6ai): New function.
43761
43762 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43763
43764         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43765         close_not_cancel_no_status here.
43766         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43767
43768 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43769
43770         [BZ #13276]
43771         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43772         return value.
43773
43774         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43775         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43776         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43777
43778 2011-07-03  Andreas Jaeger  <aj@suse.de>
43779
43780         [BZ #10709]
43781         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43782         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43783         * math/libm-test.inc (sin_test): Add test case.
43784
43785 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43786
43787         [BZ #13337]
43788         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43789         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43790
43791         * elf/chroot_canon.c (chroot_canon): Cleanups.
43792
43793         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43794
43795         [BZ #13335]
43796         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43797         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43798
43799         * string/test-strchr.c: Make usable for strchrnul testing.
43800         * string/test-strchrnul.c: New file.
43801         * string/Makefile (strop-tests): Add strchrnul.
43802
43803         * po/it.po: Update from translation team.
43804         * po/es.po: Likewise.
43805
43806 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43807
43808         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43809         the three constants needed as parameters.  Drop the others.
43810         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43811         __m128i_strloadu_tolower.
43812         Create and initialize variable zero and use it in all the places
43813         where _mm_setzero_si128 was used.
43814
43815         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43816         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43817         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43818         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43819         anymore.
43820         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43821         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43822         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43823         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43824         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43825         __mpranred, __mptan.
43826         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43827         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43828         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43829         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43830         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43831         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43832         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43833         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43834         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43835
43836 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43837
43838         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43839         redefine if SHARED.
43840         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43841
43842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43843         wide char related routines to wcsmbs subdir.
43844
43845 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43846
43847         [BZ #13344]
43848         * misc/sys/cdefs.h (__THROWNL): Define.
43849         * posix/unistd.h: Use __THREADNL instead of __THREAD
43850         for memory synchronization functions.
43851
43852 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43853
43854         [BZ #13349]
43855         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43856         doesn't exist.
43857         * manual/stdio.texi (Obstack Streams): Node removed.
43858
43859 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43860
43861         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43862         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43863         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43864
43865         * math/math_private.h (math_force_eval): Allow non-addressable
43866         arguments.
43867         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43868
43869 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43870
43871         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43872         file is not needed.
43873
43874         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43875         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43876         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43877         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43878         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43879         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43880         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43881         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43882         Add AVX variants.
43883         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43884         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43885         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43886         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43887         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43888         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43889         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43890         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43891         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43892         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43893         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43894         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43895         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43896         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43897         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43898         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43899         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43900         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43901         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43902
43903         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43904         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43905
43906         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43907         place.  Use VEX encoding when compiling for AVX.
43908
43909 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43910
43911         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43912         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43913
43914         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43915
43916 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43917
43918         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43919         useless if() expression.
43920         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43921         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43922         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43923         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43924         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43925         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43926         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43927         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43928         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43929         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43930         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43931         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43932         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43933         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43934         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43935         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43936         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43937         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43938         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43939
43940         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43941
43942 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43943
43944         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43945         condition.
43946         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43947
43948 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43949
43950         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43951         .text section.  Avoid duplicate constants.
43952         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43953         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43954         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43956         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43957         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43958         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43959         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43960         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43961         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43962         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43963         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43964         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43965         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43966         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43967         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43968         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43969         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43970         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43971         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43972         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43973         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43974         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43975         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43976         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43977         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43978         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43979         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43980         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43981         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43982         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43983         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43984         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43985         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43986         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43987         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43988         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43989         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43990         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43991         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43992         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43993         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43994         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43995         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43996         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43997
43998 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43999
44000         * sysdeps/x86_64/dla.h: Move to ...
44001         * sysdeps/x86_64/fpu/dla.h: ...here.
44002         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44003         situations.  Use __builtin_fma only for gcc 4.6 and up.
44004
44005         * config.make.in: Add have-mfma4 entry.
44006         * configure.in: Substitute libc_cv_cc_fma4.
44007         * math/Makefile (dbl-only-routines): Add sincostab.
44008         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44009         Use __sincostab not sincos.
44010         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44011         name is a macro.
44012         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44015         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44016         using __copysign.
44017         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44018         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44019         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44020         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44021         and __inv.
44022         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44023         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44024         __copysign.
44025         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44026         define aliases when function name is a macro.
44027         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44028         sysdeps/ieee754/dbl-64/sincos.tbl.
44029         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44030         fma4-enabled routines.
44031         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44032         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44033         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44034         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44035         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44036         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44037         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44038         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44039         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44040         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44041         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44042         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44043         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44044         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44045         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44046         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44047         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44048         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44049         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44050         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44051         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44052         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44053         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44054         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44055         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44056         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44057         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44058         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44059         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44060         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44061
44062         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44063         rename.
44064         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44065         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44066         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44068         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44069         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44070         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44071         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44072
44073 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44074
44075         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44076
44077 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44078
44079         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44080
44081         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44082         prediction.
44083         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44084
44085         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44086         Remove unused variable magic_bits.
44087         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44088
44089         * string/strnlen.c: Define and use STRNLEN macro.
44090         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44091         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44092         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44093         * wcsmbs/wcslen.c: Define and use WCSLEN.
44094         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44095         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44096         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44097         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44098         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44099         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44100         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44101
44102 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44103
44104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44105         strnlen-sse2-no-bsf.
44106         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44107         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44108         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44109         Add strnlen support.
44110         (USE_AS_STRNLEN): New macro.
44111         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44112         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44113         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44114         * sysdeps/x86_64/wcslen.S: New file.
44115
44116 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44117
44118         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44119         XMM-moves are used for copying on small sizes.
44120
44121 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44122
44123         * wcsmbs/Makefile (strop-tests): Add wcschr.
44124         * wcsmbs/test-wcschr.c: New file.
44125         * string/test-strchr.c: Update.
44126         Add wcschr support.
44127         (WIDE): New macro.
44128
44129 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44130
44131         * wcsmbs/Makefile (strop-tests): Add wcslen.
44132         * wcsmbs/test-wcslen.c: New file.
44133         * string/test-strlen.c: Update.
44134         Add wcslen support.
44135         (WIDE): New macro.
44136
44137 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44138
44139         * po/it.po: Update from translation team.
44140
44141 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44142
44143         * sysdeps/x86_64/wcscmp.S: Update.
44144         Fix wrong comparison semantics.
44145         wcscmp shall use signed comparison not unsigned.
44146         Don't use substraction to avoid overflow bug.
44147         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44148         * wcsmbc/wcscmp.c: Likewise.
44149         * string/test-strcmp.c: Likewise.
44150         Add new tests to check cases with negative values.
44151
44152 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44153
44154         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44155         * sysdeps/x86_64/dla.h: ...here.  New file.
44156         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44157         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44158         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44160         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44161         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44162         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44163         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44164         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44165
44166 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44167
44168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44169         __ynl_finite aliases.
44170
44171 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44172
44173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44174
44175         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44176         define DLA_FMA.
44177         [DLA_FMA] (EMULV): Use DLA_FMA.
44178         [DLA_FMA] (MUL12): Use EMULV.
44179         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44180         that are not needed.
44181         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44183         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44185         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44186         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44187         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44188
44189 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44190
44191         * math/s_nan.c: Undef __nan.
44192         * math/s_nanf.c: Undef __nanf.
44193         * math/s_nanl.c: Undef __nanl.
44194         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44195         "math_private.h".
44196
44197 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44198
44199         * math/s_catan.c: Add branch predictions.
44200         * math/s_catanf.c: Likewise.
44201         * math/s_catanh.c: Likewise.
44202         * math/s_catanhf.c: Likewise.
44203         * math/s_catanhl.c: Likewise.
44204         * math/s_catanl.c: Likewise.
44205         * math/s_cexp.c: Likewise.
44206         * math/s_cexpf.c: Likewise.
44207         * math/s_cexpl.c: Likewise.
44208         * math/s_clog.c: Likewise.
44209         * math/s_clog10.c: Likewise.
44210         * math/s_clog10f.c: Likewise.
44211         * math/s_clog10l.c: Likewise.
44212         * math/s_clogf.c: Likewise.
44213         * math/s_clogl.c: Likewise.
44214         * math/s_csqrt.c: Likewise.
44215         * math/s_csqrtf.c: Likewise.
44216         * math/s_csqrtl.c: Likewise.
44217         * math/s_ctanf.c: Likewise.
44218         * math/s_ctanh.c: Likewise.
44219         * math/s_ctanhf.c: Likewise.
44220         * math/s_ctanhl.c: Likewise.
44221         * math/s_ctanl.c: Likewise.
44222
44223         * math/math_private.h: Define __nan, __nanf, __nanl.
44224         * math/s_cacosh.c: Include <math_private.h>.
44225         * math/s_cacoshl.c: Likewise.
44226         * math/s_casinh.c: Likewise.
44227         * math/s_casinhf.c: Likewise.
44228         * math/s_casinhl.c: Likewise.
44229         * math/s_ccos.c: Rely entire on ccosh.
44230         * math/s_ccosf.c: Rely entire on ccoshf.
44231         * math/s_ccosl.c: Rely entirely on ccoshl.
44232         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44233         Remove tests for FE_INVALID.
44234         * math/s_ccoshf.c: Likewise.
44235         * math/s_ccoshl.c: Likewise.
44236         * math/s_csin.c: Likewise.
44237         * math/s_csinf.c: Likewise.
44238         * math/s_csinh.c Likewise.
44239         * math/s_csinhf.c: Likewise.
44240         * math/s_csinhl.c: Likewise.
44241         * math/s_csinl.c: Likewise.
44242         * math/s_ctan.c: Likewise.
44243         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44244         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44245         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44246
44247 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44248
44249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44250         compilation problems.
44251
44252         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44253         __builtin_expect.
44254
44255 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44256
44257         * sysdeps/i386/configure.in: Test for -mfma4 option.
44258         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44259         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44260         COMMON_CPUID_INDEX_80000001.
44261         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44262         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44263         use it if FMA3 is not supported.
44264         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44265
44266         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44267         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44268
44269 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44270
44271         [BZ #12892]
44272         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44273         it would create a cycle with a link time dependency.
44274
44275 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44276
44277         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44278         instruction.
44279         * string/Makefile (strop-tests): Add rawmemchr.
44280         * string/test-rawmemchr.c: New file.
44281
44282         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44283         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44284         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44285         when compiling str{,n}casecmp and when AVX is available.  Hook up
44286         new optimized code in initializers.
44287
44288 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44289
44290         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44291         __feraiseexcept instead of feraiseexcept.
44292
44293 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44294
44295         * math/math_private.h: Define defaults for libc_fetestexcept and
44296         libc_feupdateenv.
44297         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44298         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44299         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44300         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44301         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44302         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44303         libc_fetestexcept and libc_feupdateenv.
44304
44305         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44306         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44307         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44308         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44309         libc_feholdexcept_setround.
44310
44311         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44312         Add s_nearbyint-c and s_nearbyintf-c.
44313         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44314         nearbyintf inlines.
44315         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44316         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44317         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44318         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44319
44320         * math/math_private.h: Define defaults for libc_fegetround,
44321         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44322         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44323         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44324         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44325         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44326         standard functions.
44327         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44328         Remove comments and hacks for old compiler versions.
44329         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44330         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44331         libc_feholdexceptl.
44332
44333 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44334
44335         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44336         (__feraiseexcept_renamed): Add __NTH.
44337         (feraiseexcept): Add __NTH.  Rename local variables to fix
44338         namespace violations.
44339
44340 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44341
44342         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44343
44344         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44345
44346         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44347         recently added interfaces.
44348         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44349
44350         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44351         about macro parameter expansion.
44352
44353         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44354         __NO_MATH_INLINES is defined.  Cleanups.
44355
44356         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44357         and __floorf is target has SSE4.1.
44358         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44359         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44360         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44361         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44362
44363         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44364         name.
44365         (floorf): Likewise.
44366
44367         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44368
44369 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44370
44371         * misc/sys/cdefs.h: Fix last change.
44372
44373         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44374         database lookup.
44375
44376 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44377
44378         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44379
44380         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44381         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44382         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44383         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44384         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44385         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44386         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44387         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44388         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44389         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44390         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44391         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44392         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44393         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44394         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44395         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44396         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44397         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44398         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44399         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44400         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44401         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44402
44403         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44404         ceil, ceilf, floor, floorf.
44405
44406         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44407         Perform IRELATIVE relocations last.
44408
44409         * elf/do-rel.h: Add another parameter nrelative, replacing the
44410         local variable with the same name.  Change name of the function
44411         to end in Rel or Rela (uppercase).
44412         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44413         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44414         elf_dynamic_do_##reloc function.
44415
44416 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44417
44418         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44419         is sufficient, at least on modern CPUs.
44420
44421         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44422
44423         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44424         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44425
44426         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44427         __expl_finite.
44428         * math/bits/math-finite.h: Add entries for exp.
44429         * math/e_expl.c: Add __*_finite alias.
44430         * sysdeps/i386/fpu/e_exp.S: Likewise.
44431         * sysdeps/i386/fpu/e_expf.S: Likewise.
44432         * sysdeps/i386/fpu/e_expl.c: Likewise.
44433         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44434         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44435         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44436         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44437         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44438         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44439         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44440
44441         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44442         is sufficient, at least on modern CPUs.
44443
44444         * ctype/ctype-info.c (__ctype_init): Define.
44445         * include/ctype.h (__ctype_init): Declare.
44446         (__ctype_b_loc): The variable is always initialized.
44447         (__ctype_toupper_loc): Likewise.
44448         (__ctype_tolower_loc): Likewise.
44449         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44450         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44451
44452 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44453
44454         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44455
44456         * configure.in: Also look in $cxxmachine/include for C++ system
44457         headers.
44458
44459 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44460
44461         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44462         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44463         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44464         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44465         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44466         (USE_AS_WMEMCMP): New macro.
44467         Fixing indents.
44468         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44469         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44470         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44471         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44472         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44473         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44474         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44475         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44476         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44477         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44478         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44479         (USE_AS_WMEMCMP): New macro.
44480         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44481         * sysdeps/string/test-memcmp.c: Update.
44482         Fix simple_wmemcmp.
44483         Add new tests.
44484         * wcsmbs/wmemcmp.c: Update.
44485         (WMEMCMP): New macro.
44486         Fix overflow bug.
44487
44488 2011-10-12  Andreas Jaeger  <aj@suse.de>
44489
44490         [BZ #13268]
44491         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44492
44493 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44494
44495         * libio/iofwide.c (do_length): Avoid warning.
44496
44497         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44498
44499 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44500
44501         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44502
44503         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44504         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44505         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44506         * sysdeps/i386/i686/fpu/e_log.S: New file.
44507         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44508         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44509
44510         * ctype/ctype.h: Add support for inlined isXXX functions when
44511         compiling C++ code.
44512
44513 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44514
44515         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44516
44517         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44518
44519 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44520
44521         [BZ #13291]
44522         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44523
44524 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44525
44526         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44527         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44528         feraiseexcept.
44529
44530         * sysdeps/x86_64/memrchr.S: Check for zero size.
44531
44532         * string/stratcliff.c: Add memrchr tests.
44533
44534 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44535
44536         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44537         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44538         rawmemchr-sse2 rawmemchr-sse2-bsf.
44539         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44540         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44541         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44542         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44543         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44544         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44545         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44546         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44547         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44548         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44549         * string/memrchr.c (MEMRCHR): New macro.
44550
44551 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44552
44553         Add integration with gcc's -ffinite-math-only and optimize wrapper
44554         functions in libm.
44555         * Versions.def: Define GLIBC_2.15 version for libm.
44556         * math/Makefile (headers): Add bits/math-finite.h.
44557         * math/bits/math-finite.h: New file.
44558         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44559         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44560         * math/e_acoshl.c: Add __*_finite alias.
44561         * math/e_acosl.c: Likewise.
44562         * math/e_asinl.c: Likewise.
44563         * math/e_atan2l.c: Likewise.
44564         * math/e_atanhl.c: Likewise.
44565         * math/e_coshl.c: Likewise.
44566         * math/e_exp10.c: Likewise.
44567         * math/e_exp10f.c: Likewise.
44568         * math/e_exp10l.c: Likewise.
44569         * math/e_exp2l.c: Likewise.
44570         * math/e_fmodl.c: Likewise.
44571         * math/e_gammal_r.c: Likewise.
44572         * math/e_hypotl.c: Likewise.
44573         * math/e_j0l.c: Likewise.
44574         * math/e_j1l.c: Likewise.
44575         * math/e_jnl.c: Likewise.
44576         * math/e_lgammal_r.c: Likewise.
44577         * math/e_log10l.c: Likewise.
44578         * math/e_log2l.c: Likewise.
44579         * math/e_logl.c: Likewise.
44580         * math/e_powl.c: Likewise.
44581         * math/e_sinhl.c: Likewise.
44582         * math/e_sqrtl.c: Likewise.
44583         * math/e_scalb.c: Completely rewritten and optimized.
44584         * math/e_scalbf.c: Likewise.
44585         * math/e_scalbl.c: Likewise.
44586         * math/w_acos.c: Likewise.
44587         * math/w_acosf.c: Likewise.
44588         * math/w_acosl.c: Likewise.
44589         * math/w_acosh.c: Likewise.
44590         * math/w_acoshf.c: Likewise.
44591         * math/w_acoshl.c: Likewise.
44592         * math/w_asin.c: Likewise.
44593         * math/w_asinf.c: Likewise.
44594         * math/w_asinl.c: Likewise.
44595         * math/w_atan2.c: Likewise.
44596         * math/w_atan2f.c: Likewise.
44597         * math/w_atan2l.c: Likewise.
44598         * math/w_atanh.c: Likewise.
44599         * math/w_atanhf.c: Likewise.
44600         * math/w_atanhl.c: Likewise.
44601         * math/w_exp10.c: Likewise.
44602         * math/w_exp10f.c: Likewise.
44603         * math/w_exp10l.c: Likewise.
44604         * math/w_fmod.c: Likewise.
44605         * math/w_fmodf.c: Likewise.
44606         * math/w_fmodl.c: Likewise.
44607         * math/w_j0.c: Likewise.
44608         * math/w_j0f.c: Likewise.
44609         * math/w_j0l.c: Likewise.
44610         * math/w_j1.c: Likewise.
44611         * math/w_j1f.c: Likewise.
44612         * math/w_j1l.c: Likewise.
44613         * math/w_jn.c: Likewise.
44614         * math/w_jnf.c: Likewise.
44615         * math/w_log.c: Likewise.
44616         * math/w_logf.c: Likewise.
44617         * math/w_logl.c: Likewise.
44618         * math/w_log10.c: Likewise.
44619         * math/w_log10f.c: Likewise.
44620         * math/w_log10l.c: Likewise.
44621         * math/w_log2.c: Likewise.
44622         * math/w_log2f.c: Likewise.
44623         * math/w_log2l.c: Likewise.
44624         * math/w_pow.c: Likewise.
44625         * math/w_powf.c: Likewise.
44626         * math/w_powl.c: Likewise.
44627         * math/w_remainder.c: Likewise.
44628         * math/w_remainderf.c: Likewise.
44629         * math/w_remainderl.c: Likewise.
44630         * math/w_scalb.c: Likewise.
44631         * math/w_scalbf.c: Likewise.
44632         * math/w_scalbl.c: Likewise.
44633         * math/w_sqrt.c: Likewise.
44634         * math/w_sqrtf.c: Likewise.
44635         * math/w_sqrtl.c: Likewise.
44636         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44637         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44638         used.
44639         * math/math_private.h: Declare __kernel_standard_f.
44640         * math/w_cosh.c: Remove cruft and optimize a bit.
44641         * math/w_coshf.c: Likewise.
44642         * math/w_coshl.c: Likewise.
44643         * math/w_exp2.c: Likewise.
44644         * math/w_exp2f.c: Likewise.
44645         * math/w_exp2l.c: Likewise.
44646         * math/w_hypot.c: Likewise.
44647         * math/w_hypotf.c: Likewise.
44648         * math/w_hypotl.c: Likewise.
44649         * math/w_lgamma.c: Likewise.
44650         * math/w_lgamma_r.c: Likewise.
44651         * math/w_lgammaf.c: Likewise.
44652         * math/w_lgammaf_r.c: Likewise.
44653         * math/w_lgammal.c: Likewise.
44654         * math/w_lgammal_r.c: Likewise.
44655         * math/w_sinh.c: Likewise.
44656         * math/w_sinhf.c: Likewise.
44657         * math/w_sinhl.c: Likewise.
44658         * math/w_tgamma.c: Likewise.
44659         * math/w_tgammaf.c: Likewise.
44660         * math/w_tgammal.c: Likewise.
44661         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44662         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44663         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44664         Minor optimizations.  Pretty printing.  Remove cruft.
44665         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44666         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44667         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44668         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44669         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44670         * sysdeps/i386/fpu/e_asin.S: Likewise.
44671         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44672         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44673         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44674         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44675         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44676         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44677         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44678         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44679         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44680         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44681         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44682         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44683         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44684         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44685         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44686         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44687         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44688         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44689         * sysdeps/i386/fpu/e_log.S: Likewise.
44690         * sysdeps/i386/fpu/e_log10.S: Likewise.
44691         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44692         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44693         * sysdeps/i386/fpu/e_log2.S: Likewise.
44694         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44695         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44696         * sysdeps/i386/fpu/e_logf.S: Likewise.
44697         * sysdeps/i386/fpu/e_logl.S: Likewise.
44698         * sysdeps/i386/fpu/e_pow.S: Likewise.
44699         * sysdeps/i386/fpu/e_powf.S: Likewise.
44700         * sysdeps/i386/fpu/e_powl.S: Likewise.
44701         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44702         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44703         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44704         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44705         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44706         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44707         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44708         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44709         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44710         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44711         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44712         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44713         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44714         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44715         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44716         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44717         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44718         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44719         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44720         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44721         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44723         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44724         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44725         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44726         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44727         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44728         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44730         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44731         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44732         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44733         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44734         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44735         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44736         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44737         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44738         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44739         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44740         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44741         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44742         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44743         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44744         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44745         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44746         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44747         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44748         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44749         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44750         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44751         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44752         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44753         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44754         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44755         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44756         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44757         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44758         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44759         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44760         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44761         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44762         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44763         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44764         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44765         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44766         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44767         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44768         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44769         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44770         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44771         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44773         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44774         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44775         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44776         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44777         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44778         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44779         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44780         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44781         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44782         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44783         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44784         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44785         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44786         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44787         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44788         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44789         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44790         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44791         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44792         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44793         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44794         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44795         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44796         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44797         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44798         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44799         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44800         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44801         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44802         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44803         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44804         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44805         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44806         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44807         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44808         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44809         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44810         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44811         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44812         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44813         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44814         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44815         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44816         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44817         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44818         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44819         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44820         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44821         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44822         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44823         (__isnanf): Likewise.
44824         (__isinf_ns): Likewise.
44825         (__isinf_nsf): Likewise.
44826         (__finite): Likewise.
44827         (__finitef): Likewise.
44828         (__ieee754_sqrt): Define as macro.
44829         (__ieee754_sqrtf): Define as macro.
44830         (__ieee754_sqrtl): Define as macro.
44831         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44832         inlined copy.
44833         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44834         __FINITE_MATH_ONLY__ consistent.
44835         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44836
44837 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44838
44839         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44840         of rawmemchr.
44841
44842         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44843
44844 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44845
44846         * po/ja.po: Update from translation team.
44847
44848 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44849
44850         * locale/programs/locarchive.c (prepare_address_space): New function.
44851         (create_archive, enlarge_archive, open_archive): Use it.
44852
44853         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44854         inside [SHARED], where it is used.
44855
44856         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44857
44858         * nss/getent.c (netgroup_keys): Remove unused variable.
44859         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44860
44861 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44862
44863         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44864         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44865         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44866         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44867         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44868         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44869         * math/Makefile (libm-calls): Add s_isinf_ns.
44870         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44871         * math/multc3.c: Likewise.
44872         * math/s_casin.c: Likewise.
44873         * math/s_casinf.c: Likewise.
44874         * math/s_casinl.c: Likewise.
44875         * math/s_ccos.c: Likewise.
44876         * math/s_ccosf.c: Likewise.
44877         * math/s_ccosl.c: Likewise.
44878         * math/s_ctan.c: Likewise.
44879         * math/s_ctanf.c: Likewise.
44880         * math/s_ctanh.c: Likewise.
44881         * math/s_ctanhf.c: Likewise.
44882         * math/s_ctanhl.c: Likewise.
44883         * math/s_ctanl.c: Likewise.
44884         * math/w_fmod.c: Likewise.
44885         * math/w_fmodf.c: Likewise.
44886         * math/w_fmodl.c: Likewise.
44887         * math/w_remainder.c: Likewise.
44888         * math/w_remainderf.c: Likewise.
44889         * math/w_remainderl.c: Likewise.
44890         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44891         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44892         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44893         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44894         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44895         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44896         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44897         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44898
44899         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44900         of the number.
44901         * stdio-common/printf_fphex.c: Likewise.
44902         * stdio-common/printf_size.c: Likewise.
44903
44904         * math/e_exp10.c: Include math_private.h using <...> not "...".
44905         * math/e_exp10f.c: Likewise.
44906         * math/e_exp10l.c: Likewise.
44907         * math/e_exp2l.c: Likewise.
44908         * math/e_j0l.c: Likewise.
44909         * math/e_j1l.c: Likewise.
44910         * math/e_jnl.c: Likewise.
44911         * math/e_lgammal_r.c: Likewise.
44912         * math/e_rem_pio2l.c: Likewise.
44913         * math/e_scalb.c: Likewise.
44914         * math/e_scalbf.c: Likewise.
44915         * math/e_scalbl.c: Likewise.
44916         * math/k_cosl.c: Likewise.
44917         * math/k_sinl.c: Likewise.
44918         * math/k_tanl.c: Likewise.
44919         * math/s_cacoshf.c: Likewise.
44920         * math/s_catan.c: Likewise.
44921         * math/s_catanf.c: Likewise.
44922         * math/s_catanh.c: Likewise.
44923         * math/s_catanhf.c: Likewise.
44924         * math/s_catanhl.c: Likewise.
44925         * math/s_catanl.c: Likewise.
44926         * math/s_ccosh.c: Likewise.
44927         * math/s_ccoshf.c: Likewise.
44928         * math/s_ccoshl.c: Likewise.
44929         * math/s_cexp.c: Likewise.
44930         * math/s_cexpf.c: Likewise.
44931         * math/s_cexpl.c: Likewise.
44932         * math/s_clog.c: Likewise.
44933         * math/s_clog10.c: Likewise.
44934         * math/s_clog10f.c: Likewise.
44935         * math/s_clog10l.c: Likewise.
44936         * math/s_clogf.c: Likewise.
44937         * math/s_clogl.c: Likewise.
44938         * math/s_csin.c: Likewise.
44939         * math/s_csinf.c: Likewise.
44940         * math/s_csinh.c: Likewise.
44941         * math/s_csinhf.c: Likewise.
44942         * math/s_csinhl.c: Likewise.
44943         * math/s_csinl.c: Likewise.
44944         * math/s_csqrt.c: Likewise.
44945         * math/s_csqrtf.c: Likewise.
44946         * math/s_csqrtl.c: Likewise.
44947         * math/s_ctan.c: Likewise.
44948         * math/s_ctanf.c: Likewise.
44949         * math/s_ctanh.c: Likewise.
44950         * math/s_ctanhf.c: Likewise.
44951         * math/s_ctanhl.c: Likewise.
44952         * math/s_ctanl.c: Likewise.
44953         * math/s_ldexp.c: Likewise.
44954         * math/s_ldexpf.c: Likewise.
44955         * math/s_ldexpl.c: Likewise.
44956         * math/s_significand.c: Likewise.
44957         * math/s_significandf.c: Likewise.
44958         * math/s_significandl.c: Likewise.
44959         * math/w_acos.c: Likewise.
44960         * math/w_acosf.c: Likewise.
44961         * math/w_acosh.c: Likewise.
44962         * math/w_acoshf.c: Likewise.
44963         * math/w_acoshl.c: Likewise.
44964         * math/w_acosl.c: Likewise.
44965         * math/w_asin.c: Likewise.
44966         * math/w_asinf.c: Likewise.
44967         * math/w_asinl.c: Likewise.
44968         * math/w_atan2.c: Likewise.
44969         * math/w_atan2f.c: Likewise.
44970         * math/w_atan2l.c: Likewise.
44971         * math/w_atanh.c: Likewise.
44972         * math/w_atanhf.c: Likewise.
44973         * math/w_atanhl.c: Likewise.
44974         * math/w_cosh.c: Likewise.
44975         * math/w_coshf.c: Likewise.
44976         * math/w_coshl.c: Likewise.
44977         * math/w_dremf.c: Likewise.
44978         * math/w_exp10.c: Likewise.
44979         * math/w_exp10f.c: Likewise.
44980         * math/w_exp10l.c: Likewise.
44981         * math/w_exp2.c: Likewise.
44982         * math/w_exp2f.c: Likewise.
44983         * math/w_fmod.c: Likewise.
44984         * math/w_fmodf.c: Likewise.
44985         * math/w_fmodl.c: Likewise.
44986         * math/w_hypot.c: Likewise.
44987         * math/w_hypotf.c: Likewise.
44988         * math/w_hypotl.c: Likewise.
44989         * math/w_j0.c: Likewise.
44990         * math/w_j0f.c: Likewise.
44991         * math/w_j0l.c: Likewise.
44992         * math/w_j1.c: Likewise.
44993         * math/w_j1f.c: Likewise.
44994         * math/w_j1l.c: Likewise.
44995         * math/w_jn.c: Likewise.
44996         * math/w_jnf.c: Likewise.
44997         * math/w_jnl.c: Likewise.
44998         * math/w_lgamma.c: Likewise.
44999         * math/w_lgamma_r.c: Likewise.
45000         * math/w_lgammaf.c: Likewise.
45001         * math/w_lgammaf_r.c: Likewise.
45002         * math/w_lgammal.c: Likewise.
45003         * math/w_lgammal_r.c: Likewise.
45004         * math/w_log.c: Likewise.
45005         * math/w_log10.c: Likewise.
45006         * math/w_log10f.c: Likewise.
45007         * math/w_log10l.c: Likewise.
45008         * math/w_log2.c: Likewise.
45009         * math/w_log2f.c: Likewise.
45010         * math/w_log2l.c: Likewise.
45011         * math/w_logf.c: Likewise.
45012         * math/w_logl.c: Likewise.
45013         * math/w_pow.c: Likewise.
45014         * math/w_powf.c: Likewise.
45015         * math/w_powl.c: Likewise.
45016         * math/w_remainder.c: Likewise.
45017         * math/w_remainderf.c: Likewise.
45018         * math/w_remainderl.c: Likewise.
45019         * math/w_scalb.c: Likewise.
45020         * math/w_scalbf.c: Likewise.
45021         * math/w_scalbl.c: Likewise.
45022         * math/w_sinh.c: Likewise.
45023         * math/w_sinhf.c: Likewise.
45024         * math/w_sinhl.c: Likewise.
45025         * math/w_sqrt.c: Likewise.
45026         * math/w_sqrtf.c: Likewise.
45027         * math/w_sqrtl.c: Likewise.
45028         * math/w_tgamma.c: Likewise.
45029         * math/w_tgammaf.c: Likewise.
45030         * math/w_tgammal.c: Likewise.
45031
45032         * po/ja.po: Update from translation team.
45033
45034 2011-09-29  Andreas Jaeger  <aj@suse.de>
45035
45036         [BZ #13179]
45037         * sunrpc/netname.c (netname2host): Fix logic.
45038
45039         [BZ #6779]
45040         [BZ #6783]
45041         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45042         correctly.
45043         * math/w_remainder.c (__remainder): Likewise.
45044         * math/w_remainderf.c (__remainderf): Likewise.
45045         * math/libm-test.inc (remainder_test): Add test cases.
45046
45047 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45048
45049         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45050         sdiv_qrnnd.
45051
45052 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45053
45054         * string/test-memcmp.c: Avoid unncessary #defines.
45055         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45056
45057 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45058
45059         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45060         Use new sse2 version for core i3 - i7 as it's faster
45061         than sse42 version.
45062         (bit_Prefer_PMINUB_for_stringop): New.
45063         * sysdeps/x86_64/rawmemchr.S: Update.
45064         Replace with faster SSE2 version.
45065         * sysdeps/x86_64/memrchr.S: New file.
45066         * sysdeps/x86_64/memchr.S: Update.
45067         Replace with faster SSE2 version.
45068
45069 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45070
45071         * elf/dl-load.c (lose): Add cast to avoid warning.
45072
45073 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45074
45075         * po/ca.po: Update from translation team.
45076
45077         * inet/getnetgrent_r.c: Hook up nscd.
45078         * nscd/Makefile (routines): Add nscd_netgroup.
45079         (nscd-modules): Add netgroupcache.
45080         (CFLAGS-netgroupcache.c): Define.
45081         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45082         (cache_search): Add const to second parameter.
45083         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45084         INNETGR.
45085         (dbs): Add netgrdb entry.
45086         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45087         (verify_persistent_db): Handle netgrdb.
45088         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45089         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45090         GETFDNETGR.
45091         (netgroup_response_header): Define.
45092         (innetgroup_response_header): Define.
45093         (datahead): Add netgroup_response_header and innetgroup_response_header
45094         elements.
45095         * nscd/nscd.conf: Add entries for netgroup cache.
45096         * nscd/nscd.h (dbtype): Add netgrdb.
45097         (_PATH_NSCD_NETGROUP_DB): Define.
45098         (netgroup_iov_disabled): Declare.
45099         (xmalloc, xcalloc, xrealloc): Move declarations here.
45100         (cache_search): Adjust prototype.
45101         Add netgroup-related prototypes.
45102         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45103         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45104         (__nscd_innetgr): Declare.
45105         * nscd/selinux.c (perms): Use access_vector_t as element type and
45106         add netgroup-related initializers.
45107         * nscd/netgroupcache.c: New file.
45108         * nscd/nscd_netgroup.c: New file.
45109         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45110         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45111         For four parameters use innetgr.
45112         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45113         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45114         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45115         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45116
45117         * nscd/connections.c (register_traced_file): Don't register file
45118         for disabled databases.
45119
45120 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45121
45122         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45123
45124         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45125         from tree and freeing node.
45126
45127 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45128
45129         * nss/nsswitch.c (__nss_database_lookup): Handle
45130         nss_parse_service_list out of memory case.
45131
45132 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45133
45134         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45135         out of memory case.
45136
45137 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45138
45139         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45140         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45141         pass it down.
45142         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45143         elf_machine_rela, elf_machine_lazy_rel.
45144         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45145         (ELF_DYNAMIC_DO_REL): Likewise.
45146         (ELF_DYNAMIC_DO_RELA): Likewise.
45147         (ELF_DYNAMIC_RELOCATE): Likewise.
45148         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45149         to ELF_DYNAMIC_DO_REL.
45150         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45151         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45152         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45153         elf_machine_rela.
45154         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45155         skip_ifunc, don't call ifunc function if non-zero.
45156         (elf_machine_rela): Likewise.
45157         (elf_machine_lazy_rel): Likewise.
45158         (elf_machine_lazy_rela): Likewise.
45159         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45160         (elf_machine_lazy_rel): Likewise.
45161         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45162         Likewise.
45163         (elf_machine_lazy_rel): Likewise.
45164         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45165         Likewise.
45166         (elf_machine_lazy_rel): Likewise.
45167         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45168         (elf_machine_lazy_rel): Likewise.
45169         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45170         (elf_machine_lazy_rel): Likewise.
45171         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45172         (elf_machine_lazy_rel): Likewise.
45173         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45174         (elf_machine_lazy_rel): Likewise.
45175         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45176         (elf_machine_lazy_rel): Likewise.
45177         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45178         (elf_machine_lazy_rel): Likewise.
45179
45180 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45181
45182         * nss/nss_files/files-init.c (_nss_files_init): Use static
45183         initialization for all the *_traced_file variables.
45184
45185 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45186
45187         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45188
45189 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45190
45191         [BZ #13226]
45192         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45193
45194 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45195
45196         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45197         Reread the line before reparsing it.
45198
45199 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45200
45201         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45202
45203 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45204             Maxim Kuvyrkov  <maxim@codesourcery.com>
45205             Joseph Myers  <joseph@codesourcery.com>
45206
45207         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45208         if needed for __stack_chk_guard.
45209
45210 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45211
45212         * sysdeps/posix/spawni.c (script_execute): Always define it.
45213         It will be optimized away if unused.
45214         (maybe_script_execute): New function.
45215         (__spawni): Call it.
45216
45217         * Makerules: Don't include tls.make.
45218         (config-tls): Always set to thread.
45219         * tls.make.c: File removed.
45220
45221 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45222
45223         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45224         * config.make.in (CPPFLAGS-config): New substituted variable.
45225
45226 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45227
45228         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45229
45230         [BZ #13192]
45231         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45232         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45233
45234 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45235
45236         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45237         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45238         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45239         (CALL_FAIL): Likewise.
45240         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45241         (CALL_FAIL): Macro removed.
45242         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45243
45244 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45245
45246         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45247         for __FINITE_MATH_ONLY__ == 1.
45248
45249 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45250
45251         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45252         __ieee754_sqrt instead of sqrt.
45253         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45254         __ieee754_sqrtf instead of sqrtf.
45255         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45256         __floorf instead of floorf.
45257         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45258         __floorf, __truncf instead of floorf, truncf.
45259
45260 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45261
45262         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45263
45264         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45265         __extern_always_inline.
45266         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45267         32-bit.
45268
45269 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45270
45271         * elf/rtld.c (dl_main): Also relocate in dependency order when
45272         doing symbol dependency testing.
45273
45274 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45275
45276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45277         Always define `refsym'.
45278
45279 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45280
45281         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45282         (__FD_ELT): Renamed from __FDELT.
45283         * misc/bits/select2.h (__FD_ELT): Likewise.
45284         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45285         __FD_MASK instead of __FDELT, __FDMASK.
45286         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45287         Likewise.
45288         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45289         Likewise.
45290
45291         * elf/Makefile (gen-ldd): Fix pattern.
45292
45293         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45294         (init_tls): Likewise.
45295
45296 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45297
45298         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45299
45300 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45301
45302         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45303         `struct cmsghdr *' instead of `void *'.
45304         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45305         Likewise.
45306
45307 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45308
45309         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45310         if non-absolute.
45311         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45312         ldd_rewrite_script.
45313
45314 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45315
45316         * configure.in: Remove --with-tls option.
45317         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45318         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45319         out in case it is missing.
45320         * sysdeps/ia64/elf/configure.in: Likewise.
45321         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45322         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45323         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45324         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45325         * sysdeps/sh/elf/configure.in: Likewise.
45326         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45327         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45328         * sysdeps/x86_64/elf/configure.in: Likewise.
45329         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45330         * sysdeps/mach/hurd/tls.h: Likewise.
45331
45332         [BZ #13067]
45333         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45334
45335         [BZ #13090]
45336         * configure.in: Fix use of AC_INIT.
45337
45338         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45339
45340 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45341
45342         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45343         __set_errno.
45344         * malloc/hooks.c: Likewise.
45345
45346         [BZ #11929]
45347         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45348         variables statically.
45349         (narenas): Initialize.
45350         (list_lock): Initialize.
45351         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45352         initializtion of main_arena and list_lock.  Small cleanups.
45353         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45354         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45355         Add initializers to main_arena and mp_.
45356         (malloc_state): Remove pagesize member.  Change all users to use
45357         GLRO(dl_pagesize).
45358
45359         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45360         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45361         is always initialized.
45362
45363         * malloc/malloc.c: Removed unused configurations and dead code.
45364         * malloc/arena.c: Likewise.
45365         * malloc/hooks.c: Likewise.
45366         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45367
45368         * include/tls.h: Removed.  USE___THREAD must always be defined.
45369         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45370         * elf/dl-libc.c: Likewise.
45371         * elf/dl-tsd.c: Likewise.
45372         * include/errno.h: Likewise.
45373         * include/netdb.h: Likewise.
45374         * include/resolv.h: Likewise.
45375         * inet/herrno-loc.c: Likewise.
45376         * inet/herrno.c: Likewise.
45377         * malloc/arena.c: Likewise.
45378         * malloc/hooks.c: Likewise.
45379         * malloc/malloc.c: Likewise.
45380         * resolv/res-state.c: Likewise.
45381         * resolv/res_libc.c: Likewise.
45382         * sysdeps/i386/dl-machine.h: Likewise.
45383         * sysdeps/ia64/dl-machine.h: Likewise.
45384         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45385         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45386         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45387         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45388         * sysdeps/sh/dl-machine.h: Likewise.
45389         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45390         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45391         * sysdeps/unix/i386/sysdep.S: Likewise.
45392         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45393         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45394         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45395         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45398         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45402         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45403         * sysdeps/x86_64/dl-machine.h: Likewise.
45404         * tls.make.c: Likewise.
45405
45406         * configure.in: Remove --with-__thread option.  Make tests for
45407         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45408         tls_model attribute fail if no support is available.  Remove
45409         USE_IN_LIBIO.
45410         * Makeconfig: Adjust for dropped configure option.  All features are
45411         now mandatory.
45412         * Makerules: Likewise.
45413         * Versions.def: Likewise.
45414         * argp/argp-fmtstream.c: Likewise.
45415         * argp/argp-fmtstream.h: Likewise.
45416         * argp/argp-help.c: Likewise.
45417         * assert/assert.c: Likewise.
45418         * config.h.in: Likewise.
45419         * config.make.in: Likewise.
45420         * configure: Likewise.
45421         * configure.in: Likewise.
45422         * csu/Versions: Likewise.
45423         * csu/init.c: Likewise.
45424         * elf/tst-audit2.c: Likewise.
45425         * elf/tst-tls10.c: Likewise.
45426         * elf/tst-tls10.h: Likewise.
45427         * elf/tst-tls11.c: Likewise.
45428         * elf/tst-tls12.c: Likewise.
45429         * elf/tst-tls14.c: Likewise.
45430         * elf/tst-tlsmod11.c: Likewise.
45431         * elf/tst-tlsmod12.c: Likewise.
45432         * elf/tst-tlsmod13.c: Likewise.
45433         * elf/tst-tlsmod13a.c: Likewise.
45434         * elf/tst-tlsmod14a.c: Likewise.
45435         * elf/tst-tlsmod15b.c: Likewise.
45436         * elf/tst-tlsmod16a.c: Likewise.
45437         * elf/tst-tlsmod16b.c: Likewise.
45438         * elf/tst-tlsmod7.c: Likewise.
45439         * elf/tst-tlsmod8.c: Likewise.
45440         * elf/tst-tlsmod9.c: Likewise.
45441         * gmon/gmon.c: Likewise.
45442         * grp/fgetgrent_r.c: Likewise.
45443         * grp/putgrent.c: Likewise.
45444         * hurd/fopenport.c: Likewise.
45445         * include/libc-symbols.h: Likewise.
45446         * include/tls.h: Likewise.
45447         * intl/gettextP.h: Likewise.
45448         * intl/loadinfo.h: Likewise.
45449         * locale/global-locale.c: Likewise.
45450         * locale/localeinfo.h: Likewise.
45451         * mach/devstream.c: Likewise.
45452         * malloc/arena.c: Likewise.
45453         * malloc/set-freeres.c: Likewise.
45454         * misc/err.c: Likewise.
45455         * misc/getttyent.c: Likewise.
45456         * misc/mntent_r.c: Likewise.
45457         * posix/getopt.c: Likewise.
45458         * posix/wordexp.c: Likewise.
45459         * pwd/fgetpwent_r.c: Likewise.
45460         * resolv/Versions: Likewise.
45461         * resolv/res_hconf.c: Likewise.
45462         * shadow/fgetspent_r.c: Likewise.
45463         * shadow/putspent.c: Likewise.
45464         * stdio-common/printf_fphex.c: Likewise.
45465         * stdio-common/tmpfile.c: Likewise.
45466         * stdlib/abort.c: Likewise.
45467         * stdlib/fmtmsg.c: Likewise.
45468         * sunrpc/auth_unix.c: Likewise.
45469         * sunrpc/clnt_perr.c: Likewise.
45470         * sunrpc/clnt_tcp.c: Likewise.
45471         * sunrpc/clnt_udp.c: Likewise.
45472         * sunrpc/clnt_unix.c: Likewise.
45473         * sunrpc/openchild.c: Likewise.
45474         * sunrpc/svc_simple.c: Likewise.
45475         * sunrpc/svc_tcp.c: Likewise.
45476         * sunrpc/svc_udp.c: Likewise.
45477         * sunrpc/svc_unix.c: Likewise.
45478         * sunrpc/xdr.c: Likewise.
45479         * sunrpc/xdr_array.c: Likewise.
45480         * sunrpc/xdr_rec.c: Likewise.
45481         * sunrpc/xdr_ref.c: Likewise.
45482         * sunrpc/xdr_stdio.c: Likewise.
45483
45484 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45485
45486         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45487
45488 2011-07-03  Andreas Jaeger  <aj@suse.de>
45489
45490         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45491         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45492         regenerate with gen-libm-tests.pl.
45493
45494 2010-05-12  Petr Baudis  <pasky@suse.cz>
45495
45496         [BZ #11589]
45497         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45498         around j0() zero points by switching to j1().
45499         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45500         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45501         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45502         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45503
45504 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45505
45506         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45507         instead of 0.
45508         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45509         instead of 0.
45510         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45511         Patch in part by Pavel Roskin <proski@gnu.org>.
45512
45513         [BZ #13138]
45514         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45515         realloc.
45516         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45517         Free memory block if necessary.
45518
45519         [BZ #12847]
45520         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45521         be NULL.  Don't lock in this case.
45522
45523 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45524
45525         * elf/elf.h (ELFOSABI_GNU): New macro.
45526         (ELFOSABI_LINUX): Define to that.
45527
45528 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45529
45530         * string/strncat.c (strncat): Undef the symbol in case it has been
45531         defined in bits/string.h.
45532
45533 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45534
45535         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45536
45537         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45538         link map.
45539
45540 2011-08-17  Andreas Jaeger  <aj@suse.de>
45541
45542         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45543
45544 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45545             Ian Lance Taylor  <iant@google.com>
45546
45547         * math/libm-test.inc (lround_test): New testcase.
45548         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45549
45550 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45551
45552         * Makefile: Remove support for automatic cvs check-ins.
45553         * Makerules: Likewise.
45554         * config.make.in: Likewise.
45555         * configure.in: Likewise.
45556         * intl/Makefile: Likewise.
45557         * locale/Makefile: Likewise.
45558         * po/Makefile: Likewise.
45559         * posix/Makefile: Likewise.
45560         * sysdeps/gnu/Makefile: Likewise.
45561         * sysdeps/mach/hurd/Makefile: Likewise.
45562         * sysdeps/sparc/sparc32/Makefile: Likewise.
45563
45564         [BZ #13118]
45565         * posix/Makefile (bug-regex32-ENV): Define.
45566         Patch by John Stanley <jpsinthemix@verizon.net>.
45567
45568         * misc/Makefile (headers): Add bits/select2.h.
45569         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45570         * misc/bits/select2.h: New file.
45571         * include/bits/select2.h: New file.
45572         * debug/Makefile (routines): Add fdelt_chk.
45573         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45574         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45575         FD_ISSET.
45576         * debug/fdelt_chk.c: New file.
45577
45578         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45579         * wcsmbs/test-wmemcmp.c: Likewise.
45580         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45581         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45582
45583 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45584
45585         * string/Makefile (strop-tests): Add memcmp.
45586         * string/test-wmemcmp.c: New file.
45587         * string/test-memcmp.c: Add wmemcmp support.
45588
45589 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45590
45591         [BZ #13153]
45592         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45593         2011-07-19 change.
45594
45595         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45596         garbage value in a __mach_port_mod_refs call in the cases of the
45597         task-self and thread-self ports.
45598
45599 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45600
45601         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45602
45603 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45604
45605         * elf/dl-load.c (lose): Check for non-null L.
45606
45607 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45608
45609         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45610
45611         * elf/dl-libc.c (dlerror_run): Pass back error code from
45612         dl_catch_error.
45613
45614         [BZ #13123]
45615         * elf/dl-load.c (lose): Free l_origin if it is valid.
45616
45617         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45618         names.
45619         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45620         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45621         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45622         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45623         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45624         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45625
45626 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45627
45628         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45629         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45630         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45631         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45632         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45633         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45634         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45635         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45636         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45637         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45638
45639 2011-08-15  Alan Modra  <amodra@gmail.com>
45640
45641         [BZ #13092]
45642         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45643         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45644         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45645         ppc_mcount to static-only-routines.
45646         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45647         __mcount_internal.
45648         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45649         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45650
45651 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45652
45653         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45654         for finite and infinity parameters.
45655
45656 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45657
45658         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45659         and add nop instructions for throughput optimization.
45660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45661
45662 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45663
45664         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45665         aligned copy for power7 with vector-scalar instructions.
45666         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45667
45668 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45669
45670         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45671         AVX check.
45672
45673 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45674
45675         [BZ #13144]
45676         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45677         last change.
45678
45679 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45680
45681         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45682         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45683         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45684         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45685         clock_gettime.
45686
45687 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45688
45689         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45690         Forgot to demangle the pointer.
45691
45692         * sysdeps/i386/sysdep.h: Define atom_text_section.
45693         * sysdeps/x86_64/sysdep.h: Likewise.
45694         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45695         section with atom_text_section.
45696         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45697         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45698         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45699         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45700         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45701
45702         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45703         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45704         already be defined.  Change to take two parameters and don't assign
45705         result to variable.  Adjust all users.
45706         Define INTERNAL_GETTIME if not already defined.
45707         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45708         call.
45709         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45710         HAVE_CLOCK_GETTIME_VSYSCALL.
45711         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45712
45713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45714         gettimeofday vsyscall, just use time.
45715
45716 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45717
45718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45719         <errno.h>.
45720
45721 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45722
45723         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45724         syscall on x86-64.
45725         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45726         syscall.
45727         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45728         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45729         syscall if possible.
45730
45731 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45732
45733         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45734         e_ident.  Don't pass to find_mapsXX.
45735         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45736
45737 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45738
45739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45740         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45741         * sysdeps/x86_64/multiarch/strchr.S: Update.
45742         Check bit_slow_BSF bit.
45743         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45744         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45745         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45746
45747 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45748
45749         [BZ #13134]
45750         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45751         before glibc 2.15.
45752         (tryshell): Define.
45753         (__spawni): Change last parameter to be flag.  Test
45754         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45755         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45756         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45757         * posix/spawni.c: Likewise.
45758         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45759         * posix/spawnp.c: Likewise.  Change normal version to use
45760         SPAWN_XFLAGS_USE_PATH.
45761         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45762         SPAWN_XFLAGS_TRY_SHELL.
45763
45764         [BZ #13150]
45765         * posix/glob.h: Remove gcc 1.x support.
45766
45767         [BZ #13068]
45768         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45769
45770 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45771
45772         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45773         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45774         strrchr-sse2-bsf
45775         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45776         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45777         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45778         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45779         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45780         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45781
45782 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45783
45784         * sysdeps/x86_64/wcscmp.S: New file.
45785
45786         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45787         wcscmp-c wcscmp-sse2
45788         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45789         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45790         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45791         * wcsmbs/wcscmp.c: Allow renaming.
45792
45793 2011-09-05  David S. Miller  <davem@davemloft.net>
45794
45795         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45796         stack slot, rather than the struct return pointer slot.
45797         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45798         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45800         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45801
45802 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45803
45804         * po/ja.po: Update from translation team.
45805
45806         [BZ #13144]
45807         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45808         kernel in 64-bit binaries.
45809
45810 2011-09-01  David S. Miller  <davem@davemloft.net>
45811
45812         * elf/elf.h (HWCAP_SPARC_*): Move to..
45813         * sysdeps/sparc/sysdep.h: this new file and add new values.
45814         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45815         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45816         _DL_HWCAP_COUNT to 24.
45817         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45818         entries.
45819         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45820         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45821         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45822         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45823         instead of magic constants.
45824         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45825
45826 2011-08-31  David S. Miller  <davem@davemloft.net>
45827
45828         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45829         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45830         Reimplement to do errno handling inline.
45831         (SYSCALL_ERROR_HANDLER): New macro.
45832         (__SYSCALL_STRING): Do not do errno handling in asm.
45833         (__CLONE_SYSCALL_STRING): Delete.
45834         (__INTERNAL_SYSCALL_STRING): Delete.
45835         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45836         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45837         (PSEUDO): Reimplement to do errno handling inline.
45838         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45839         (SYSCALL_ERROR_HANDLER): New macro.
45840         (__SYSCALL_STRING): Do not do errno handling in asm.
45841         (__CLONE_SYSCALL_STRING): Delete.
45842         (__INTERNAL_SYSCALL_STRING): Delete.
45843         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45844         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45845         i386.
45846         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45847         (inline_syscall*): Add 'err' argument.
45848         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45849         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45850         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45851         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45852
45853         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45854         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45855
45856 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45857
45858         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45859
45860 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45861
45862         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45863         directive.
45864
45865 2011-08-24  David S. Miller  <davem@davemloft.net>
45866
45867         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45868
45869 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45870
45871         * elf/Makefile: Add rules to build and run unload8 test.
45872         * elf/unload8.c: New file.
45873         * elf/unload8mod1.c: New file.
45874         * elf/unload8mod1x.c: New file.
45875         * elf/unload8mod2.c: New file.
45876         * elf/unload8mod3.c: New file.
45877
45878         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45879         it wasn't used.
45880
45881 2011-08-23  David S. Miller  <davem@davemloft.net>
45882
45883         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45884         subtract stack bias.
45885         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45886         %sp not %fp in calculations.
45887         (_JMPBUF_UNWINDS_ADJ): Likewise.
45888
45889         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45890         (aio_suspend): Call it to force an exception region around the
45891         AIO_MISC_WAIT() invocation.
45892
45893 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45894
45895         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45896         backslash.
45897
45898 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45899
45900         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45901         protection macro.
45902         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45903         and <dl-machine.h>.
45904         (Elf64_FuncDesc): Remove.
45905
45906 2011-08-22  David S. Miller  <davem@davemloft.net>
45907
45908         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45909         sigaltstack check, add missing cfi directives.
45910         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45911         missing cfi directives, and sigaltstack handling.
45912
45913 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45914
45915         [BZ #11724]
45916         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45917         object is seen twice.
45918         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45919
45920         * elf/Makefile (distribute): Add tst-initorder2.c.
45921         (tests): Add tst-initorder2.
45922         (modules-names): Add tst-initorder2a tst-initorder2b
45923         tst-initorder2c tst-initorder2d.  Add rules to build them.
45924         ($(objpfx)tst-initorder2.out): New rule.
45925         * elf/tst-initorder2.c: New file.
45926         * elf/tst-initorder2.exp: New file.
45927
45928 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45929
45930         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45931
45932         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45933         dependencies back to end of function.
45934
45935         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45936         $(elfobjdir)/ld.so.
45937
45938 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45939
45940         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45941         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45942         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45943         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45944         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45945         of __vdso_gettimeofday.
45946         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45947         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45948         attribute_hidden.
45949         (_libc_vdso_platform_setup): Remove initialization of
45950         __vdso_gettimeofday and __vdso_time.
45951
45952 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45953
45954         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45955         and fgetc_unlocked.
45956         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45957         getc_unlocked.
45958
45959         * elf/dl-open.c (add_to_global): Report additions to the global scope
45960         for LD_DEBUG=scopes.
45961         (dl_open_worker): Also print scope of newly loaded dependencies.
45962         (_dl_show_scope): Indicate if there is no scope.
45963
45964         [BZ #13114]
45965         * stdio-common/Makefile (tests): Add bug24.
45966         * stdio-common/bug24.c: New file.
45967
45968 2011-08-19  Andreas Jaeger  <aj@suse.de>
45969
45970         [BZ #13114]
45971         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45972         non-existant file when using close-on-exec mode.
45973
45974 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45975
45976         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45977         the very first instruction.
45978
45979         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45980         the CFI state in the end.
45981         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45982         inclusion of dl-trampoline.h.
45983         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45984
45985 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45986
45987         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45988         expectations for long double.
45989
45990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45991         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45992
45993 2011-08-14  David S. Miller  <davem@davemloft.net>
45994
45995         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45996         artificual limit depends upon the system page size.
45997
45998 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45999
46000         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46001         * resolv/Makefile: Define CFLAGS-libresolv.
46002
46003 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46004
46005         * nss/makedb.c (compute_tables): Make variables used in nested
46006         function static.
46007
46008 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46009
46010         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46011         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46012         if buffer was too small.
46013
46014         * elf/pldd.c (main): Attach to all threads in the process.
46015         Rewrite /proc handling to use *at functions.
46016
46017 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46018
46019         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46020         specifies first scope to show.
46021         (dl_open_worker): Update callers.  Move printing scope of new
46022         object to before the relocation.
46023         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46024         * sysdeps/generic/ldsodefs.h: Update declaration.
46025
46026         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46027         string for the scope number.
46028
46029 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46030
46031         * nscd/servicescache.c (cache_addserv): Make sure written is always
46032         initialized.
46033
46034 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46035
46036         * sysdeps/i386/i486/bits/atomic.h
46037         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46038         statement expression, so as to suppress "set but not used" warning.
46039         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46040
46041         * string/strncat.c (STRNCAT): Use prototype definition.
46042
46043         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46044         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46045         -Iprograms here.
46046         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46047         (localedef-modules): Add localedef.
46048         (locale-modules): Add locale.
46049
46050         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46051         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46052         to avoid a warning.
46053
46054 2011-08-14  David S. Miller  <davem@davemloft.net>
46055
46056         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46057         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46058
46059 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46060
46061         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46062         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46063         * elf/rtld.c (dl_main): Set l_name of vDSO.
46064         Call _dl_show_scope when DL_DEBUG_SCOPES.
46065         (process_dl_debug): Recognize scopes flag and also set it for all.
46066         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46067         Declare _dl_show_scope.
46068
46069         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46070         (do_dlopen): Pass caller_dlopen to dl_open.
46071         (__libc_dlopen_mode): Initialize caller_dlopen.
46072
46073         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46074         of libc.  Make tolower call locale-independent.  Optimize a bit by
46075         using isdigit instead of isalnum.
46076         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46077
46078 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46079
46080         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46081         was a dependency or dynamically loaded.
46082
46083 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46084
46085         * intl/l10nflist.c: Allow architecture-specific pop function.
46086         * sysdeps/x86_64/l10nflist.c: New file.
46087
46088         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46089         classification.
46090
46091 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46092
46093         * include/dirent.h: Add libc_hidden_proto for scandirat and
46094         scandirat64.  Don't declare __scandirat64.
46095         * dirent/scandirat.c: Add libc_hidden_def.
46096         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46097         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46098
46099 2011-08-10  David S. Miller  <davem@davemloft.net>
46100
46101         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46102         enum.
46103         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46104         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46105         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46106
46107 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46108
46109         * Versions.def [libc]: Add GLIBC_2.15.
46110         * dirent/Makefile (routines): Add scandirat and scandirat64.
46111         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46112         GLIBC_2.15.
46113         * dirent/dirent.h: Declare scandirat and scandirat64.
46114         * dirent/scandirat.c: New file.
46115         * dirent/scandirat64.c: New file.
46116         * sysdeps/wordsize-64/scandirat.c: New file.
46117         * sysdeps/wordsize-64/scandirat64.c: New file.
46118         * dirent/opendir.c: Define opendirat.
46119         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46120         using scandirat.
46121         * dirent/scandir64.c: Adjust for scandir.c change.
46122         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46123         __scandirat64, and __scandir_cancel_handler.
46124         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46125         additional parameter and use openat instead of open (outside of ld.so).
46126         Add new __opendir as wrapper around __opendirat.
46127         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46128         here without requiring old scandirat implementation.
46129
46130 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46131
46132         * dirent/scandir.c (cancel_handler): Renamed to
46133         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46134         defined.  Adjust users.
46135         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46136         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46137
46138 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46139
46140         * string/test-string.h (IMPL): Use __STRING to expand name and then
46141         stringify it.
46142
46143         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46144         of cleanups.
46145
46146 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46147
46148         * string/Makefile: Update.
46149         (strop-tests): Append strncat.
46150         * string/test-wcscmp.c: New file.
46151         New comprehensive test for wcscmp.
46152         * string/test-strcmp.c: Update.
46153         (WIDE): New define.
46154
46155 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46156
46157         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46158         line.
46159
46160 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46161
46162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46163         encoding to ACE if AI_IDN.
46164
46165 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46166
46167         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46168         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46169
46170 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46171
46172         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46173         Fix overflow bug in strncat.
46174         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46175
46176         * string/test-strncat.c: Update.
46177         Add new tests for checking overflow bugs.
46178
46179 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46180
46181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46182         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46183         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46184         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46185         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46186         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46187         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46188         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46189         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46190
46191         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46192         (USE_AS_STRCAT): Define.
46193         Add strcat and strncat support.
46194         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46195
46196 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46197
46198         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46199         __n bigger than INT_MAX+1.
46200         (__strncmp_g): Likewise.
46201
46202 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46203
46204         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46205         * libio/stido.h: Likewise.
46206
46207         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46208         (AF_NFC): Define.
46209         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46210         (AF_NFC): Define.
46211
46212         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46213         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46214         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46215         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46216         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46217
46218         [BZ #13021]
46219         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46220         installed.
46221
46222         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46223         typo.
46224         (_dl_x86_64_save_sse): Likewise.
46225
46226 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46227
46228         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46229         OSXSAVE.
46230         (_dl_x86_64_save_sse): Likewise.
46231
46232         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46233
46234         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46235
46236 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46237
46238         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46239         change.
46240         (_dl_x86_64_save_sse): Use correct AVX check.
46241
46242 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46243
46244         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46245         bug in strncpy/strncat.
46246         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46247
46248 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46249
46250         * string/tester.c (test_strcat): Add tests for different alignments
46251         of source and destination.
46252         (test_strncat): Likewise.
46253
46254 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46255
46256         [BZ #12852]
46257         * posix/glob.c (glob): Check passed in values before using them in
46258         expressions to avoid some overflows.
46259         (glob_in_dir): Likewise.
46260
46261         [BZ #13007]
46262         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46263         check for AVX enablement so that we don't crash with old kernels and
46264         new hardware.
46265         * elf/tst-audit4.c: Add same checks here.
46266         * elf/tst-audit6.c: Likewise.
46267
46268         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46269
46270 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46271
46272         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46273
46274 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46275
46276         * po/cs.po: Update from translation team.
46277         * po/bg.po: Likewise.
46278
46279 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46280
46281         * misc/sys/cdefs.h: Add support for const attribute.
46282         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46283         to gnu_dev_{major,minor,makedev} functions.
46284
46285 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46286
46287         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46288
46289 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46290
46291         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46292         strlen results.
46293
46294 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46295
46296         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46297         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46298         register in order to avoid conflicts with the soft frame pointer
46299         being held in r11 when necessary.
46300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46301         (INTERNAL_VSYSCALL_NCS): Likewise.
46302
46303 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46304
46305         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46306         * elf/dl-fini.c (_dl_fini): Adjust caller.
46307         * elf/dl-close.c (_dl_close_worker): Likewise.
46308         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46309
46310 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46311
46312         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46313         "aux_cache->nlibs < 0".
46314
46315         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46316         in the reload-count case.
46317
46318 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46319
46320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46321         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46322         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46323         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46324         * sysdeps/x86_64/multiarch/strcat.S: New file.
46325         * sysdeps/x86_64/multiarch/strncat.S: New file.
46326         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46327         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46328         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46329         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46330         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46331         (USE_AS_STRCAT): Define.
46332         Add strcat and strncat support.
46333         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46334         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46335         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46336         * string/strncat.c: Update.
46337         (USE_AS_STRNCAT): Define.
46338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46339         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46340         and i7.
46341         * sysdeps/x86_64/multiarch/init-arch.h
46342         (bit_Prefer_PMINUB_for_stringop): New.
46343         (index_Prefer_PMINUB_for_stringop): Likewise.
46344         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46345         bit_Prefer_PMINUB_for_stringop.
46346
46347 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46348
46349         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46350         buffer64.
46351         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46352         of casting of buffer.
46353         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46354         buffer32 and buffer64.
46355         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46356         writes instead of casting of buffer.
46357         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46358         buffer32.
46359         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46360         casting of buffer.
46361
46362 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46363
46364         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46365
46366 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46367
46368         * nscd/nscd.c (termination_handler): Don't do anything for a database
46369         if it has not yet been initialized.
46370
46371 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46372
46373         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46374
46375 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46376
46377         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46378
46379 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46380
46381         * po/nl.po: Update from translation team.
46382         * po/sv.po: Likewise.
46383
46384 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46385
46386         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46387         now disallowed by GCC.
46388
46389         * configure.in (use-default-link): Default to yes if a test -shared
46390         link meets our qualifications.
46391         * configure: Regenerated.
46392
46393         * config.make.in (output-format): New variable.
46394         * configure.in: Check for ld --print-output-format support.
46395         * configure: Regenerated.
46396         * Makerules ($(common-objpfx)format.lds)
46397         [$(output-format) != unknown]: Just use $(output-format),
46398         instead of the linker-script munging.
46399
46400 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46401
46402         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46403         of $(common-objpfx)shlib.lds.
46404         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46405
46406         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46407         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46408
46409         * configure.in (-z relro check): Adjust test code to add a large
46410         writable data section after it.
46411         * configure: Regenerated.
46412
46413 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46414
46415         * configure.in (-z relro check): Fix test code to make the variable
46416         truly const.
46417         * configure: Regenerated.
46418
46419 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46420
46421         * nscd/nscd.h (struct traced_file): Define.
46422         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46423         elements.  Add traced_files.
46424         (inotify_fd): Declare.
46425         (register_traced_file): Declare.
46426         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46427         (inotify_fd): Export.
46428         (resolv_conf_descr): Remove.
46429         (nscd_init): Move inotify descriptor creation to main.
46430         Don't register files for notification here.
46431         (register_traced_file): New function.
46432         (invalidate_cache): Don't use reset_res to determine whether to call
46433         res_init, go through the list of registered files.
46434         (main_loop_poll): The inotify descriptors are now stored in the
46435         structures for the traced files.
46436         (main_loop_epoll): Likewise
46437         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46438         to __nss_disable_nscd.
46439         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46440         for a database anymore.  Check the records for all the registered
46441         files instead.
46442         * nss/Makefile (libnss_files-routines): Add files-init.
46443         (libnss_db-routines): Add db-init.
46444         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46445         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46446         * nss/nss_db/db-init.c: New file.
46447         * nss/nss_files/files-init.c: New file.
46448         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46449         __nss_lookup_function.
46450         (__nss_lookup_function): Call nss_load_library.
46451         (nss_load_all_libraries): New function.
46452         (__nss_disable_nscd): Take parameter with callback function for files
46453         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46454         used for the cached services.
46455         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46456         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46457         options for features to all the files in nscd.
46458
46459         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46460
46461 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46462
46463         * csu/elf-init.c (__libc_csu_init): Comment typo.
46464
46465 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46466
46467         * po/pl.po: Update from translation team.
46468         * po/ja.po: Likewise.
46469         * po/ru.po: Likewise.
46470         * po/ko.po: Likewise.
46471         * po/fr.po: Likewise.
46472
46473 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46474
46475         * configure.in (.ctors/.dtors header and trailer check):
46476         Use an empirical test on a built program.
46477         * configure: Regenerated.
46478
46479         * configure.in (-z relro check): Use an empirical test on a built DSO.
46480         Detect, but do not require, on ia64.
46481         * configure: Regenerated.
46482
46483         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46484         Update tests that use readelf to use $READELF instead.
46485         * configure: Regenerated.
46486
46487 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46488
46489         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46490         if the result is not used.
46491
46492 2011-07-05  Andreas Jaeger  <aj@suse.de>
46493
46494         [BZ#9696]
46495         * stdlib/tst-strtod.c: Add testcase.
46496
46497 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46498
46499         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46500         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46501         The latter has a higher limit.  Take additional parameter to pass to
46502         the new function.
46503         (__pathconf): Pass file to __statfs_link_max.
46504         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46505         __statfs_link_max.
46506         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46507         __statfs_link_max.
46508
46509         [BZ #12868]
46510         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46511         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46512         Handle Lustre.
46513         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46514         (__statfs_filesize_max): Likewise.
46515         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46516
46517 2011-07-05  Andreas Jaeger  <aj@suse.de>
46518
46519         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46520
46521 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46522
46523         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46524         `status' variable.
46525         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46526         Likewise.
46527
46528 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46529
46530         * Makefile (strop-tests): Add strncat.
46531         * string/test-strncat.c: New file.
46532
46533 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46534
46535         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46536
46537 2011-06-21  Andreas Jaeger  <aj@suse.de>
46538
46539         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46540         Copy rule from iconvdata/Makefile.
46541
46542 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46543
46544         [BZ #12922]
46545         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46546         but no long options are defined, just return 'W'.
46547
46548 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46549
46550         [BZ #9696]
46551         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46552
46553 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46554
46555         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46556         netgroups to read.
46557         (innetgr): Likewise.
46558
46559 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46560
46561         * config.make.in (install_root): Default to $(DESTDIR).
46562
46563 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46564
46565         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46566
46567 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46568
46569         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46570
46571         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46572         containing directory rather than embedding absolute directory names.
46573
46574         * scripts/check-local-headers.sh: Rewritten using awk.
46575         Match by word, not by line.  Print error messages for matches.
46576         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46577
46578         * Makerules [shlib-lds-flags empty]:
46579         ($(common-objpfx)libc_pic.opts): New target.
46580         ($(common-objpfx)libc_pic.os.clean): New target.
46581         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46582
46583         * config.make.in (OBJCOPY): New variable.
46584         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46585         * configure: Regenerated.
46586
46587         * config.make.in (use-default-link): New variable.
46588         * configure.in (use_default_link): Grok --with-default-link to set it.
46589         * configure: Regenerated.
46590         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46591         (shlib-lds, shlib-lds-flags): Define to empty.
46592
46593         * Makerules (shlib-lds): New variable.
46594         (shlib-lds-flags): New variable.
46595         (build-shlib, build-moduile, build-module-asneeded): Use it.
46596         ($(common-objpfx)libc.so): Use $(shlib-lds).
46597         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46598         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46599
46600         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46601         DT_FLAGS/DT_FLAGS_1 with zero flags.
46602
46603         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46604         linker script munging.
46605
46606 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46607
46608         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46609         as 128-bit value.
46610         * crypt/sha512.c (sha512_process_block): Perform total addition using
46611         128-bit if possible.
46612         (__sha512_finish_ctx): Likewise.
46613         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46614         as 64-bit value.
46615         * crypt/sha256.c (SWAP64): Define.
46616         (sha256_process_block): Perform total addition using 64-bit if
46617         possible.
46618         (__sha256_finish_ctx): Likewise.
46619
46620 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46621
46622         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46623         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46624         * nscd/hstcache.c (cache_addhst): Likewise.
46625         * nscd/grpcache.c (cache_addgr): Likewise.
46626         * nscd/aicache.c (addhstaiX): Likewise
46627         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46628
46629 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46630
46631         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46632         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46633         * nscd/hstcache.c (cache_addhst): Likewise.
46634         * nscd/grpcache.c (cache_addgr): Likewise.
46635         * nscd/aicache.c (addhstaiX): Likewise
46636
46637 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46638
46639         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46640         domain only when needed.
46641
46642 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46643
46644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46645         is always restored.
46646
46647 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46648
46649         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46650         are re-adding the entry.
46651         * nscd/servicescache.c (cache_addserv): Likewise.
46652
46653 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46654
46655         * sysdeps/generic/dl-irel.h: fix protection against multiple
46656         inclusions.
46657         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46658
46659 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46660
46661         [BZ #12935]
46662         * malloc/memusage.sh: Fix quoting in message.
46663         * debug/xtrace.sh: Likewise.
46664
46665         * configure.in: Remove support for --experimental-malloc option, make
46666         it the default.
46667         * config.make.in: Likewise.
46668         * malloc/Makefile: Likewise.
46669
46670 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46671
46672         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46673         two-byte characters.
46674
46675 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46676
46677         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46678         AC_CACHE_CHECK invocation.
46679         * configure: Regenerated.
46680
46681         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46682
46683 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46684
46685         [BZ #12350]
46686         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46687         bit from old_res_options.
46688
46689         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46690
46691         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46692         value type for setfct.
46693
46694 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46695
46696         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46697         __gettimeofday instead of gettimeofday.
46698
46699 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46700
46701         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46702
46703 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46704
46705         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46706
46707         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46708         info.
46709
46710 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46711
46712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46713         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46714         strcpy-sse2-unaligned strncpy-sse2-unaligned
46715         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46716         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46717         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46718         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46719         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46720         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46721         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46722         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46723         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46724         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46725         (STRCPY): Support SSE2 and SSSE3 versions.
46726
46727 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46728
46729         [BZ #12874]
46730         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46731         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46732         kernels which artificially limit size of requests.
46733
46734 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46735
46736         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46737         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46738         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46739         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46740         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46741         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46742         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46743         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46744         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46745         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46746         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46747         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46748         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46749         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46750         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46752         Enable unaligned load optimization for Intel Core i3, i5 and i7
46753         processors.
46754         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46755         Define.
46756         (index_Fast_Unaligned_Load): Define.
46757         (HAS_FAST_UNALIGNED_LOAD): Define.
46758
46759 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46760
46761         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46762
46763 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46764
46765         [BZ #12907]
46766         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46767         until it is clear that the information is realy needed.
46768         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46769
46770 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46771
46772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46773
46774 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46775
46776         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46777         /sys/devices/system/cpu/online if it is usable.
46778
46779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46780         reading the information from the /proc filesystem to once a second.
46781
46782 2011-06-21  Andreas Jaeger  <aj@suse.de>
46783
46784         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46785         NULL after inclusion of kernel headers.
46786
46787 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46788
46789         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46790         calls to internal_setent.
46791
46792         [BZ #12885]
46793         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46794         addresses using gethostbyname4_r ignore IPv4 addresses.
46795
46796         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46797         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46798
46799         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46800
46801 2011-06-20  David S. Miller  <davem@davemloft.net>
46802
46803         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46804         inclusions.
46805         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46806
46807         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46808         (elf_irel): Use it.
46809         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46810         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46811         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46812         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46813         * sysdeps/x86_64/dl-irel.h: Likewise.
46814
46815         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46816         * elf/dl-sym.c: Likewise.
46817
46818 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46819
46820         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46821         need to dereference resplen2.
46822
46823 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46824
46825         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46826
46827 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46828
46829         * Makeconfig: Define vardbdir and inst_vardbdir.
46830         * nss/Makefile: Add rules to install db-Makefile.
46831
46832         * nss/nss_db/db-XXX.c: Cleanup.
46833
46834         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46835         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46836         GLIBC_PRIVATE.
46837         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46838         * nss/makedb.c: Implement -g option to specify that value strings
46839         are generated and should not be added to table iterated over for
46840         get*ent calls.
46841         * nss/nss_db/db-initgroups.c: New file.
46842
46843         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46844         interface.
46845
46846         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46847         (internal_getgrouplist): Adjust to name change.
46848         Update use_initgroups_entry if this is not the first call.
46849         * nss/databases.def: Add initgroups entry.
46850
46851         * nss/makedb.c (compute_tables): Check result of multiple hash table
46852         sizes to minimize maximum chain length.
46853
46854 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46855
46856         * Versions.def: Add entry for libnss_db.
46857         * shlib-versions: Likewise.
46858         * nss/Makefile: Add rules to build libnss_db.
46859         * nss/Versions: Add libnss_db information.  Organize libnss_files
46860         entries better.
46861         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46862         makedb progra.  Some minor improvements to generate smaller files.
46863         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46864         here from...
46865         * nss/makedb.c: ...here.
46866         Improve database format to be smaller and require less memory at
46867         runtime.
46868         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46869         db anymore.
46870         * nss/nss_db/db-netgrp.c: Likewise.
46871         * nss/nss_db/db-open.c: Likewise.
46872         * nss/nss_files/flies-XXX.x: Adjust comments.
46873         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46874         * nss/nss_files/files-grp.c: Likewise.
46875         * nss/nss_files/files-hosts.c: Likewise.
46876         * nss/nss_files/files-network.c: Likewise.
46877         * nss/nss_files/files-proto.c: Likewise.
46878         * nss/nss_files/files-pwd.c: Likewise.
46879         * nss/nss_files/files-rpc.c: Likewise.
46880         * nss/nss_files/files-service.c: Likewise.
46881         * nss/nss_files/files-sgrp.c: Likewise.
46882         * nss/nss_files/files-spwd.c: Likewise.
46883         * nss/nss_db/db-alias.c: Removed.
46884         * nss/nss_db/dummy-db.h: Removed.
46885
46886 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46887
46888         * nss/makedb.c: Rewritten to not use database library.
46889         * nss/Makefile: Update to build new makedb program.
46890
46891 2011-06-14  Andreas Jaeger  <aj@suse.de>
46892
46893         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46894         memset declaration.
46895
46896 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46897
46898         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46899         tmpbuf.
46900
46901 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46902
46903         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46904         * elf/Makefile ($(objpfx)ld.so): Likewise.
46905
46906         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46907         Don't list ld.so twice in dependencies.
46908
46909         * posix/bug-regex31.c: Include <stdlib.h>.
46910
46911         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46912
46913         * nis/nss_compat/compat-spwd.c
46914         (getspent_next_nss_netgr): Remove unused variable.
46915         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46916
46917         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46918         nonmembers" output to use the right array.
46919
46920         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46921
46922         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46923
46924         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46925         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46926         * catgets/gencat.c (read_input_file): Likewise.
46927         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46928
46929         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46930         variable definition inside #if's controlling its use.
46931
46932         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46933
46934         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46935
46936         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46937
46938         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46939         unreachable code.
46940
46941         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46942
46943         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46944         * configure: Regenerated.
46945
46946         * Makerules: Revert last change.
46947         * elf/Makefile: Likewise.
46948
46949 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46950
46951         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46952         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46953         (reloc-link): Likewise.
46954
46955 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46956
46957         * elf/Makefile: Add rules to build pldd.
46958         * elf/pldd.c: New file.
46959         * elf/pldd-xx.c: New file.
46960
46961 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46962
46963         * version.h: Update for 2.15 development version.
46964
46965 2011-06-07  David S. Miller  <davem@davemloft.net>
46966
46967         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46968         ifuncs.
46969         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46970         elf_machine_lazy_rel): Likewise.
46971         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46972         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46973         elf_machine_lazy_rel): Likewise.
46974         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46975         dl_hwcap via passed in argument.
46976         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46977         Likewise.
46978
46979 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46980
46981         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46982
46983 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46984
46985         [BZ #12849]
46986         * manual/fdl-1.1.texi: New file, verbatim from:
46987         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46988         * manual/lgpl-2.1.texi: New file, verbatim from:
46989         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46990         * manual/Makefile (licenses): New variable, list those new file names.
46991         (texis): Use it.
46992         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46993
46994         * manual/fdl.texi: File removed.
46995         * manual/lesser.texi: File removed.
46996         * manual/libc.texinfo (Copying, Documentation License):
46997         Use new @include file names, put @appendix directive before @include.
46998
46999 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47000
47001         [BZ #12841]
47002         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47003         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47004         (mq_open): Add __NTH.
47005
47006 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47007
47008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47009         Assume Intel Core i3/i5/i7 processor if AVX is available.
47010
47011 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47012
47013         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47014         typo.
47015
47016 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47017
47018         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47019         memory.  Use alloca_account.  Fix memory leak when retrying.
47020
47021 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47022
47023         * version.h (RELEASE): Bump for 2.14 release.
47024         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47025
47026         * config.make.in (RANLIB): Remove entry.
47027
47028 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47029
47030         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47031         (libc.pot): Work around missing support for .ksh extension in xgettext.
47032
47033         [BZ #12684]
47034         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47035         if both request failed.
47036         (send_dg): In case of server errors clear resplen or *resplen2.
47037
47038         [BZ #12454]
47039         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47040         when there are multiple maps.
47041         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47042         (_dl_fini): Remove test here.
47043
47044         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47045
47046 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47047
47048         [BZ #12350]
47049         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47050         bit from old_res_options.
47051         (gaih_inet): Likewise.
47052
47053         [BZ #11099]
47054         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47055         as signed.
47056
47057         * resolv/res_init.c (res_setoptions): Make the code more compact.
47058
47059         [BZ #11558]
47060         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47061         set RES_USEVC.
47062
47063         [BZ #11634]
47064         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47065
47066         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47067
47068         [BZ #11781]
47069         * malloc/malloc.h: Declare malloc hook variables as volatile.
47070
47071         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47072         in last patch.
47073
47074         [BZ #11799]
47075         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47076         raise in the comment.
47077         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47078         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47079         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47080
47081 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47082
47083         [BZ #12811]
47084         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47085         grow the buffers more if it already has to be sufficient.
47086         (build_wcs_upper_buffer): Likewise.
47087         * posix/regexec.c (check_matching): Likewise.
47088         (clean_state_log_if_needed): Likewise.
47089         (extend_buffers): Don't enlarge buffers beyond size of the input
47090         buffer.
47091         Patches mostly by Emil Wojak <emil@wojak.eu>.
47092         * posix/bug-regex32.c: New file.
47093         * posix/Makefile (tests): Add bug-regex32.
47094
47095         * locale/findlocale.c (_nl_find_locale): Return right away if
47096         _nl_explode_name failed.
47097         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47098
47099         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47100
47101         * debug/xtrace.sh: Unify messages.
47102         * malloc/memusage.sh: Likewise.
47103
47104         [BZ #12813]
47105         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47106         time symbol from vDSO.  Substitute with vsyscall if not available.
47107         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47108         __vdso_time.
47109
47110         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47111         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47112         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47113         Add sendmmsg and internal_sendmmsg.
47114         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47115         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47116         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47117
47118         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47119         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47120         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47121
47122 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47123
47124         [BZ #12813]
47125         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47126         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47127         available.
47128         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47129         __vdso_getcpu.
47130
47131         [BZ #12814]
47132         * iconvdata/Makefile (tests): Add bug-iconv9.
47133         * iconvdata/bug-iconv9.c: New file.
47134
47135 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47136
47137         [BZ #12814]
47138         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47139
47140 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47141
47142         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47143         (struct user_regs_struct): Change intcs field back to cs.
47144
47145 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47146
47147         * po/ja.po: Update from translation team.
47148
47149 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47150
47151         [BZ #12795]
47152         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47153         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47154
47155 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47156
47157         * stdlib/longlong.h: Update from GCC.
47158
47159 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47160
47161         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47162         parameter name.
47163         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47164         Add parameter name.
47165         (__sysconf): Pass it down.
47166
47167 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47168
47169         [BZ #12671]
47170         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47171         some situations.
47172         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47173         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47174         add in in __libc_use_alloca calls.  Adjust callers.
47175         (glob): Use malloc in some situations.
47176
47177         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47178         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47179         pltexit.
47180
47181 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47182
47183         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47184         and CLOCK_BOOTTIME_ALARM.
47185
47186         [BZ #12782]
47187         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47188         is returned.
47189
47190         * string/_strerror.c (__strerror_r): Print negative errors as signed
47191         numbers.
47192
47193         [BZ #12777]
47194         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47195         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47196         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47197
47198         * configure.in: Fix typo in redirection and correct removal of test
47199         files in two cases.
47200
47201         [BZ #12788]
47202         * locale/setlocale.c (new_composite_name): Fix test to check for
47203         identical name of all categories.
47204
47205         [BZ #12792]
47206         * libio/filedoalloc.c (local_isatty): New function.
47207         (_IO_file_doallocate): Use local_isatty.
47208         * stdio-common/perror.c (perror): In case a new stream is used
47209         forward the stream error.
47210         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47211         error flag.
47212
47213 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47214
47215         [BZ #11869]
47216         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47217         alloca.
47218         * include/alloca.h (extend_alloca_account): Define.
47219
47220         [BZ #11857]
47221         * posix/regex.h: Fix comments with documentation of user-accessible
47222         fields after compilation and describe correct free'ing of pattern
47223         after re_compile_pattern.
47224         Patch by Reuben Thomas <rrt@sc3d.org>.
47225
47226 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47227
47228         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47229         and -mno-altivec to prevent the compiler from using Altivec and/or
47230         VSX instructions when the corresponding registers are not available.
47231
47232 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47233
47234         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47235
47236 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47237
47238         * libio/freopen.c (freopen): Use __dup2, not dup2.
47239         * libio/freopen64.c (freopen64): Likewise.
47240
47241 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47242
47243         [BZ #12775]
47244         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47245         * math/Makefile (tests): Add test-powl.
47246         (CFLAGS-test-powl.c): Define.
47247         * math/test-powl.c: New file.
47248
47249 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47250
47251         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47252
47253 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47254
47255         [BZ #11837]
47256         * iconvdata/gb18030.c: Update to GB18020-2005.
47257
47258 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47259
47260         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47261         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47262         Patch by Aharon Robbins <arnold@skeeve.com>.
47263
47264         [BZ #11892]
47265         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47266         on the stack.
47267
47268         [BZ #11895]
47269         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47270         through underflows.
47271
47272         [BZ #12766]
47273         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47274         point to strings before performing equality test for error_one_per_line
47275         mode.
47276
47277         [BZ #11697]
47278         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47279
47280         [BZ #11820]
47281         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47282         (struct user_fpregs_struct): Avoid __uint*_t types.
47283
47284         [BZ #6420]
47285         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47286         symbol info.  Use it instead of calling _dl_addr locally.
47287         (lock_and_info): New function.
47288         (tr_freehook): Call lock_and_info and pass symbol info as additional
47289         parameter to tr_where.
47290         (tr_mallochook): Likewise.
47291         (tr_reallochook): Likewise.
47292         (tr_memalignhook): Likewise.
47293
47294         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47295         used and couldn't be at all thread-safe.
47296
47297 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47298
47299         * libio/freopen.c (freopen): Don't close old file descriptor
47300         before the new one is opened.  Instead dup the new file descriptor
47301         to the old one after the new stream is created.
47302         * libio/freopen64.c (freopen64): Likewise.
47303         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47304         * libio/fileops.c (_IO_new_file_close_it): Handle new
47305         _IO_FLAGS2_NOCLOSE flag.
47306         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47307         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47308         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47309         _IO_FLAGS2_NOCLOSE flag.
47310         * include/unistd.h: Add hidden_proto for dup3.
47311         Define __have_dup3.
47312         * io/dup3.c: Define hidden symbol.
47313         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47314
47315         [BZ #7101]
47316         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47317         when an incomplete long option is used.
47318         * posix/tst-getopt_long1.c: New file.
47319         * posix/Makefile (tests): Add tst-getopt_long1.
47320
47321         [BZ #10138]
47322         * scripts/config.guess: Update from autoconf-2.68.
47323         * scripts/config.sub: Likewise.
47324
47325         [BZ #10157]
47326         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47327         tests into ...
47328         (has_cpuclock): ...this.  New function.
47329         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47330         macro here based on has_cpuclock code.
47331
47332         [BZ #10149]
47333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47334         First byte (not low byte) is now always NUL.
47335         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47336
47337         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47338         Use non-cancelable interfaces.
47339
47340         [BZ #9809]
47341         * locale/iso-639.def: Add entry for Sorani.
47342
47343         [BZ #11901]
47344         * include/stdlib.h: Move include protection to the right place.
47345         Define abort_msg_s.  Declare __abort_msg with it.
47346         * stdlib/abort.c (__abort_msg): Adjust type.
47347         * assert/assert.c (__assert_fail_base): New function.  Majority
47348         of code from __assert_fail.  Allocate memory for __abort_msg with
47349         mmap.
47350         (__assert_fail): Now call __assert_fail_base.
47351         * assert/assert-perr.c: Remove bulk of implementation.  Use
47352         __assert_fail_base.
47353         * include/assert.hL Declare __assert_fail_base.
47354         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47355         mmap.
47356         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47357
47358 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47359
47360         [BZ #11952]
47361         [BZ #12453]
47362         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47363         until all modules are registered in the DTV.
47364         * elf/Makefile: Add rules to build and run tst-tls19.
47365         * elf/tst-tls19.c: New file.
47366         * elf/tst-tls19mod1.c: New file.
47367         * elf/tst-tls19mod2.c: New file.
47368         * elf/tst-tls19mod3.c: New file.
47369         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47370
47371         [BZ #12083]
47372         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47373         correctly.
47374
47375         [BZ #12601]
47376         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47377         two-byte sequence errors.
47378         * iconvdata/Makefile (tests): Add bug-iconv8.
47379         * iconvdata/bug-iconv8.c: New file.
47380
47381         [BZ #12626]
47382         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47383         buf2 definition.
47384
47385         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47386
47387         [BZ #12432]
47388         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47389         (dummy_getcfa): New function.
47390         (init): Get _Unwind_GetCFA address, use dummy if not found.
47391         (backtrace_helper): In recursion check, also check whether CFA changes.
47392         (__backtrace): Completely initialize arg.
47393
47394         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47395         storing incomplete byte sequence in state object.  Avoid testing for
47396         guaranteed too small input if we know there is enough data available.
47397
47398 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47399
47400         * Makeconfig (+link-pie): Indent.
47401         * Rules (binaries-pie): Define if $(have-fpie) and
47402         $(build-shared).
47403         (binaries-shared): Also filter out $(binaries-pie).
47404         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47405         * nscd/Makefile (others-pie): Add nscd.
47406         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47407         ($(objpfx)nscd): Remove command override.
47408         * login/Makefile (others-pie): Add pt_chown.
47409         ($(objpfx)pt_chown): Remove command override.
47410         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47411         remove command overrides.
47412
47413 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47414
47415         * libio/tst_putwc.c: Fix error messages.
47416
47417         [BZ #12724]
47418         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47419         currently writing and seek to current position when not.
47420         * libio/Makefile (tests): Add bug-fclose1.
47421         * libio/bug-fclose1.c: New file.
47422
47423 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47424
47425         [BZ #12511]
47426         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47427         don't set DF_1_NODELETE here.
47428         (do_lookup_x): When entering new entry test for copy relocation
47429         and if necessary set DF_1_NODELETE flag.
47430         * elf/tst-unique4.cc: New file.
47431         * elf/tst-unique4.h: New file.
47432         * elf/tst-unique4lib.cc: New file.
47433         * elf/Makefile: Add rules to build and run tst-unique4.
47434         Patch by Piotr Bury <pbury@goahead.com>.
47435
47436 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47437
47438         [BZ #12052]
47439         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47440
47441         [BZ #12625]
47442         * misc/mntent_r.c (addmntent): Flush the stream after the output
47443
47444         [BZ #12393]
47445         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47446         (is_trusted_path_normalize): Skip initial colon.  Append slash
47447         to empty buffer.  Duplicate is_trusted_path code but allow
47448         constructed patch to be prefix.
47449         (is_dst): Allow $ORIGIN followed by /.
47450         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47451         Correct testing of result of is_trusted_path_normalize
47452         (decompose_rpath): Fix warning.
47453
47454 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47455
47456         [BZ #11257]
47457         * grp/initgroups.c (internal_getgrouplist): When we found the service
47458         list through the initgroups entry in nsswitch.conf do not always
47459         continue on a successful lookup.  Don't always use the
47460         __nss_group_database value if it is set.
47461         * nss/nsswitch.conf (initgroups): Change action for successful db
47462         lookup to continue for compatibility.
47463
47464 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47465
47466         [BZ #11532]
47467         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47468         and CP774 modules.
47469         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47470         and CP774 modules.
47471         * iconvdata/tst-tables.sh: Likewise.
47472         * iconvdata/cp770.c: New file.
47473         * iconvdata/cp771.c: New file.
47474         * iconvdata/cp772.c: New file.
47475         * iconvdata/cp773.c: New file.
47476         * iconvdata/cp774.c: New file.
47477         * iconvdata/testdata/CP770: New file.
47478         * iconvdata/testdata/CP770..UTF8: New file.
47479         * iconvdata/testdata/CP771: New file.
47480         * iconvdata/testdata/CP771..UTF8: New file.
47481         * iconvdata/testdata/CP772: New file.
47482         * iconvdata/testdata/CP772..UTF8: New file.
47483         * iconvdata/testdata/CP773: New file.
47484         * iconvdata/testdata/CP773..UTF8: New file.
47485         * iconvdata/testdata/CP774: New file.
47486         * iconvdata/testdata/CP774..UTF8: New file.
47487
47488         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47489         END CHARMAP line.
47490         * iconvdata/gen-8bit-gap.sh: Likewise.
47491         * iconvdata/gen-8bit.sh: Likewise.
47492
47493         * locale/iso-639.def: Add ary entry.
47494
47495         [BZ #11258]
47496         * locale/C-translit.h.in: Add U20A1 transliteration.
47497
47498         [BZ #12178]
47499         * locale/iso-639.def: Add wae entry.
47500         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47501
47502         [BZ #12545]
47503         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47504         for n.
47505
47506         [BZ #12711]
47507         * locale/C-translit.h.in: Add entry for U20B9.
47508         Patch by pravin.d.s@gmail.com.
47509
47510 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47511
47512         [BZ #12713]
47513         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47514         ENAMETOOLONG use generic getcwd.
47515         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47516         in rtld.  Use *stat64.
47517         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47518         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47519         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47520         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47521         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47522         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47523         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47524         __fstatat64 macros.
47525         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47526         * dirent/rewinddir.c: Add libc_hidden_def.
47527         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47528         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47529
47530         * include/dirent.h (__alloc_dir): Add flags parameter.
47531         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47532         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47533         __alloc_dir.
47534         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47535         from fdopendir if O_CLOEXEC is already set.
47536
47537 2011-03-15  Alan Modra  <amodra@gmail.com>
47538
47539         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47540         l_tls_firstbyte_offset non-zero.  Save padding offset in
47541         l_tls_firstbyte_offset for later use.
47542         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47543         freeing static tls block.
47544
47545 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47546
47547         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47548         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47549         being defined by the kernel headers.
47550
47551 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47552
47553         [BZ #12734]
47554         * resolv/resolv.h: Define RES_NOTLDQUERY.
47555         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47556         no-tld-query and set RES_NOTLDQUERY.
47557         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47558         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47559         modern BIND to search name as TLD unless forbidden.
47560
47561 2011-05-07  Petr Baudis  <pasky@suse.cz>
47562             Ulrich Drepper  <drepper@gmail.com>
47563
47564         [BZ #12393]
47565         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47566         (is_trusted_path): ...to here.
47567         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47568         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47569         using is_trusted_path_normalize() in setuid scripts.
47570
47571 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47572
47573         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47574         __BEGIN/__END_DECLS.
47575
47576 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47577
47578         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47579         NSS_STATUS_NOTFOUND if no record was found.
47580
47581 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47582
47583         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47584         (headers-not-in-tirpc): Remove rpc/netdb.h
47585         * resolv/netdb.h: Revert last change.
47586
47587 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47588
47589         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47590         circular dependency between libgcc.a and libc.a.
47591
47592 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47593
47594         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47595         * nis/Makefile: Don't install rpcsvc/*.
47596         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47597         instead of <rpc/types.h>.
47598         (MAXHOSTNAMELEN): Define.
47599
47600 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47601
47602         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47603
47604 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47605
47606         [BZ #12714]
47607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47608         gethostbyname4_r when IPv6 results are possible.
47609
47610 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47611
47612         [BZ #12723]
47613         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47614         _PC_PIPE_BUF handling.
47615
47616 2011-04-30  Bruno Haible  <bruno@clisp.org>
47617
47618         [BZ #12717]
47619         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47620         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47621         to 'int'.
47622         * inet/getnameinfo.c (getnameinfo): Likewise.
47623
47624 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47625
47626         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47627         to groups setting in database lookup.
47628         * nss/nsswitch.conf: Add initgroups entry.
47629
47630 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47631
47632         [BZ #12685]
47633         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47634         mode string.
47635         Patch by Eric Blake <eblake@redhat.com>.
47636
47637 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47638
47639         * sunrpc/Makefile (need-export-routines): Add svc_run.
47640         (routines): Remove svc_run.
47641         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47642         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47643         * sunrpc/svc_run.c (svc_run): Likewise.
47644         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47645
47646 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47647
47648         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47649         problem in reallocation in last patch.
47650
47651 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47652
47653         * sunrpc/Makefile: Move inclusion of Rules.
47654
47655 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47656
47657         * nss/nss_files/files-initgroups.c: New file.
47658         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47659         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47660         _nss_files_initgroups_dyn.
47661
47662 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47663
47664         * elf/elf.h (R_ARM_IRELATIVE): Define.
47665
47666 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47667
47668         * po/ru.po: Update from translation team.
47669
47670 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47671
47672         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47673         dependencies.
47674
47675 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47676
47677         [BZ #12653]
47678         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47679         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47680         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47681         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47682         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47683
47684 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47685
47686         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47687         differing bytes.
47688         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47689         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47690         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47691
47692 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47693
47694         [BZ #12420]
47695         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47696         storing it.
47697         * stdlib/bug-getcontext.c: New file.
47698         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47699
47700 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47701
47702         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47703         instructions into .machine "z9-109".
47704         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47705         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47706
47707 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47708
47709         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47710         between environment variables and auxiliary vector.
47711
47712 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47713
47714         * Makefile: Add rules to build linkobj/libc.so.
47715         * include/libc-symbols.h: Define libc_hidden_nolink.
47716         * include/rpc/auth.h: Mark functions which are to be hidden.
47717         * include/rpc/auth_des.h: Likewise.
47718         * include/rpc/auth_unix.h: Likewise.
47719         * include/rpc/clnt.h: Likewise.
47720         * include/rpc/des_crypt.h: Likewise.
47721         * include/rpc/key_prot.h: Likewise.
47722         * include/rpc/pmap_clnt.h: Likewise.
47723         * include/rpc/pmap_prot.h: Likewise.
47724         * include/rpc/pmap_rmt.h: Likewise.
47725         * include/rpc/rpc_msg.h: Likewise.
47726         * include/rpc/svc.h: Likewise.
47727         * include/rpc/svc_auth.h: Likewise.
47728         * include/rpc/xdr.h: Likewise.
47729         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47730         * nss/Makefile: Likewise.
47731         * sunrpc/Makefile: Don't install headers.  Build library with normal
47732         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47733         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47734         for the compat linking library.  Remove use of INTDEF/INTUSE.
47735         * sunrpc/auth_none.c: Likewise.
47736         * sunrpc/auth_unix.c: Likewise.
47737         * sunrpc/authdes_prot.c: Likewise.
47738         * sunrpc/authuxprot.c: Likewise.
47739         * sunrpc/clnt_gen.c: Likewise.
47740         * sunrpc/clnt_perr.c: Likewise.
47741         * sunrpc/clnt_raw.c: Likewise.
47742         * sunrpc/clnt_simp.c: Likewise.
47743         * sunrpc/clnt_tcp.c: Likewise.
47744         * sunrpc/clnt_udp.c: Likewise.
47745         * sunrpc/clnt_unix.c: Likewise.
47746         * sunrpc/des_crypt.c: Likewise.
47747         * sunrpc/des_soft.c: Likewise.
47748         * sunrpc/get_myaddr.c: Likewise.
47749         * sunrpc/key_call.c: Likewise.
47750         * sunrpc/key_prot.c: Likewise.
47751         * sunrpc/netname.c: Likewise.
47752         * sunrpc/pm_getmaps.c: Likewise.
47753         * sunrpc/pm_getport.c: Likewise.
47754         * sunrpc/pmap_clnt.c: Likewise.
47755         * sunrpc/pmap_prot.c: Likewise.
47756         * sunrpc/pmap_prot2.c: Likewise.
47757         * sunrpc/pmap_rmt.c: Likewise.
47758         * sunrpc/publickey.c: Likewise.
47759         * sunrpc/rpc_cmsg.c: Likewise.
47760         * sunrpc/rpc_common.c: Likewise.
47761         * sunrpc/rpc_dtable.c: Likewise.
47762         * sunrpc/rpc_prot.c: Likewise.
47763         * sunrpc/rpc_thread.c: Likewise.
47764         * sunrpc/rtime.c: Likewise.
47765         * sunrpc/svc.c: Likewise.
47766         * sunrpc/svc_auth.c: Likewise.
47767         * sunrpc/svc_authux.c: Likewise.
47768         * sunrpc/svc_raw.c: Likewise.
47769         * sunrpc/svc_run.c: Likewise.
47770         * sunrpc/svc_simple.c: Likewise.
47771         * sunrpc/svc_tcp.c: Likewise.
47772         * sunrpc/svc_udp.c: Likewise.
47773         * sunrpc/svc_unix.c: Likewise.
47774         * sunrpc/svcauth_des.c: Likewise.
47775         * sunrpc/xcrypt.c: Likewise.
47776         * sunrpc/xdr.c: Likewise.
47777         * sunrpc/xdr_array.c: Likewise.
47778         * sunrpc/xdr_float.c: Likewise.
47779         * sunrpc/xdr_intXX_t.c: Likewise.
47780         * sunrpc/xdr_mem.c: Likewise.
47781         * sunrpc/xdr_rec.c: Likewise.
47782         * sunrpc/xdr_ref.c: Likewise.
47783         * sunrpc/xdr_sizeof.c: Likewise.
47784         * sunrpc/xdr_stdio.c: Likewise.
47785
47786 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47787
47788         [BZ #12650]
47789         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47790         * sysdeps/ia64/dl-tls.h: Likewise.
47791         * sysdeps/powerpc/dl-tls.h: Likewise.
47792         * sysdeps/s390/dl-tls.h: Likewise.
47793         * sysdeps/sh/dl-tls.h: Likewise.
47794         * sysdeps/sparc/dl-tls.h: Likewise.
47795         * sysdeps/x86_64/dl-tls.h: Likewise.
47796         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47797
47798 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47799
47800         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47801         rpath element also skip the following colon.
47802         (expand_dynamic_string_token): Add is_path parameter and pass
47803         down to DL_DST_REQUIRED and _dl_dst_substitute.
47804         (decompose_rpath): Call expand_dynamic_string_token with
47805         non-zero is_path.  Ignore empty rpaths.
47806         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47807         with zero is_path.
47808
47809 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47810
47811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47812         Make cancelable.
47813
47814 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47815
47816         [BZ #12655]
47817         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47818         Patch by Filipe David Manana <fdmanana@apache.org>.
47819
47820 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47821
47822         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47823         Maintain aligned stack.
47824         (CHECK_RSP): Remove unused macro.
47825
47826 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47827
47828         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47829         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47830
47831 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47832
47833         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47834
47835         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47836
47837 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47838
47839         [BZ #12518]
47840         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47841         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47842         * sysdeps/x86_64/memmove.c: New file.
47843         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47844         (memcpy): Renamed to ...
47845         (__new_memcpy): This.
47846         (memcpy): Provide GLIBC_2_14 memcpy.
47847         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47848         (memcpy): Provide GLIBC_2_2_5 memcpy.
47849
47850 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47851
47852         [BZ #12631]
47853         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47854
47855 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47856
47857         * misc/syncfs.c: New file.
47858         * misc/Makefile (routines): Add syncfs.
47859         * posix/unistd.h: Declare syncfs.
47860         * sysdeps/unix/syscalls.list: Add syncfs.
47861
47862 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47863
47864         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47865         open_by_handle_at.
47866         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47867         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47868         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47869         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47870         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47871         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47872         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47873
47874 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47875
47876         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47877         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47878         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47879         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47880         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47881         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47882         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47883
47884         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47885         sync_file_range.c with -fexceptions.
47886         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47887         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47888         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47889         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47890         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47891         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47892         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47893         sync_file_range as cancellation point
47894         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47895         now a wrapper around __call_sync_file_range with cancellation handling.
47896         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47897         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47898         function name to __call_sync_file_range.
47899         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47900         Add call_sync_file_range.
47901
47902 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47903
47904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47905         bits/timex.h.
47906
47907 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47908
47909         * iconv/iconv.h: Fix typo in comment.
47910         * io/fcntl.h: Likewise.
47911         * libio/stdio.h: Likewise.
47912         * posix/spawn.h: Likewise.
47913         * posix/unistd.h: Likewise.
47914         * stdlib/stdlib.h: Likewise.
47915         * time/time.h: Likewise.
47916         * wcsmbs/wchar.h: Likewise.
47917
47918         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47919         open_by_handle): Add.
47920         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47921         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47922         Augment a few comments.
47923         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47925         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47927         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47928         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47929         open_by_handle.
47930
47931         * io/fcntl.h (AT_EMPTY_PATH): Define.
47932
47933 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47934
47935         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47936         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47937         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47938         to...
47939         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47940         * Versions.def: Add GLIBC_2.14.
47941         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47942         Export.
47943
47944 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47945
47946         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47947         round counter.
47948         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47949
47950 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47951
47952         [BZ #12597]
47953         * string/test-strncmp.c (do_page_test): New function.
47954         (check2): Likewise.
47955         (test_main): Call check2.
47956         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47957
47958 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47959
47960         [BZ #12587]
47961         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47962         Handle cache information in CPU leaf 4.
47963         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47964
47965 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47966
47967         [BZ #12583]
47968         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47969         character representation.
47970         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47971
47972 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47973
47974         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47975         END(__isnan) to END(__isnanf) to match function entry point/label
47976         EALIGN(__isnanf,...).
47977
47978 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47979
47980         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47981
47982 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47983
47984         [BZ #12510]
47985         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47986         copy from the symbol referenced in the relocation to initialize the
47987         used variable.
47988         Patch by Piotr Bury <pbury@goahead.com>.
47989         * elf/Makefile: Add rules to build and tst-unique3.
47990         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47991         * elf/tst-unique3.cc: New file.
47992         * elf/tst-unique3.h: New file.
47993         * elf/tst-unique3lib.cc: New file.
47994         * elf/tst-unique3lib2.cc: New file.
47995
47996         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47997
47998 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47999
48000         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48001         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48002         to _start.
48003
48004 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48005
48006         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48007         to-be-loaded object along a path to loader is ld.so.
48008
48009 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48010             Ulrich Drepper  <drepper@gmail.com>
48011
48012         * sysdeps/x86_64/memset.S: After aligning destination, code
48013         branches to different locations depending on the value of
48014         misalignment, when multiarch is enabled. Fix this.
48015
48016 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48017
48018         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48019         Set _x86_64_preferred_memory_instruction for AMD processsors.
48020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48021         Set bit_Prefer_SSE_for_memop for AMD processors.
48022
48023 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48024
48025         * libio/fmemopen.c (fmemopen): Optimize a bit.
48026
48027 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48028
48029         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48030
48031 2011-03-03  Roland McGrath  <roland@redhat.com>
48032
48033         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48034
48035 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48036
48037         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48038         __bzero_ultra1 instead of __memset_ultra1.
48039
48040 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48041             Ulrich Drepper  <drepper@gmail.com>
48042
48043         [BZ #12509]
48044         * include/link.h (struct link_map): Add l_orig_initfini.
48045         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48046         returning unsuccessfully.
48047         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48048         close of a file loaded at startup, restore the original l_initfini
48049         list.
48050         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48051         list, store the pointer.
48052         * elf/Makefile ($(objpfx)noload-mem): New rule.
48053         (noload-ENV): Define.
48054         (tests): Add $(objpfx)noload-mem.
48055         * elf/noload.c: Include <memcheck.h>.
48056         (main): Call mtrace.  Close all opened handles.
48057
48058 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48059
48060         [BZ #12454]
48061         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48062         dependencies are missing.
48063
48064 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48065
48066         Fix __if_freereq crash: Unlike the generic version which uses free,
48067         Hurd needs munmap.
48068         * sysdeps/mach/hurd/ifreq.h: New file.
48069
48070 2011-01-27  Petr Baudis  <pasky@suse.cz>
48071             Ulrich Drepper  <drepper@gmail.com>
48072
48073         [BZ 12445]#
48074         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48075         to extend_alloca().
48076         * stdio-common/bug23.c: New file.
48077         * stdio-common/Makefile (tests): Add bug23.
48078
48079 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48080             Ulrich Drepper  <drepper@gmail.com>
48081
48082         [BZ #12489]
48083         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48084         before performing relro protection.  At old place add assertion
48085         to make sure nothing changed.
48086
48087 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48088             Glauber de Oliveira Costa  <glommer@gmail.com>
48089
48090         * elf/elf.h: Add new ARM TLS relocs.
48091
48092 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48093
48094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48095         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48096         cast from r3.
48097         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48098         'tests' variable.
48099         * sysdeps/wordsize-64/tst-writev.c: New file.
48100
48101 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48102
48103         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48104         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48105         insns in _dl_start to prevent a TOC reference before relocs are
48106         resolved.
48107
48108 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48109
48110         [BZ #12469]
48111         * Makeconfig: Remove RANLIB definition.
48112         * Makerules: Don't use RANLIB.
48113         * aclocal.m4: Remove ranlib test.
48114         * configure.in: No need to check for ranlib.
48115         * elf/rtld-Rules: Don't use RANLIB.
48116
48117 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48118
48119         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48120         protection macro.
48121         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48122         inclusion protection macro.
48123
48124         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48125         SIGRTMIN and SIGRTMAX and print information in that case only when
48126         SIGRTMIN is defined.
48127
48128 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48129
48130         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48131         arginfo fn returning -1.
48132
48133         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48134         and thousands string is zero terminated.
48135
48136 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48137
48138         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48139         sysdeps/unix/sysv/linux/bits/socket.h.
48140
48141 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48142
48143         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48144         (__CPU_COUNT): Remove old macros.
48145         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48146         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48147         (__CPU_ALLOC, __CPU_FREE): Add macros.
48148         (__sched_cpualloc, __sched_cpufree): Add declarations.
48149
48150 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48151
48152         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48153         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48154         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48155         (readdhstai): Return value of addhstaiX call.
48156         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48157         (addgrbyX): Return value returned by cache_addgr.
48158         (readdgrbyname): Return value returned by addgrbyX.
48159         (readdgrbygid): Likewise.
48160         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48161         (addpwbyX): Return value returned by cache_addpw.
48162         (readdpwbyname): Return value returned by addhstbyX.
48163         (readdpwbyuid): Likewise.
48164         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48165         (addservbyX): Return value returned by cache_addserv.
48166         (readdservbyname): Return value returned by addservbyX:
48167         (readdservbyport): Likewise.
48168         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48169         (addhstbyX): Return value returned by cache_addhst.
48170         (readdhstbyname): Return value returned by addhstbyX.
48171         (readdhstbyaddr): Likewise.
48172         (readdhstbynamev6): Likewise.
48173         (readdhstbyaddrv6): Likewise.
48174         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48175         (readdinitgroups): Return value returned by addinitgroupsX.
48176         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48177         (prune_cache): Keep track of timeout value of re-added entries.
48178         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48179         * nscd/nscd.h: Adjust prototypes of readd* functions.
48180
48181 2011-02-04  Roland McGrath  <roland@redhat.com>
48182
48183         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48184         (nis_stats): Likewise.
48185         * nis/nis_modify.c (nis_modify): Likewise.
48186         * nis/nis_remove.c (nis_remove): Likewise.
48187         * nis/nis_add.c (nis_add): Likewise.
48188
48189         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48190
48191         * posix/fnmatch_loop.c: Add some consts.
48192
48193         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48194
48195 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48196
48197         [BZ #12460]
48198         * config.make.in (config-cflags-novzeroupper): Define.
48199         * configure.in: Substitute libc_cv_cc_novzeroupper.
48200         * elf/Makefile (AVX-CFLAGS): Define.
48201         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48202         (CFLAGS-tst-auditmod4a.c): Likewise.
48203         (CFLAGS-tst-auditmod4b.c): Likewise.
48204         (CFLAGS-tst-auditmod6b.c): Likewise.
48205         (CFLAGS-tst-auditmod6c.c): Likewise.
48206         (CFLAGS-tst-auditmod7b.c): Likewise.
48207         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48208
48209 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48210
48211         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48212         function to the callback.
48213         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48214
48215 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48216
48217         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48218         of errno.
48219
48220 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48221
48222         [BZ #11724]
48223         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48224         of constructors.
48225         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48226         of destructors.
48227         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48228
48229         [BZ #11724]
48230         * elf/Makefile: Add rules to build and run new test.
48231         * elf/tst-initorder.c: New file.
48232         * elf/tst-initorder.exp: New file.
48233         * elf/tst-initordera1.c: New file.
48234         * elf/tst-initordera2.c: New file.
48235         * elf/tst-initordera3.c: New file.
48236         * elf/tst-initordera4.c: New file.
48237         * elf/tst-initorderb1.c: New file.
48238         * elf/tst-initorderb2.c: New file.
48239         * elf/tst-order-a1.c: New file.
48240         * elf/tst-order-a2.c: New file.
48241         * elf/tst-order-a3.c: New file.
48242         * elf/tst-order-a4.c: New file.
48243         * elf/tst-order-b1.c: New file.
48244         * elf/tst-order-b2.c: New file.
48245         * elf/tst-order-main.c: New file.
48246         New test case by George Gensure <werkt0@gmail.com>.
48247
48248 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48249
48250         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48251         decoding ACE if AI_CANONIDN.
48252
48253 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48254
48255         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48256
48257 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48258
48259         * version.h (RELEASE): Bump for 2.13 release.
48260         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48261
48262         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48263
48264         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48265         MADV_NOHUGEPAGE.
48266         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48267         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48268         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48269         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48270         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48271         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48272
48273         * posix/getconf.c: Update copyright year.
48274         * catgets/gencat.c: Likewise.
48275         * csu/version.c: Likewise.
48276         * debug/catchsegv.sh: Likewise.
48277         * debug/xtrace.sh: Likewise.
48278         * elf/ldconfig.c: Likewise.
48279         * elf/ldd.bash.in: Likewise.
48280         * elf/sprof.c (print_version): Likewise.
48281         * iconv/iconv_prog.c: Likewise.
48282         * iconv/iconvconfig.c: Likewise.
48283         * locale/programs/locale.c: Likewise.
48284         * locale/programs/localedef.c: Likewise.
48285         * malloc/memusage.sh: Likewise.
48286         * malloc/mtrace.pl: Likewise.
48287         * nscd/nscd.c (print_version): Likewise.
48288         * nss/getent.c: Likewise.
48289
48290         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48291         PF_CAIF, and PF_ALG.
48292         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48293
48294 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48295
48296         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48297         (modules-names): Use them.
48298         (ifunc-test-modules, ifunc-pie-tests): Define.
48299         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48300         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48301         (test-extras): Likewise.
48302         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48303         $(compile-command.c).
48304         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48305         (all-built-dso): Define.
48306         (check-textrel.out, check-execstack.out): Depend on it.
48307
48308         * configure.in: Don't override --enable-multi-arch.
48309
48310 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48311
48312         [BZ #6812]
48313         * nscd/hstcache.c (tryagain): Define.
48314         (cache_addhst): Return tryagain not notfound for temporary errors.
48315         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48316         failed.
48317
48318 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48319
48320         [BZ #10563]
48321         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48322         to make the syscall.
48323         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48324
48325         [BZ #12378]
48326         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48327         and fall back to matching as normal character if the string ends before
48328         the matching ']' is found.  This is what POSIX requires.
48329         * posix/testfnm.c: Adjust test result.
48330         * posix/globtest.sh: Adjust test result.  Add new test.
48331         * posix/tst-fnmatch.input: Likewise.
48332         * posix/tst-fnmatch2.c: Add new test.
48333
48334 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48335
48336         * elf/Makefile (check-execstack): Revert last change.  Depend on
48337         check-execstack.h.
48338         (check-execstack.h): New target.
48339         (generated): Add check-execstack.h.
48340         * elf/check-execstack.c: Include "check-execstack.h".
48341         (main): Revert last change.
48342         (handle_file): Return zero if GNU_STACK is absent and
48343         DEFAULT_STACK_PERMS doesn't include PF_X.
48344
48345 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48346
48347         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48348         in child fails because the descriptor is already closed.
48349         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48350         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48351         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48352
48353         [BZ #12397]
48354         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48355         syscall.
48356
48357         [BZ #10484]
48358         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48359         temporary buffer used to handle multi lookups locally.
48360         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48361
48362 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48363
48364         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48365         loader is ld.so.
48366
48367 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48368
48369         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48370         alignment for SSE2.
48371
48372 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48373
48374         [BZ #12394]
48375         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48376         characters.  When rounding increased number of integer digits recompute
48377         number of groups.
48378         * stdio-common/tst-grouping.c: New file.
48379         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48380
48381 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48382
48383         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48384         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48385
48386         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48387         void.
48388         * bits/select.h: Likewise.
48389
48390 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48391
48392         * po/ja.po: Update from translation team.
48393
48394 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48395
48396         [BZ #11155]
48397         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48398         implementation just like for lxstat, fxstatat, et al.
48399
48400 2010-12-27  Jim Meyering  <meyering@redhat.com>
48401
48402         [BZ #12348]
48403         * posix/regexec.c (build_trtable): Return failure indication upon
48404         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48405
48406 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48407
48408         [BZ #12201]
48409         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48410         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48411         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48412         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48413
48414         [BZ #12207]
48415         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48416
48417         [BZ #12204]
48418         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48419         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48420
48421 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48422
48423         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48424         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48425         script has SORT_BY_INIT_PRIORITY.
48426         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48427         NO_CTORS_DTORS_SECTIONS is defined.
48428         * elf/soinit.c: Likewise.
48429         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48430         NO_CTORS_DTORS_SECTIONS is defined.
48431         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48432         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48433         * sysdeps/sh/init-first.c: Likewise.
48434         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48435
48436 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48437
48438         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48439         always use the slow path.
48440
48441 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48442
48443         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48444         similar rule which adds the sysdep directories to the header search in
48445         order to pick up the correct platform stackinfo.h.
48446         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48447         perform test if it is, otherwise return successfully without testing.
48448         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48449         DEFAULT_STACK_PERMS define in stackinfo.h.
48450         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48451         defined in stackinfo.h.
48452         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48453         DEFAULT_STACK_PERMS defined in stackinfo.h.
48454         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48455         * sysdeps/ia64/stackinfo.h: Likewise.
48456         * sysdeps/s390/stackinfo.h: Likewise.
48457         * sysdeps/sh/stackinfo.h: Likewise.
48458         * sysdeps/sparc/stackinfo.h: Likewise.
48459         * sysdeps/x86_64/stackinfo.h: Likewise.
48460         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48461         PF_X for powerpc64.  Retain PF_X for powerpc32.
48462
48463 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48464
48465         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48466         accurately.
48467         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48468         GETDENTS_64BIT_ALIGNED.
48469
48470 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48471
48472         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48473
48474 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48475
48476         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48477         _GNU_SOURCE.
48478
48479         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48480         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48481         Remove __restrict.
48482         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48483         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48484
48485 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48486
48487         [BZ #11655]
48488         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48489         are initialized.
48490
48491 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48492
48493         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48494
48495 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48496
48497         * po/it.po: Update from translation team.
48498
48499 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48500
48501         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48502         unused codes.
48503
48504 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48505
48506         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48507
48508 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48509
48510         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48511         specially.
48512         (gaih_getanswer_slice): Likewise.
48513
48514 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48515
48516         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48517
48518 2010-05-31  Petr Baudis  <pasky@suse.cz>
48519
48520         [BZ #11149]
48521         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48522         silently even in the chroot mode.
48523
48524 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48525
48526         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48527         last patch a bit.  Pretty printing
48528
48529 2010-05-31  Petr Baudis <pasky@suse.cz>
48530
48531         [BZ #10085]
48532         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48533         initialization of skip_initgroups_dyn.
48534
48535 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48536
48537         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48538         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48539
48540 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48541
48542         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48543
48544 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48545
48546         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48547         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48548         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48549         ($(objpfx)tst-fnmatch-mem): New rule.
48550         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48551         * posix/tst-fnmatch.c (main): Call mtrace.
48552
48553 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48554
48555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48556         Support Intel processor model 6 and model 0x2c.
48557
48558 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48559
48560         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48561           signed comparison.
48562
48563 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48564
48565         [BZ #12205]
48566         * string/test-strncasecmp.c (check_result): New function.
48567         (do_one_test): Use it.
48568         (check1): New function.
48569         (test_main): Use it.
48570         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48571         Support strcasecmp and strncasecmp.
48572
48573 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48574
48575         [BZ #12194]
48576         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48577         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48578
48579 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48580
48581         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48582         IFUNC support.
48583         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48584         memset-x86-64.
48585         * sysdeps/x86_64/multiarch/bzero.S: New file.
48586         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48587         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48588         * sysdeps/x86_64/multiarch/memset.S: New file.
48589         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48590         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48591         Set bit_Prefer_SSE_for_memop for Intel processors.
48592         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48593         Define.
48594         (index_Prefer_SSE_for_memop): Define.
48595         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48596
48597 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48598
48599         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48600         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48601
48602 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48603
48604         [BZ #12191]
48605         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48606         (__x86_64_raw_data_cache_size_half): Likewise.
48607         (__x86_64_raw_shared_cache_size): Likewise.
48608         (__x86_64_raw_shared_cache_size_half): Likewise.
48609
48610         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48611         (__x86_64_raw_data_cache_size_half): Likewise.
48612         (__x86_64_raw_shared_cache_size): Likewise.
48613         (__x86_64_raw_shared_cache_size_half): Likewise.
48614         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48615         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48616         and __x86_64_raw_shared_cache_size_half.  Round
48617         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48618         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48619         to multiple of 256 bytes.
48620
48621 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48622
48623         [BZ #12167]
48624         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48625         of inacessible symlinks.  Verify result of symlink before returning it.
48626         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48627         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48628
48629 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48630
48631         * math/math.h (isinf): Fix typo in comment.
48632
48633 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48634
48635         * po/da.po: Update from translation team.
48636
48637 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48638
48639         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48640         is added to the list.
48641
48642 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48643             Ulrich Drepper  <drepper@gmail.com>
48644
48645         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48646         the global list here.  Move code to...
48647         (_dl_add_to_namespace_list): ...here.  New function.
48648         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48649         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48650         * elf/dl-load.c (lose): Don't remove the element from the list.
48651         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48652         (_dl_map_object): Likewise.
48653
48654 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48655
48656         [BZ #12159]
48657         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48658         into all bytes of SSE register.
48659         Patch by Richard Li <richardpku@gmail.com>.
48660
48661 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48662
48663         [BZ #12140]
48664         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48665         perturbing.
48666
48667 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48668
48669         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48670         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48671         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48672         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48674         submachine.
48675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48676
48677 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48678
48679         * include/dlfcn.h (__RTLD_SECURE): Define.
48680         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48681         mode & __RTLD_SECURE instead.
48682         (open_path): Rename preloaded parameter to secure.
48683         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48684         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48685         * elf/dl-deps.c (openaux): Likewise.
48686         * elf/rtld.c (struct map_args): Remove is_preloaded.
48687         (map_doit): Don't use it.
48688         (dl_main): Likewise.
48689         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48690         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48691
48692 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48693
48694         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48695         (sysd-rules-targets): Remove duplicates.
48696         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48697         rtld-%.$o dependency.
48698
48699 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48700
48701         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48702         _dl_map_object do it.
48703
48704 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48705
48706         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48707         fast fma builtins, define the macros in the C99 standard.
48708         (FP_FAST_FMAF): Likewise.
48709         (FP_FAST_FMAL): Likewise.
48710         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48711
48712         * bits/mathdef.h: Update copyright year.
48713         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48714
48715 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48716
48717         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48718         builtins, define the macros in the C99 standard.
48719         (FP_FAST_FMAF): Likewise.
48720         (FP_FAST_FMAL): Likewise.
48721         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48722         multiply/add.
48723         (FP_FAST_FMAF): Likewise.
48724
48725 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48726
48727         [BZ #3268]
48728         * math/libm-test.inc (fma_test): Some new testcases.
48729         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48730         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48731         y and infinite z.  Do multiplication by C already in long double.
48732         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48733         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48734         y and infinite z.  Do bitwise or of inexact bit into u.d.
48735         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48736         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48737         * sysdeps/i386/fpu/s_fma.S: Removed.
48738         * sysdeps/i386/fpu/s_fmal.S: Removed.
48739
48740 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48741
48742         [BZ #3268]
48743         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48745         computation is not scheduled after fetestexcept.  Fix value
48746         of minimum denormal long double.
48747
48748 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48749
48750         [BZ #3268]
48751         * math/libm-test.inc (fma_test): Add some more tests.
48752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48753         correctly.
48754
48755 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48756
48757         * scripts/data/localplt-s390-linux-gnu.data: New file.
48758         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48759
48760 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48761
48762         [BZ #3268]
48763         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48764         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48765         instead of dbl-64.
48766         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48767         inlines.
48768         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48769         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48770         if one of x and y is very large and the other is subnormal.
48771         * sysdeps/s390/fpu/s_fmaf.c: New file.
48772         * sysdeps/s390/fpu/s_fma.c: New file.
48773         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48774         * sysdeps/powerpc/fpu/s_fma.S: New file.
48775         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48776         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48777         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48778
48779 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48780
48781         [BZ #3268]
48782         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48783         fma tests.
48784         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48785         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48786         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48787         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48788         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48789         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48790         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48791
48792 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48793
48794         [BZ #12078]
48795         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48796         * posix/bug-regex31.input: Add test case.
48797
48798 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48799
48800         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48801         * posix/bug-regex31.input: New file.
48802
48803         [BZ #12078]
48804         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48805         (parse_sub_exp): Fix last change, use postorder.
48806
48807         * posix/bug-regex31.c: New file.
48808         * posix/Makefile: Add rules to build and run bug-regex31.
48809
48810         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48811
48812         [BZ #12078]
48813         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48814
48815         [BZ #12108]
48816         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48817         to have entries in sys_siglist.
48818
48819         [BZ #12093]
48820         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48821         be NULL.
48822
48823 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48824
48825         [BZ #3268]
48826         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48827         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48828         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48829         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48830         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48831         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48832         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48833         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48834         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48835         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48836         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48837         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48838         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48839         * math/ftestexcept.c (fetestexcept): Likewise.
48840         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48841         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48842         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48843         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48844         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48845         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48846         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48847
48848 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48849
48850         [BZ #12107]
48851         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48852         newline.
48853
48854 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48855
48856         * string/bug-strstr1.c: New file.
48857         * string/Makefile: Add rules to build and run bug-strstr1.
48858
48859 2010-10-05  Eric Blake  <eblake@redhat.com>
48860
48861         [BZ #12092]
48862         * string/str-two-way.h (two_way_long_needle): Always clear memory
48863         when skipping input due to the shift table.
48864
48865 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48866
48867         [BZ #12005]
48868         * malloc/mcheck.c: Handle large requests.
48869
48870         [BZ #12077]
48871         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48872         for strncmp and strncasecmp.
48873         * string/stratcliff.c: Add tests for strcmp and strncmp.
48874         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48875
48876 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48877
48878         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48879         __set_fpscr.
48880
48881 2010-09-30  Andreas Jaeger  <aj@suse.de>
48882
48883         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48884         (CGROUP_SUPER_MAGIC): Define.
48885         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48886         Handle btrfs and cgroup file systems.
48887         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48888         Likewise.
48889
48890 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48891
48892         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48893         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48894
48895 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48896
48897         [BZ #12067]
48898         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48899         trying to locate the ELF header.
48900
48901 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48902
48903         [BZ #11611]
48904         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48905         Mask out sign-bit copies when constructing f_fsid.
48906
48907 2010-09-24  Petr Baudis <pasky@suse.cz>
48908
48909         * debug/stack_chk_fail_local.c: Add missing licence exception.
48910         * debug/warning-nop.c: Likewise.
48911
48912 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48913
48914         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48915         implementing getdents64 using getdents syscall, set d_type if
48916         __ASSUME_GETDENTS32_D_TYPE.
48917
48918 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48919
48920         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48921         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48922
48923 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48924
48925         [BZ #12037]
48926         * posix/unistd.h: Undo change of feature selection for ftruncate from
48927         2010-01-11.
48928
48929 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48930
48931         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48932         detection.
48933
48934 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48935
48936         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48937         fanotify_mark.
48938         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48939
48940 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48941
48942         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48943         variables after CHECK_SP call.
48944         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48945
48946 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48947             Ulrich Drepper  <drepper@redhat.com>
48948
48949         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48950         re-relocationg ld.so.
48951         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48952         _dl_init_paths call.
48953         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48954         here anymore.
48955
48956 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48957
48958         * resolv/res_init.c (__res_vinit): Count the default server we added.
48959
48960 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48961             Ulrich Drepper  <drepper@redhat.com>
48962
48963         [BZ #11968]
48964         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48965         (____longjmp_chk): Use %ebx for saving value across system call.
48966         Add unwind info.
48967
48968 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48969
48970         * manual/Makefile: Don't mix pattern rules with normal rules.
48971
48972 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48973
48974         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48975         operation.
48976         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48977         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48978         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48979         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48980         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48981         Likewise.
48982
48983 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48984
48985         [BZ #11979]
48986         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48987         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48988
48989 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48990
48991         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48992         * sysdeps/x86_64/addmul_1.S: Likewise.
48993         * sysdeps/x86_64/lshift.S: Likewise.
48994         * sysdeps/x86_64/mul_1.S: Likewise.
48995         * sysdeps/x86_64/rshift.S: Likewise.
48996         * sysdeps/x86_64/sub_n.S: Likewise.
48997         * sysdeps/x86_64/submul_1.S: Likewise.
48998
48999 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49000
49001         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49002         Define __sched_param instead of SCHED_* and sched_param when
49003         <bits/sched.h> is included with __need_schedparam defined.
49004         * bits/sched.h [__need_schedparam]
49005         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49006         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49007         (__defined_schedparam): Define to 1.
49008         (__sched_param): New structure, identical to sched_param.
49009         (__need_schedparam): Undefine.
49010
49011 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49012
49013         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49014         (epoll_create1): Declare.
49015
49016         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49017
49018 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49019
49020         [BZ #7066]
49021         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49022         shifting retval into place.
49023
49024 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49025
49026         * nis/rpcsvc/nis.h: Update copyright notice.
49027         * nis/rpcsvc/nis.x: Likewise.
49028         * nis/rpcsvc/nis_callback.h: Likewise.
49029         * nis/rpcsvc/nis_callback.x: Likewise.
49030         * nis/rpcsvc/nis_object.x: Likewise.
49031         * nis/rpcsvc/nis_tags.h: Likewise.
49032         * nis/rpcsvc/yp.h: Likewise.
49033         * nis/rpcsvc/yp.x: Likewise.
49034         * nis/rpcsvc/ypupd.h: Likewise.
49035         * nis/yp_xdr.c: Likewise.
49036         * nis/ypupdate_xdr.c: Likewise.
49037
49038         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49039         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49040         (pmap_getport): Use __libc_rpc_getport.
49041         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49042         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49043         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49044
49045 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49046
49047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49048         fanotify_mark.
49049
49050 2010-08-27  Roland McGrath  <roland@redhat.com>
49051
49052         * sysdeps/i386/i686/multiarch/Makefile
49053         (CFLAGS-varshift.c): New variable.
49054
49055 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49056
49057         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49058         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49059
49060         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49061
49062         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49063
49064 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49065
49066         * sysdeps/x86_64/strlen.S: Unroll the loop.
49067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49068         strlen-sse2 strlen-sse2-bsf.
49069         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49070         __strlen_no_bsf if bit_Slow_BSF is set.
49071         (__strlen_sse42): Removed.
49072         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49073         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49074
49075 2010-08-25  Roland McGrath  <roland@redhat.com>
49076
49077         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49078         * sysdeps/x86_64/multiarch/varshift.c: New file.
49079         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49080         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49081         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49082         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49083
49084 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49085
49086         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49087         strlen-sse2 strlen-sse2-bsf.
49088         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49089         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49090         (__strlen_sse2): Removed.
49091         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49092         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49094         bit_Slow_BSF for Atom.
49095         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49096         (index_Slow_BSF): Define.
49097         (HAS_SLOW_BSF): Define.
49098
49099 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49100
49101         [BZ #10851]
49102         * resolv/res_init.c (__res_vinit): When no server address at all
49103         is given default to loopback.
49104
49105 2010-08-24  Roland McGrath  <roland@redhat.com>
49106
49107         * configure.in: Remove config-name.h generation.
49108         * configure: Regenerated.
49109         * config-name.in: File removed.
49110         * scripts/config-uname.sh: New file.
49111         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49112         ($(objdir)config-name.h): New target.
49113
49114         * sunrpc/rpc_parse.h: Avoid nested comment.
49115
49116 2010-08-24  Richard Henderson  <rth@redhat.com>
49117             Ulrich Drepper  <drepper@redhat.com>
49118             H.J. Lu  <hongjiu.lu@intel.com>
49119
49120         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49122         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49123         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49124         _mm_alignr_epi8 with _mm_loadu_si128.
49125         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49126         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49127         (__m128i_shift_right): Removed.
49128         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49129         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49130         * sysdeps/x86_64/multiarch/varshift.h: New file.
49131         * sysdeps/x86_64/multiarch/varshift.S: New file.
49132
49133 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49134
49135         * configure.in: Move assembler checks to before sysdep dir checking.
49136
49137 2010-08-20  Petr Baudis  <pasky@suse.cz>
49138
49139         * LICENSES: Sync the sunrpc license.
49140
49141 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49142
49143         * sunrpc/auth_des.c: Update copyright notice once again.
49144         * sunrpc/auth_none.c: Likewise.
49145         * sunrpc/auth_unix.c: Likewise.
49146         * sunrpc/authdes_prot.c: Likewise.
49147         * sunrpc/authuxprot.c: Likewise.
49148         * sunrpc/bindrsvprt.c: Likewise.
49149         * sunrpc/clnt_gen.c: Likewise.
49150         * sunrpc/clnt_perr.c: Likewise.
49151         * sunrpc/clnt_raw.c: Likewise.
49152         * sunrpc/clnt_simp.c: Likewise.
49153         * sunrpc/clnt_tcp.c: Likewise.
49154         * sunrpc/clnt_udp.c: Likewise.
49155         * sunrpc/clnt_unix.c: Likewise.
49156         * sunrpc/des_crypt.c: Likewise.
49157         * sunrpc/des_soft.c: Likewise.
49158         * sunrpc/get_myaddr.c: Likewise.
49159         * sunrpc/getrpcport.c: Likewise.
49160         * sunrpc/key_call.c: Likewise.
49161         * sunrpc/key_prot.c: Likewise.
49162         * sunrpc/openchild.c: Likewise.
49163         * sunrpc/pm_getmaps.c: Likewise.
49164         * sunrpc/pm_getport.c: Likewise.
49165         * sunrpc/pmap_clnt.c: Likewise.
49166         * sunrpc/pmap_prot.c: Likewise.
49167         * sunrpc/pmap_prot2.c: Likewise.
49168         * sunrpc/pmap_rmt.c: Likewise.
49169         * sunrpc/rpc/auth.h: Likewise.
49170         * sunrpc/rpc/auth_unix.h: Likewise.
49171         * sunrpc/rpc/clnt.h: Likewise.
49172         * sunrpc/rpc/des_crypt.h: Likewise.
49173         * sunrpc/rpc/key_prot.h: Likewise.
49174         * sunrpc/rpc/netdb.h: Likewise.
49175         * sunrpc/rpc/pmap_clnt.h: Likewise.
49176         * sunrpc/rpc/pmap_prot.h: Likewise.
49177         * sunrpc/rpc/pmap_rmt.h: Likewise.
49178         * sunrpc/rpc/rpc.h: Likewise.
49179         * sunrpc/rpc/rpc_des.h: Likewise.
49180         * sunrpc/rpc/rpc_msg.h: Likewise.
49181         * sunrpc/rpc/svc.h: Likewise.
49182         * sunrpc/rpc/svc_auth.h: Likewise.
49183         * sunrpc/rpc/types.h: Likewise.
49184         * sunrpc/rpc/xdr.h: Likewise.
49185         * sunrpc/rpc_clntout.c: Likewise.
49186         * sunrpc/rpc_cmsg.c: Likewise.
49187         * sunrpc/rpc_common.c: Likewise.
49188         * sunrpc/rpc_cout.c: Likewise.
49189         * sunrpc/rpc_dtable.c: Likewise.
49190         * sunrpc/rpc_hout.c: Likewise.
49191         * sunrpc/rpc_main.c: Likewise.
49192         * sunrpc/rpc_parse.c: Likewise.
49193         * sunrpc/rpc_parse.h: Likewise.
49194         * sunrpc/rpc_prot.c: Likewise.
49195         * sunrpc/rpc_sample.c: Likewise.
49196         * sunrpc/rpc_scan.c: Likewise.
49197         * sunrpc/rpc_scan.h: Likewise.
49198         * sunrpc/rpc_svcout.c: Likewise.
49199         * sunrpc/rpc_tblout.c: Likewise.
49200         * sunrpc/rpc_util.c: Likewise.
49201         * sunrpc/rpc_util.h: Likewise.
49202         * sunrpc/rpcinfo.c: Likewise.
49203         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49204         * sunrpc/rpcsvc/key_prot.x: Likewise.
49205         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49206         * sunrpc/rpcsvc/mount.x: Likewise.
49207         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49208         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49209         * sunrpc/rpcsvc/rex.x: Likewise.
49210         * sunrpc/rpcsvc/rstat.x: Likewise.
49211         * sunrpc/rpcsvc/rusers.x: Likewise.
49212         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49213         * sunrpc/rpcsvc/spray.x: Likewise.
49214         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49215         * sunrpc/rtime.c: Likewise.
49216         * sunrpc/svc.c: Likewise.
49217         * sunrpc/svc_auth.c: Likewise.
49218         * sunrpc/svc_authux.c: Likewise.
49219         * sunrpc/svc_raw.c: Likewise.
49220         * sunrpc/svc_run.c: Likewise.
49221         * sunrpc/svc_simple.c: Likewise.
49222         * sunrpc/svc_tcp.c: Likewise.
49223         * sunrpc/svc_udp.c: Likewise.
49224         * sunrpc/svc_unix.c: Likewise.
49225         * sunrpc/svcauth_des.c: Likewise.
49226         * sunrpc/xcrypt.c: Likewise.
49227         * sunrpc/xdr.c: Likewise.
49228         * sunrpc/xdr_array.c: Likewise.
49229         * sunrpc/xdr_float.c: Likewise.
49230         * sunrpc/xdr_mem.c: Likewise.
49231         * sunrpc/xdr_rec.c: Likewise.
49232         * sunrpc/xdr_ref.c: Likewise.
49233         * sunrpc/xdr_sizeof.c: Likewise.
49234         * sunrpc/xdr_stdio.c: Likewise.
49235
49236         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49237         handling.
49238
49239 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49240
49241         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49242
49243 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49244
49245         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49246         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49247         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49248         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49249         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49250         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49251         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49252         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49253         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49254         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49255         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49256         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49257         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49258         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49259
49260 2010-07-26  Anton Blanchard  <anton@samba.org>
49261
49262         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49263         * malloc/arena.c (heap_trim): Likewise.
49264
49265 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49266
49267         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49268         here.  Not...
49269         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49270         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49271
49272 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49273
49274         * sysdeps/i386/elf/Makefile: New file.
49275
49276 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49277
49278         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49279         from fanotify_init.
49280         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49281         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49282
49283 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49284
49285         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49286         of strncasecmp_l.
49287         * sysdeps/multiarch/strcmp.S: Likewise.
49288
49289 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49290
49291         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49292         strncase_l-nonascii.
49293         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49294         Add strncase_l-ssse3.
49295         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49296         * sysdeps/x86_64/strcmp.S: Likewise.
49297         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49298         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49299         * sysdeps/x86_64/strncase.S: New file.
49300         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49301         * sysdeps/x86_64/strncase_l.S: New file.
49302         * string/Makefile (strop-tests): Add strncasecmp.
49303         * string/test-strncasecmp.c: New file.
49304
49305         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49306         warning.
49307
49308         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49309         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49310
49311 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49312
49313         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49314
49315 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49316
49317         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49318         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49319         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49320
49321 2010-05-01  Alan Modra  <amodra@gmail.com>
49322
49323         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49324         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49325         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49326         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49327         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49328         tidying.  Don't tail-call __sigjmp_save for static lib.
49329         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49330         save location.
49331         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49332         (CALL_MCOUNT): Add eh info, and nop after bl.
49333         (TAIL_CALL_SYSCALL_ERROR): New macro.
49334         (PSEUDO_RET): Use it.
49335         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49336         Correct save location of integer regs and cr.
49337         (_dl_profile_resolve): Correct cr save location.  Delete nops
49338         after bl when SHARED.  Reduce cfi size a little by better
49339         placement of cfi directives.
49340         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49341         make a stack frame.  Instead use parm save area as a temp.
49342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49343         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49345         Don't make a stack frame for parent, use parm save area.
49346         Increase child stack frame to 112 bytes.  Don't save unused reg,
49347         and adjust reg usage.  Set up cfi on error recovery and
49348         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49350         (__makecontext): Add dummy nop after jump to exit.
49351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49352         Use correct parm save area and cr save, reduce stack frame.
49353         Correct cfi for possible PSEUDO_RET frame setup.
49354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49355         Branch to local label emitted by PSEUDO_RET rather than
49356         __syscall_error.
49357
49358 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49359
49360         [BZ #11904]
49361         * locale/programs/locale.c (print_assignment): New function.
49362         (show_locale_vars): Use it.
49363
49364 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49365
49366         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49367         field.
49368         (struct statfs64): Likewise.
49369         (_STATFS_F_FLAGS): Define.
49370         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49371         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49372         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49373         (ST_VALID): Define locally.
49374         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49375         __statvfs_getflags, use the provided value.
49376         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49377         __ASSUME_STATFS_F_FLAGS.
49378
49379         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49380
49381         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49382         Add sys/fanotify.h.
49383         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49384         fanotify_mask for GLIBC_2.13.
49385         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49386         fanotify_init and fanotify_mark.
49387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49388         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49389
49390         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49391         Add prlimit.
49392         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49393         prlimit64 for GLIBC_2.13.
49394         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49395         prlimit64.
49396         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49397         syscall.
49398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49399         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49400         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49401         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49402         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49403         add prlimit alias.
49404         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49405
49406         [BZ #11903]
49407         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49408         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49409
49410         * nss/Makefile: Add rules to build and run tst-nss-test1.
49411         * shlib-versions: Add entry for libnss_test1.
49412         * nss/nss_test1.c: New file.
49413         * nss/tst-nss-test1.c: New file.
49414
49415         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49416         (__nss_configure_lookup): Set appropriate entry in
49417         __nss_configure_lookup to true.
49418         * nss/nsswitch.h: Define enum with indeces of databases in
49419         databases and __nss_database_custom arrays.  Declare
49420         __nss_database_custom.
49421         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49422         to avoid using nscd when custom rules are installed.
49423         * nss/getXXbyYY_r.c: Likewise.
49424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49425
49426         * nss/nss_files/files-parse.c: Whitespace fixes.
49427
49428 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49429
49430         [BZ #11883]
49431         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49432         * posix/fnmatch_loop.c: Likewise.
49433
49434 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49435
49436         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49437         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49438         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49439         * Versions.def [GLIBC_2.13]: Add.
49440
49441 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49442
49443         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49444         Also fail if tpwd after pwuid call is NULL.
49445
49446 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49447
49448         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49449         when converting to ms.
49450
49451 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49452
49453         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49454         EOPNOTSUPP errors with ENOTTY.
49455         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49456         EOPNOTSUPP errors with ENOTTY.
49457
49458 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49459
49460         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49461         Add strcasecmp_l-ssse3.
49462         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49463         strcasecmp.
49464         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49465         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49466         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49467
49468 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49469
49470         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49471
49472         * string/Makefile (strop-tests): Add strcasecmp.
49473         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49474         strcasecmp_l-nonascii.
49475         (gen-as-const-headers): Add locale-defines.sym.
49476         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49477         * sysdeps/x86_64/strcasecmp.S: New file.
49478         * sysdeps/x86_64/strcasecmp_l.S: New file.
49479         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49480         * sysdeps/x86_64/locale-defines.sym: New file.
49481         * string/test-strcasecmp.c: New file.
49482
49483         * string/test-strcasestr.c: Test both ends of the range of characters.
49484         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49485
49486 2010-07-29  Roland McGrath  <roland@redhat.com>
49487
49488         [BZ #11856]
49489         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49490
49491 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49492
49493         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49494         for ld.so.
49495
49496 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49497
49498         * manual/memory.texi (Malloc Tunable Parameters): Document
49499         M_PERTURB.
49500
49501 2010-07-26  Roland McGrath  <roland@redhat.com>
49502
49503         [BZ #11840]
49504         * configure.in (-fgnu89-inline check): Set and substitute
49505         gnu89_inline, not libc_cv_gnu89_inline.
49506         * configure: Regenerated.
49507         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49508
49509 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49510
49511         * string/test-strnlen.c: New file.
49512         * string/Makefile (strop-tests): Add strnlen.
49513         * string/tester.c (test_strnlen): Add a few more test cases.
49514         * string/tst-strlen.c: Better error reporting.
49515
49516         * sysdeps/x86_64/strnlen.S: New file.
49517
49518 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49519
49520         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49521         lower-latency instructions.
49522
49523 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49524
49525         * string/test-strcasestr.c: New file.
49526         * string/test-strstr.c: New file.
49527         * string/Makefile (strop-tests): Add strstr and strcasestr.
49528         * string/str-two-way.h: Don't undefine MAX.
49529         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49530
49531 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49532
49533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49534         strcasestr-nonascii.
49535         (CFLAGS-strcasestr-nonascii.c): Define.
49536         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49537         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49538         Remove unused attribute.
49539
49540 2010-07-20  Roland McGrath  <roland@redhat.com>
49541
49542         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49543         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49544         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49545         like LD_HWCAP_MASK can disable hwcaps.
49546
49547 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49548
49549         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49550
49551 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49552
49553         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49554         call in strcasestr.
49555         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49556         __strcasestr_sse42_nonascii.
49557         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49558         strcasestr-nonascii.c.
49559         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49560
49561 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49562
49563         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49564         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49565         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49566         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49567
49568 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49569
49570         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49571         fcntl.
49572
49573 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49574
49575         [BZ #11577]
49576         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49577         dl_signal_cerror.
49578
49579 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49580
49581         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49582         _PC_PIPE_BUF using F_GETPIPE_SZ.
49583
49584 2010-07-05  Roland McGrath  <roland@redhat.com>
49585
49586         * manual/arith.texi (Rounding Functions): Fix rint description
49587         implicit in round description.
49588
49589 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49590
49591         * elf/Makefile: Fix linking for a few tests to make recent linker
49592         happy.
49593
49594 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49595
49596         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49597         $(common-objpfx)libc_nonshared.a.
49598
49599 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49600
49601         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49602         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49603         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49604         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49605         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49606         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49607         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49608         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49623         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49624         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49625         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49626         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49627         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49628         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49629         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49630         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49631         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49632         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49633         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49634         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49649
49650 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49651
49652         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49653         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49654         * string/memmove.c (memmove): Renamed to ...
49655         (MEMMOVE): ...this.  Default to memmove.
49656         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49657         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49658         (END_CHK): Define.
49659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49660         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49661         mempcpy-ssse3-back memmove-ssse3-back.
49662         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49663         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49664         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49665         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49666         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49667         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49668         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49669         * sysdeps/x86_64/multiarch/memmove.c: New file.
49670         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49671         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49672         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49673         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49674         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49675         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49676         Define.
49677         (index_Fast_Copy_Backward): Define.
49678         (HAS_ARCH_FEATURE): Define.
49679         (HAS_FAST_REP_STRING): Define.
49680         (HAS_FAST_COPY_BACKWARD): Define.
49681
49682 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49683
49684         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49685         Restore proper fallback handling.
49686
49687 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49688
49689         [BZ #11701]
49690         * posix/group_member.c (__group_member): Correct checking loop.
49691
49692         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49693         OOM in getpwuid_r correctly.  Return error number when the caller
49694         should return, otherwise -1.
49695         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49696         call returning > 0 value.
49697         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49698
49699 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49700
49701         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49702         libc_nonshared.a from targets in modules-names.
49703
49704 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49705
49706         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49707         requires it.
49708
49709 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49710
49711         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49712         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49713         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49714         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49715
49716 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49717
49718         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49719
49720 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49721
49722         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49723         and F_GETPIPE_SZ.
49724         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49725         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49727         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49728         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49729         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49730
49731 2010-06-14  Roland McGrath  <roland@redhat.com>
49732
49733         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49734
49735 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49736
49737         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49738         __REDIRECT followed by __THROW.
49739         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49740         * posix/getopt.h (getopt): Likewise.
49741
49742 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49743
49744         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49745         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49746         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49747         in AT_FLAGS.
49748         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49749         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49750
49751 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49752
49753         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49754
49755 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49756
49757         [BZ #11640]
49758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49759         Properly check family and model.
49760
49761 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49762
49763         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49764
49765 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49766
49767         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49768
49769 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49770
49771         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49772         symbol reference.
49773
49774 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49775
49776         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49777         symbol reference.
49778
49779 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49780
49781         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49782         and internal_recvmmsg.
49783         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49784         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49785         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49786         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49787
49788         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49789         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49790         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49791
49792 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49793
49794         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49795
49796 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49797
49798         POWER7 optimizations.
49799         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49800         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49801
49802 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49803
49804         * version.h: Update for 2.13 development version.
49805
49806 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49807
49808         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49809         exceptions.  Return 0.
49810
49811 2010-05-07  Roland McGrath  <roland@redhat.com>
49812
49813         * elf/ldconfig.c (main): Add a const.
49814
49815 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49816
49817         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49818         (args_options): Add no-idn option.
49819         (ahosts_keys_int): Add idn_flags to ai_flags.
49820         (parse_option): Handle 'i' option to clear idn_flags.
49821
49822         * malloc/malloc.c (_int_free): Possible race in the most recently
49823         added check.  Only act on the data if no current modification
49824         happened.
49825
49826 See ChangeLog.17 for earlier changes.