Open development for 2.21
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-08  Allan McRae  <allan@archlinux.org>
2
3         * version.h (RELEASE): Set to "development".
4         (VERSION): Set to "2.20.90"
5
6 2014-09-07  Allan McRae  <allan@archlinux.org
7
8         * version.h (RELEASE): Set to "stable".
9         (VERSION): Set to "2.20"
10         * include/features.h (__GLIBC_MINOR__): Set to 20.
11
12         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13         Liebler.
14
15         * po/ko.po: Update Korean translation from translation project.
16
17 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
18
19         [BZ #17354]
20         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21         macro for handling signed relocations.
22
23 2014-09-03  Florian Weimer  <fweimer@redhat.com>
24
25         [BZ #17325]
26         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28         assert.
29         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30         * iconvdata/ibm935.c (BODY): Likewise.
31         * iconvdata/ibm937.c (BODY): Likewise.
32         * iconvdata/ibm939.c (BODY): Likewise.
33         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
34         assert.
35         * iconvdata/Makefile (iconv-test.out): Pass module list to test
36         script.
37         * iconvdata/run-iconv-test.sh: New test loop for checking for
38         decoder crashers.
39
40 2014-09-02  Khem Raj  <raj.khem@gmail.com>
41
42         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43         libm_hidden_ver.
44
45 2014-09-01  Allan McRae  <allan@archlinux.org>
46
47         * po/eo.po: Update Esperanto translation from translation project.
48
49         * po/ca.po: Update Catalan translation from translation project.
50
51 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52
53         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
54         __proc_dostop call.
55
56 2014-08-27  Mark Wielaard  <mjw@redhat.com>
57
58         [BZ #17319]
59         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
60         to call set_thread_area instead of hand written asm.
61         (__NR_set_thread_area): Removed define.
62         (TLS_FLAG_WRITABLE): Likewise.
63         (__ASSUME_SET_THREAD_AREA): Remove check.
64         (TLS_EBX_ARG): Remove define.
65         (TLS_LOAD_EBX): Likewise.
66
67 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68
69         Simplify atomicity of socket creation in bind.
70
71         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
72         looking up the name after linking the file.
73
74 2014-08-27  Allan McRae  <allan@archlinux.org>
75
76         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77
78 2014-08-26  Florian Weimer  <fweimer@redhat.com>
79
80         [BZ #17187]
81         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
82         trans_compare, open_translit, __gconv_translit_find):
83         Remove module loading code.
84
85 2014-08-26  Allan McRae  <allan@archlinux.org>
86
87         * po/vi.po: Update Vietnamese translation from translation project.
88
89         * po/uk.po: Update Ukrainian translation from translation project.
90
91         * po/fr.po: Update French translation from translation project.
92
93         * po/ru.po: Update Russian translation from translation project.
94
95         * po/pl.po: Update Polish translation from translation project.
96
97         * po/cs.po: Update Czech translation from translation project.
98
99         * po/de.po: Update German translation from translation project.
100
101         * po/bg.po: Update Bulgarian translation from translation project.
102
103         * po/sv.po: Update Sweedish translation from translation project.
104
105         * po/nl.po: Update Dutch translation from translation project.
106
107         * po/es.po: Update Spanish translation from translation project.
108
109 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
110
111         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
112
113         * catgets/Makefile (CPPFLAGS-gencat): Remove.
114         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
115         (CPPFLAGS-iconvconfig): Likewise.
116         * timezone/Makefile (CPPFLAGS-zic): Likewise.
117
118         * include/libc-symbols.h: Remove unnecessary check for
119         NOT_IN_libc.
120         * nptl/pthreadP.h: Likewise.
121         * sysdeps/aarch64/setjmp.S: Likewise.
122         * sysdeps/alpha/setjmp.S: Likewise.
123         * sysdeps/arm/sysdep.h: Likewise.
124         * sysdeps/i386/setjmp.S: Likewise.
125         * sysdeps/m68k/setjmp.c: Likewise.
126         * sysdeps/posix/getcwd.c: Likewise.
127         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
128         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
129         * sysdeps/s390/s390-32/setjmp.S: Likewise.
130         * sysdeps/s390/s390-64/setjmp.S: Likewise.
131         * sysdeps/sh/sh3/setjmp.S: Likewise.
132         * sysdeps/sh/sh4/setjmp.S: Likewise.
133         * sysdeps/unix/alpha/sysdep.h: Likewise.
134         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
135         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
136         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
137         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
140         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
142         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
145         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
147         * sysdeps/x86_64/setjmp.S: Likewise.
148
149 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
150
151         [BZ #17263]
152         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
153         <stdint.h>.
154         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
155         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
156
157 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
158
159         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
160
161         [BZ #17262]
162         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
163         and __x86_64__ when disabling x87 inline functions.
164
165 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
166
167         [BZ #17259]
168         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
169         asm statement with __cpuid_count.
170
171 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
172
173         * configure.ac: Change __ehdr_start code to dereference the struct.
174         Run readelf on the output to look for relocations.
175         * configure: Regenerated.
176
177 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
178
179         [BZ #17261]
180         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
181         value to 0.
182         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
183
184 2014-08-12  Roland McGrath  <roland@hack.frob.com>
185
186         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
187
188 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
189
190         [BZ #16892]
191         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
192         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
193
194 2014-08-12  Sean Anderson  <seanga2@gmail.com>
195
196         * malloc/malloc.c: Fix typo in comment.
197
198 2014-08-09  Allan McRae  <allan@archlinux.org>
199
200         * Regenerate libc.po.
201
202 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
203
204         * intl/tst-gettext2.sh: Check every lang file for creation.
205
206 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
207
208         * sysdeps/aarch64/fpu/math_private.h
209         (libc_feholdsetround_noex_aarch64_ctx): New function.
210
211 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
212
213         * sysdeps/arm/armv6/strcpy.S (strcpy):
214         Fix performance issue in misaligned cases.
215
216 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
217
218         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
219         Move definition from termios.h.
220         (struct termio): Likewise.
221         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
222         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
223         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
224         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
225         Likewise.
226         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
227         Move definition to ioctl-types.h
228         (struct termio): Likewise.
229         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
230         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
231         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
232         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
233         Likewise.
234
235 2014-08-05  Richard Henderson  <rth@redhat.com>
236
237         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
238         exceptions.
239         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
240         Add fraiseexcpt.
241         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
242         Use __feraiseexcept.
243         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
244         Protect libm symbols with IS_IN_libm.
245
246         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
247
248 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
249
250         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
251
252 2014-08-04  Will Newton  <will.newton@linaro.org>
253
254         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
255         file.
256
257 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
258
259         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
260         variants for each function.
261
262 2014-08-04  Roland McGrath  <roland@hack.frob.com>
263
264         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
265         appended ...
266         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
267         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
268         appended ...
269         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
270         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
271         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
272         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
273         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
274         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
275         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
276         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
277         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
278         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
279         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
280         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
281         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
282         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
283         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
284         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
285         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
286         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
287         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
288         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
289         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
290         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
291         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
292         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
293         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
294         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
295         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
296         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
297         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
298         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
299         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
300         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
301         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
302         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
303         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
304         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
305         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
306         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
307         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
308         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
309         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
310         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
311         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
312         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
313         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
314         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
315         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
316         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
317         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
318         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
319         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
320         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
321         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
322         Update #include.
323         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
324         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
325
326 2014-08-04  Roland McGrath  <roland@hack.frob.com>
327
328         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
329         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
330         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
331         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
332         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
333         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
334
335 2014-08-04  Roland McGrath  <roland@hack.frob.com>
336
337         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
338         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
339         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
340         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
341
342 2014-08-04  Roland McGrath  <roland@hack.frob.com>
343
344         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
345         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
346         (__libc_vfork): Define function under this name.
347         (__vfork): Define as an alias.
348         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
349         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
350
351 2014-08-04  Roland McGrath  <roland@hack.frob.com>
352
353         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
354         that was previously under [RESET_PID].
355         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
356
357 2014-08-04  Andreas Schwab  <schwab@suse.de>
358
359         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
360
361 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
362
363         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
364         (main): Likewise.
365
366 2014-08-01  Roland McGrath  <roland@hack.frob.com>
367
368         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
369
370 2014-08-01  Richard Henderon  <rth@redhat.com>
371
372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
373         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
374         typo in exact zero test.
375         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
376         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
378
379 2014-08-01  Roland McGrath  <roland@hack.frob.com>
380
381         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
382         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
383         * sysdeps/arm/sysdep.h: ... here.
384         [!__ASSEMBLER__]: Include <stdint.h>.
385
386 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
387
388         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
389         (HAVE_WCTYPE_H): Likewise.
390         (HAVE_ISWCTYPE): Likewise.
391         (ENABLE_NLS): Likewise.
392         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
393         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
394
395         * posix/regex_internal.c: Check if DEBUG is defined and is
396         set.
397
398         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
399         (HAVE_MBSRTOWCS): Likewise.
400         * posix/fnmatch.c: Include string.h unconditionally.
401
402 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
403
404         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
405         reversal.
406
407 2014-07-31  Roland McGrath  <roland@hack.frob.com>
408
409         * sysdeps/generic/safe-fatal.h: New file.
410         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
411         * nptl/forward.c: Include it.
412         (__pthread_unwind): Use __safe_fatal as default action, rather
413         than a bogus use of INTERNAL_SYSCALL that could never work.
414
415         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
416         * configure.ac (libc_cv_builtin_trap): New test.
417         * configure: Regenerated.
418         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
419         (ABORT_INSTRUCTION): Define using __builtin_trap.
420
421         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
422         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
423         * sysdeps/nptl/nptl-signals.h: New file.
424         * nptl/pthreadP.h: Include <nptl-signals.h>.
425
426 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
427
428         * sysdeps/s390/s390-64/utf16-utf32-z9.c
429         (ONE_DIRECTION): Define.
430         * sysdeps/s390/s390-64/utf8-utf16-z9.c
431         (ONE_DIRECTION): Define.
432         * sysdeps/s390/s390-64/utf8-utf32-z9.c
433         (ONE_DIRECTION): Define.
434
435 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
436
437         * sysdeps/s390/Makefile: Delete file.
438         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
439         * sysdeps/s390/__longjmp.c: Delete file.
440         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
441         Remove fields __flags and __reserved.
442         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
443         and add versioning.
444         * sysdeps/s390/rtld-__longjmp.c: Delete file.
445         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
446         * sysdeps/s390/rtld-setjmp.S: Likewise.
447         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
448         * sysdeps/s390/s390-32/__longjmp.c: ... here.
449         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
450         * sysdeps/s390/s390-32/setjmp.S: ... here.
451         Add versioning.
452         (__sigsetjmp): Remove setting __flags field.
453         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
454         * sysdeps/s390/s390-64/__longjmp.c: ... here.
455         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
456         * sysdeps/s390/s390-64/setjmp.S: ... here.
457         Add versioning.
458         (__sigsetjmp): Remove setting __flags field.
459         * sysdeps/s390/setjmp.S: Delete file.
460         * sysdeps/s390/sigjmp.c: Likewise.
461         * sysdeps/s390/v1-longjmp.c: Likewise.
462         * sysdeps/s390/v1-setjmp.h: Likewise.
463         * sysdeps/s390/v1-sigjmp.c: Likewise.
464         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
465         Remove v1-longjmp_chk.
466         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
467         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
468         Include debug/longjmp_chk.c and add versioning.
469         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
470         Include nptl/pt-longjmp.c and add versioning.
471         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
472         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
473         Include __longjmp.c.
474         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
475         Move to ...
476         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
477         (__getcontext): Remove setting __flags field.
478         Add versioning.
479         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
480         Don't restore upper high grps.
481         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
482         Likewise.
483         (__swapcontext): Remove setting uc_flags field.
484         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
485         Delete file.
486         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
487         Include __longjmp.c.
488         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
489         Move to ...
490         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
491         (__getcontext): Remove setting __flags field.
492         Add versioning.
493         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
494         (__swapcontext): Remove setting uc_flags field.
495         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
496         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
497         Remove fields uc_high_gprs and __reserved.
498         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
499         New file with reverted content.
500         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
501         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
502         Regenerated.
503         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
504         Regenerated.
505
506 2014-07-31  Andreas Schwab  <schwab@suse.de>
507
508         * config.h.in (HAVE_IFUNC): Define to 0.
509         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
510         definedness.
511
512 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
513
514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
515         memmove-avx-unaligned, memcpy-avx-unaligned and
516         mempcpy-avx-unaligned.
517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
518         Add tests for AVX memcpy functions.
519         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
520         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
521         memcpy_chk.
522         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
523         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
524         memmove_chk.
525         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
526         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
527         mempcpy_chk.
528         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
529         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
530         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
531
532 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
533
534         [BZ #17213]
535         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
536         powerpc64le.
537
538 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
539
540         [BZ #16839]
541         * manual/llio.texi: Add section about open file description locks.
542         * manual/examples/ofdlocks.c: Example of open file description
543         lock usage.
544         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
545         F_OFD_SETLK, and F_OFD_SETLKW.
546
547 2014-07-23  Allan McRae  <allan@archlinux.org>
548
549         * po/es.po: Update Spanish translation from translation project.
550
551 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
552
553         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
554
555 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
556
557         [BZ #17078]
558         * sysdeps/arm/dl-machine.h (elf_machine_rela)
559         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
560         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
561
562 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
563
564         [BZ #17088]
565         * math/fesetenv.c (__fesetenv)
566         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
567         * math/feupdateenv.c (__feupdateenv)
568         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
569
570         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
571         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
572         (__ASSUME_SOCKETCALL): Do not define.
573
574         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
575         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
576         (__ASSUME_SOCKETCALL): Do not define.
577         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
578         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
579         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
580         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
581         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
582         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
583         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
584         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
585
586         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
587         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
588         (__ASSUME_SOCKETCALL): Do not define.
589         (__ASSUME_IPC64): Define unconditionally.
590         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
591         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
592         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
593         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
594         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
595         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
596         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
597         Likewise.
598
599         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
600         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
601         (__ASSUME_SOCKETCALL): Do not define.
602         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
603         (__ASSUME_FUTEX_LOCK_PI): Likewise.
604         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
605         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
606         (__ASSUME_REQUEUE_PI): Define unconditionally.
607         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
608         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
609         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
610         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
611         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
612         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
613
614         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
615         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
616         (__ASSUME_SOCKETCALL): Do not define.
617         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
618         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
619         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
620         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
621         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
622         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
623
624         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
625         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
626         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
627         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
628         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
629         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
630         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
631         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
632         (__ASSUME_GETCPU_SYSCALL): Likewise.
633
634         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
635         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
636         cases for individual architectures.
637         * sysdeps/gnu/configure: Regenerated.
638         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
639         LIBC_SLIBDIR_RTLDDIR.
640         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
641         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
642         LIBC_SLIBDIR_RTLDDIR.
643         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
645         LIBC_SLIBDIR_RTLDDIR.
646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
647         Regenerated.
648         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
649         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
650         file.
651         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
652         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
653         file.
654         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
655         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
656         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
657         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
658
659         * sysdeps/aarch64/shlib-versions: Move to ...
660         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
661         * sysdeps/alpha/shlib-versions: Move to ...
662         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
663         * sysdeps/arm/shlib-versions: Move to ...
664         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
665         * sysdeps/hppa/shlib-versions: Move all contents except for
666         libgcc_s entry to ...
667         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
668         entry from ...
669         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
670         * sysdeps/ia64/shlib-versions: Move to ...
671         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
672         entry from ...
673         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
674         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
675         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
676         * sysdeps/microblaze/shlib-versions: Move to ...
677         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
678         * sysdeps/mips/shlib-versions: Move to ...
679         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
680         entry from ...
681         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
682         * sysdeps/tile/shlib-versions: Move to ...
683         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
684         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
685         from ...
686         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
687         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
688         entry from ...
689         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
690
691 2014-07-17  Will Newton  <will.newton@linaro.org>
692
693         * sysdeps/arm/bits/atomic.h
694         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
695         (__arch_compare_and_exchange_bool_16_int): Likewise.
696         (__arch_compare_and_exchange_bool_64_int): Likewise.
697
698         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
699         into an #else block.
700
701 2014-07-16  Roland McGrath  <roland@hack.frob.com>
702
703         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
704         just Linux configurations.  Test empirically that the compiler sets
705         __ARM_EABI__, rather than using the tuple to decide.
706         * sysdeps/arm/preconfigure: Regenerated.
707         * sysdeps/unix/sysv/linux/arm/configure: File removed.
708         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
709         contents appended ...
710         * sysdeps/arm/configure.ac: ... here.
711         * sysdeps/arm/configure: Regenerated.
712
713 2014-07-15  Roland McGrath  <roland@hack.frob.com>
714
715         * nptl/pthread_kill.c: New file.
716         * nptl/pthread_sigmask.c: New file.
717         * nptl/pthread_sigqueue.c: New file.
718
719         * sysdeps/nptl/lowlevellock.h: New file.
720         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
721         * sysdeps/nptl/lowlevellock-futex.h: New file.
722
723         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
724         Remove dead declarations.
725
726 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
727
728         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
729         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
730         config-cflags-avx2.
731         * sysdeps/x86_64/configure.ac: Likewise.
732         * sysdeps/i386/configure: Regenerated.
733         * sysdeps/x86_64/configure: Likewise.
734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
735         memset-avx2 only if config-cflags-avx2 is yes.
736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
737         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
738         defined.
739         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
740         only if HAVE_AVX2_SUPPORT is defined.
741         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
742
743 2014-07-14  Alan Modra  <amodra@gmail.com>
744
745         [BZ #17153]
746         * elf/elf.h (DT_PPC64_NUM): Correct value.
747         * NEWS: Add to fixed bug list.
748
749 2014-07-13  Jim Meyering  <meyering@fb.com>
750
751         [BZ 17150]
752         regex: don't deref NULL upon heap allocation failure
753         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
754         failure in one more place.
755         To trigger the segfault, configure grep -with-included-regex,
756         build it, and run these commands:
757         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
758
759 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
760
761         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
762
763 2014-07-11  Richard Henderson  <rth@redhat.com>
764
765         * sysdeps/aarch64/libm-test-ulps: Update.
766
767 2014-07-10  Florian Weimer  <fweimer@redhat.com>
768
769         [BZ #17135]
770         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
771         * nptl/allocatestack.c (__nptl_setxid_error): New function.
772         (__nptl_setxid): Initialize error member.  Call
773         __nptl_setxid_error.
774         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
775         * nptl/descr.h (struct xid_command): Add error member.
776         * nptl/tst-setuid3.c: New file.
777         * nptl/Makefile (tests): Add it.
778
779 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
780
781         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
782         New define.
783         (__lll_trylock): Use __lll_base_trylock.
784         (__lll_cond_trylock): Likewise.
785
786 2014-07-10  Roland McGrath  <roland@hack.frob.com>
787
788         * nptl/pthread_create.c (start_thread): Use atomic_or and
789         lll_futex_wake directly rather than lll_robust_dead.
790         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
791         (lll_robust_dead): Macro removed.
792         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
793         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
794         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
795         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
796         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
797         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
798         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
799         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
800         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
801         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
802         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
803         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
804         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
805         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
806         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
807
808         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
809         Use atomic_compare_and_exchange_val_acq directly rather than
810         lll_robust_trylock.
811         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
812         (__lll_robust_trylock, lll_robust_trylock): Removed.
813         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
814         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
815         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
816         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
817         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
818         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
819         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
820         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
821         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
822         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
823         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
824         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
825         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
826         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
827
828 2014-07-02  Florian Weimer  <fweimer@redhat.com>
829
830         * manual/locale.texi (Locale Names): New section documenting
831         locale name syntax.  Adjust menu and node chaining accordingly.
832         (Choosing Locale): Reference Locale Names, Locale Categories.
833         Mention setting LC_ALL=C.  Reflect that name syntax is now
834         documented.
835         (Locale Categories): New section title.  Reference Locale Names.
836         LC_ALL is an environment variable, but not a category.
837         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
838         description, now in Locale Name.  Reference that section.  Locale
839         name syntax is now documented.
840
841 2014-07-02  Florian Weimer  <fweimer@redhat.com>
842
843         [BZ #17137]
844         * locale/findlocale.c (name_present, valid_locale_name): New
845         functions.
846         (_nl_find_locale): Use the loc_name variable to store name
847         candidates.  Call name_present and valid_locale_name to check and
848         validate locale names.  Return an error if the locale is invalid.
849
850 2014-07-02  Florian Weimer  <fweimer@redhat.com>
851
852         * locale/setlocale.c (setlocale): Use strdup for allocating
853         composite name copy.
854
855 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
856
857         Sync up with gnulib.
858         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
859         [!_LIBC && ENABLE_NLS]: Include gettext.h.
860         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
861         and _GL_ARG_NONNULL.
862         [USE_UNLOCKED_IO]: Include unlocked-io.h.
863         [!_LIBC]: Include code for Windows and Cygwin.
864         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
865         Include prototype for int strerror_r.
866         [!_LIBC] (is_open): New function.
867         (flush_stdout): New function.
868         (print_errno_message): Use it.
869         (error): Likewise.
870         (error_at_line): Likewise.
871         (error_tail) Add function attribute macros.  Use
872         __builtin_expect.
873
874         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
875
876         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
877
878         * io/ftw.c: Include sys/param.h unconditionally.
879
880         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
881
882         [BZ #17125]
883         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
884         libc_freeres_ptr.
885         (freecache): New function to free CACHE on exit.
886
887         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
888         initialization.
889
890 2014-07-09  David S. Miller  <davem@davemloft.net>
891
892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
893
894         * sysdeps/sparc/nptl/internaltypes.h: Delete.
895         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
896         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
897         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
898         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
899         * sysdeps/sparc/nptl/sem_init.c: Likewise.
900         * sysdeps/sparc/nptl/sem_post.c: Likewise.
901         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
902         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
903         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
904         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
905         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
906         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
907
908 2014-07-09  Andreas Schwab  <schwab@suse.de>
909
910         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
911         output.
912         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
913         (do_test): Likewise.
914
915         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
916
917 2014-07-09  Will Newton  <will.newton@linaro.org>
918
919         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
920         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
921         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
922         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
923         * sysdeps/hppa/start.S (_start): Likewise.
924
925 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
926
927         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
928
929         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
930         defined.
931
932 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
933
934         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
935         after checking that it is non-NULL.
936
937         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
938
939 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
940
941         * sysdeps/powerpc/memmove.c: Remove file.
942         * sysdeps/powerpc/powerpc32/power4/memcopy.h
943         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
944         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
945         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
946         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
947         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
948         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
949         string memmove instead of removed powerpc one.
950
951         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
952         [weak_alias]: Fix compiler warning due trailing data.
953         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
954         [weak_alias]: Likewise.
955         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
956         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
957
958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
959         (__libc_ifunc_impl_list): Add memmove functions.
960
961 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
962
963         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
964         Remove code.
965         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
966         Likewise
967         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
968         Likewise
969         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
970         Likewise
971         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
972         Likewise
973         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
974         Likewise
975         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
976         Likewise
977         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
978         Likewise
979         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
980         Likewise
981         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
982         Likewise
983         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
984         Likewise
985         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
986         Likewise
987         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
988         Likewise
989         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
990         Likewise
991         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
992         Likewise
993         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
994         Likewise
995         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
996         Likewise
997
998 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
999
1000         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1001         to avoid alignment traps in non-cacheable memory.
1002         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1003
1004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1005         multiarch objects.
1006         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1007         file: multiarch power7 memmove.
1008         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1009         multiarch default memmove.
1010         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1011         multiarch memove for powerpc32/power4.
1012
1013         * string/bcopy.c: Use full path to include memmove.c.
1014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1015         multiarch objects.
1016         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1017         bcopy for powerpc64.
1018         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1019         bcopy for powerpc64.
1020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1021         and memmove implementations.
1022         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1023         optimized multiarch memmove for POWER7/powerpc64.
1024         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1025         default multiarch memmove for powerpc64.
1026         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1027         multiarch for powerpc64.
1028         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1029         for POWER7/powerpc64.
1030         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1031         memmove for POWER7/powerpc64.
1032
1033         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1034         glibc default one.
1035
1036         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1037         __ELF_NATIVE_CLASS equal to 64.
1038
1039 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1040
1041         * sysdeps/nptl/lowlevellock.h: File removed.
1042
1043         * NEWS: NPTL is no longer an add-on!
1044         * nptl/internaltypes.h: Moved ...
1045         * sysdeps/nptl/internaltypes.h: ... here.
1046         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1047         * sysdeps/nptl/fork.c: Likewise.
1048         * sysdeps/nptl/gai_misc.h: Likewise.
1049         * sysdeps/nptl/librt-cancellation.c: Likewise.
1050         * sysdeps/nptl/jmp-unwind.c: Likewise.
1051         * sysdeps/nptl/setxid.h: Likewise.
1052         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1053         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1054         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1055         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1056         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1057         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1058         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1059         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1060         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1061         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1062         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1063         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1064         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1065         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1066         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1067         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1068         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1069         * nptl/Makeconfig: Moved ...
1070         * sysdeps/nptl/Makeconfig: ... here.
1071         * nptl/configure: File removed.
1072         * nptl/ANNOUNCE: File removed.
1073         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1074         * sysdeps/unix/sysv/linux/configure: Regenerated.
1075
1076         * nptl/Makefile (routines): Add libc_pthread_init,
1077         libc_multiple_threads, register-atfork and unregister-atfork.
1078         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1079         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1080         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1081         pthread-pi-defines.sym, structsem.sym.
1082         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1083         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1084         [$(subdir) = nptl] (tests): Add tst-setgetname.
1085         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1086         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1087         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1088         [!LIBC_SIGACTION]: Remove aliases.
1089         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1090         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1091         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1092         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1093         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1094         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1095         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1096         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1097         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1098         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1099         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1100         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1101         __libc_allocate_rtsig_private.
1102         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1103         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1104         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1105         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1106         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1107         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1108         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1109         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1110         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1111         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1112         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1113         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1114         * nptl/internaltypes.h: ... here.
1115         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1116         * sysdeps/nptl/jmp-unwind.c: ... here.
1117         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1118         * nptl/libc-lowlevellock.c: ... here.
1119         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1120         * nptl/libc_multiple_threads.c: ... here.
1121         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1122         * nptl/libc_pthread_init.c: ... here.
1123         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1124         * nptl/lowlevelbarrier.sym: ... here.
1125         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1126         * nptl/lowlevelcond.sym: ... here.
1127         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1128         * nptl/lowlevellock.c: ... here.
1129         * nptl/lowlevellock.h: Moved ...
1130         * sysdeps/nptl/lowlevellock.h: ... here.
1131         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1132         * nptl/lowlevelrobustlock.c: ... here.
1133         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1134         * nptl/lowlevelrobustlock.sym: ... here.
1135         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1136         * nptl/lowlevelrwlock.sym: ... here.
1137         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1138         * nptl/pt-fork.c: ... here.
1139         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1140         * nptl/pthread-pi-defines.sym: ... here.
1141         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1142         * nptl/pthread_attr_getaffinity.c: ... here.
1143         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1144         * nptl/pthread_attr_setaffinity.c: ... here.
1145         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1146         * nptl/pthread_mutex_cond_lock.c: ... here.
1147         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1148         Update #include.
1149         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1150         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1151         * nptl/pthread_once.c: ... here, replacing old file.
1152         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1153         * nptl/pthread_yield.c: ... here.
1154         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1155         * nptl/register-atfork.c: ... here.
1156         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1157         * nptl/sem_post.c: ... here.
1158         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1159         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1160         * nptl/sem_timedwait.c: ... here.
1161         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1162         * nptl/sem_trywait.c: ... here.
1163         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1164         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1165         * nptl/sem_wait.c: ... here.
1166         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1167         * nptl/structsem.sym: ... here.
1168         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1169         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1170         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1171         * nptl/unregister-atfork.c: ... here.
1172         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1173         * nptl/unwindbuf.sym: ... here.
1174         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1175         * sysdeps/nptl/fork.c: ... here.
1176         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1177         * sysdeps/nptl/fork.h: ... here.
1178         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1179         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1180         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1181         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1182         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1183         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1184         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1185         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1186         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1187         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1188         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1189         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1190         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1191         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1192         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1193         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1194         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1195         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1196         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1197         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1198         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1199         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1200         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1201         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1202         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1203         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1204         * sysdeps/unix/sysv/linux/raise.c: ... here.
1205         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1206         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1207         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1208         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1209         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1210         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1211         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1212         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1213         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1214         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1215         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1216         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1217         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1218         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1219         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1220
1221 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1222
1223         * sysdeps/generic/memcopy.h: Add comment for
1224         MEMCPY_OK_FOR_FWD_MEMMOVE.
1225
1226 2014-07-04  Will Newton  <will.newton@linaro.org>
1227
1228         * string/memchr.c: Merge from gnulib.
1229         [_LIBC]: Remove conditionals.
1230         (__ptr_t): Remove define.
1231         (LONG_MAX_32_BITS): Likewise.
1232         (LONG_MAX): Likewise.
1233         (MEMCHR): Use ANSI prototype and optimize algorithm.
1234
1235         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1236
1237 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1238
1239         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1240         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1241
1242         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1243         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1244         in a bare environment with no <stdlib.h> installed.
1245         * sysdeps/nptl/configure: Regenerated.
1246
1247         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1248
1249         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1250         AC_EGREP_CPP for kernel header checks, so they only succeed if
1251         including <linux/version.h> actually works right.
1252         * sysdeps/unix/sysv/linux/configure: Regenerated.
1253
1254         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1255         value so it's not diagnosed as unused.
1256
1257         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1258         thing) with "ifeq ($(subdir),rt)".
1259
1260 2014-07-03  Richard Henderson  <rth@redhat.com>
1261
1262         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1263         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1264         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1265
1266         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1267         (math_force_eval): New.
1268
1269         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1270         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1271
1272         * sysdeps/alpha/fpu/s_round.c: Remove file.
1273         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1274
1275         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1276         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1277         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1278         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1279         (_dl_start, print_statistics): Likewise.
1280         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1281         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1282
1283         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1284         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1285         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1286         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1287         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1288         (HP_SMALL_TIMING_AVAIL): Define.
1289         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1290         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1291         (HP_SMALL_TIMING_AVAIL): Define.
1292         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1293         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1294
1295         * sysdeps/aarch64/hp-timing.h: New file.
1296
1297         * sysdeps/generic/hp-timing.h: Remove dead comment.
1298         * sysdeps/generic/hp-timing-common.h: New file.
1299         * sysdeps/alpha/hp-timing.h: Include it.
1300         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1301         * sysdeps/i386/i686/hp-timing.h: Likewise.
1302         * sysdeps/ia64/hp-timing.h: Likewise.
1303         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1304         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1305         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1306         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1307         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1308         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1309         (hp_timing_t): New.
1310
1311         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1312         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1313         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1314         * elf/rtld.c (_dl_start_final): Likewise.
1315         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1316         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1317         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1318         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1319         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1320         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1321         (HP_TIMING_DIFF_INIT): Remove.
1322         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1323         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1324         (HP_TIMING_DIFF_INIT): Remove.
1325         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1326         * sysdeps/i386/i686/hp-timing.c: Remove file.
1327         * sysdeps/x86_64/hp-timing.c: Remove file.
1328         * sysdeps/ia64/hp-timing.c: Remove file.
1329         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1330         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1331         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1332         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1333
1334         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1335         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1336         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1337         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1338         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1339         (HP_TIMING_ACCUM): Remove.
1340         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1341         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1342         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1343
1344         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1345         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1346         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1347         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1348         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1349         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1350         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1351         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1352
1353         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1354
1355 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1356
1357         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1358
1359 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1360
1361         Sync up with gettext.
1362         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1363         [_MSC_VER]: Include malloc.h
1364         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1365         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1366         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1367         TEMP_FAILURE_RETRY.  Cast return of alloca.
1368         [!_LIBC] Call gl_rwlock_init.
1369         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1370
1371 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1372
1373         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1374         before checking its value.
1375
1376 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1377
1378         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1379
1380         * debug/memcpy_chk.c: Don't include pagecopy.h.
1381         * debug/mempcpy_chk.c: Likewise.
1382         * string/memcpy.c: Likewise.
1383         * string/memmove.c: Likewise.
1384         * sysdeps/powerpc/memmove.c: Likewise.
1385         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1386         definition of PAGE_COPY_FWD_MAYBE here...
1387         * sysdeps/generic/pagecopy.h: ... from here.
1388         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1389
1390 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1391             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1392
1393         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1395         optimizations.
1396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1397         (__libc_ifunc_impl_list): Likewise.
1398         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1399         multiarch strcat for PPC64.
1400         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1401         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1402
1403 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1404
1405         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1406
1407 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1408
1409         * intl/loadmsgcat.c: Remove declaration of
1410         get_sysdep_segment_value.
1411         (get_sysdep_segment_value): Use ISO C style.
1412         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1413         semicolon.  Fix typo and formatting in comment.
1414         (_nl_unload_domain): Use ISO C style.
1415
1416         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1417
1418 2014-07-02  Will Newton  <will.newton@linaro.org>
1419
1420         * malloc/obstack.c: Merge from gnulib master.
1421         [HAVE_CONFIG_H]: Remove conditional code.
1422         [!_LIBC]: Include config.h.
1423         [!ELIDE_CODE]: Don't include inttypes.h, include
1424         stdint.h unconditionally.
1425         (print_and_abort): Mark as _Noreturn.
1426         (_obstack_allocated_p): Mark as __attribute_pure__.
1427         (obstack_free): Rename to __obstack_free.
1428         [!__attribute__]: Remove conditional code.
1429         * malloc/obstack.h: Merge from gnulib master.
1430         [__cplusplus]: Move conditional down.
1431         [!__attribute_pure__]: Define __attribute_pure__ here
1432         if it is not already defined.
1433         (_obstack_memory_used): Mark as __attribute_pure__.
1434         [!__obstack_free]: Define as obstack_free.
1435         [__GNUC__]: Remove check for ancient NeXT gcc.
1436
1437 2014-07-02  Will Newton  <will.newton@linaro.org>
1438             Paul Eggert  <eggert@cs.ucla.edu>
1439
1440         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1441
1442 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1443
1444         * resolv/gethnamaddr.c: Add comment warning that the file is
1445         not maintained.
1446
1447 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1448
1449         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1450         entries.
1451
1452         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1453         entry for aio_cancel and aio_cancel64.
1454         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1455         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1456         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1457         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1458         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1459         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1460         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1461         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1462         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1463         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1464         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1465         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1466         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1467
1468 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1469
1470         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1471         * nptl/pthread_mutex_lock.c: Likewise.
1472         * nptl/pthread_mutex_timedlock.c: Likewise.
1473         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1474
1475 2014-07-01  Richard henderson  <rth@redhat.com>
1476
1477         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1478         (__isnan, __isnanl): Remove.
1479         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1480
1481         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1482
1483 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1484
1485         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1486
1487 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1488
1489         * resolv/nss_dns/dns-host.c (getanswer_r)
1490         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1491
1492 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1493
1494         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1495         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1496         undefine.
1497         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1498         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1499
1500 2014-07-01  Roland McGrath <roland@hack.frob.com>
1501
1502         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1503         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1504
1505         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1506         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1507
1508         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1509         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1510         ... here.
1511         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1512         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1513
1514         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1515         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1516         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1517         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1518
1519         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1520         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1521         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1522         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1523         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1524         Moved ...
1525         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1526         ... here.
1527         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1528         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1529         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1530         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1531         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1532         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1533         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1534         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1535         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1536         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1537         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1538         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1539         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1540         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1541         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1542         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1543         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1544         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1545         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1546         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1547         ... here.
1548         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1549         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1550         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1551         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1552         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1553         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1554         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1555         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1556
1557 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1558
1559         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1560         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1561         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1562         Add sysdep.
1563
1564 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1565
1566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1567
1568 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1569
1570         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1571         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1572
1573         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1574
1575         * sysdeps/arm/libm-test-ulps: Regenerated.
1576
1577 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1578             Roland McGrath <roland@hack.frob.com>
1579
1580         * test-skeleton.c (signal_handler): Kill the whole process group
1581         before killing the child individually.
1582         (main): Report any failure on `setpgid'.
1583
1584 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1585
1586         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1587         from _TLS_H to _ARM_NPTL_TLS_H.
1588         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1589         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1590
1591 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1592
1593         [BZ #16539]
1594         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1595         (__expm1l): Return argument unchanged when small but not
1596         subnormal.
1597
1598         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1599         include macro name.
1600         (_FP_UNPACK_RAW_1_P): Likewise.
1601         (_FP_PACK_RAW_1): Likewise.
1602         (_FP_PACK_RAW_1_P): Likewise.
1603         (_FP_MUL_MEAT_1_wide): Likewise.
1604         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1605         (_FP_MUL_MEAT_1_hard): Likewise.
1606         (_FP_DIV_MEAT_1_imm): Likewise.
1607         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1608         (_FP_DIV_MEAT_1_udiv): Likewise.
1609         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1610         (_FP_UNPACK_RAW_2): Likewise.
1611         (_FP_UNPACK_RAW_2_P): Likewise.
1612         (_FP_PACK_RAW_2): Likewise.
1613         (_FP_PACK_RAW_2_P): Likewise.
1614         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1615         (_FP_MUL_MEAT_2_wide): Likewise.
1616         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1617         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1618         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1619         (_FP_MUL_MEAT_2_gmp): Likewise.
1620         (_FP_DIV_MEAT_2_udiv): Likewise.
1621         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1622         (_FP_FRAC_SRL_4): Likewise.
1623         (_FP_FRAC_SRST_4): Likewise.
1624         (_FP_FRAC_SRS_4): Likewise.
1625         (_FP_UNPACK_RAW_4): Likewise.
1626         (_FP_UNPACK_RAW_4_P): Likewise.
1627         (_FP_PACK_RAW_4): Likewise.
1628         (_FP_PACK_RAW_4_P): Likewise.
1629         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1630         (_FP_MUL_MEAT_4_wide): Likewise.
1631         (_FP_MUL_MEAT_4_gmp): Likewise.
1632         (umul_ppppmnnn): Likewise.
1633         (_FP_DIV_MEAT_4_udiv): Likewise.
1634         (__FP_FRAC_ADD_4): Likewise.
1635         (__FP_FRAC_SUB_3): Likewise.
1636         (__FP_FRAC_SUB_4): Likewise.
1637         (__FP_FRAC_DEC_3): Likewise.
1638         (__FP_FRAC_DEC_4): Likewise.
1639         (__FP_FRAC_ADDI_4): Likewise.
1640         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1641         (_FP_FRAC_SRL_8): Likewise.
1642         (_FP_FRAC_SRS_8): Likewise.
1643
1644         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1645         include macro name.
1646         (FP_UNPACK_RAW_EP): Likewise.
1647         (FP_PACK_RAW_E): Likewise.
1648         (FP_PACK_RAW_EP): Likewise.
1649         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1650         (_FP_ISSIGNAN): Likewise.
1651         (_FP_ADD_INTERNAL): Likewise.
1652         (_FP_FMA): Likewise.
1653         (_FP_CMP): Likewise.
1654         (_FP_SQRT): Likewise.
1655         (_FP_TO_INT): Likewise.
1656         (_FP_FROM_INT): Likewise.
1657         (FP_EXTEND): Likewise.
1658         (_FP_DIV_MEAT_N_loop): Likewise.
1659
1660 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1661
1662         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1663         throughout.
1664
1665 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1666
1667         [BZ #17097]
1668         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1669         result with correct sign in case of exponents that produce
1670         overflow except for X very close to 1.
1671
1672 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1673
1674         mktime: merge #if/#ifdef usage from glibc
1675         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1676         as that works with both Glibc's and Gnulib's style.
1677         See thread starting at Siddhesh Poyarekar's bug report at:
1678         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1679
1680 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1681
1682         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1683         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1684         * sysdeps/tile/tilegx/memmove.c: Remove file.
1685
1686 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1687
1688         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1689         abi-name definition.
1690         * scripts/soversions.awk: Do not handle or generate ABI lines.
1691         * shlib-versions: Remove ABI entries.
1692         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1693         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1694
1695 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1696
1697         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1698         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1699         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1700         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1701         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1702         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1703         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1704         Moved ...
1705         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1706         ... here.
1707         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1708         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1709         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1710         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1711         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1712         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1714         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1715         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1716         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1718         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1720         Moved ...
1721         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1722         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1723         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1724         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1725         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1726         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1727         Moved ...
1728         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1729         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1730         Moved ...
1731         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1733         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1734         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1735         Moved ...
1736         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1737         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1738         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1739         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1740         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1741         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1742         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1743         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1744         Moved ...
1745         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1746         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1747         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1748         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1749         Moved ...
1750         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1751         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1752         Moved ...
1753         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1754         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1755         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1756         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1757         Moved ...
1758         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1759         ... here.
1760         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1761         Identical file removed.
1762         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1763         Moved ...
1764         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1765         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1766         Identical file removed.
1767         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1768         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1769         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1770         Moved ...
1771         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1772         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1773         Identical file removed.
1774         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1775         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1776         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1777         Identical file removed.
1778         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1779         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1780         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1781         Identical file removed.
1782         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1783         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1784         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1785         Identical file removed.
1786         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1787         Moved ...
1788         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1789         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1790         Identical file removed.
1791         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1792         Moved ...
1793         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1794         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1795         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1796         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1797         Identical file removed.
1798         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1799         Moved ...
1800         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1801         ... here.
1802         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1803         Identical file removed.
1804         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1805         Moved ...
1806         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1807         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1808         Identical file removed.
1809         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1810         Moved ...
1811         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1812         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1813         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1814         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1815         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1816         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1817         Moved ...
1818         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1819         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1820         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1821
1822         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1823         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1824         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1825         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1826         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1827
1828 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1829
1830         [BZ #17092]
1831         * nscd/nscd.c (monitor_child): Return exit status of child
1832         instead of return value from wait syscall.
1833
1834 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1835
1836         * configure.ac (libc_commonpagesize): Remove variable.
1837         (libc_relro_required): Likewise.
1838         (libc_cv_z_relro): Remove configure test.
1839         * configure: Regenerated.
1840         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1841         variable.
1842         (libc_relro_required): Likewise.
1843         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1844         (libc_relro_required): Likewise.
1845         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1846         (libc_relro_required): Likewise.
1847         * sysdeps/arm/preconfigure: Regenerated.
1848         * sysdeps/ia64/preconfigure: Remove file.
1849         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1850         variable.
1851         (libc_relro_required): Likewise.
1852
1853         [BZ #16561]
1854         [BZ #16562]
1855         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1856         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1857         recompute overflowing results in original rounding mode.
1858         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1859         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1860         recompute overflowing results in original rounding mode.
1861         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1862         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1863         recompute overflowing results in original rounding mode.
1864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1865         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1866         recompute overflowing results in original rounding mode.
1867         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1868         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1869         recompute overflowing results in original rounding mode.
1870         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1871         (libc_feholdsetround_ctx): New macro.
1872         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1873         * sysdeps/i386/fpu/libm-test-ulps: Update.
1874         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1875
1876 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1877
1878         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1879         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1880         corresponding .cpsetup call.
1881
1882 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1883
1884         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1885         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1886         * sysdeps/arm/Makefile [$(subdir) = csu]
1887         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1888         (static-only-routines): Add aeabi_read_tp here.
1889         (shared-only-routines): Add libc-aeabi_read_tp here.
1890         (CFLAGS-libc-start.c): Add -fexceptions here.
1891         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1892         (sysdep_routines, static-only-routines, shared-only-routines):
1893         Don't add to these here.
1894         (CFLAGS-libc-start.c): Likewise.
1895
1896         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1897         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1898         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1899         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1900         * sysdeps/arm/Makefile [$(subdir) = rt]
1901         (librt-sysdep_routines, librt-shared-only-routines):
1902         Append rt-aeabi_unwind_cpp_pr1 here.
1903         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1904         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1905         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1906         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1907         Append nptl-aeabi_unwind_cpp_pr1 here.
1908         (tests): Filter out tst-cleanupx4 here.
1909         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1910         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1911         Don't do those here.
1912
1913 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1914
1915         * scripts/list-sources.sh: Do not handle ports specially.
1916
1917 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1918
1919         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1920         * sysdeps/arm/feupdateenv.c: Likewise.
1921
1922         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1923
1924 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1925
1926         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1927         trailing whitespace removed.
1928         * scripts/config.guess: Update to version 2014-03-23.
1929         * scripts/config.sub: Update to version 2014-05-01
1930         * scripts/install-sh: Update to version 2013-12-25.23.
1931         * scripts/move-if-change: Update from gnulib.
1932
1933 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1934
1935         * debug/memmove_chk.c: Remove pagecopy.h include.
1936
1937 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1938
1939         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1940         identical to gnulib mktime.
1941
1942 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1943
1944         * configure.ac: Do not test for machine being rs6000.  Do not test
1945         for powerpc*-*soft.
1946         * configure: Regenerated.
1947
1948         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1949         test.
1950         * configure: Regenerated.
1951         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1952         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1953         Remove configure test.
1954         * sysdeps/arm/configure: Regenerated.
1955         * sysdeps/nptl/configure.ac: Do not check
1956         libc_cv_asm_cfi_directives.
1957         * sysdeps/nptl/configure: Regenerated.
1958         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1959         * sysdeps/x86_64/nptl/configure: Remove generated file.
1960         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1961         unconditional.
1962         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1963
1964 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1965
1966         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1967         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1968         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1969         it is defined.
1970
1971         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1972         instead of whether it is defined.
1973         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1974         * sysdeps/hppa/dl-machine.h: Likewise.
1975         * sysdeps/ia64/dl-machine.h: Likewise.
1976         * sysdeps/m68k/dl-machine.h: Likewise.
1977         * sysdeps/microblaze/dl-machine.h: Likewise.
1978         * sysdeps/mips/dl-machine.: Likewise.
1979         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1980         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1981         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1982         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1983         * sysdeps/sh/dl-machine.h: Likewise.
1984         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1985         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1986         * sysdeps/tile/dl-machine.h: Likewise.
1987         * sysdeps/x86_64/dl-machine.h: Likewise.
1988
1989         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1990         code.
1991         (verify_persistent_db): Likewise.
1992
1993 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1994
1995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1996         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1998         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2000         Moved ...
2001         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2002         ... here.
2003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2004         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2006         Identical file removed.
2007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2008         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2010         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2012         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2014         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2016         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2018         Moved ...
2019         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2021         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2023         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2025         Moved ...
2026         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2028         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2030         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2032         Identical file removed.
2033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2034         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2036         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2038         Moved ...
2039         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2040         ... here.
2041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2042         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2044         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2046         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2048         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2050         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2052         Moved ...
2053         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2055         Moved ...
2056         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2058         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2060         Moved ...
2061         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2063         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2064
2065         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2066         folded into ...
2067         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2068         * sysdeps/unix/sysv/linux/s390/Versions
2069         (libpthread: GLIBC_2.19): New version set.
2070         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2071         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2072         (librt: GLIBC_2.3.3): New version set.
2073         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2074         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2075         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2076         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2077         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2078         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2079         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2080         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2081         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2082         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2083         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2084         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2085         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2086         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2087         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2088         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2089         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2090         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2091         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2092         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2093         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2094         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2095         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2096         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2097         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2098         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2099         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2100         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2101         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2102         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2103         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2104         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2106         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2109         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2110         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2111         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2112         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2113         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2114         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2115         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2116         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2117         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2118
2119         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2120         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2121         (__libc_vfork): Define the function under this name.
2122         [!NOT_IN_libc] (__vfork): Make this an alias.
2123         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2125         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2126         (__libc_vfork): Define the function under this name.
2127         [!NOT_IN_libc] (__vfork): Make this an alias.
2128         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2129         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2130         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2131         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2132         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2133         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2134
2135         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2136         code that was previously under [RESET_PID].
2137         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2138         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2139         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2140
2141         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2142         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2143         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2144         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2145         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2146         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2147         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2148         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2149         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2150         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2151         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2152         Moved ...
2153         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2154         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2155         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2156         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2157         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2158         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2159         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2160         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2161         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2162         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2163         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2164         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2165         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2166         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2167         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2168         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2169         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2170         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2171         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2172         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2173         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2174         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2175         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2176         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2177         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2178         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2179         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2180         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2181         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2182
2183 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2184
2185         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2186         that was previously under [RESET_PID].
2187         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2188
2189 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2190
2191         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2192         not undefine and redefine.
2193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2194         [O_CLOEXEC]: Make code unconditional.
2195         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2196         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2197         <kernel-features.h>.
2198         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2199         conditional variable definition.
2200         (shm_open) [O_CLOEXEC]: Make code unconditional.
2201         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2202         code.
2203
2204         * configure.ac (USE_REGPARMS): Don't define here.
2205         * configure: Regenerated.
2206         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2207         * sysdeps/i386/configure: Regenerated.
2208
2209         * nptl/createthread.c: Don't include kernel-features.h.
2210         * nptl/pthread_cancel.c: Likewise.
2211         * nptl/pthread_condattr_setclock.c: Likewise.
2212         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2213         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2214         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2215         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2216         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2217         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2218         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2221         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2222         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2223         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2224         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2225         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2226         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2227         * nscd/gai.c: Likewise.
2228         * nss/nss_db/db-open.c: Likewise.
2229         * sysdeps/generic/ldsodefs.h: Likewise.
2230         * sysdeps/sh/nptl/tls.h: Likewise.
2231         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2232         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2233         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2234         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2235         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2236         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2237         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2238         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2239         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2240         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2241         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2242         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2243         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2244         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2245         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2246         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2247         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2248         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2249         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2250         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2252         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2253         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2254         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2256         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2258         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2259         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2260         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2261         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2262         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2263         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2264         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2265         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2266         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2267         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2268         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2269         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2270         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2271         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2272         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2273         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2274         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2275         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2276         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2277         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2278         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2279         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2280         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2281         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2282         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2283         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2284         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2285         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2286         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2287         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2288         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2311         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2312         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2313         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2314         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2315         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2316         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2317         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2318         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2319         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2320         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2321         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2322         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2323         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2324         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2325         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2326         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2327         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2328         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2329         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2330         * sysdeps/unix/sysv/linux/system.c: Likewise.
2331         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2332         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2333         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2334         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2335         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2336         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2337         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2338
2339         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2340         * configure: Regenerated.
2341         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2342
2343         * configure.ac (base_machine): Do not set specially for particular
2344         machines here.
2345         * configure: Regenerated.
2346         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2347         settings from configure.ac.
2348         * sysdeps/i386/preconfigure: New file.
2349         * sysdeps/s390/preconfigure: Likewise.
2350         * sysdeps/sh/preconfigure: Likewise.
2351         * sysdeps/sparc/preconfigure: Likewise.
2352
2353 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2354
2355         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2356         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2357         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2358         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2359         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2360         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2361         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2362         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2363         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2364         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2365         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2366         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2367         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2368         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2369         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2370         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2371         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2372         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2373         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2374
2375         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2376         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2377         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2378         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2379         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2380         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2381         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2382         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2383         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2384         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2385         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2386         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2387         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2388         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2389         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2390         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2391         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2392         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2393         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2394         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2395         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2396         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2397         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2398         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2399         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2400         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2402         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2403         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2404         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2405         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2406         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2407         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2408         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2409         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2410         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2411         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2412         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2413
2414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2415         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2417         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2419         Moved ...
2420         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2421         ... here.
2422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2423         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2425         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2427         Moved ...
2428         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2430         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2432         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2434         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2436         Moved ...
2437         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2439         Moved ...
2440         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2442         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2444         Moved ...
2445         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2447         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2449         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2451         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2453         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2455         Moved ...
2456         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2457         ... here.
2458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2459         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2461         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2463         Moved ...
2464         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2466         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2468         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2470         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2472         Moved ...
2473         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2475         Moved ...
2476         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2478         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2480         Moved ...
2481         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2483         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2485         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2486
2487 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2488
2489         * timezone/checktab.awk: Update from tzcode 2014e.
2490         * timezone/private.h: Likewise.
2491         * timezone/tzfile.h: Likewise.
2492         * timezone/zdump.c: Likewise.
2493         * timezone/zic.c: Likewise.
2494
2495         * sysdeps/unix/sysv/linux/kernel-features.h
2496         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2497         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2498         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2499         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2500         Remove conditional code.
2501
2502 2014-06-25  Will Newton  <will.newton@linaro.org>
2503
2504         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2505         (_dl_arm_cap_flags): Add HWCAP2 values.
2506         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2507         (_DL_HWCAP_COUNT): Increase to 37.
2508         (_DL_HWCAP_LAST): New define.
2509         (_DL_HWCAP2_LAST): New define.
2510         (_dl_procinfo): Add support for printing
2511         AT_HWCAP2 entries.
2512         (_dl_string_hwcap): Use _dl_hwcap_string.
2513
2514 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2515
2516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2517
2518 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2519
2520         * README: Do not mention ports directory.
2521
2522         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2523         Remove macro.
2524         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2525         <kernel-features.h>.
2526         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2527         conditional variable definition.
2528         (__futimes): Update comment.
2529         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2530         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2531
2532         [BZ #16560]
2533         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2534         arguments close to 0.
2535         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2536         Likewise.
2537         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2538         Likewise.
2539         * math/auto-libm-test-in: Add more tests of exp10.
2540         * math/auto-libm-test-out: Regenerated.
2541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2542
2543         * sysdeps/unix/sysv/linux/kernel-features.h
2544         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2545         * sysdeps/unix/sysv/linux/readv.c: Do not include
2546         <kernel-features.h>.
2547         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2548         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2549         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2550         unconditional.
2551         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2552         conditional code.
2553         * sysdeps/unix/sysv/linux/writev.c: Do not include
2554         <kernel-features.h>.
2555         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2556         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2557         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2558         unconditional.
2559         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2560         conditional code.
2561
2562 2014-06-25  Will Newton  <will.newton@linaro.org>
2563
2564         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2565         comment changes throughout the file.  Remove checks
2566         for HAVE_*_H definitions that are not required.
2567         (__gen_tempname): Call abort if an unknown kind value is
2568         passed.
2569
2570 2014-06-25  Andreas Schwab  <schwab@suse.de>
2571
2572         [BZ #17086]
2573         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2574         scalbln, scalblnf, scalblnl in libc.
2575
2576 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2577
2578         [BZ #17086]
2579         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2580         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2581         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2582
2583 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2584
2585         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2586         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2587         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2588         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2589         Update #include.
2590         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2591         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2592         Update #include.
2593         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2594         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2595         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2596         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2597         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2598         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2599         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2600         * sysdeps/x86/bits/semaphore.h: ... here.
2601         * sysdeps/x86/nptl/elide.h: Moved ...
2602         * sysdeps/x86/elide.h: ... here.
2603         * sysdeps/x86_64/nptl/Implies: File removed.
2604         * sysdeps/i386/nptl/Implies: File removed.
2605
2606 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2607
2608         [BZ #16539]
2609         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2610         return the argument for normal arguments with exponent below -64.
2611         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2612         Likewise.
2613         * math/auto-libm-test-in: Add another test of expm1.
2614         * math/auto-libm-test-out: Regenerated.
2615
2616         [BZ #16287]
2617         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2618         calling __erfcl for arguments at least 16.
2619         * math/auto-libm-test-in: Add more tests of erf.
2620         * math/auto-libm-test-out: Regenerated.
2621
2622         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2623         individual architectures.
2624         * sysdeps/unix/sysv/linux/configure: Regenerated.
2625         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2626         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2627         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2628         (ldd_rewrite_script): Define variable.
2629         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2631         file.
2632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2633         generated file.
2634         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2635         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2636         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2637         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2638         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2639         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2640         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2641         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2642
2643 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2644
2645         [BZ #17084]
2646         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2647         Rename member __data.d to __data.__elision_data.
2648
2649 2014-06-24  Wilco  <wdijkstr@arm.com>
2650
2651         * NEWS: Add 16918 to fixed bug list.
2652
2653 2014-06-24  Wilco  <wdijkstr@arm.com>
2654
2655         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2656
2657 2014-06-24  Wilco  <wdijkstr@arm.com>
2658
2659         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2660         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2661         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2662         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2663         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2664         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2665         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2666         Use _FPU_MASK_RM.
2667
2668 2014-06-24  Wilco  <wdijkstr@arm.com>
2669
2670         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2671
2672 2014-06-24  Wilco  <wdijkstr@arm.com>
2673
2674         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2675         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2676         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2677         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2678
2679 2014-06-24  Wilco  <wdijkstr@arm.com>
2680
2681         [BZ #16918]
2682         * sysdeps/arm/feupdateenv.c (feupdateenv):
2683         Rewrite to reduce FPSCR accesses and fix return value.
2684
2685 2014-06-24  Wilco  <wdijkstr@arm.com>
2686
2687         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2688         Optimize to avoid unnecessary FPSCR writes.
2689         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2690         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2691         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2692         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2693
2694 2014-06-24  Wilco  <wdijkstr@arm.com>
2695
2696         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2697         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2698         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2699         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2700         Call libc_fetestexcept_vfp.
2701         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2702         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2703         __SOFTFP__ ifdef so that they can be built for softfp.
2704
2705 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2706
2707         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2708         argument type signed char.
2709
2710         * Makerules (check-abi): Dump diff of symlist if the test
2711         fails.
2712
2713 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2714
2715         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2716         using abort.
2717
2718         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2719         Remove unused variable ST.
2720
2721 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2722
2723         [BZ #16354]
2724         [BZ #17061]
2725         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2726         small arguments before calling __expm1.
2727         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2728         small arguments before calling __expm1f.
2729         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2730         small arguments before calling __expm1l.
2731         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2732         Likewise.
2733         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2734         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2735         spurious underflow for some cosh tests.
2736         * math/auto-libm-test-out: Regenerated.
2737         * sysdeps/i386/fpu/libm-test-ulps: Update.
2738
2739         [BZ #17050]
2740         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2741         (__ieee754_y1): Set errno if return value overflows.
2742         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2743         (__ieee754_y1f): Set errno if return value overflows.
2744         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2745         (__ieee754_y1l): Set errno if return value overflows.
2746         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2747         (__ieee754_y1l): Set errno if return value overflows.
2748         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2749         * math/auto-libm-test-out: Regenerated.
2750
2751         * math/gen-auto-libm-tests.c: Document use of
2752         ignore-zero-inf-sign.
2753         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2754         (input_flags): Add ignore-zero-inf-sign.
2755         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2756         * math/gen-libm-test.pl (generate_testfile): Handle
2757         ignore-zero-inf-sign.
2758         * math/auto-libm-test-in: Mark some cpow tests with
2759         ignore-zero-inf-sign and some with xfail-rounding.
2760         * math/auto-libm-test-out: Regenerated.
2761         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2762         * sysdeps/i386/fpu/libm-test-ulps: Update.
2763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2764
2765         [BZ #16315]
2766         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2767         overflowing or underflowing operations take place with sign of
2768         result.
2769         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2770         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2771         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2772         (__ieee754_pow): Recompute overflowing and underflowing results in
2773         original rounding mode.
2774         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2775         (__powl_helper): Allow negative argument X and scale negated value
2776         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2777         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2778         overflowing or underflowing operations take place with sign of
2779         result.
2780         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2781         Include <math.h>.
2782         * math/auto-libm-test-in: Add more tests of pow.
2783         * math/auto-libm-test-out: Regenerated.
2784         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2785         (pow_tonearest_test_data): Remove.
2786         (pow_test_tonearest): Likewise.
2787         (pow_towardzero_test_data): Likewise.
2788         (pow_test_towardzero): Likewise.
2789         (pow_downward_test_data): Likewise.
2790         (pow_test_downward): Likewise.
2791         (pow_upward_test_data): Likewise.
2792         (pow_test_upward): Likewise.
2793         (main): Don't call removed functions.
2794         * sysdeps/i386/fpu/libm-test-ulps: Update.
2795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796
2797 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2798
2799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2800         Moved ...
2801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2803         Moved ...
2804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2806         Moved ...
2807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2809         Moved ...
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2812         File removed.
2813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2814         File removed.
2815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2816         File removed.
2817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2818         File removed.
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2820         File removed.
2821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2822         File removed.
2823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2824         File removed.
2825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2826         File removed.
2827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2828         File removed.
2829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2830         File removed.
2831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2832         File removed.
2833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2834         File removed.
2835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2836         Moved ...
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2839         Moved ...
2840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2841         ... here.
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2843         Moved ...
2844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2846         Moved ...
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2849         Moved ...
2850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2852         Moved ...
2853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2855         Moved ...
2856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2858         Moved ...
2859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2861         Moved ...
2862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2865         ... here.
2866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2870         Moved ...
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2872         ... here.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2874         Moved ...
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2876         ... here.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2878         Moved ...
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2880         ... here.
2881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2882         Moved ...
2883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2885         Moved ...
2886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2890         Moved ...
2891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2892         ... here.
2893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2894         Moved ...
2895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2896         ... here.
2897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2898         Moved ...
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2901         Moved ...
2902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2904         Moved ...
2905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2907         Moved ...
2908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2910         Moved ...
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2912         ... here.
2913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2914         Moved ...
2915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2917         Moved ...
2918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2920         Moved ...
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2923         Moved ...
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2928         Moved ...
2929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2931         Moved ...
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2934         Moved ...
2935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2936         ... here.
2937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2938         Moved ...
2939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2940         ... here.
2941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2942         Moved ...
2943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2944         ... here.
2945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2946         Moved ...
2947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2949         Moved ...
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2952         Moved ...
2953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2955         Moved ...
2956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2957         ... here.
2958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2959         Moved ...
2960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2961         ... here.
2962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2963         Moved ...
2964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2965         ... here.
2966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2967         Moved ...
2968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2970         Moved ...
2971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2972
2973 2014-06-23  Will Newton  <will.newton@linaro.org>
2974             Wilco  <wdijkstr@arm.com>
2975
2976         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2977         implementation.  Include get-rounding-mode.h.
2978         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2979         [!libc_feholdsetround_noex_ctx]: Define
2980         libc_feholdsetround_noex_ctx.
2981         [!libc_feholdsetround_noexf_ctx]: Define
2982         libc_feholdsetround_noexf_ctx.
2983         [!libc_feholdsetround_noexl_ctx]: Define
2984         libc_feholdsetround_noexl_ctx.
2985         (libc_feholdsetround_ctx): New function.
2986         (libc_feresetround_ctx): New function.
2987         (libc_feholdsetround_noex_ctx): New function.
2988         (libc_feresetround_noex_ctx): New function.
2989
2990 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2991
2992         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2993         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2994         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2995         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2996         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2997         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2998
2999         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3000         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3001         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3002         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3003         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3004         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3005         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3006         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3007         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3008         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3009         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3010         Moved ...
3011         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3012         ... here.
3013         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3014         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3015         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3016         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3017         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3018         Moved ...
3019         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3020         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3021         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3022         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3023         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3024         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3025         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3026         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3027         Moved ...
3028         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3029         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3030         Moved ...
3031         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3032         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3033         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3034         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3035         Moved ...
3036         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3037         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3038         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3039         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3040         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3041         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3042         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3043         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3044         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3045         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3046         Moved ...
3047         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3048         ... here.
3049         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3050         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3051         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3052         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3053         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3054         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3055         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3056         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3057         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3058         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3059         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3060         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3061         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3062         Moved ...
3063         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3064         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3065         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3066         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3067         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3068         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3069         Moved ...
3070         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3071         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3072         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3073         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3074         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3075
3076         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3077         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3078         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3079         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3080         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3081         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3082         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3083         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3084         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3085         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3086         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3087         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3088         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3089         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3090         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3091         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3092         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3093         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3094         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3095         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3096         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3097         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3098         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3099         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3100         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3101         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3102         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3103         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3104
3105 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3106
3107         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3108         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3109         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3110         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3111         (IPV6_PMTUDISC_INTERFACE): Likewise.
3112         (IPV6_PMTUDISC_OMIT): Likewise.
3113
3114 2014-06-23  Andreas Schwab  <schwab@suse.de>
3115
3116         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3117         Remove unused errout label.
3118
3119 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3120
3121         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3122         macro: hardware supports Vector Crypto instructions.
3123
3124 2014-06-23  Will Newton  <will.newton@linaro.org>
3125
3126         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3127         rather than __builtin_expect.
3128
3129         * elf/dl-lookup.c (undefined_msg): Remove variable.
3130         (_dl_lookup_symbol_x): Replace undefined_msg with string
3131         literal.
3132
3133         * elf/dl-lookup.c (do_lookup_unique): New function.
3134         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3135         to a separate function.
3136
3137 2014-06-23  Andreas Schwab  <schwab@suse.de>
3138
3139         [BZ #17079]
3140         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3141         before reading the next line.
3142
3143 2014-06-23  Will Newton  <will.newton@linaro.org>
3144
3145         * test-skeleton.c (signal_handler): Use printf and %m
3146         rather than perror.  Use printf rather than fprintf to
3147         stderr.  Use puts rather than fputs to stderr.
3148         (main): Likewise.
3149
3150 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3151
3152         * nscd/nscd.c (thread_info_t): Remove typedef.
3153         (thread_info): Remove variable.
3154
3155 2014-06-21  Allan McRae  <allan@archlinux.org>
3156
3157         * NEWS: Mention CVE-2014-4043.
3158
3159 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3160
3161         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3162         * nptl/smp.h: ... here.
3163
3164         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3165
3166         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3167         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3168         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3169         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3170
3171         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3172         * nptl/stack-aliasing.h: New file.
3173         * sysdeps/i386/i686/stack-aliasing.h: New file.
3174         * sysdeps/i386/i686/nptl/Makefile: File removed.
3175         * sysdeps/x86_64/stack-aliasing.h: New file.
3176         * sysdeps/x86_64/nptl/Makefile
3177         (CFLAGS-pthread_create.c): Variable removed.
3178
3179         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3180         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3181         old file.
3182         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3183         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3184         old file.
3185
3186 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3187
3188         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3189         (__ASSUME_SIGFRAME_V2): Remove macro.
3190         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3191         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3192         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3193         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3194         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3195         Declare as function.  Remove conditional macro definitions.
3196         (__default_rt_sa_restorer): Likewise.
3197         (__default_sa_restorer_v1): Remove declaration.
3198         (__default_sa_restorer_v2): Likewise.
3199         (__default_rt_sa_restorer_v1): Likewise.
3200         (__default_rt_sa_restorer_v2): Likewise.
3201         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3202         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3203         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3204
3205 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3206
3207         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3208         (libpthread-routines): Add sysdep.
3209         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3210         * sysdeps/unix/sysv/linux/sparc/Versions
3211         (libpthread: GLIBC_2.3.3): New version set.
3212         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3213         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3214         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3215         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3216         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3217         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3218         Moved ...
3219         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3220         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3221         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3222         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3223         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3224         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3225         * sysdeps/sparc/nptl/sem_init.c: ... here.
3226         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3227         * sysdeps/sparc/nptl/sem_post.c: ... here.
3228         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3229         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3230         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3231         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3232         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3233         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3234         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3235         (libpthread-routines): Add cpu_relax.
3236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3237         File removed.
3238         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3239         (librt: GLIBC_2.3.3): New version set.
3240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3241         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3242         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3243         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3246         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3248         Moved ...
3249         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3251         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3253         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3255         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3257         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3259         Moved ...
3260         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3261         Update #include.
3262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3263         Moved ...
3264         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3265         Update #include.
3266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3267         Moved ...
3268         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3269         Update #include.
3270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3271         Moved ...
3272         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3273         Update #include.
3274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3275         Moved ...
3276         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3277         Update #include.
3278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3279         Moved ...
3280         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3281         Update #include.
3282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3283         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3285         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3289         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3291         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3293         Moved ...
3294         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3296         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3298         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3299
3300 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3301
3302         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3303         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3304         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3305         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3306         * nscd/nscd.c: Likewise.
3307         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3308         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3309         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3310         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3311
3312         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3313         <kernel-features.h>.
3314         (init_mq_netlink): Remove conditional have_sock_cloexec
3315         definitions.  Remove code conditional on have_sock_cloexec < 0.
3316         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3317         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3318         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3319         <kernel-features.h>.
3320         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3321         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3322
3323 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3324
3325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3326         Add tests for memset_chk and memset.
3327
3328         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3329         with AVX2_Usable.
3330
3331 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3332
3333         [BZ #16046]
3334         * elf/tst-dl-iter-static.c: New file.
3335         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3336
3337         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3338         error.
3339
3340 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3341
3342         * sysdeps/unix/sysv/linux/kernel-features.h
3343         (__ASSUME_F_GETOWN_EX): Remove macro.
3344         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3345         <kernel-features.h>.
3346         (miss_F_GETOWN_EX): Remove variable or macro.
3347         (do_fcntl): Do not check miss_F_GETOWN_EX.
3348         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3349
3350         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3351         Remove macro.
3352         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3353         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3354         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3355
3356         * sysdeps/unix/sysv/linux/kernel-features.h
3357         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3358         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3359         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3360         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3361
3362 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3363
3364         [BZ #17075]
3365         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3366         Fix calculation of the symbol's value.
3367         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3368         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3369         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3370         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3371         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3372         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3373         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3374         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3375         (modules-names): Add `tst-armtlsdescmod',
3376         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3377         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3378         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3379         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3380         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3381         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3382         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3383         ($(objpfx)tst-armtlsdescloc): New dependency.
3384         ($(objpfx)tst-armtlsdescextnow): Likewise.
3385         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3386         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3387         TLS scheme support.
3388         * sysdeps/arm/configure: Regenerate.
3389
3390 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3391
3392         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3393         (__atfct_seterrno_2): Likewise.
3394         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3395         <kernel-features.h>.
3396         (__ASSUME_ATFCTS): Do not undefine and redefine.
3397         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3398         (__have_atfcts): Remove conditional definition.
3399         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3400         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3401         unreachable if [__ASSUME_ATFCTS].
3402         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3403         not undefine and redefine.
3404         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3405         <kernel-features.h>.
3406         (faccessat) [__NR_faccessat]: Make code unconditional.
3407         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3408         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3409         <kernel-features.h>.
3410         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3411         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3412         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3413         <kernel-features.h>.
3414         (fchownat) [__NR_fchownat]: Make code unconditional.
3415         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3416         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3417         <kernel-features.h>.
3418         (futimesat) [__NR_futimesat]: Make code unconditional.
3419         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3420         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3421         <kernel-features.h>.
3422         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3423         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3424         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3425         <kernel-features.h>.
3426         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3427         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3428         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3429         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3430         <kernel-features.h>.
3431         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3432         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3433         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3434         <kernel-features.h>.
3435         (linkat) [__NR_linkat]: Make code unconditional.
3436         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3437         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3438         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3439         <kernel-features.h>.
3440         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3441         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3442         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3443         <kernel-features.h>.
3444         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3445         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3446         * sysdeps/unix/sysv/linux/openat.c: Do not include
3447         <kernel-features.h>.
3448         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3449         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3450         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3451         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3452         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3453         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3454         <kernel-features.h>.
3455         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3456         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3457         result of INLINE_SYSCALL directly, not via int variable.
3458         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3459         <kernel-features.h>.
3460         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3461         (renameat) [__NR_renameat]: Make code unconditional.
3462         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3463         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3464         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3465         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3466         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3467         (__ASSUME_ATFCTS): Do not undefine and redefine.
3468         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3469         <kernel-features.h>.
3470         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3471         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3472         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3473         <kernel-features.h>.
3474         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3475         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3476         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3477         (__ASSUME_ATFCTS): Do not undefine and redefine.
3478         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3479         <kernel-features.h>.
3480         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3481         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3482         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3483         <kernel-features.h>.
3484         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3485         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3486
3487 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3488
3489         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3490
3491 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3492
3493         [BZ #17069]
3494         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3495         constructed tree before returning error.
3496         * posix/bug-regexp36.c: Expand test case.
3497
3498 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3499
3500         [BZ #6803]
3501         * math/libm-test.inc (scalbln_test_date):
3502         Add errno expectations.
3503         * math/w_scalblnf.c: New File.
3504         Add wrapper which checks for setting errno to ERANGE.
3505         Add weak_alias for corresponding scalbln function.
3506         * math/w_scalbln.c: Likewise.
3507         * math/w_scalblnl.c: Likewise.
3508         * math/Makefile (libm-calls): Add w_scalbln.
3509         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3510         Remove weak_alias for corresponding scalbln function.
3511         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3512         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3513         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3514         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3515         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3516         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3517         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3518         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3519         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3520         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3521         Remove long_double_symbol for scalblnl function in libm, libc.
3522         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3523         Add wrapper which checks for setting errno to ERANGE.
3524         Add long_double_symbol for scalblnl function in libm, libc.
3525         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3526         Remove long_double_symbol for scalblnl in libm.
3527         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3528         Add wrapper which checks for setting errno to ERANGE.
3529         Add long_double_symbol for scalblnl function in libm.
3530         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3531         Do not use wrapper because of own implementation.
3532
3533 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3534
3535         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3536         3 bytes for __pad1 for x32.
3537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3538
3539 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3540             H.J. Lu  <hongjiu.lu@intel.com>
3541
3542         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3543         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3544         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3545         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3546         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3547
3548 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3549
3550         [BZ #17069]
3551         * posix/regcomp.c (parse_expression): Deallocate partially
3552         constructed tree before returning error.
3553         * posix/Makefile.c (tests): Add bug-regex36.
3554         (generated): Add bug-regex36.mtrace.
3555         (tests-special): Add $(objpfx)bug-regex36-mem.out
3556         (bug-regex36-ENV): New variable.
3557         ($(objpfx)bug-regex36-mem.out): New rule.
3558         * posix/bug-regex36.c: New file.
3559
3560 2014-06-19  Will Newton  <will.newton@linaro.org>
3561
3562         * malloc/malloc.c (systrim): If extra is zero then return
3563         early.
3564
3565 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3566
3567         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3568
3569 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3570
3571         * sysdeps/aarch64/strchr.S: New file.
3572
3573 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3574
3575         [BZ #17022]
3576         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3577         from arguments -2 or below.
3578         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3579         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3580
3581 2014-06-18  Andreas Schwab  <schwab@suse.de>
3582
3583         [BZ #17062]
3584         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3585         of a bracket expr not to run off the end of the string.
3586         * posix/Makefile (tests): Add tst-fnmatch3.
3587         * posix/tst-fnmatch3.c: New file.
3588
3589 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3590
3591         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3592         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3593         [$(cross-compiling) = no]: Likewise.
3594         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3595         [$(cross-compiling) = no]: Likewise.
3596
3597 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3598
3599         [BZ #17031]
3600         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3601         double, adjusted for any remainder from the high double.
3602         * math/libm-test.inc (nearbyint): Add tests.
3603         (rint): Likewise.
3604
3605 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3606
3607         * nptl/sysdeps/powerpc/Makefile: Moved ...
3608         * sysdeps/powerpc/nptl/Makefile: ... here.
3609         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3610         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3611         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3612         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3613         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3614         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3615         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3616         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3617         * nptl/sysdeps/powerpc/tls.h: Moved ...
3618         * sysdeps/powerpc/nptl/tls.h: ... here.
3619
3620 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3621
3622         [BZ #16681]
3623         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3624         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3625         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3626         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3627         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3628         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3629         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3630         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3631         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3632
3633 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3634
3635         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3636
3637 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3638
3639         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3640         defined operator.
3641
3642         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3643         $TIMEOUTFACTOR.
3644
3645 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3646
3647         [BZ #17058]
3648         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3649         non-executed part of the test.
3650
3651 2014-06-16  Andreas Schwab  <schwab@suse.de>
3652
3653         * string/bits/string2.h (strdup, strndup): Update feature guard.
3654
3655 2014-06-14  David S. Miller  <davem@davemloft.net>
3656
3657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3658
3659 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3660
3661         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3662         that was previously under [RESET_PID].
3663         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3664
3665         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3666         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3667         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3668         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3669         (__libc_vfork): New strong alias.
3670         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3671
3672 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3673
3674         * sysdeps/generic/elide.h: New file.
3675
3676 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3677
3678         * Makefile (installed-headers): Adjust path of pthread.h header.
3679
3680 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3681
3682         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3683         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3684         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3685         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3686
3687         * nptl/sysdeps/s390/Makefile: Moved ...
3688         * sysdeps/s390/nptl/Makefile: ... here.
3689         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3690         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3691         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3692         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3693         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3694         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3695         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3696         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3697         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3698         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3699         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3700         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3701         * nptl/sysdeps/s390/tls.h: Moved ...
3702         * sysdeps/s390/nptl/tls.h: ... here.
3703
3704         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3705         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3706
3707 2014-06-13  David S. Miller  <davem@davemloft.net>
3708
3709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3711         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3712         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3716         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3717         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3718         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3719         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3720         Remove RESET_PID cpp guards.
3721         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3722         Remove RESET_PID cpp guards.
3723         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3724
3725 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3726
3727         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3728         __sp to uintptr_t.
3729
3730 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3731
3732         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3733         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3734         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3736         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3737         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3738         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3739         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3740         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3741         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3742         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3743         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3744         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3745         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3746         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3747         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3748         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3749         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3750         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3751         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3752
3753         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3754         (pthread_rwlock_rdlock): Add elision.
3755         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3756         (pthread_rwlock_wrlock): Add elision.
3757         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3758         (pthread_rwlock_trywrlock): Add elision.
3759         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3760         (pthread_rwlock_tryrdlock): Add elision.
3761         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3762         (pthread_rwlock_tryrdlock): Add elision unlock.
3763         * nptl/sysdeps/pthread/pthread.h:
3764         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3765         (PTHREAD_RWLOCK_INITIALIZER,
3766         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3767         Handle new elision field.
3768         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3769         * sysdeps/arm/nptl/bits/pthreadtypes.h
3770         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3771         * sysdeps/sh/nptl/bits/pthreadtypes.h
3772         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3773         * sysdeps/tile/nptl/bits/pthreadtypes.h
3774         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3775         * sysdeps/a/nptl/bits/pthreadtypes.h
3776         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3777         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3778         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3779         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3780         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3781         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3782         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3783         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3784         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3785         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3786         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3787         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3788         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3789         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3790         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3791         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3792         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3793         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3794         (elision_init): Set try_xbegin to zero when no RTM.
3795         * sysdeps/x86/nptl/bits/pthreadtypes.h
3796         (pthread_rwlock_t): Change __pad1 to __rwelision.
3797         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3798
3799 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3800
3801         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3802         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3803         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3804         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3805
3806 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3807
3808         [BZ #16996]
3809         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3810         that the cached result has been set before returning it.
3811
3812 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3813
3814         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3815         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3816         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3817         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3818         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3819         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3820
3821         * nptl/sysdeps/sparc/Makefile: Moved ...
3822         * sysdeps/sparc/nptl/Makefile: ... here.
3823         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3824         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3825         * nptl/sysdeps/sparc/tls.h: Moved ...
3826         * sysdeps/sparc/nptl/tls.h: ... here.
3827         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3828         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3829         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3830         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3831         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3832         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3833         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3834         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3835         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3836         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3837         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3838         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3839         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3840         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3841         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3842         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3843         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3844         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3845         Update #include.
3846         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3847         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3848         Update #include.
3849         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3850         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3851         Update #include.
3852         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3854         Update #include.
3855
3856         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3857
3858         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3859         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3860
3861         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3862         (struct list_links): Type removed.
3863         (struct thread_node, struct timer_node): Replace struct list_links
3864         with struct list_head.
3865         (list_unlink_ip): Likewise.
3866         * sysdeps/pthread/timer_routines.c
3867         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3868         (list_append, list_insbefore): Likewise.
3869         (list_init): Function removed.
3870         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3871         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3872         * sysdeps/pthread/Makefile: ... here, new file.
3873
3874         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3875         * sysdeps/nptl/Implies: ... here.
3876         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3877         * nptl/sysdeps/pthread/list.h: Moved ...
3878         * include/list.h: ... here.
3879         * nptl/sysdeps/pthread/createthread.c: Moved ...
3880         * nptl/createthread.c: ... here.
3881         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3882         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3883         * nptl/pt-longjmp.c: ... here.
3884         * nptl/sysdeps/pthread/Makefile: Moved ...
3885         * sysdeps/nptl/Makefile: ... here.
3886         * nptl/sysdeps/pthread/Subdirs: Moved ...
3887         * sysdeps/nptl/Subdirs: ... here.
3888         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3889         * sysdeps/nptl/aio_misc.h: ... here.
3890         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3891         * sysdeps/nptl/bits/libc-lock.h: ... here.
3892         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3893         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3894         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3895         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3896         * nptl/sysdeps/pthread/configure: Moved ...
3897         * sysdeps/nptl/configure: ... here.
3898         * nptl/sysdeps/pthread/configure.ac: Moved ...
3899         * sysdeps/nptl/configure.ac: ... here.
3900         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3901         * sysdeps/nptl/gai_misc.h: ... here.
3902         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3903         * sysdeps/nptl/librt-cancellation.c: ... here.
3904         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3905         * sysdeps/nptl/malloc-machine.h: ... here.
3906         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3907         * sysdeps/nptl/pthread-functions.h: ... here.
3908         * nptl/sysdeps/pthread/pthread.h: Moved ...
3909         * sysdeps/nptl/pthread.h: ... here.
3910         * nptl/sysdeps/pthread/setxid.h: Moved ...
3911         * sysdeps/nptl/setxid.h: ... here.
3912         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3913         * sysdeps/nptl/sigfillset.c: ... here.
3914         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3915         * sysdeps/nptl/tcb-offsets.h: ... here.
3916         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3917         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3918         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3919         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3920         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3921         * sysdeps/pthread/allocalim.h: ... here.
3922         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3923         * sysdeps/pthread/bits/sigthread.h: ... here.
3924         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3925         * sysdeps/pthread/flockfile.c: ... here.
3926         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3927         * sysdeps/pthread/ftrylockfile.c: ... here.
3928         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3929         * sysdeps/pthread/funlockfile.c: ... here.
3930         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3931         * sysdeps/pthread/posix-timer.h: ... here.
3932         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3933         * sysdeps/pthread/timer_create.c: ... here.
3934         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3935         * sysdeps/pthread/timer_delete.c: ... here.
3936         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3937         * sysdeps/pthread/timer_getoverr.c: ... here.
3938         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3939         * sysdeps/pthread/timer_gettime.c: ... here.
3940         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3941         * sysdeps/pthread/timer_routines.c: ... here.
3942         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3943         * sysdeps/pthread/timer_settime.c: ... here.
3944         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3945         * sysdeps/pthread/tst-timer.c: ... here.
3946         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3947         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3948
3949         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3950         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3951
3952         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3953         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3954         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3955         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3956         Update #include target.
3957         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3958         * sysdeps/i386/i686/nptl/Makefile: ... here.
3959         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3960         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3961         Update #include target.
3962         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3963         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3964         * nptl/sysdeps/i386/Makefile: Moved ...
3965         * sysdeps/i386/nptl/Makefile: ... here.
3966         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3967         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3968         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3969         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3970         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3971         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3972         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3973         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3974         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3975         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3976         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3977         * nptl/sysdeps/i386/tls.h: Moved ...
3978         * sysdeps/i386/nptl/tls.h: ... here.
3979
3980         * sysdeps/sh/Makefile [$(subdir) = csu]
3981         (gen-as-const-headers): Add tcb-offsets.sym.
3982         * nptl/sysdeps/sh/Makefile: File removed.
3983         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3984         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3985         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3986         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3987         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3988         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3989         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3990         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3991         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3992         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3993         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3994         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3995         * nptl/sysdeps/sh/tls.h: Moved ...
3996         * sysdeps/sh/nptl/tls.h: ... here.
3997         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3998         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3999         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4000         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4001         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4002         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4003         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4004         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4005         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4006         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4007         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4008         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4009         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4010         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4011         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4012         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4013         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4014         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4015         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4016         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4017         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4018         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4019         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4020         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4021         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4022         Moved ...
4023         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4024         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4025         Moved ...
4026         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4027         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4028         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4029         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4030         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4031         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4032         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4033         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4034         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4035         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4036         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4037         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4038         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4039         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4040         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4041         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4042         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4043         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4044         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4045
4046 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4047
4048         * posix/spawn_faction_addopen.c: Include string.h.
4049
4050 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4051
4052         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4053         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4054         * nptl/sysdeps/x86_64/Makefile: Moved ...
4055         * sysdeps/x86_64/nptl/Makefile: ... here.
4056         * nptl/sysdeps/x86_64/configure: Moved ...
4057         * sysdeps/x86_64/nptl/configure: ... here.
4058         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4059         * sysdeps/x86_64/nptl/configure.ac: ... here.
4060         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4061         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4062         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4063         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4064         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4065         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4066         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4067         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4068         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4069         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4070         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4071         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4072         * nptl/sysdeps/x86_64/tls.h: Moved ...
4073         * sysdeps/x86_64/nptl/tls.h: ... here.
4074         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4075         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4076         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4077         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4078
4079         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4080
4081 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4082
4083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4084
4085 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4086
4087         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4088         type.
4089         [POSIX] (off_t): Likewise.
4090         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4091         [POSIX] (S_ISBLK): Require macro.
4092         [POSIX] (S_ISCHR): Likewise.
4093         [POSIX] (S_ISDIR): Likewise.
4094         [POSIX] (S_ISFIFO): Likewise.
4095         [POSIX] (S_ISREG): Likewise.
4096         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4097         optional-macro.
4098         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4099         type.
4100         [POSIX] (time_t): Likewise.
4101         [POSIX] (timer_t): Likewise.
4102
4103 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4104
4105         [BZ #17048]
4106         * posix/spawn_int.h (struct __spawn_action): Make the path string
4107         non-const to support deallocation.
4108         * posix/spawn_faction_addopen.c
4109         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4110         * posix/spawn_faction_destroy.c
4111         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4112         path in all spawn_do_open actions.
4113         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4114         posix_spawn_file_actions_addopen.
4115
4116 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4117
4118         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4119         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4120         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4121         conditional code always true.
4122         (__libc_vfork): New alias.
4123
4124 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4125
4126         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4127         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4128
4129         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4130
4131         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4132         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4133
4134         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4135         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4136
4137         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4138         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4139
4140 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4141
4142         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4143         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4144         multiarch strcmp for PPC64.
4145         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4146         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4148         multiarch optimizations.
4149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4150         (__libc_ifunc_impl_list): Likewise.
4151
4152 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4153
4154         * benchtests/scripts/validate_benchout.py: New script.
4155         * benchtests/Makefile (bench-func): Call it.
4156         * benchtests/scripts/benchout.schema.json: New file.
4157
4158 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4159
4160         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4161         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4162         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4163         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4164         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4165         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4166         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4167         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4168         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4169         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4170         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4171         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4172         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4173         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4174         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4175         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4177         Moved ...
4178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4179         ... here.
4180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4181         Moved ...
4182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4184         Moved ...
4185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4186         ... here.
4187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4188         Moved ...
4189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4190         ... here.
4191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4192         Moved ...
4193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4195         Moved ...
4196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4197         ... here.
4198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4199         Moved ...
4200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4201         ... here.
4202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4203         Moved ...
4204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4206         Moved ...
4207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4208         ... here.
4209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4210         Moved ...
4211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4212         ... here.
4213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4214         Moved ...
4215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4216         ... here.
4217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4218         Moved ...
4219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4221         Moved ...
4222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4223         ... here.
4224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4225         Moved ...
4226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4227         ... here.
4228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4229         Moved ...
4230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4231         ... here.
4232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4233         Moved ...
4234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4236         Moved ...
4237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4238         ... here.
4239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4240         Moved ...
4241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4242         ... here.
4243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4244         Moved ...
4245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4247         Moved ...
4248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4249         ... here.
4250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4251         Moved ...
4252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4254         Moved ...
4255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4257         Moved ...
4258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4259         ... here.
4260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4261         Moved ...
4262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4263         ... here.
4264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4265         Moved ...
4266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4267         ... here.
4268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4269         Moved ...
4270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4272         Moved ...
4273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4274         ... here.
4275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4276         Moved ...
4277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4278         ... here.
4279         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4280         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4281         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4282         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4283         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4284         Moved ...
4285         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4286         ... here.
4287         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4288         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4289         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4290         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4291         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4292         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4293         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4294         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4295         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4296         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4297         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4298         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4299         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4300         Moved ...
4301         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4302         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4303         Moved ...
4304         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4305         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4306         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4307         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4308         Moved ...
4309         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4310         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4311         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4312         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4313         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4314         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4315         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4316
4317 2014-06-10  Wilco  <wdijkstr@arm.com>
4318
4319         * math/test-fenv-return.c: New file.
4320         * math/Makefile: Add new test test-fenv-return.
4321
4322 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4323
4324         [BZ #17042]
4325         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4326         when x - 1 is zero.
4327         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4328         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4329         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4330         0.0L for an argument of 1.0L.
4331         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4332         Likewise.
4333         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4334         value when x - 1 is zero.
4335         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4336         * sysdeps/i386/fpu/libm-test-ulps: Update.
4337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4338
4339 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4340
4341         [BZ #15119]
4342         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4343
4344 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4345
4346         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4347         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4348
4349 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4350
4351         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4352         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4353
4354         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4355         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4356
4357         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4358         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4359
4360         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4361         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4362
4363         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4364         if not already defined.
4365         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4366         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4367         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4368         (TLS_INIT_TP): Use it.
4369         (TLS_DEFINE_INIT_TP): New macro.
4370         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4371
4372 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4373
4374         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4375         constant.
4376         [POSIX] (IXANY): Likewise.
4377         [POSIX] (OLCUC): Likewise.
4378         [POSIX || POSIX2008] (CBAUD): Do not allow.
4379         [POSIX || POSIX2008] (DEFECHO): Likewise.
4380         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4381         [POSIX || POSIX2008] (ECHOKE): Likewise.
4382         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4383         [POSIX || POSIX2008] (EXTA): Likewise.
4384         [POSIX || POSIX2008] (EXTB): Likewise.
4385         [POSIX || POSIX2008] (FLUSHO): Likewise.
4386         [POSIX || POSIX2008] (LOBLK): Likewise.
4387         [POSIX || POSIX2008] (PENDIN): Likewise.
4388         [POSIX || POSIX2008] (SWTCH): Likewise.
4389         [POSIX || POSIX2008] (VDISCARD): Likewise.
4390         [POSIX || POSIX2008] (VDSUSP): Likewise.
4391         [POSIX || POSIX2008] (VLNEXT): Likewise.
4392         [POSIX || POSIX2008] (VREPRINT): Likewise.
4393         [POSIX || POSIX2008] (VSTATUS): Likewise.
4394         [POSIX || POSIX2008] (VWERASE): Likewise.
4395         (B*): Change to B[0123456789]*.
4396         * conform/data/time.h-data [POSIX || UNIX98]
4397         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4398         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4399         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4400         [POSIX] (tm_*): Do not allow.
4401
4402 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4403
4404         * Makefile (install): Don't set LANGUAGE.
4405         * Makefile.in (install): Likewise.
4406         * assert/Makefile (test-assert-ENV): Remove variable.
4407         (test-assert-perr-ENV): Likewise.
4408         * elf/Makefile (neededtest4-ENV): Likewise.
4409         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4410         [$(cross-compiling) = no]: Don't set LANGUAGE.
4411         * io/ftwtest-sh (LANG): Remove variable.
4412         * libio/Makefile (tst-widetext-ENV): Likewise.
4413         * manual/install.texi (Running make install): Don't refer to
4414         environment settings for make install.
4415         * INSTALL: Regenerated.
4416         * nptl/tst-tls6.sh: Don't set LANG.
4417         * posix/globtest.sh (LANG): Remove variable.
4418         * string/Makefile (tester-ENV): Likewise.
4419         (inl-tester-ENV): Likewise.
4420         (noinl-tester-ENV): Likewise.
4421         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4422         [$(cross-compiling) = no]: Don't set LANGUAGE.
4423         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4424         without explicit environment settings.
4425
4426 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4427
4428         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4429         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4430         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4431         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4432
4433 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4434
4435         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4436         other files in the crypt directory.
4437         * crypt/crypt.c: Remove duplicate includes.
4438         * crypt/crypt-entry.c: Likewise.
4439         * crypt/crypt_util.c: Likewise.
4440
4441 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4442
4443         * Makeconfig (run-program-env): New variable.
4444         (run-program-prefix-before-env): Likewise.
4445         (run-program-prefix-after-env): Likewise.
4446         (run-program-prefix): Define in terms of new variables.
4447         (built-program-cmd-before-env): New variable.
4448         (built-program-cmd-after-env): Likewise.
4449         (built-program-cmd): Define in terms of new variables.
4450         (test-program-prefix-before-env): New variable.
4451         (test-program-prefix-after-env): Likewise.
4452         (test-program-prefix): Define in terms of new variables.
4453         (test-program-cmd-before-env): New variable.
4454         (test-program-cmd-after-env): Likewise.
4455         (test-program-cmd): Define in terms of new variables.
4456         * Rules (make-test-out): Use $(run-program-env).
4457         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4458         (help): Do not mention environment variables.  Mention
4459         --timeoutfactor option.
4460         (timeoutfactor): New variable.
4461         (blacklist_exports): Remove function.
4462         (exports): Remove variable.
4463         (command): Do not include ${exports}.
4464         * manual/install.texi (Configuring and compiling): Do not mention
4465         test wrappers preserving environment variables.  Mention that last
4466         assignment to a variable must take precedence.
4467         * INSTALL: Regenerated.
4468         * benchtests/Makefile (run-bench): Use $(run-program-env).
4469         * catgets/Makefile ($(objpfx)test1.cat): Use
4470         $(built-program-cmd-before-env), $(run-program-env) and
4471         $(built-program-cmd-after-env).
4472         ($(objpfx)test2.cat): Do not specify environment variables
4473         explicitly.
4474         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4475         $(run-program-env) and $(built-program-cmd-after-env).
4476         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4477         $(run-program-env) and $(test-program-cmd-after-env).
4478         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4479         explicitly.
4480         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4481         run_program_env and test_program_cmd_after_env arguments.
4482         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4483         * elf/tst-pathopt.sh: Use run_program_env argument.
4484         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4485         $(test-wrapper-env) and $(run-program-env).
4486         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4487         run_program_env arguments.
4488         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4489         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4490         $(test-program-prefix-before-env), $(run-program-env) and
4491         $(test-program-prefix-after-env).
4492         ($(objpfx)tst-gettext2.out): Likewise.
4493         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4494         run_program_env and test_program_prefix_after_env arguments.
4495         * intl/tst-gettext2.sh: Likewise.
4496         * intl/tst-gettext4.sh: Do not set environment variables
4497         explicitly.
4498         * intl/tst-gettext6.sh: Likewise.
4499         * intl/tst-translit.sh: Likewise.
4500         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4501         $(test-program-prefix-before-env), $(run-program-env) and
4502         $(test-program-prefix-after-env).
4503         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4504         run_program_env and test_program_prefix_after_env arguments.
4505         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4506         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4507         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4508         explicitly with each use of ${test_wrapper_env}.
4509         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4510         $(test-program-prefix-before-env), $(run-program-env) and
4511         $(test-program-prefix-after-env).
4512         * posix/tst-getconf.sh: Do not set environment variables
4513         explicitly.
4514         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4515         run_program_env and test_program_prefix_after_env arguments.
4516         * stdio-common/tst-printf.sh: Do not set environment variables
4517         explicitly.
4518         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4519         $(test-program-prefix-before-env), $(run-program-env) and
4520         $(test-program-prefix-after-env).
4521         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4522         run_program_env and test_program_prefix_after_env arguments.
4523         Split $test calls into $test_pre and $test.
4524         * timezone/Makefile (build-testdata): Use
4525         $(built-program-cmd-before-env), $(run-program-env) and
4526         $(built-program-cmd-after-env).
4527
4528 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4529
4530         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4531         strlen for non SHARED builds.
4532
4533 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4534
4535         * nptl/allocatestack.c (check_list): Inlined function...
4536         (__reclaim_stacks): ... here.
4537
4538 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4539
4540         [BZ #15698]
4541         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4542         memory overrun.
4543
4544 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4545
4546         * Rules (make-test-out): Include
4547         LOCPATH=$(common-objpfx)localedata in default environment.
4548         * debug/Makefile (tst-chk1-ENV): Remove variable.
4549         (tst-chk2-ENV): Likewise.
4550         (tst-chk3-ENV): Likewise.
4551         (tst-chk4-ENV): Likewise.
4552         (tst-chk5-ENV): Likewise.
4553         (tst-chk6-ENV): Likewise.
4554         (tst-lfschk1-ENV): Likewise.
4555         (tst-lfschk2-ENV): Likewise.
4556         (tst-lfschk3-ENV): Likewise.
4557         (tst-lfschk4-ENV): Likewise.
4558         (tst-lfschk5-ENV): Likewise.
4559         (tst-lfschk6-ENV): Likewise.
4560         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4561         (tst-iconv7-ENV): Likewise.
4562         * intl/Makefile (LOCPATH-ENV): Likewise.
4563         (tst-codeset-ENV): Likewise.
4564         (tst-gettext3-ENV): Likewise.
4565         (tst-gettext5-ENV): Likewise.
4566         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4567         (tst-fopenloc-ENV): Likewise.
4568         (tst-fgetws-ENV): Remove variable.
4569         (tst-ungetwc1-ENV): Likewise.
4570         (tst-ungetwc2-ENV): Likewise.
4571         (bug-ungetwc2-ENV): Likewise.
4572         (tst-swscanf-ENV): Likewise.
4573         (bug-ftell-ENV): Likewise.
4574         (tst-fgetwc-ENV): Likewise.
4575         (tst-fseek-ENV): Likewise.
4576         (tst-ftell-partial-wide-ENV): Likewise.
4577         (tst-ftell-active-handler-ENV): Likewise.
4578         (tst-ftell-append-ENV): Likewise.
4579         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4580         (tst-regexloc-ENV): Likewise.
4581         (bug-regex1-ENV): Likewise.
4582         (tst-regex-ENV): Likewise.
4583         (tst-regex2-ENV): Likewise.
4584         (bug-regex5-ENV): Likewise.
4585         (bug-regex6-ENV): Likewise.
4586         (bug-regex17-ENV): Likewise.
4587         (bug-regex18-ENV): Likewise.
4588         (bug-regex19-ENV): Likewise.
4589         (bug-regex20-ENV): Likewise.
4590         (bug-regex22-ENV): Likewise.
4591         (bug-regex23-ENV): Likewise.
4592         (bug-regex25-ENV): Likewise.
4593         (bug-regex26-ENV): Likewise.
4594         (bug-regex30-ENV): Likewise.
4595         (bug-regex32-ENV): Likewise.
4596         (bug-regex33-ENV): Likewise.
4597         (bug-regex34-ENV): Likewise.
4598         (bug-regex35-ENV): Likewise.
4599         (tst-rxspencer-ENV): Likewise.
4600         (tst-rxspencer-no-utf8-ENV): Likewise.
4601         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4602         (tst-sscanf-ENV): Likewise.
4603         (tst-swprintf-ENV): Likewise.
4604         (tst-swscanf-ENV): Likewise.
4605         (test-vfprintf-ENV): Likewise.
4606         (scanf13-ENV): Likewise.
4607         (bug14-ENV): Likewise.
4608         (tst-grouping-ENV): Likewise.
4609         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4610         (tst-strtod3-ENV): Likewise.
4611         (tst-strtod4-ENV): Likewise.
4612         (tst-strtod5-ENV): Likewise.
4613         (testmb2-ENV): Likewise./
4614         * string/Makefile (tst-strxfrm-ENV): Likewise.
4615         (tst-strxfrm2-ENV): Likewise.
4616         (bug-strcoll1-ENV): Likewise.
4617         (test-strcasecmp-ENV): Likewise.
4618         (test-strncasecmp-ENV): Likewise.
4619         * time/Makefile (tst-strptime-ENV): Likewise.
4620         (tst-ftime_l-ENV): Likewise.
4621         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4622         (tst-mbrtowc-ENV): Likewise.
4623         (tst-wcrtomb-ENV): Likewise.
4624         (tst-mbrtowc2-ENV): Likewise.
4625         (tst-c16c32-1-ENV): Likewise.
4626         (tst-mbsnrtowcs-ENV): Likewise.
4627
4628 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4629
4630         * manual/resource.texi (How to get information about the memory
4631         subsystem?): Fix typo.
4632         Reported by Peon de la Parra Ivan <peon@keba.com>
4633
4634 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4635
4636         [BZ #16882]
4637         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4638         (pthread_spin_lock): Branch out of spin loop to proper location.
4639         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4640         (pthread_spin_lock): Likewise.
4641
4642         * nptl/tst-spin4.c: New test.
4643         * nptl/Makefile (tests): Add tst-spin4.
4644
4645 2014-06-03  Andreas Schwab  <schwab@suse.de>
4646
4647         [BZ #15946]
4648         * resolv/res_send.c (send_dg): Reload file descriptor after
4649         calling reopen.
4650
4651 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4652
4653         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4654
4655 2014-06-03  Richard Henderson  <rth@redhat.com>
4656
4657         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4658         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4659         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4660         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4661         in the SAVE_PID block.
4662         (__libc_vfork): New alias.
4663         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4664
4665         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4666         child in registers, not on the stack.  Remove RESET_PID conditionals.
4667         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4668
4669 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4670
4671         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4672
4673 2014-06-03  Wilco  <wdijkstr@arm.com>
4674
4675         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4676         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4677         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4678         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4679         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4680         Likewise.
4681
4682 2014-06-03  Wilco  <wdijkstr@arm.com>
4683
4684         * sysdeps/aarch64/fpu/math_private.h
4685         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4686         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4687         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4688         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4689         Fix declarations.
4690
4691 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4692
4693         * crypt/crypt-private.h: Include ufc-crypt.h.
4694         (__b64_from_24bit): Declare extern.
4695         * crypt/crypt_util.c(__b64_from_24bit): New function.
4696         (b64t): New static const variable.
4697         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4698         (b64t): Remove variable.
4699         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4700         * crypt/sha256-crypt.c: Include crypt-private.h.
4701         (b64t): Remove variable.
4702         (__sha256_crypt_r): Remove b64_from_24bit and replace
4703         with __b64_from_24bit.
4704         * crypt/sha512-crypt.c: Likewise.
4705
4706 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4707
4708         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4709         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4710         Label the code __libc_vfork rather than __vfork.
4711         [!NOT_IN_libc] (vfork): Define as weak alias.
4712         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4713         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4714         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4715
4716 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4717
4718         * malloc/malloc.c (malloc_info): Fix format specifier for
4719         n_mmaps.
4720
4721 2014-06-02  Wilco  <wdijkstr@arm.com>
4722
4723         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4724         FPCR write.
4725
4726 2014-06-02  Wilco  <wdijkstr@arm.com>
4727
4728         [BZ #17009]
4729         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4730         Rewrite to reduce FPCR/FPSR accesses.
4731
4732 2014-06-01  David S. Miller  <davem@davemloft.net>
4733
4734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4735
4736 2014-05-31  David S. Miller  <davem@davemloft.net>
4737
4738         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4739         to occur in round to nearest mode when |x| >= 2.0
4740
4741 2014-05-30  Richard Henderson  <rth@twiddle.net>
4742
4743         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4744         (PSEUDO_RET_NOERRNO): Remove.
4745         (ret): Don't redefine.
4746         (ret_NOERRNO): Define in terms of ret.
4747         (ret_ERRVAL): Likewise.
4748
4749         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4750         use of PSEUDO_RET; perform the error check directly.
4751
4752 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4753
4754         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4755         with __int128_t.
4756
4757 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4758
4759         * malloc/malloc (malloc_info): Fix formatting.
4760
4761 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4762             Roland McGrath  <roland@hack.frob.com>
4763
4764         * malloc/malloc (malloc_info): Also print mmapped statistics.
4765
4766 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4767
4768         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4769         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4770
4771 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4772
4773         * malloc/malloc.c (malloc_info): Inline mi_arena.
4774
4775 2014-05-29  Richard Henderson  <rth@twiddle.net>
4776
4777         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4778         Remove comma before expanding ASM_ARGS_##nr.
4779         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4780         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4781         of ASM_ARGS_##nr.
4782         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4783         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4784         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4785         (ASM_ARGS_1): Add leading comma.
4786
4787         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4788         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4789         to __errno_location.
4790         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4791         Remove the expected plt for __errno_location.
4792
4793         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4794         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4795         call to __read_tp.
4796
4797         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4798         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4799         it and break it down.
4800         (DOCARGS_0, DOCARGS_1): Do nothing.
4801         (DOCARGS_2): Update to store into the new stack frame.
4802         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4803         (UNDOCARGS_1): Update to restore from the new stack frame.
4804         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4805         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4806
4807         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4808         (SINGLE_THREAD_P): New parameter for result regno.
4809         (PSEUDO): Update to match; use cbz instead of beq.
4810
4811         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4812         Use ENTRY to define the _nocancel entry point.  Share the syscall
4813         and syscall error check paths with the cancel path.
4814         (PSEUDO_END): New.
4815
4816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4817         whitespace; tabs before and after asm mnemonics.
4818
4819 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4820
4821         [BZ #15132]
4822         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4823         Call fstat64 or stat64 internally, depending on arguments passed.
4824         Replace stat buffer argument with file descriptor argument.
4825         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4826         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4827         Pass fd to __internal_statvfs instead of calling fstat64.
4828         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4829         Pass fd to __internal_statvfs64 instead of calling fstat64.
4830         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4831         Pass -1 to __internal_statvfs instead of calling stat64.
4832         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4833         Pass -1 to __internal_statvfs64 instead of calling stat64.
4834
4835 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4836
4837         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4838         that was previously under [RESET_PID].
4839         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4840
4841         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4842         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4843
4844 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4845
4846         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4847
4848         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4849         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4850
4851 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4852
4853         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4854
4855 2014-05-27  Andreas Schwab  <schwab@suse.de>
4856
4857         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4858         TLS_INIT_TP macro.
4859         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4860         * elf/rtld.c (init_tls, dl_main): Likewise.
4861         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4862         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4863         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4864         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4865         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4866         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4867         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4868         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4869         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4870         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4871         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4872         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4873         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4874         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4875         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4876         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4877         * sysdeps/generic/tls.h: Update description.
4878
4879 2014-05-27  Will Newton  <will.newton@linaro.org>
4880
4881         [BZ #16990]
4882         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4883         and restore r2 rather than just restoring.
4884
4885 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4886
4887         [BZ #16724]
4888         * libio/tst-ftell-append.c: New test case.
4889         * libio/Makefile (tests): Add test case.
4890         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4891         append mode.
4892         * libio/wfileops.c (do_ftell_wide): Likewise.
4893
4894 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4895
4896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4897
4898         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4899         ...
4900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4902         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4903         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4904         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4905         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4906         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4907         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4909         Moved ...
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4912         Moved ...
4913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4914         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4915         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4916         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4917         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4918         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4919         ...
4920         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4921         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4922         Moved ...
4923         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4924         here.
4925         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4926         ...
4927         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4928         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4929         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4930
4931         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4932         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4933         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4934         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4935
4936         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4937         merge into ...
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4940         ...
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4942         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4943         ...
4944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4945         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4946         Moved ...
4947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4948         here.
4949         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4950         Moved ...
4951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4952         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4953         Moved ...
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4955
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4957         conditional [RESET_PID].
4958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4960         removed.
4961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4962         removed.
4963
4964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4965         <tcb-offsets.h>.
4966         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4967         (__libc_vfork): New strong alias.
4968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4969         removed.
4970         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4971         Removed.
4972
4973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4974         <tcb-offsets.h>.
4975         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4976         (__libc_vfork): New strong alias.
4977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4978         removed.
4979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4980         removed.
4981
4982 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4983
4984         * malloc/malloc.c (mi_arena): New function.
4985         (malloc_info): Remove nested function mi_arena. Call non-nosted
4986         function mi_arena.
4987
4988 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4989
4990         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4991         by insrwi.
4992         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4993         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4994         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4995         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4996         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4997         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4998         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4999
5000 2014-05-26  Andreas Schwab  <schwab@suse.de>
5001
5002         [BZ #16984]
5003         * locale/programs/repertoire.c (repertoire_read): Add slash
5004         between I18NPATH element and file name.
5005         * locale/programs/locfile.c (locfile_read): Likewise.
5006
5007 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5008
5009         * nptl/pthread_mutexattr_settype.c
5010         (__pthread_mutexattr_settype):
5011         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5012
5013 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5014
5015         * nptl/tst-mutex5 (do_test):
5016         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5017
5018 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5019
5020         * benchtests/README: Document 'init' directive.
5021         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5022         BENCH_INIT.
5023         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5024         (parse_file): Recognize 'init' directive.
5025
5026 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5027
5028         [BZ #16796]
5029         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5030         alignment of struct pthread.
5031
5032 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5033
5034         [BZ #16878]
5035         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5036         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5037         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5038         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5039
5040 2014-05-25  Richard Henderson  <rth@twiddle.net>
5041
5042         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5043         (SINGLE_THREAD_P_PIC): Remove.
5044         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5045         (SINGLE_THREAD_P_PIC): Remove.
5046
5047         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5048         branch to syscall error ...
5049         (PSEUDO): ... here.
5050         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5051         from __local_syscall_error to .Lsyscall_error.
5052         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5053         (SYSCALL_ERROR): Update label name.
5054
5055         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5056         Do not use DOARGS/UNDOARGS.
5057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5058         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5059         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5060         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5061         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5062
5063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5064         block comment.
5065
5066         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5067         define if !NOT_IN_libc.
5068         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5069         define with non-default symbol versions.
5070
5071 2014-05-23  Richard Henderson  <rth@twiddle.net>
5072
5073         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5074         (vfork, __vfork): Define via compat_symbol.
5075
5076         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5077         [!HAVE_IFUNC] (vfork_compat): Remove.
5078         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5079
5080 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5081
5082         [BZ #16978]
5083         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5084         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5085         variable.
5086
5087 2014-05-23  Richard Henderson  <rth@twiddle.net>
5088
5089         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5090         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5091         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5092         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5093
5094         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5095         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5096         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5097         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5098         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5099         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5100         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5101         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5102         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5103         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5104         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5105         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5106         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5107         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5108         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5109         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5111         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5112         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5113         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5114         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5115         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5116         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5117         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5118         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5119         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5120         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5121         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5122         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5123         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5124         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5125         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5126         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5127         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5128         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5129         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5130         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5131         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5132         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5133         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5134         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5135         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5136         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5137         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5138         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5139         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5140         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5141         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5142         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5143         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5144         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5145         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5146         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5147         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5148         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5149         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5150
5151         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5152         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5153         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5154         before exiting on error.
5155         (__libc_vfork): New strong alias.
5156         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5157         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5158
5159         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5160         that was previously under [RESET_PID].
5161         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5162
5163         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5164
5165 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5166
5167         [BZ #16977]
5168         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5169         value when x - 1 is zero.
5170         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5171         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5172         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5173         0.0L for an argument of 1.0L.
5174         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5175         Likewise.
5176         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5177         value when x - 1 is zero.
5178         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5179         * sysdeps/i386/fpu/libm-test-ulps: Update.
5180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5181
5182 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5183
5184         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5185         alphasort and versionsort.
5186
5187 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5188
5189         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5190         macro.
5191         [copysignf]: Likewise.
5192
5193 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5194
5195         * crypt/md5-crypt.c: Fix formatting.
5196
5197 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5198
5199         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5200         (b64_from_24bit): New function.
5201
5202 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5203
5204         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5205         libc_hidden_builtin_def to ifunc.
5206         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5207         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5208
5209 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5210
5211         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5212         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5213
5214 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5215
5216         * nscd/Depend (linuxthreads): Remove.
5217         (nptl): Add.
5218         * resolv/Depend (linuxthreads): Remove.
5219         * rt/Depend (linuxthreads): Remove.
5220
5221         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5222         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5223         $(common-objpfx)elf/.
5224         (link-libc-before-gnulib): Likewise.
5225         (elfobjdir): Remove variable.
5226         * Makefile (install): Use $(elf-objpfx) instead of
5227         $(common-objpfx)elf/.
5228         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5229         $(elfobjdir)/.
5230         (link-libc-deps): Likewise.
5231         ($(common-objpfx)libc.so): Likewise.
5232         ($(common-objpfx)linkobj/libc.so): Likewise.
5233         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5234         instead of $(common-objpfx)elf/.
5235         (symbolic-link-list): Likewise.
5236         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5237         [$(cross-compiling) = no]: Likewise.
5238         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5239         $(elfobjdir)/.
5240         (static-gnulib-arch): Likewise.
5241         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5242         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5243         $(common-objpfx)elf/.
5244
5245 2014-05-21  Richard Henderson  <rth@redhat.com>
5246
5247         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5248         (SINGLE_THREAD_P): Use the correct width load.  Fold
5249         into the ldr offset.
5250
5251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5252         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5253
5254 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5255
5256         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5257         (libgcc_s_resume): Use __attribute_used__.
5258         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5259         Likewise.
5260
5261 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5262
5263         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5264         optimization when used with float constants.
5265
5266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5267
5268 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5269
5270         [BZ #16915]
5271         * locale/nl_langinfo_l.c: Make direct reference to every
5272         _nl_current_CATEGORY symbol.
5273         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5274         (tests-static): Add tst-langinfo-static.
5275         (tests-special): Add tst-langinfo-static.out.
5276         ($(objpfx)tst-langinfo.out): Redirect output.
5277         ($(objpfx)tst-langinfo-static.out): New.
5278         * localedata/tst-langinfo.sh: Send output to stdout.
5279         * localedata/tst-langinfo-static.c: New file.
5280
5281         [BZ #16965]
5282         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5283         when the shift amount is modulo the limb size.
5284
5285 2014-05-20  Richard Henderson  <rth@redhat.com>
5286
5287         [BZ #16967]
5288         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5289         Change type of sa_flags from unsigned int to int.
5290
5291         [BZ #16966]
5292         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5293
5294         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5295
5296 2014-05-20  Will Newton  <will.newton@linaro.org>
5297
5298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5299         Test the return value of the system call in the nocancel case.
5300
5301 2014-05-20  Will Newton  <will.newton@linaro.org>
5302             Yvan Roux  <yvan.roux@linaro.org>
5303
5304         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5305         #include of asm/ptrace.h.
5306         (PTRACE_GET_THREAD_AREA): Remove #undef.
5307         (PTRACE_GETHBPREGS): Likewise.
5308         (PTRACE_SETHBPREGS): Likewise.
5309         (struct user_regs_struct): New structure.
5310         (struct user_fpsimd_struct): New structure.
5311         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5312         #include of asm/ptrace.h and second #include of sys/user.h.
5313         (PTRACE_GET_THREAD_AREA): Remove #undef.
5314         (PTRACE_GETHBPREGS): Likewise.
5315         (PTRACE_SETHBPREGS): Likewise.
5316         (ELF_NGREG): Use new struct user_regs_struct.
5317         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5318
5319 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5320
5321         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5322         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5323
5324 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5325
5326         [BZ #16958]
5327         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5328         membar to avoid block loads/stores to overlap previous stores.
5329
5330 2014-05-17  Richard Henderson  <rth@redhat.com>
5331
5332         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5333         Create the __##syscall_name##_nocancel entry point.
5334         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5335         Remove; let the sysdep-cancel.h code create it.
5336
5337 2014-05-17  David S. Miller  <davem@davemloft.net>
5338
5339         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5340         Protect with __USE_GNU.
5341         (TIOCSET_TEMPT): Likewise.
5342         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5343         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5344         these are already provided in bits/ioctl-types.h
5345
5346 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5347
5348         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5349         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5350
5351         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5352         Use wait4 regardless of [__NR_waitpid].
5353
5354 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5355
5356         PR libgcc/60166
5357         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5358         (_FP_NANSIGN_Q): Set the quiet bit.
5359
5360 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5361
5362         * benchtests/Makefile
5363         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5364         not $(common-objpfx)math/libm.so.
5365         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5366         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5367         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5368         $(common-objpfx)dlfcn/libdl.so.
5369         ($(objpfx)tst-audit8): Depend on $(libm), not
5370         $(common-objpfx)math/libm.so.
5371         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5372         not $(common-objpfx)dlfcn/libdl.so.
5373         * math/Makefile
5374         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5375         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5376         [$(build-shared) = yes].
5377         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5378         $(common-objpfx)nptl/libpthread.so.
5379         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5380         $(common-objpfx)math/libm.so$(libm.so-version) or
5381         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5382         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5383         $(common-objpfx)dlfcn/libdl.so.
5384         * setjmp/Makefile (link-libm): Remove variable.
5385         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5386         * stdio-common/Makefile (link-libm): Remove variable.
5387         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5388         * stdlib/Makefile (link-libm): Remove variable.
5389         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5390         ($(objpfx)tst-strtod-round): Likewise.
5391         ($(objpfx)tst-tininess): Likewise.
5392         ($(objpfx)tst-strtod-underflow): Likewise.
5393         ($(objpfx)tst-strtod6): Likewise.
5394         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5395         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5396         $(common-objpfx)dlfcn/libdl.so.
5397
5398 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5399
5400         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5401         BSD terminal modes definitions.
5402
5403 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5404
5405         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5406         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5407
5408         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5409         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5410         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5411         Don't do #include_next.
5412         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5413         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5414         Don't do #include_next.
5415         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5416         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5417         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5418         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5419
5420 2014-05-16  Allan McRae  <allan@archlinux.org>
5421
5422         * po/sv.po: Update Swedish translation from translation project.
5423
5424         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5425         in sed expression.
5426
5427 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5428
5429         [BZ #16917]
5430         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5431         errno if the TIOCGPTN ioctl fails with an error different than
5432         EINVAL.
5433         * login/tst-ptsname.c: New file.
5434         * login/Makefile (tests): Add tst-ptsname.
5435
5436         [BZ #16943]
5437         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5438         and prlimit64.
5439
5440 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5441
5442         [BZ #16849]
5443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5444         herrno to return EAI_AGAIN.
5445
5446 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5447
5448         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5449         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5450         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5451         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5452         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5453         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5454         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5455         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5456         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5457         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5458         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5459         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5460         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5461         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5462         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5463         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5464         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5465         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5466         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5467         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5468         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5469         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5470         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5471         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5472         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5473         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5474         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5475         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5476         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5477         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5479         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5481         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5483         Moved ...
5484         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5486         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5488         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5490         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5492         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5494         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5496         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5498         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5500         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5502         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5504         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5506         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5508         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5510         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5511         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5512         Moved ...
5513         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5515         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5517         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5519         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5521         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5523         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5525         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5527         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5529         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5531         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5536         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5537
5538         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5539         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5540         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5541         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5542         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5543         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5544         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5545         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5546         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5547         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5548         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5549         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5550         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5551         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5552         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5553         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5554         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5555         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5556         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5557         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5558         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5559         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5560         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5561         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5562         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5563         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5564         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5565         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5566         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5567         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5568         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5569
5570         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5571         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5572
5573         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5574         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5575         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5576         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5577         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5578         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5579         Moved ...
5580         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5581         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5582         Moved ...
5583         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5584         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5585         Moved ...
5586         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5587         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5588         Moved ...
5589         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5590         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5591         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5592         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5593         Moved ...
5594         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5595         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5596         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5597         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5598         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5599         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5600         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5601         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5602         Moved ...
5603         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5604         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5605         Moved ...
5606         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5607         ... here.
5608         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5609         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5610         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5611         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5612         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5613         Moved ...
5614         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5615         ... here.
5616         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5617         Moved ...
5618         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5619         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5620         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5622         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5623         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5624         Moved ...
5625         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5626         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5627         Moved ...
5628         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5629         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5630         Moved ...
5631         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5632         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5633         Moved ...
5634         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5635         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5636         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5637         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5638         Moved ...
5639         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5640         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5641         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5642         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5643         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5644         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5645         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5646         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5647         Moved ...
5648         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5649         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5650         Moved ...
5651         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5652         ... here.
5653         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5654         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5655         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5656         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5657         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5658         Moved ...
5659         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5660         ... here.
5661         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5662         Moved ...
5663         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5664         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5665         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5666         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5667         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5668         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5669         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5670         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5671         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5672         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5673         Moved ...
5674         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5675         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5676         Moved ...
5677         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5678         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5679         Moved ...
5680         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5681         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5682         Moved ...
5683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5684         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5685         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5686         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5687         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5688         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5689         Moved ...
5690         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5691         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5692         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5693         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5694         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5695         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5696         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5697         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5698         Moved ...
5699         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5700         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5701         Moved ...
5702         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5703         ... here.
5704         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5705         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5706         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5707         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5708         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5709         Moved ...
5710         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5711         ... here.
5712         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5713         Moved ...
5714         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5715         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5716         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5717         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5718         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5719         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5720         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5721         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5722         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5723         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5724         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5725
5726         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5727         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5728
5729         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5730         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5731
5732         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5733         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5734         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5735         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5736         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5737         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5738         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5739         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5740         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5741         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5742         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5743         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5744         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5745         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5746         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5747         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5748         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5749         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5750         Moved ...
5751         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5752         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5753         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5754         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5755         Moved ...
5756         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5758         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5759         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5760         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5761         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5762         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5763         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5764         Moved ...
5765         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5766         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5767         Moved ...
5768         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5769         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5770         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5771         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5772         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5773         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5774         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5775         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5776         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5777         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5778         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5779         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5780         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5781         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5782         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5783         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5784         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5785
5786         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5787         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5788         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5789         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5790         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5791
5792         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5793         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5794         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5795         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5796         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5797         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5798         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5799         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5800         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5801         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5802
5803         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5804         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5805
5806         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5807         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5808         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5809         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5810         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5811         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5812         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5813         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5814         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5815         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5816         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5817         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5818         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5819         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5821         Update #include.
5822         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5823         Likewise.
5824         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5825         Likewise.
5826         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5827         Likewise.
5828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5829         Likewise.
5830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5831         Likewise.
5832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5833         Likewise.
5834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5835         Likewise.
5836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5837         Likewise.
5838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5839         Likewise.
5840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5844         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5845         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5846         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5847         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5848         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5849         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5850         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5851         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5852         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5853         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5854         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5855
5856         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5857         that was previously under [RESET_PID].
5858         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5859         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5860         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5861
5862         * sysdeps/i386/nptl/Implies: New file.
5863         * sysdeps/x86_64/nptl/Implies: New file.
5864         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5865         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5866         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5867         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5868
5869         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5870         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5871         (__libc_vfork): New strong alias.
5872         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5873         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5874
5875         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5876         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5877         (__libc_vfork): New strong alias.
5878         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5879         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5880
5881         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5882         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5883         (__libc_vfork): New strong alias.
5884         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5885         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5886         * nptl/pt-vfork.c: New file.
5887         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5888         (libpthread: GLIBC_2.20): New version set (empty).
5889
5890 2014-05-14  Will Newton  <will.newton@linaro.org>
5891
5892         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5893         rather than #if.
5894
5895 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5896
5897         [BZ #16564]
5898         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5899         arguments with exponent 65 or above.
5900         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5901         arguments 0x1p113L or above.
5902         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5903         to arguments 0x1p107L or above.
5904         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5905         positive arguments with exponent 65 or above.
5906         * math/auto-libm-test-in: Add more tests of log1p.
5907         * math/auto-libm-test-out: Regenerated.
5908
5909         [BZ #16928]
5910         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5911         non-finite arguments is +0.
5912         * math/s_cacosf.c (__cacosf): Likewise.
5913         * math/s_cacosl.c (__cacosl): Likewise.
5914         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5915         * sysdeps/i386/fpu/libm-test-ulps: Update.
5916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5917
5918         [BZ #16927]
5919         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5920         value.
5921         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5922         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5923         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5924         for explicit high bit of mantissa when testing for argument equal
5925         to 1.
5926         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5927         * sysdeps/i386/fpu/libm-test-ulps: Update.
5928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5929
5930         [BZ #16516]
5931         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5932         (__erf): Scale by 16 instead of 8 in potentially underflowing
5933         case.  Ensure exception if result actually underflows.
5934         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5935         (__erff): Scale by 16 instead of 8 in potentially underflowing
5936         case.  Ensure exception if result actually underflows.
5937         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5938         (efx8): Remove variable.
5939         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5940         case.  Ensure exception if result actually underflows.
5941         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5942         (efx8): Remove variable.
5943         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5944         case.  Ensure exception if result actually underflows.
5945         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5946         (efx8): Remove variable.
5947         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5948         case.  Ensure exception if result actually underflows.
5949         * math/auto-libm-test-in: Add more tests of erf.
5950         * math/auto-libm-test-out: Regenerated.
5951
5952 2014-05-14  Andreas Schwab  <schwab@suse.de>
5953
5954         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5955         Remove code conditionalized on USE___THREAD.
5956
5957         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5958         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5959         not definedness.
5960
5961 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5962
5963         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5964         Define unconditionally.
5965         (__ASSUME_O_CLOEXEC): Likewise.
5966         (__ASSUME_SOCK_CLOEXEC): Likewise.
5967         (__ASSUME_IN_NONBLOCK): Likewise.
5968         (__ASSUME_PIPE2): Likewise.
5969         (__ASSUME_EVENTFD2): Likewise.
5970         (__ASSUME_SIGNALFD4): Likewise.
5971         (__ASSUME_DUP3): Likewise.
5972         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5973         (__ASSUME_DUP3): Do not define.
5974         (__ASSUME_EVENTFD2): Likewise.
5975         (__ASSUME_IN_NONBLOCK): Likewise.
5976         (__ASSUME_O_CLOEXEC): Likewise.
5977         (__ASSUME_PIPE2): Likewise.
5978         (__ASSUME_SIGNALFD4): Likewise.
5979         (__ASSUME_SOCK_CLOEXEC): Likewise.
5980         (__ASSUME_UTIMES): Undefine.
5981         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5982         (__ASSUME_UTIMES): Do not define.
5983         (__ASSUME_O_CLOEXEC): Likewise.
5984         (__ASSUME_SOCK_CLOEXEC): Likewise.
5985         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5986         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5987         0x020621].
5988         (__ASSUME_PIPE2): Likewise.
5989         (__ASSUME_EVENTFD2): Likewise.
5990         (__ASSUME_SIGNALFD4): Likewise.
5991         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5992         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5993         Do not define.
5994         (__ASSUME_EVENTFD2): Likewise.
5995         (__ASSUME_SIGNALFD4): Likewise.
5996         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5997         (__ASSUME_32BITUIDS): Likewise.
5998         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5999         (__ASSUME_IPC64): Likewise.
6000         (__ASSUME_ST_INO_64_BIT): Likewise.
6001         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6002         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6003         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6004         (__ASSUME_UTIMES): Do not define.
6005         (__ASSUME_PSELECT): Likewise.
6006         (__ASSUME_PPOLL): Likewise.
6007         (__ASSUME_O_CLOEXEC): Likewise.
6008         (__ASSUME_SOCK_CLOEXEC): Likewise.
6009         (__ASSUME_IN_NONBLOCK): Likewise.
6010         (__ASSUME_PIPE2): Likewise.
6011         (__ASSUME_EVENTFD2): Likewise.
6012         (__ASSUME_SIGNALFD4): Likewise.
6013         (__ASSUME_DUP3): Likewise.
6014         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6015         (__ASSUME_UTIMES): Likewise.
6016         (__ASSUME_O_CLOEXEC): Likewise.
6017         (__ASSUME_SOCK_CLOEXEC): Likewise.
6018         (__ASSUME_IN_NONBLOCK): Likewise.
6019         (__ASSUME_PIPE2): Likewise.
6020         (__ASSUME_EVENTFD2): Likewise.
6021         (__ASSUME_SIGNALFD4): Likewise.
6022         (__ASSUME_DUP3): Likewise.
6023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6024         (__ASSUME_UTIMES): Likewise.
6025         (__ASSUME_O_CLOEXEC): Likewise.
6026         (__ASSUME_SOCK_CLOEXEC): Likewise.
6027         (__ASSUME_IN_NONBLOCK): Likewise.
6028         (__ASSUME_PIPE2): Likewise.
6029         (__ASSUME_EVENTFD2): Likewise.
6030         (__ASSUME_SIGNALFD4): Likewise.
6031         (__ASSUME_DUP3): Likewise.
6032         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6033         Likewise.
6034         (__ASSUME_UTIMES): Likewise.
6035         (__ASSUME_EVENTFD2): Likewise.
6036         (__ASSUME_SIGNALFD4): Likewise.
6037         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6038         (__ASSUME_O_CLOEXEC): Likewise.
6039         (__ASSUME_SOCK_CLOEXEC): Likewise.
6040         (__ASSUME_IN_NONBLOCK): Likewise.
6041         (__ASSUME_PIPE2): Likewise.
6042         (__ASSUME_EVENTFD2): Likewise.
6043         (__ASSUME_SIGNALFD4): Likewise.
6044         (__ASSUME_DUP3): Likewise.
6045         (__ASSUME_UTIMES): Undefine.
6046
6047         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6048         feclearexcept.  Remove symbol versioning code.
6049         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6050         symbol versioning code.
6051         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6052         symbol versioning code.
6053         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6054         feupdateenv.  Remove symbol versioning code.
6055         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6056         fegetexceptflag.  Remove symbol versioning code.
6057         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6058         fesetexceptflag.  Remove symbol versioning code.
6059         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6060         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6061         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6062         (__posix_fadvise64_l32): Remove prototype.
6063         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6064         code.
6065
6066 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6067
6068         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6069         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6070         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6071         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6072
6073 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6074
6075         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6076         current working directory
6077
6078 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6079
6080         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6081         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6082         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6083         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6084         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6085         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6086         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6087         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6088         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6089         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6090         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6091         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6092         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6093         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6094         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6095         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6096         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6097         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6098         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6099         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6100         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6101         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6102         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6103         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6104         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6105         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6106         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6107         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6108         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6109         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6110         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6111         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6112         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6113         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6114         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6115         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6116         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6117         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6118         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6119         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6120         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6121         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6122
6123         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6124         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6125
6126         * sysdeps/unix/sysv/linux/arm/Makefile
6127         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6128         Add rt-aeabi_unwind_cpp_pr1.
6129         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6130         Add nptl-aeabi_unwind_cpp_pr1.
6131         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6132         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6133         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6134         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6135         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6136         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6137
6138         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6139         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6140         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6141         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6142
6143         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6144         Deconditionalize the code that was previously under [RESET_PID].
6145         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6146
6147         * sysdeps/generic/exit-thread.h: New file.
6148         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6149         * include/unistd.h (__exit_thread): Remove declaration.
6150         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6151         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6152         * csu/libc-start.c: Include <exit-thread.h>.
6153         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6154         * nptl/pthread_create.c: Include <exit-thread.h>.
6155         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6156         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6157         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6158         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6159         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6160         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6161         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6162         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6163         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6164         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6165         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6166         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6167         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6168         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6169         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6170         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6171         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6172
6173 2014-05-13  Andreas Schwab  <schwab@suse.de>
6174
6175         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6176
6177 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6178
6179         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6180         (__ASSUME_UTIMES): Do not condition on kernel version.
6181         (__ASSUME_PSELECT): Define unconditionally.
6182         (__ASSUME_PPOLL): Likewise.
6183         (__ASSUME_ATFCTS): Likewise.
6184         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6185         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6186         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6187         (__ASSUME_UTIMENSAT): Define unconditionally.
6188         (__ASSUME_PRIVATE_FUTEX): Likewise.
6189         (__ASSUME_FALLOCATE): Likewise.
6190         (__ASSUME_O_CLOEXEC): Likewise.
6191         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6192         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6193         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6194         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6195         (__ASSUME_IN_NONBLOCK): Likewise.
6196         (__ASSUME_PIPE2): Likewise.
6197         (__ASSUME_EVENTFD2): Likewise.
6198         (__ASSUME_SIGNALFD4): Likewise.
6199         (__ASSUME_DUP3): Likewise.
6200         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6201         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6202         (__ASSUME_AT_RANDOM): Likewise.
6203         (__ASSUME_PREADV): Likewise.
6204         (__ASSUME_PWRITEV): Likewise.
6205         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6206         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6207         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6208         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6209         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6210         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6211         (__ASSUME_O_CLOEXEC): Define unconditionally.
6212         (__ASSUME_PSELECT): Do not undefine conditionally.
6213         (__ASSUME_PPOLL): Likewise.
6214         (__ASSUME_ATFCTS): Likewise.
6215         (__ASSUME_SET_ROBUST_LIST): Likewise.
6216         (__ASSUME_UTIMENSAT): Likewise.
6217         (__ASSUME_FDATASYNC): Define unconditionally.
6218         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6219         (__ASSUME_SIGFRAME_V2): Likewise.
6220         )__ASSUME_EVENTFD2): Likewise.
6221         (__ASSUME_SIGNALFD4): Likewise.
6222         (__ASSUME_PSELECT): Do not undefine conditionally.
6223         (__ASSUME_PPOLL): Likewise.
6224         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6225         (__ASSUME_PSELECT): Define unconditionally.
6226         (__ASSUME_PPOLL): Likewise.
6227         (__ASSUME_O_CLOEXEC): Likewise.
6228         (__ASSUME_SOCK_CLOEXEC): Likewise.
6229         (__ASSUME_IN_NONBLOCK): Likewise.
6230         (__ASSUME_PIPE2): Likewise.
6231         (__ASSUME_EVENTFD2): Likewise.
6232         (__ASSUME_SIGNALFD4): Likewise.
6233         (__ASSUME_DUP3): Likewise.
6234         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6235         (__ASSUME_O_CLOEXEC): Likewise.
6236         (__ASSUME_SOCK_CLOEXEC): Likewise.
6237         (__ASSUME_IN_NONBLOCK): Likewise.
6238         (__ASSUME_PIPE2): Likewise.
6239         (__ASSUME_EVENTFD2): Likewise.
6240         (__ASSUME_SIGNALFD4): Likewise.
6241         (__ASSUME_DUP3): Likewise.
6242         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6243         (__ASSUME_EVENTFD2): Likewise.
6244         (__ASSUME_SIGNALFD4): Likewise.
6245         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6246
6247 2014-05-12  Andreas Schwab  <schwab@suse.de>
6248
6249         [BZ #16932]
6250         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6251         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6252         than maximum RPC packet size.
6253         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6254         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6255         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6256         (_nss_nis_getservbyport_r): Likewise.
6257
6258 2014-05-12  Will Newton  <will.newton@linaro.org>
6259
6260         * malloc/Makefile (tests): Add tst-mallopt.
6261         * malloc/tst-mallopt.c: New file.
6262
6263 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6264
6265         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6266         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6267
6268 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6269
6270         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6271         (tst-tlsmod6.so): Likewise.
6272
6273 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6274
6275         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6276
6277 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6278
6279         [BZ #16064]
6280         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6281         and <dl-procinfo.h>.
6282         (__fegetenv): Save SSE state in envp->__eip if supported.
6283         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6284         envp->__eip if supported.
6285         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6286         and <dl-procinfo.h>.
6287         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6288         __data_offset and __data_selector in environment to 0.  Set SSE
6289         state if supported.
6290         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6291         test-fenv-sse.
6292         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6293         -mfpmath=sse.
6294         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6295
6296 2014-05-09  Will Newton  <will.newton@linaro.org>
6297
6298         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6299         and libc_relro_required for ARM.
6300         * sysdeps/arm/preconfigure: Regenerate.
6301
6302 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6303             Stefan Liebler  <stli@linux.vnet.ibm.com>
6304
6305         * config.make.in (enable-lock-elision): New Makefile variable.
6306         * configure.ac: Likewise.
6307         * configure: Regenerate.
6308         * sysdeps/s390/configure.ac:
6309         Add check for gcc transactions support.
6310         * sysdeps/s390/configure: Regenerate.
6311         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6312         Build elision files if enabled.
6313         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6314         Add lock elision support for s390.
6315         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6316         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6317         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6318         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6319         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6320         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6321         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6322         Likewise.
6323         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6324         Likewise.
6325         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6326         Likewise.
6327         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6328         Likewise.
6329         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6330         (__lll_timedlock_elision, __lll_lock_elision)
6331         (__lll_unlock_elision, __lll_trylock_elision)
6332         (lll_timedlock_elision, lll_lock_elision)
6333         (lll_unlock_elision, lll_trylock_elision): Add.
6334         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6335         (pthread_mutex_t): Add lock elision support for s390.
6336
6337 2014-05-14  Wilco  <wdijkstr@arm.com>
6338
6339         * sysdeps/arm/fclrexcpt.c: Cleanup.
6340         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6341         * sysdeps/arm/feenablxcpt.c: Cleanup.
6342         * sysdeps/arm/fegetenv.c: Cleanup.
6343         * sysdeps/arm/fegetexcept.c: Cleanup.
6344         * sysdeps/arm/fegetround.c: Cleanup.
6345         * sysdeps/arm/feholdexcpt.c: Cleanup.
6346         * sysdeps/arm/fesetenv.c: Cleanup.
6347         * sysdeps/arm/fesetround.c: Cleanup.
6348         * sysdeps/arm/feupdateenv.c: Cleanup.
6349         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6350         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6351         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6352         * sysdeps/arm/ftestexcept.c: Cleanup.
6353         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6354         * sysdeps/arm/setfpucw.c: Cleanup.
6355
6356 2014-05-09  Will Newton  <will.newton@linaro.org>
6357
6358         * sysdeps/arm/armv7/strcmp.S: New file.
6359         * NEWS: Mention addition of ARMv7 optimized strcmp.
6360
6361 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6362
6363         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6364         look for %.ac rather than %.in.
6365
6366         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6367         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6368         * sysdeps/mach/hurd/configure: Regenerated.
6369         * sysdeps/unix/sysv/linux/configure: Regenerated.
6370
6371         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6372
6373 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6374
6375         [BZ# 16922]
6376         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6377         (LONG_SUB): Ditto.
6378         (PTR_SUB): Ditto.
6379
6380 2014-05-07  Andreas Schwab  <schwab@suse.de>
6381
6382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6383         when skipping over non-matching result from nscd.
6384
6385 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6386
6387         [BZ #16876]
6388         * nptl/sockperf.c (client): Check socket return value.
6389
6390         [BZ #16877]
6391         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6392         nscd security class.
6393
6394 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6395
6396         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6397         * sysdeps/arm/unwind.h: ... here.
6398
6399 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6400
6401         [BZ# 16916]
6402         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6403         Define.
6404
6405 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6406
6407         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6408         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6409         multiarch strncpy for PPC64.
6410         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6411         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6413         multiarch optimizations.
6414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6415         (__libc_ifunc_impl_list): Likewise.
6416         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6417         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6418         multiarch stpncpy for PPC64.
6419         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6420         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6421
6422 2014-05-06  Andreas Schwab  <schwab@suse.de>
6423
6424         [BZ #16912]
6425         * gmon/mcount.c (_MCOUNT_DECL): Use
6426         atomic_compare_and_exchange_bool_acq instead of
6427         catomic_compare_and_exchange_bool_acq.
6428
6429 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6430
6431         * elf/Makefile (others, install-bin): Remove pldd.
6432         (pldd-modules): Variable removed.
6433         ($(objpfx)pldd): Target removed.
6434         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6435         (others, install-bin): Append pldd here.
6436         ($(objpfx)pldd): New target.
6437
6438         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6439         to 0, so the first #if test emitted later doesn't see it undefined.
6440         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6441         * sysdeps/gnu/errlist.c: Regenerated.
6442
6443 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6444
6445         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6446         [libc_hidden_builtin_def]: Define to empty value.
6447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6448         [libc_hidden_builtin_def]: Likewise.
6449         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6450         [libc_hidden_builtin_def]: Likewise.
6451         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6452         [libc_hidden_builtin_def]: Likewise.
6453         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6454         __redirect_memcpy and define ifunc as default hidden symbol.
6455         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6456         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6457
6458 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6459
6460         * locale/iso-4217.def: Reintroduce XDR currency.
6461
6462 2014-05-04  Allan McRae  <allan@archlinux.org>
6463
6464         * po/eo.po: Update Esperanto translation from translation project.
6465
6466 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6467
6468         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6469         and FEATURE_INDEX_MAX to 1.
6470         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6471
6472 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6473
6474         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6475         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6476         * iconvdata/big5.c (ONE_DIRECTION): Define.
6477         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6478         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6479         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6480         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6481         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6482         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6483         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6484         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6485         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6486         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6487         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6488         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6489         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6490         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6491         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6492         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6493         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6494         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6495         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6496         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6497         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6498         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6499         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6500         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6501         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6502         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6503         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6504         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6505         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6506         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6507         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6508         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6509         * iconvdata/johab.c (ONE_DIRECTION): Define.
6510         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6511         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6512         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6513         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6514         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6515         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6516         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6517         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6518         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6519         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6520
6521 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6522
6523         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6524         (_IO_JUMPS_OFFSET): Define to 0.
6525
6526         * nptl/sysdeps/pthread/bits/libc-lock.h
6527         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6528         (__libc_lock_define_initialized_recursive): Always define using
6529         initializer.  Modern compilers treat uninitialized (implicit zero) and
6530         explicit zero initializers the same (i.e. put the datum in bss).
6531
6532 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6533
6534         * nscd/nscd-client.h: Include <string.h>.
6535
6536 2014-05-01  David S. Miller  <davem@davemloft.net>
6537
6538         [BZ #16885]
6539         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6540         multiple zero bytes exist at the end of a string.
6541         Reported by Aurelien Jarno <aurelien@aurel32.net>
6542
6543         * string/test-strcmp.c (check): Add explicit test for situations where
6544         there are multiple zero bytes after the first.
6545
6546 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6547
6548         [BZ #16890]
6549         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6550         when compiling wprintf.
6551         * stdio-common/tstdiomisc.c (t3): New function.
6552         (main): Call it.
6553
6554 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6555
6556         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6557         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6558         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6559         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6560
6561 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6562
6563         * stdlib/longlong.h: Updated from GCC.
6564
6565 2014-05-01  Will Newton  <will.newton@linaro.org>
6566             Bernard Ogden  <bernie.ogden@linaro.org>
6567
6568         * NEWS: Update fixed bug list.
6569
6570         [BZ #15119]
6571         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6572
6573 2014-04-30  David S. Miller  <davem@davemloft.net>
6574
6575         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6576         (libc_feholdexcept_setround_sparc_ctx): New function.
6577         (libc_fesetenv_sparc_ctx): Likewise.
6578         (libc_feupdateenv_sparc_ctx): Likewise.
6579         (libc_feholdsetround_sparc_ctx): Likewise.
6580         (libc_feholdexcept_setround_ctx): Define.
6581         (libc_feholdexcept_setroundf_ctx): Likewise.
6582         (libc_feholdexcept_setroundl_ctx): Likewise.
6583         (libc_fesetenv_ctx): Likewise.
6584         (libc_fesetenvf_ctx): Likewise.
6585         (libc_fesetenvl_ctx): Likewise.
6586         (libc_feupdateenv_ctx): Likewise.
6587         (libc_feupdateenvf_ctx): Likewise.
6588         (libc_feupdateenvl_ctx): Likewise.
6589         (libc_feresetround_ctx): Likewise.
6590         (libc_feresetroundf_ctx): Likewise.
6591         (libc_feresetroundl_ctx): Likewise.
6592         (libc_feholdsetround_ctx): Likewise.
6593         (libc_feholdsetroundf_ctx): Likewise.
6594         (libc_feholdsetroundl_ctx): Likewise.
6595
6596         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6597         with __USE_GNU instead of XOPEN cpp guards.
6598
6599         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6600         0.
6601
6602         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6603         with XOPEN cpp guards.
6604
6605 2014-04-30  Julian Brown  <julian@codesourcery.com>
6606
6607         [BZ #16888]
6608         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6609         handling.
6610
6611 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6612
6613         [BZ #9894]
6614         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6615         Change to 2.6.32.
6616         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6617         * sysdeps/unix/sysv/linux/configure: Regenerated.
6618         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6619         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6620         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6621         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6622         * README: Update reference to required Linux kernel version.
6623         * manual/install.texi (Linux): Update reference to required Linux
6624         kernel headers version.
6625         * INSTALL: Regenerated.
6626
6627         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6628         header inclusion.
6629         [POSIX] (limits.h): Likewise.
6630         [POSIX] (math.h): Likewise.
6631         [POSIX] (sys/wait.h): Likewise.
6632         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6633         function.
6634         [POSIX] (stddef.h): Do not allow header inclusion.
6635
6636 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6637
6638         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6639
6640 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6641
6642         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6643         Return immediately after lll_futex_wake.
6644
6645 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6646
6647         [BZ #16791]
6648         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6649         structure.
6650         (datahead_init_pos): Call datahead_init_common early.
6651         (datahead_init_neg): Likewise.
6652
6653         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6654         datahead_init_neg): New functions.
6655         * nscd/aicache.c (addhstaiX): Use them.
6656         * nscd/grpcache.c (cache_addgr): Likewise.
6657         * nscd/hstcache.c (cache_addhst): Likewise.
6658         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6659         * nscd/netgroupcache.c (do_notfound): Likewise.
6660         (addgetnetgrentX): Likewise.
6661         (addinnetgrX): Likewise.
6662         * nscd/pwdcache.c (cache_addpw): Likewise.
6663         * nscd/servicescache.c (cache_addserv): Likewise.
6664
6665 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6666             Atsushi Onoe  <atsushi@onoe.org>
6667
6668         [BZ #14308]
6669         [BZ #12994]
6670         [BZ #13651]
6671         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6672         one response is valid.
6673         * resolv/res_send.c (send_dg): Check for validity of other
6674         response if the current response is a referral.
6675
6676 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6677
6678         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6679
6680 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6681
6682         [BZ #16823]
6683         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6684         Always divide by positive zero when computing -Inf result.
6685         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6686         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6687
6688 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6689
6690         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6691         FPSCR if value do not change.
6692         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6693         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6694         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6695         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6696         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6697         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6698         function.
6699
6700 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6701
6702         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6703         * sysdeps/unix/sysv/linux/hppa: Move directory from
6704         ports/systeps/unix/sysv/linux/hppa.
6705         * README: Update listing for hppa-*-linux-gnu.
6706
6707 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6708
6709         [BZ #16754]
6710         * manual/stdio.texi (Hook functions): Fix types of stream hook
6711         functions.
6712         [BZ #16854]
6713         * socket/sys/socket.h: Fix typo in comment.
6714
6715 2014-04-28  Wilco  <wdijkstr@arm.com>
6716
6717         * sysdeps/arm/fenv_private.h: New file.
6718         * sysdeps/arm/math_private.h: New file.
6719         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6720
6721 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6722
6723         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6724         with __int128_t.
6725         (La_x86_64_retval): Likewise.
6726
6727 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6728
6729         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6730         fpsr if value didn't change.
6731         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6732         to fpcr if value didn't change.
6733         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6734         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6735         fpsr or fpcr if value didn't change.
6736         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6737         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6738         fpcr if value didn't change.
6739         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6740         to fpsr if value didn't change.
6741
6742 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6743
6744         * nptl/tst-sem3.c: Use test-skeleton.c
6745         (main): Rename to do_test.  Use return instead of
6746         exit.
6747         * nptl/tst-sem4.c: Use test-skeleton.c
6748         (main): Rename to do_test.
6749
6750 2014-04-22  David S. Miller  <davem@davemloft.net>
6751
6752         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6753         (struct sigaction): New struct member __glibc_reserved0, change
6754         type of sa_flags to int.
6755
6756 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6757
6758         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6759         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6760
6761 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6762
6763         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6764         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6765
6766 2014-04-22  Will Newton  <will.newton@linaro.org>
6767             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6768
6769         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6770         (__longjmp): Add longjmp and longjmp_target SystemTap
6771         probes.
6772         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6773         (__sigsetjmp): Add setjmp SystemTap probe.
6774
6775 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6776
6777         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6778         match manual order.
6779
6780 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6781
6782         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6783
6784         * sysdeps/powerpc/fpu/fenv_private.h
6785         (libc_feholdexcept_setroundl_ctx): Define to
6786         libc_feholdexcept_setround_ppc_ctx.
6787         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6788         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6789         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6790         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6791
6792 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6793
6794         * sysdeps/aarch64/math-tests.h: New file.
6795
6796 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6797
6798         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6799         New.
6800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6801         Check and set bit_AVX2_Usable.
6802         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6803         macro.
6804         (bit_AVX2): Likewise.
6805         (index_AVX2_Usable): Likewise.
6806         (CPUID_AVX2): Likewise.
6807         (HAS_AVX2): Likewise.
6808
6809 2014-04-17  Will Newton  <will.newton@linaro.org>
6810
6811         * manual/setjmp.texi (System V contexts): Add note that
6812         calling setcontext on a context created by a call to a
6813         signal handler is undefined.  Update text to note that
6814         setcontext from a signal handler is possible but not
6815         recommended.
6816
6817         [BZ #16629]
6818         * stdlib/tst-setcontext.c: Include signal.h.
6819         (main): Check that the signal stack before and
6820         after swapcontext is the same.
6821
6822         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6823         Re-implement to restore registers in user code and avoid
6824         rt_sigreturn system call.
6825
6826 2014-04-17  Wilco  <wdijkstr@arm.com>
6827
6828         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6829         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6830         * math/test-fenv.c: Skip exception trap tests on targets which only
6831         support non-stop mode.
6832
6833 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6834             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6835
6836         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6837         (libc_feholdsetround_aarch64_ctx)
6838         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6839         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6840         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6841         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6842         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6843         (libc_feresetround_noexl_ctx): Define.
6844
6845 2014-04-16  Richard Henderson  <rth@redhat.com>
6846
6847         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6848
6849         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6850         unwind tables.
6851
6852         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6853         const from the non-libc, non-ldso copy.
6854
6855         * sysdeps/alpha/libm-test-ulps: Regenerate.
6856
6857 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6858             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6859
6860         * sysdeps/aarch64/fpu/math_private.h: New file.
6861
6862 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6863
6864         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6865
6866 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6867
6868         [BZ #16275]
6869         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6870         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6871         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6872         Intel MPX bound registers before _dl_profile_fixup.
6873         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6874         registers after _dl_profile_fixup.  Save and restore bound
6875         registers bnd0/bnd1 when calling _dl_call_pltexit.
6876         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6877         (LR_BND_OFFSET): Likewise.
6878         (LRV_BND0_OFFSET): Likewise.
6879         (LRV_BND1_OFFSET): Likewise.
6880
6881 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6882
6883         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6884         to...
6885         * sysdeps/mach/hurd/i386/tls.h: ... here.
6886         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6887         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6888         fields.
6889
6890 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6891
6892         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6893
6894 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6895
6896         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6897
6898 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6899
6900         [BZ #14770]
6901         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6902         * sysdeps/s390/configure: Regenerate.
6903
6904         [BZ #16824]
6905         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6906         Set round-to-nearest internally to reduce error accumulation.
6907
6908 2014-04-16  Alan Modra  <amodra@gmail.com>
6909
6910         [BZ #16740]
6911         [BZ #16619]
6912         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6913         * math/libm-test.inc (frexp_test_data): Add tests.
6914         * NEWS: Update fixed bug list.
6915
6916 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6917
6918         * benchtests/Makefile: Depend on libraries in build directory.
6919         (bench-math): Separate out math tests.
6920         (bench-pthread): Separate out pthread tests.
6921         (bench): Include math and pthread tests.
6922
6923 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6924
6925         [BZ #16831]
6926         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6927         _dl_debug_initialize.
6928
6929         * configure.ac: Remove SELinux header check.
6930         * configure: Regenerate.
6931         * nscd/selinux.c (perms): Array of const char* to permission names.
6932         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6933         default policy. Call string_to_security_class and string_to_av_perm to
6934         translate strings. Enforce default policy and call avs_has_perm with
6935         results of translated strings.
6936
6937 2014-04-13  David S. Miller  <davem@davemloft.net>
6938
6939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6940
6941 2014-04-12  Allan McRae  <allan@archlinux.org>
6942
6943         [BZ #16838]
6944         * manual/string.texi (Collation Functions): Fix qsort argument
6945         order in example.
6946         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6947
6948 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6949
6950         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6951         Make the test a no-op if there are no exceptions defined.
6952
6953 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6954
6955         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6956         enable-hardcoded-path-in-tests
6957
6958 2014-04-11  Will Newton  <will.newton@linaro.org>
6959
6960         * benchtests/Makefile (extra-objs): Add json-lib.o.
6961         (bench-func): Tidy up JSON output.
6962         * benchtests/bench-skeleton.c: Include json-lib.h.
6963         (main): Use JSON library functions to do output of
6964         benchmark results.
6965         * benchtests/bench-timing-type.c (main): Output the
6966         timing type simply, leaving formatting to the user.
6967         * benchtests/json-lib.c: New file.
6968         * benchtests/json-lib.h: Likewise.
6969
6970 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6971
6972         [BZ #15215]
6973         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6974         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6975         memory barriers.  Add comments.
6976         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6977         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6978         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6979         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6980         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6981         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6982
6983 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6984
6985         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6986         * sysdeps/s390/s390-64/configure.ac: ... this ...
6987         * sysdeps/s390/configure.ac: ... to here.
6988         * sysdeps/s390/s390-32/configure: Delete file.
6989         * sysdeps/s390/s390-64/configure: Delete file.
6990         * sysdeps/s390/configure: Regenerate.
6991
6992 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6993
6994         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6995
6996 2014-04-11  Will Newton  <will.newton@linaro.org>
6997
6998         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6999         to zero if it is not defined elsewhere.  (mtrim): Test
7000         the value of MALLOC_DEBUG with #if rather than #ifdef.
7001
7002 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7003
7004         * benchtests/pthread_once-inputs: New file.
7005         * benchtests/pthread_once-source.c: New file.
7006         * benchtests/README: Update documentation.
7007
7008 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7009             H.J. Lu  <hongjiu.lu@intel.com>
7010
7011         [BZ #16275]
7012         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7013         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7014         * sysdeps/x86_64/configure: Regenerated.
7015         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7016         macro.
7017         (REGISTER_SAVE_RAX): Likewise.
7018         (REGISTER_SAVE_RCX): Likewise.
7019         (REGISTER_SAVE_RDX): Likewise.
7020         (REGISTER_SAVE_RSI): Likewise.
7021         (REGISTER_SAVE_RDI): Likewise.
7022         (REGISTER_SAVE_R8): Likewise.
7023         (REGISTER_SAVE_R9): Likewise.
7024         (REGISTER_SAVE_BND0): Likewise.
7025         (REGISTER_SAVE_BND1): Likewise.
7026         (REGISTER_SAVE_BND2): Likewise.
7027         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7028         bound registers when calling _dl_fixup.
7029
7030 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7031
7032         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7033         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7034         of its definition.
7035         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7036         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7037         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7038         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7039         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7040         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7041         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7042
7043 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7044
7045         [BZ #15514]
7046         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7047         pathconf(_PC_NAME_MAX).
7048
7049 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7050
7051         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7052         Remove macro usage.
7053         (__PTHREAD_SPINS): Move definition to ...
7054         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7055         (__PTHREAD_SPINS): ... here.
7056         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7057         (__PTHREAD_SPIN): Likewise.
7058         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7059         (__PTHREAD_SPIN): Likewise.
7060         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7061         (__PTHREAD_SPIN): Likewise.
7062         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7063         (__PTHREAD_SPIN): Likewise.
7064         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7065         (__PTHREAD_SPIN): Likewise.
7066         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7067         (__PTHREAD_SPIN): Likewise.
7068         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7069         (__PTHREAD_SPIN): Likewise.
7070         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7071         (__PTHREAD_SPIN): Likewise.
7072         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7073         (__PTHREAD_SPIN): Likewise.
7074         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7075         (__PTHREAD_SPIN): Likewise.
7076         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7077         (__PTHREAD_SPIN): Likewise.
7078         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7079         (__PTHREAD_SPIN): Likewise.
7080
7081         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7082         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7083         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7084         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7085         imply folder.
7086         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7087         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7088         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7089         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7090         correct imply path.
7091         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7092         strlen symbol for non multi-arch builds.
7093         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7094         missing hidden_def and weak_alias.
7095
7096 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7097
7098         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7099
7100 2014-04-07  Will Newton  <will.newton@linaro.org>
7101
7102         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7103         and contents.  [!_LIBC] Remove #ifndef and contents.
7104         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7105         * string/memccpy.c (__memccpy): Use ANSI prototype.
7106         * string/memfrob.c (memfrob): Likewise.
7107         * string/strcoll.c (STRCOLL): Likewise.
7108         * string/strlen.c (strlen): Likewise.
7109         * string/strtok.c (STRTOK): Likewise.
7110         * string/strcat.c: Remove unused #include of memcopy.h.
7111         (strcat): Use ANSI prototype.
7112         * string/strchr.c: Remove unused #include of memcopy.h.
7113         (strchr): Use ANSI prototype.
7114         * string/strcmp.c: Remove unused #include of memcopy.h.
7115         (strcmp): Use ANSI prototype.
7116         * string/strcpy.c: Remove unused #include of memcopy.h.
7117         (strcpy): Use ANSI prototype.
7118
7119 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7120
7121         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7122         * config.make.in (config-extra-cppflags): Set it from
7123         libc_extra_cppflags.
7124         * configure.ac (libc_extra_cflags): Make it accumulate over
7125         configure fragments.
7126         (libc_extra_cppflags): New flag.
7127         * configure. Regenerate.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7129         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7130         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7132
7133         [BZ #16815]
7134         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7135         result for FE_DOWNWARD rounding mode.
7136         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7137         Likewise.
7138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7139
7140 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7141
7142         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7143         in function argument name.
7144
7145 2014-04-03  David Svoboda  <svoboda@cert.org>
7146
7147         [BZ #5666]
7148         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7149         explicitly.
7150
7151 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7152
7153         * elf/dl-unmap-segments.h: New file.
7154         * sysdeps/generic/ldsodefs.h
7155         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7156         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7157         * elf/dl-fptr.c: Likewise.
7158         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7159         * sysdeps/aarch64/tlsdesc.c: Likewise.
7160         * sysdeps/arm/tlsdesc.c: Likewise.
7161         * sysdeps/i386/tlsdesc.c: Likewise.
7162         * sysdeps/tile/dl-runtime.c: Likewise.
7163         * sysdeps/x86_64/tlsdesc.c: Likewise.
7164         * elf/dl-load.h: New file.
7165         * elf/dl-load.c: Include it.
7166         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7167         Macros moved to dl-load.h.
7168         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7169         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7170         Use _dl_unmap_segments in place of __munmap.
7171         Break out segment-mapping loop into ...
7172         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7173
7174 2014-04-03  Will Newton  <will.newton@linaro.org>
7175
7176         * elf/dl-lookup.c (do_lookup_x): Remove comment
7177         referring to nested function and move variable
7178         declarations down to before first use.
7179
7180 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7181
7182         [BZ #16799]
7183         [BZ #16800]
7184         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7185         with 0 numerator.
7186         * math/s_catanf.c (__catanf): Likewise.
7187         * math/s_catanh.c (__catanh): Likewise.
7188         * math/s_catanhf.c (__catanhf): Likewise.
7189         * math/s_catanhl.c (__catanhl): Likewise.
7190         * math/s_catanl.c (__catanl): Likewise.
7191         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7192         by positive zero when computing -Inf result.
7193         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7194         (catanh_test): Likewise.
7195         * sysdeps/i386/fpu/libm-test-ulps: Update.
7196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7197
7198         [BZ #16789]
7199         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7200         instead of using underflowing value in computing result.
7201         * math/s_clog10.c (__clog10): Likewise.
7202         * math/s_clog10f.c (__clog10f): Likewise.
7203         * math/s_clog10l.c (__clog10l): Likewise.
7204         * math/s_clogf.c (__clogf): Likewise.
7205         * math/s_clogl.c (__clogl): Likewise.
7206         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7207         (clog10_test): Likewise.
7208         * sysdeps/i386/fpu/libm-test-ulps: Update.
7209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7210
7211 2014-04-02  Alan Modra  <amodra@gmail.com>
7212
7213         [BZ #16739]
7214         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7215         output when value is near a power of two.  Use int64_t for lx and
7216         remove casts.  Use decimal rather than hex exponent constants.
7217         Don't use long double multiplication when double will suffice.
7218         * math/libm-test.inc (nextafter_test_data): Add tests.
7219         * NEWS: Add 16739 and 16786 to bug list.
7220
7221         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7222
7223         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7224
7225 2014-04-01  Will Newton  <will.newton@linaro.org>
7226
7227         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7228         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7229
7230 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7231
7232         [BZ #13347]
7233         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7234         * nptl/tst-setuid2.c: New file.
7235         * nptl/Makefile (xtests): Add tst-setuid2.
7236
7237 2014-04-01  Alan Modra  <amodra@gmail.com>
7238
7239         [BZ #16786]
7240         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7241
7242 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7243
7244         [BZ #6803]
7245         [BZ #6804]
7246         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7247         set errno as appropriate.
7248         * math/w_scalbf.c (__scalbf): Likewise.
7249         * math/w_scalbl.c (__scalbl): Likewise.
7250         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7251         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7252         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7253         Add more NaN tests.
7254
7255         [BZ #16349]
7256         * math/w_atan2.c: Include <errno.h>.
7257         (__atan2): Set errno for result underflowing to zero.
7258         * math/w_atan2f.c: Include <errno.h>.
7259         (__atan2f): Set errno for result underflowing to zero.
7260         * math/w_atan2l.c: Include <errno.h>.
7261         (__atan2l): Set errno for result underflowing to zero.
7262         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7263         tests.
7264         * math/auto-libm-test-out: Regenerated.
7265
7266 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7267
7268         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7269         Encode instruction correctly in little endian.
7270         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7271         Likewise.
7272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7273         Likewise.
7274         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7275         Likewise.
7276         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7277         Likewise.
7278
7279 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7280
7281         [BZ #9894]
7282         * sysdeps/unix/sysv/linux/kernel-features.h
7283         [__sparc__ && !__arch64__ && !__sparc_v9__]
7284         (__ASSUME_SET_ROBUST_LIST): Do not define.
7285         [__sparc__ && !__arch64__ && !__sparc_v9__]
7286         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7287         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7288         Likewise.
7289         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7290         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7291         (__ASSUME_REQUEUE_PI): Likewise.
7292         (__ASSUME_SET_ROBUST_LIST): Likewise.
7293         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7294         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7295         Undefine.
7296         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7297         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7298         Likewise.
7299         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7300         Likewise.
7301         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7302         Likewise.
7303         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7304         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7305         Undefine.
7306         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7307         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7308         Likewise.
7309
7310         [BZ #16648]
7311         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7312         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7313         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7314
7315 2014-03-31  Will Newton  <will.newton@linaro.org>
7316
7317         * benchtests/Makefile (bench): Add ffs and ffsll to list
7318         of tests.
7319         * benchtests/ffs-inputs: New file.
7320         * benchtests/ffsll-inputs: Likewise.
7321
7322 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7323
7324         [BZ #16770]
7325         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7326         too large before casting to int.
7327         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7328         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7329         * math/libm-test.inc (scalb_test_data): Add more tests.
7330
7331 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7332
7333         * benchtests/Makefile (DETAILED_OPT): New make option.
7334         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7335         set.
7336         * benchtests/bench-skeleton.c: Include stdbool.h.
7337         (main): Store and print timings per input.
7338         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7339         member to each argument value.
7340         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7341         (_print_arg_data): Initialize per-input timing to 0.
7342
7343         * benchtests/Makefile (timing-type): New binary.
7344         (bench-clean): Also remove bench-timing-type.
7345         (bench): New target for timing-type.
7346         (bench-func): Print output in JSON format.
7347         * benchtests/bench-skeleton.c (main): Print output in JSON
7348         format.
7349         * benchtests/bench-timing-type.c: New file.
7350         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7351         (TIMING_PRINT_STATS): Remove.
7352         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7353         name separately.
7354
7355         * benchtests/bench-modf.c: Remove.
7356         * benchtests/modf-inputs: New inputs file.
7357
7358 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7359
7360         [BZ #16362]
7361         * math/s_clog10.c (M_PI_LOG10E): New macro.
7362         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7363         imaginary parts are 0.
7364         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7365         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7366         imaginary parts are 0.
7367         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7368         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7369         imaginary parts are 0.
7370         * math/libm-test.inc (clog10_test_data): Update expected results
7371         for when real and imaginary parts are 0.
7372
7373 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7374
7375         * elf/dl-load.c: Finish conversion of __builtin_expect into
7376         __glibc_{un}likely.
7377
7378 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7379
7380         [BZ #16348]
7381         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7382         1+x for argument with exponent below -67.
7383         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7384         Likewise.
7385         * math/auto-libm-test-in: Add more tests of exp.
7386         * math/auto-libm-test-out: Regenerated.
7387
7388 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7389
7390         [BZ #16759]
7391         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7392         (nscd_getnetgrent): Use it.
7393
7394         [BZ #16760]
7395         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7396         of stpcpy.
7397
7398 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7399
7400         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7401         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7402         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7403         (lll_robust_unlock): Remove out of line section. Use cfi
7404         intrinsics.
7405         (LLL_STUB_UNWIND_INFO*): Remove.
7406         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7407         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7408         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7409         (lll_robust_unlock): Remove out of line section. Use cfi
7410         intrinsics.
7411         (LLL_STUB_UNWIND_INFO*): Remove.
7412
7413 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7414
7415         [BZ #16758]
7416         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7417         blank values.
7418
7419 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7420
7421         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7422
7423 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7424
7425         [BZ #16198]
7426         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7427         fnstenv.
7428         * math/test-fenv-preserve.c: New file.
7429         * math/Makefile (tests): Add test-fenv-preserve.
7430
7431 2014-03-26  Will Newton <will.newton@linaro.org>
7432
7433         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7434
7435 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7436
7437         * scripts/versionlist.awk: Partition the version sets and emit all
7438         GLIBC_* (sorted) before all others (sorted).
7439
7440 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7441
7442         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7443         GLIBC_2.2.5 version.
7444
7445 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7446
7447         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7448         calls.
7449
7450         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7451         previous change.
7452
7453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7454
7455 2014-03-25  Andreas Schwab  <schwab@suse.de>
7456
7457         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7458         label to be used after in6ailist is initialized.
7459
7460 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7461
7462         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7463         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7464
7465 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7466
7467         [BZ #16357]
7468         [BZ #16599]
7469         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7470         min_plus_half.
7471         (fp_formats): Update initializers.
7472         (init_fp_formats): Initialize new field.
7473         (output_for_one_input_case): Allow underflow for results up to
7474         min_plus_half.
7475         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7476         * math/auto-libm-test-in: Don't mark some underflows from asin and
7477         atanh as spurious.
7478         * math/auto-libm-test-out: Regenerated.
7479         * sysdeps/i386/fpu/libm-test-ulps: Update.
7480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7481
7482 2014-03-25  Andreas Schwab  <schwab@suse.de>
7483
7484         * libio/Makefile (tst-ftell-partial-wide-ENV)
7485         (tst-ftell-active-handler-ENV): Define.
7486
7487 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7488
7489         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7490
7491 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7492
7493         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7494
7495 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7496
7497         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7498         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7499         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7500
7501 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7502
7503         [BZ #16634]
7504         * elf/dl-load.c (open_verify): Add mode parameter.
7505         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7506         (open_path): Change from boolean 'secure' to complete flag 'mode'
7507         (_dl_map_object): Adjust.
7508         * elf/Makefile (tests): Add tst-dlopen-aout.
7509         * elf/tst-dlopen-aout.c: New test.
7510
7511 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7512
7513         [BZ #16714]
7514         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7515         (struct stat): Rename member pad0 to __glibc_reserved0.
7516
7517         [BZ #16712]
7518         * sysdeps/s390/s390-32/bits/wordsize.h
7519         (__WORDSIZE32_SIZE_ULONG): New define.
7520         * sysdeps/s390/s390-64/bits/wordsize.h
7521         (__WORDSIZE32_SIZE_ULONG): Likewise.
7522         * sysdeps/generic/stdint.h (SIZE_MAX):
7523         Define as UL if __WORDSIZE32_SIZE_ULONG.
7524
7525         [BZ #16713]
7526         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7527         (__glibc_reserved0): New variable.
7528         (sa_flags): Change type to int.
7529
7530         * posix/Makefile (before-compile): Use += before-compile instead
7531         of a :=.
7532
7533         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7534         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7535
7536 2014-03-20  Andreas Schwab  <schwab@suse.de>
7537
7538         [BZ #16743]
7539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7540         non-matching result from nscd.
7541
7542 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7543
7544         * scripts/bench.py: Moved to ...
7545         * benchtests/scripts/bench.py: ... here.
7546         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7547
7548 2014-03-24  Andreas Schwab  <schwab@suse.de>
7549
7550         [BZ #16002]
7551         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7552         alloca_account and account alloca use for struct in6ailist.
7553
7554 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7555
7556         [BZ #16284]
7557         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7558         rounding mode to recompute results that overflow to infinity or
7559         underflow to zero.
7560         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7561         bug 16284.
7562         * math/auto-libm-test-out: Regenerated.
7563         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7564         (ccosh_test): Likewise.
7565         (csin_test_data): Use plus_oflow.
7566         (csin_test): Use ALL_RM_TEST.
7567         (csinh_test_data): Use plus_oflow.
7568         (csinh_test): Use ALL_RM_TEST.
7569         * sysdeps/i386/fpu/libm-test-ulps: Update.
7570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7571
7572 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7573
7574         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7575         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7576         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7577
7578         [BZ #16731]
7579         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7580         when x - 1 is zero.
7581         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7582         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7583         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7584         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7585         argument is 1.
7586         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7587         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7588         zero.
7589         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7590         * sysdeps/i386/fpu/libm-test-ulps: Update.
7591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7592
7593 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7594
7595         * scripts/bench.pl: Remove file.
7596         * scripts/bench.py: New benchmark script.
7597         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7598         * benchtests/README: Mention python dependency.
7599         * scripts/pylintrc: New file.
7600         * scripts/pylint: New file.
7601
7602         * bits/mathdef.h: Use #ifdef instead of #if.
7603         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7604         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7605         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7606         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7607         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7608         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7609
7610 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7611             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7612
7613         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7615         and strpbrk-ppc64 objects.
7616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7617         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7618         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7619         multiarch strpbrk for POWER7.
7620         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7621         multiarch strpbrk for PPC64.
7622         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7623         ifunc selector.
7624         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7625         strpbrk for POWER7.
7626
7627 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7628
7629         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7630         (atan_test): Likewise.
7631         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7632         (atanh_test): Use ALL_RM_TEST.
7633         (atan2_test_data): Likewise.
7634         (cabs_test): Likewise.
7635         (cacosh_test): Likewise.
7636         (carg_test): Likewise.
7637         (casin_test): Likewise.
7638         (casinh_test): Likewise.
7639         (cbrt_test): Likewise.
7640         (csqrt_test): Likewise.
7641         (erf_test): Likewise.
7642         (erfc_test): Likewise.
7643         (pow10_test): Likewise.
7644         (exp2_test): Likewise.
7645         (hypot_test): Likewise.
7646         (j0_test): Likewise.
7647         (j1_test): Likewise.
7648         (lgamma_test): Likewise.
7649         (gamma_test): Likewise.
7650         (sincos_test): Likewise.
7651         (tanh_test): Likewise.
7652         (y0_test): Likewise.
7653         (y1_test): Likewise.
7654         * sysdeps/i386/fpu/libm-test-ulps: Update.
7655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7656
7657 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7658
7659         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7661         and strcspn-ppc64 objects.
7662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7663         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7664         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7665         multiarch strcspn for POWER7.
7666         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7667         multiarch strcspn for PPC64.
7668         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7669         ifunc selector.
7670         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7671         strcspn for POWER7.
7672
7673 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7674
7675         * math/gen-libm-test.pl (generate_testfile): Expect only function
7676         name as argument to AUTO_TESTS_* and pass results for all rounding
7677         modes to parse_args.
7678         (parse_auto_input): Separate inputs of automatic tests from
7679         outputs before storing in %auto_tests.
7680         * math/libm-test.inc (acos_test_data): Update call to
7681         AUTO_TESTS_f_f.
7682         (acos_test): Use ALL_RM_TEST.
7683         (acos_tonearest_test_data): Remove.
7684         (acos_test_tonearest): Likewise.
7685         (acos_towardzero_test_data): Likewise.
7686         (acos_test_towardzero): Likewise.
7687         (acos_downward_test_data): Likewise.
7688         (acos_test_downward): Likewise.
7689         (acos_upward_test_data): Likewise.
7690         (acos_test_upward): Likewise.
7691         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7692         (asin_test_data): Likewise.
7693         (asin_test): Use ALL_RM_TEST.
7694         (asin_tonearest_test_data): Remove.
7695         (asin_test_tonearest): Likewise.
7696         (asin_towardzero_test_data): Likewise.
7697         (asin_test_towardzero): Likewise.
7698         (asin_downward_test_data): Likewise.
7699         (asin_test_downward): Likewise.
7700         (asin_upward_test_data): Likewise.
7701         (asin_test_upward): Likewise.
7702         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7703         (atan_test_data): Likewise.
7704         (atanh_test_data): Likewise.
7705         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7706         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7707         (carg_test_data): Likewise.
7708         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7709         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7710         (ccosh_test_data): Likewise.
7711         (cexp_test_data): Likewise.
7712         (clog_test_data): Likewise.
7713         (clog10_test_data): Likewise.
7714         (cos_test_data): Update call to AUTO_TESTS_f_f.
7715         (cos_test): Use ALL_RM_TEST.
7716         (cos_tonearest_test_data): Remove.
7717         (cos_test_tonearest): Likewise.
7718         (cos_towardzero_test_data): Likewise.
7719         (cos_test_towardzero): Likewise.
7720         (cos_downward_test_data): Likewise.
7721         (cos_test_downward): Likewise.
7722         (cos_upward_test_data): Likewise.
7723         (cos_test_upward): Likewise.
7724         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7725         (cosh_test): Use ALL_RM_TEST.
7726         (cosh_tonearest_test_data): Remove.
7727         (cosh_test_tonearest): Likewise.
7728         (cosh_towardzero_test_data): Likewise.
7729         (cosh_test_towardzero): Likewise.
7730         (cosh_downward_test_data): Likewise.
7731         (cosh_test_downward): Likewise.
7732         (cosh_upward_test_data): Likewise.
7733         (cosh_test_upward): Likewise.
7734         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7735         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7736         (ctan_test_data): Likewise.
7737         (ctan_test): Use ALL_RM_TEST.
7738         (ctan_tonearest_test_data): Remove.
7739         (ctan_test_tonearest): Likewise.
7740         (ctan_towardzero_test_data): Likewise.
7741         (ctan_test_towardzero): Likewise.
7742         (ctan_downward_test_data): Likewise.
7743         (ctan_test_downward): Likewise.
7744         (ctan_upward_test_data): Likewise.
7745         (ctan_test_upward): Likewise.
7746         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7747         (ctanh_test): Use ALL_RM_TEST.
7748         (ctanh_tonearest_test_data): Remove.
7749         (ctanh_test_tonearest): Likewise.
7750         (ctanh_towardzero_test_data): Likewise.
7751         (ctanh_test_towardzero): Likewise.
7752         (ctanh_downward_test_data): Likewise.
7753         (ctanh_test_downward): Likewise.
7754         (ctanh_upward_test_data): Likewise.
7755         (ctanh_test_upward): Likewise.
7756         (erf_test_data): Update call to AUTO_TESTS_f_f.
7757         (erfc_test_data): Likewise.
7758         (exp_test_data): Likewise.
7759         (exp_test): Use ALL_RM_TEST.
7760         (exp_tonearest_test_data): Remove.
7761         (exp_test_tonearest): Likewise.
7762         (exp_towardzero_test_data): Likewise.
7763         (exp_test_towardzero): Likewise.
7764         (exp_downward_test_data): Likewise.
7765         (exp_test_downward): Likewise.
7766         (exp_upward_test_data): Likewise.
7767         (exp_test_upward): Likewise.
7768         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7769         (exp10_test): Use ALL_RM_TEST.
7770         (exp10_tonearest_test_data): Remove.
7771         (exp10_test_tonearest): Likewise.
7772         (exp10_towardzero_test_data): Likewise.
7773         (exp10_test_towardzero): Likewise.
7774         (exp10_downward_test_data): Likewise.
7775         (exp10_test_downward): Likewise.
7776         (exp10_upward_test_data): Likewise.
7777         (exp10_test_upward): Likewise.
7778         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7779         (expm1_test_data): Likewise.
7780         (expm1_test): Use ALL_RM_TEST.
7781         (expm1_tonearest_test_data): Remove.
7782         (expm1_test_tonearest): Likewise.
7783         (expm1_towardzero_test_data): Likewise.
7784         (expm1_test_towardzero): Likewise.
7785         (expm1_downward_test_data): Likewise.
7786         (expm1_test_downward): Likewise.
7787         (expm1_upward_test_data): Likewise.
7788         (expm1_test_upward): Likewise.
7789         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7790         (fma_test): Use ALL_RM_TEST.
7791         (fma_towardzero_test_data): Remove.
7792         (fma_test_towardzero): Likewise.
7793         (fma_downward_test_data): Likewise.
7794         (fma_test_downward): Likewise.
7795         (fma_upward_test_data): Likewise.
7796         (fma_test_upward): Likewise.
7797         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7798         (j0_test_data): Update call to AUTO_TESTS_f_f.
7799         (j1_test_data): Likewise.
7800         (jn_test_data): Update call to AUTO_TESTS_if_f.
7801         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7802         (log_test_data): Update call to AUTO_TESTS_f_f.
7803         (log10_test_data): Likewise.
7804         (log1p_test_data): Likewise.
7805         (log2_test_data): Likewise.
7806         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7807         (pow_tonearest_test_data): Likewise.
7808         (sin_test_data): Update call to AUTO_TESTS_f_f.
7809         (sin_test): Use ALL_RM_TEST.
7810         (sin_tonearest_test_data): Remove.
7811         (sin_test_tonearest): Likewise.
7812         (sin_towardzero_test_data): Likewise.
7813         (sin_test_towardzero): Likewise.
7814         (sin_downward_test_data): Likewise.
7815         (sin_test_downward): Likewise.
7816         (sin_upward_test_data): Likewise.
7817         (sin_test_upward): Likewise.
7818         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7819         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7820         (sinh_test): Use ALL_RM_TEST.
7821         (sinh_tonearest_test_data): Remove.
7822         (sinh_test_tonearest): Likewise.
7823         (sinh_towardzero_test_data): Likewise.
7824         (sinh_test_towardzero): Likewise.
7825         (sinh_downward_test_data): Likewise.
7826         (sinh_test_downward): Likewise.
7827         (sinh_upward_test_data): Likewise.
7828         (sinh_test_upward): Likewise.
7829         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7830         (sqrt_test): Use ALL_RM_TEST.
7831         (sqrt_tonearest_test_data): Remove.
7832         (sqrt_test_tonearest): Likewise.
7833         (sqrt_towardzero_test_data): Likewise.
7834         (sqrt_test_towardzero): Likewise.
7835         (sqrt_downward_test_data): Likewise.
7836         (sqrt_test_downward): Likewise.
7837         (sqrt_upward_test_data): Likewise.
7838         (sqrt_test_upward): Likewise.
7839         (tan_test_data): Update call to AUTO_TESTS_f_f.
7840         (tan_test): Use ALL_RM_TEST.
7841         (tan_tonearest_test_data): Remove.
7842         (tan_test_tonearest): Likewise.
7843         (tan_towardzero_test_data): Likewise.
7844         (tan_test_towardzero): Likewise.
7845         (tan_downward_test_data): Likewise.
7846         (tan_test_downward): Likewise.
7847         (tan_upward_test_data): Likewise.
7848         (tan_test_upward): Likewise.
7849         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7850         (tgamma_test_data): Likewise.
7851         (y0_test_data): Likewise.
7852         (y1_test_data): Likewise.
7853         (yn_test_data): Update call to AUTO_TESTS_if_f.
7854         (main): Do not call removed functions.
7855
7856 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7857
7858         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7859         (ldexp_test_data): Remove.
7860         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7861         scalbn_test_data.
7862         (scalb_test): Use ALL_RM_TEST.
7863
7864 2014-03-19  Andreas Schwab  <schwab@suse.de>
7865
7866         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7867
7868 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7869
7870         [BZ #16649]
7871         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7872         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7873         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7874         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7875         (__ASSUME_PREADV): Undefine.
7876         (__ASSUME_PWRITEV): Likewise.
7877
7878 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7879
7880         * bits/mman-linux.h: Add comment about non-Linux use.
7881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7882         bits/mman-linux.h resting place.
7883
7884         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7885         * bits/mman-linux.h: ... here.
7886
7887 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7888
7889         * conform/conformtest.pl: Add standard definition when calling C
7890         preprocessor on data files.
7891         (checknamespace): Remove unused variable.
7892
7893 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7894
7895         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7896         minus_oflow, plus_uflow and minus_uflow in expected results.
7897         * math/libm-test.inc (scalbn_test_data): Add more tests of
7898         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7899         minus_uflow.
7900         (scalbn_test): Use ALL_RM_TEST.
7901         (scalbln_test_data): Add more tests of negative arguments.  Use
7902         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7903         (scalbln_test): Use ALL_RM_TEST.
7904
7905 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7906
7907         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7908
7909 2014-03-18  Will Newton  <will.newton@linaro.org>
7910
7911         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7912         inaccurate comment.
7913
7914 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7915
7916         * Makerules [!subdir] (check-abi): Exit with error status if a
7917         test failed.
7918
7919 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7920
7921         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7922         for rint.  Include results for all rounding modes.
7923         (nearbyint_test): Use ALL_RM_TEST.
7924         (rint_test_data): Include all tests used for nearbyint.
7925
7926 2014-03-17  Will Newton  <will.newton@linaro.org>
7927
7928         * nptl/sysdeps/pthread/pthread.h: Revert previous
7929         change.
7930
7931         * sysdeps/generic/ldsodefs.h: Revert previous
7932         change.
7933
7934         * libio/genops.c: Revert previous change.
7935         * libio/libioP.h: Likewise.
7936         * stdio-common/vfprintf.c: Likewise.
7937
7938         * sysdeps/generic/math_private.h: Revert previous
7939         change.
7940
7941         * sysdeps/generic/math_private.h: Check whether
7942         HAVE_RM_CTX is defined with #ifdef rather
7943         than #if.
7944
7945         * argp/argp-fmtstream.h: Check whether
7946         __STRICT_ANSI__ is defined with #ifdef rather
7947         than #if.
7948         * argp/argp.h: Likewise.
7949
7950         * libio/genops.c: Check whether
7951         _IO_JUMPS_OFFSET is defined with #ifdef rather
7952         than #if.
7953         * libio/libioP.h: Likewise.
7954         * stdio-common/vfprintf.c: Likewise.
7955
7956         * sysdeps/generic/ldsodefs.h: Check whether
7957         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7958         than #if.
7959
7960         * nptl/sysdeps/pthread/pthread.h: Check
7961         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7962         its value.
7963
7964 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7965
7966         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7967         setting O_APPEND.
7968         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7969         test case.
7970
7971         [BZ #16680]
7972         * libio/fileops.c (_IO_file_open): Seek to end of file but
7973         don't cache the offset.
7974         (get_file_offset): Remove function.
7975         (do_ftell): Use cached offset when available.
7976         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7977         don't cache the offset.
7978         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7979         case.
7980         (do_one_test): Call it.
7981         (do_ftell_test): Fix up expected old offset for a+ mode.
7982         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7983         available.
7984
7985         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7986         up test status with function return status.
7987         (do_write_test): Likewise.
7988         (do_append_test): Likewise.
7989
7990         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7991         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7992         Remove.
7993
7994 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7995
7996         * math/gen-libm-test.pl (parse_args): Handle results specified for
7997         each rounding mode separately.
7998         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7999         tests and results from lrint_tonearest_test_data,
8000         lrint_towardzero_test_data, lrint_downward_test_data and
8001         lrint_upward_test_data.
8002         (lrint_test): Use ALL_RM_TEST.
8003         (lrint_tonearest_test_data): Remove.
8004         (lrint_test_tonearest): Likewise.
8005         (lrint_towardzero_test_data): Likewise.
8006         (lrint_test_towardzero): Likewise.
8007         (lrint_downward_test_data): Likewise.
8008         (lrint_test_downward): Likewise.
8009         (lrint_upward_test_data): Likewise.
8010         (lrint_test_upward): Likewise.
8011         (llrint_test_data): Merge in per-rounding-mode tests and results
8012         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8013         llrint_downward_test_data and llrint_upward_test_data.
8014         (llrint_test): Use ALL_RM_TEST.
8015         (llrint_tonearest_test_data): Remove.
8016         (llrint_test_tonearest): Likewise.
8017         (llrint_towardzero_test_data): Likewise.
8018         (llrint_test_towardzero): Likewise.
8019         (llrint_downward_test_data): Likewise.
8020         (llrint_test_downward): Likewise.
8021         (llrint_upward_test_data): Likewise.
8022         (llrint_test_upward): Likewise.
8023         (rint_test_data): Merge in per-rounding-mode tests and results
8024         from rint_tonearest_test_data, rint_towardzero_test_data,
8025         rint_downward_test_data and rint_upward_test_data.  Add
8026         per-rounding-mode results for tests not in those arrays.
8027         (rint_test): Use ALL_RM_TEST.
8028         (rint_tonearest_test_data): Remove.
8029         (rint_test_tonearest): Likewise.
8030         (rint_towardzero_test_data): Likewise.
8031         (rint_test_towardzero): Likewise.
8032         (rint_downward_test_data): Likewise.
8033         (rint_test_downward): Likewise.
8034         (rint_upward_test_data): Likewise.
8035         (rint_test_upward): Likewise.
8036         (main): Don't call removed functions.
8037
8038 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8039
8040         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8041         "Compiled on ..." crapola.  It is anti-useful.
8042
8043 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8044
8045         * scripts/evaluate-test.sh: Handle fourth argument to determine
8046         whether test run should stop on failure.
8047         * Makeconfig (stop-on-test-failure): New variable.
8048         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8049         $(stop-on-test-failure).
8050         * Makefile (tests): Give a summary of results from testing and
8051         exit with failure status if they include an ERROR or FAIL.
8052         (xtests): Likewise.
8053         * manual/install.texi (Configuring and compiling): Mention
8054         stop-on-test-failure=y.
8055         * INSTALL: Regenerated.
8056
8057 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8058
8059         * scripts/versionlist.awk: New file.
8060         * Makerules [$(build-shared) = yes]
8061         (postclean-generated): Add Versions.def, not Versions.def.v and
8062         Versions.def.v.i.
8063         ($(common-objpfx)Versions.def.v.i): Target removed.
8064         ($(common-objpfx)Versions.def): New target.
8065         ($(common-objpfx)Versions.all): Depend on that rather that
8066         $(common-objpfx)Versions.def.v.
8067         * Versions.def: File removed.
8068
8069         * Makeconfig (+gccwarn): Add -Wundef.
8070         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8071         a dl-sysdep.h breaking its contract.
8072         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8073         * include/stackinfo.h: New file.
8074         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8075         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8076         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8077         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8078         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8079         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8080         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8081         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8082         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8083         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8084         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8085         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8086         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8087         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8088         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8089
8090 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8091
8092         [BZ #16707]
8093         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8094         implementation.
8095         * math/libm-test.inc (round_test_data): Add more tests.
8096
8097         [BZ #16706]
8098         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8099         implementation.
8100         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8101
8102         [BZ #16701]
8103         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8104         implementation.
8105         * math/libm-test.inc (ceil_test_data): Add more tests.
8106
8107         * math/libm-test.inc (trunc_test_data): Add more tests related to
8108         BZ#16414.
8109
8110 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8111
8112         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8113         with #if rather than #ifdef.
8114         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8115
8116 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8117
8118         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8119         first.  Disable AVX-512 GCC support if assembler doesn't support
8120         it.
8121         * sysdeps/x86_64/configure: Regenerated.
8122
8123 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8124
8125         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8126         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8127         (__old_pthread_attr_setstack): Likewise.
8128         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8129         [!_STACK_GROWS_DOWN]: Likewise.
8130
8131 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8132
8133         * config.make.in (have-bash2): Delete.
8134         * configure.ac (libc_cv_have_bash2): Delete.
8135         * configure: Regenerate.
8136         * elf/Makefile (common-ldd-rewrite): Rename to ...
8137         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8138         (sh-ldd-rewrite): Delete.
8139         (bash-ldd-rewrite): Delete.
8140         (have-bash2): Delete checks.
8141         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8142         ldd-rewrite.
8143
8144         * config.make.in (have-ksh): Delete.
8145         (KSH): Delete.
8146         * configure.ac (libc_cv_have_ksh): Delete.
8147         * configure: Regenerate.
8148
8149         * elf/Makefile: Delete $(have-ksh) check.
8150         ($(objpfx)sotruss): Change KSH to BASH.
8151         * elf/sotruss.ksh: Rename to ...
8152         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8153         function style to match POSIX.  Drop ksh vim mode setting.
8154
8155         * manual/time.texi (Specifying the Time Zone with TZ): Change
8156         Tuesday to Thursday.
8157
8158         * debug/tst-longjmp_chk2.c: Update header comment.
8159         (stackoverflow_handler): Add comment.  Call assert on pass value.
8160
8161 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8162
8163         [BZ #16194]
8164         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8165         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8166         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8167         (La_x86_64_vector): Add zmm.
8168         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8169         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8170         ($(objpfx)tst-audit10): New target.
8171         ($(objpfx)tst-audit10.out): Likewise.
8172         (tst-audit10-ENV): New.
8173         (AVX512-CFLAGS): Likewise.
8174         (CFLAGS-tst-audit10.c): Likewise.
8175         (CFLAGS-tst-auditmod10a.c): Likewise.
8176         (CFLAGS-tst-auditmod10b.c): Likewise.
8177         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8178         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8179         * sysdeps/x86_64/configure: Regenerated.
8180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8181         AVX-512 zmm register support.
8182         (_dl_x86_64_save_sse): Likewise.
8183         (_dl_x86_64_restore_sse): Likewise.
8184         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8185         size vector registers.
8186         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8187         (ZMM_SIZE): Likewise.
8188         * sysdeps/x86_64/tst-audit10.c: New file.
8189         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8190         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8191
8192 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8193
8194         * configure.ac (HAVE_EHDR_START): New check.
8195         * configure: Regenerated.
8196         * config.h.in (HAVE_EHDR_START): New #undef.
8197         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8198         assuming the lowest-addressed segment maps the start of the file.
8199
8200 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8201
8202         * INSTALL: Regenerated.
8203
8204 2014-03-13  Will Newton  <will.newton@linaro.org>
8205
8206         * manual/setjmp.texi (System V contexts): Improve
8207         clarity and grammar of documentation.
8208
8209 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8210
8211         [BZ #16381]
8212         * elf/Makefile (tests): Add tst-pie2.
8213         (tests-pie): Add tst-pie2.
8214         * elf/tst-pie2.c: New file.
8215         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8216         for ET_EXEC.
8217         * elf/rtld.c (map_doit): Load executable as lt_executable.
8218         (dl_main): Likewise.
8219
8220 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8221
8222         [BZ #16642]
8223         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8224         (__ASSUME_PSELECT): Undefine.
8225
8226 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8227
8228         [BZ #16689]
8229         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8230         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8231         static build.
8232         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8233         selector for static builds.
8234
8235 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8236
8237         [BZ #16695]
8238         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8239         key in the buffer.
8240
8241 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8242
8243         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8244         IFUNC selector for static builds.
8245
8246 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8247
8248         * sysdeps/mips/math_private.h [__mips_hard_float]
8249         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8250         libc_feresetround_mips_ctx.
8251         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8252         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8253         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8254
8255         [BZ #16677]
8256         * math/s_nextafter.c (__nextafter): Do not return value from
8257         overflowing computation.
8258         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8259         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8260         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8261         Likewise.
8262         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8263         Likewise.
8264         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8265         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8266
8267 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8268
8269         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8270         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8271         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8272         the new mov targetting sp.
8273
8274 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8275
8276         [BZ #16683]
8277         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8278         Define it for static builds as well.
8279         (NO_BZERO_IMPL): Likewise.
8280
8281 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8282
8283         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8284         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8285         multiarch strspn for PPC64.
8286         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8287         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8289         (__libc_ifunc_impl_list): Likewise.
8290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8291         multiarch optimizations
8292         * string/strspn.c (strspn): Using macro to redefine symbol name.
8293
8294 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8295             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8296
8297         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8298         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8299         multiarch strncat for PPC64.
8300         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8301         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8303         (__libc_ifunc_impl_list): Likewise.
8304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8305         multiarch optimizations
8306
8307 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8308
8309         [BZ #16639]
8310         * nscd/nscd.service: Make service type forking.
8311
8312 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8313
8314         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8315         sign in non default rounding modes.
8316         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8317
8318 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8319
8320         * math/libm-test.inc (ALL_RM_TEST): New macro.
8321         (ceil_test): Use ALL_RM_TEST.
8322         (cimag_test): Likewise.
8323         (conj_test): Likewise.
8324         (copysign_test): Likewise.
8325         (cproj_test): Likewise.
8326         (creal_test): Likewise.
8327         (fabs_test): Likewise.
8328         (floor_test): Likewise.
8329         (fmax_test): Likewise.
8330         (fmin_test): Likewise.
8331         (fmod_test): Likewise.
8332         (fpclassify_test): Likewise.
8333         (frexp_test): Likewise.
8334         (ilogb_test): Likewise.
8335         (isfinite_test): Likewise.
8336         (finite_test): Likewise.
8337         (isgreater_test): Likewise.
8338         (isgreaterequal_test): Likewise.
8339         (isinf_test): Likewise.
8340         (isless_test): Likewise.
8341         (islessequal_test): Likewise.
8342         (islessgreater_test): Likewise.
8343         (isnan_test): Likewise.
8344         (isnormal_test): Likewise.
8345         (issignaling_test): Likewise.
8346         (isunordered_test): Likewise.
8347         (logb_test): Likewise.
8348         (logb_downward_test_data): Remove.
8349         (logb_test_downward): Likewise.
8350         (lround_test): Use ALL_RM_TEST.
8351         (llround_test): Likewise.
8352         (modf_test): Likewise.
8353         (nexttoward_test): Likewise.
8354         (remainder_test): Likewise.
8355         (drem_test): Likewise.
8356         (remainder_tonearest_test_data): Likewise.
8357         (remainder_test_tonearest): Likewise.
8358         (drem_test_tonearest): Likewise.
8359         (remainder_towardzero_test_data): Likewise.
8360         (remainder_test_towardzero): Likewise.
8361         (drem_test_towardzero): Likewise.
8362         (remainder_downward_test_data): Likewise.
8363         (remainder_test_downward): Likewise.
8364         (drem_test_downward): Likewise.
8365         (remainder_upward_test_data): Likewise.
8366         (remainder_test_upward): Likewise.
8367         (drem_test_upward): Likewise.
8368         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8369         (round_test): Use ALL_RM_TEST.
8370         (signbit_test): Likewise.
8371         (trunc_test): Likewise.
8372         (significand_test): Likewise.
8373         (main): Don't call removed functions.
8374
8375 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8376
8377         [BZ #16674]
8378         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8379         || __USE_XOPEN2K8].
8380         (ILL_ILLOPN): Likewise.
8381         (ILL_ILLADR): Likewise.
8382         (ILL_ILLTRP): Likewise.
8383         (ILL_PRVOPC): Likewise.
8384         (ILL_PRVREG): Likewise.
8385         (ILL_COPROC): Likewise.
8386         (ILL_BADSTK): Likewise.
8387         (FPE_INTDIV): Likewise.
8388         (FPE_INTOVF): Likewise.
8389         (FPE_FLTDIV): Likewise.
8390         (FPE_FLTOVF): Likewise.
8391         (FPE_FLTUND): Likewise.
8392         (FPE_FLTRES): Likewise.
8393         (FPE_FLTINV): Likewise.
8394         (FPE_FLTSUB): Likewise.
8395         (SEGV_MAPERR): Likewise.
8396         (SEGV_ACCERR): Likewise.
8397         (BUS_ADRALN): Likewise.
8398         (BUS_ADRERR): Likewise.
8399         (BUS_OBJERR): Likewise.
8400         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8401         (TRAP_TRACE): Likewise.
8402         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8403         __USE_XOPEN2K8].
8404         (CLD_KILLED): Likewise.
8405         (CLD_DUMPED): Likewise.
8406         (CLD_TRAPPED): Likewise.
8407         (CLD_STOPPED): Likewise.
8408         (CLD_CONTINUED): Likewise.
8409         (POLL_IN): Likewise.
8410         (POLL_OUT): Likewise.
8411         (POLL_MSG): Likewise.
8412         (POLL_ERR): Likewise.
8413         (POLL_PRI): Likewise.
8414         (POLL_HUP): Likewise.
8415         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8416         Likewise.
8417         (ILL_ILLOPN): Likewise.
8418         (ILL_ILLADR): Likewise.
8419         (ILL_ILLTRP): Likewise.
8420         (ILL_PRVOPC): Likewise.
8421         (ILL_PRVREG): Likewise.
8422         (ILL_COPROC): Likewise.
8423         (ILL_BADSTK): Likewise.
8424         (FPE_INTDIV): Likewise.
8425         (FPE_INTOVF): Likewise.
8426         (FPE_FLTDIV): Likewise.
8427         (FPE_FLTOVF): Likewise.
8428         (FPE_FLTUND): Likewise.
8429         (FPE_FLTRES): Likewise.
8430         (FPE_FLTINV): Likewise.
8431         (FPE_FLTSUB): Likewise.
8432         (SEGV_MAPERR): Likewise.
8433         (SEGV_ACCERR): Likewise.
8434         (BUS_ADRALN): Likewise.
8435         (BUS_ADRERR): Likewise.
8436         (BUS_OBJERR): Likewise.
8437         (BUS_MCEERR_AR): Likewise.
8438         (BUS_MCEERR_AO): Likewise.
8439         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8440         (TRAP_TRACE): Likewise.
8441         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8442         __USE_XOPEN2K8].
8443         (CLD_KILLED): Likewise.
8444         (CLD_DUMPED): Likewise.
8445         (CLD_TRAPPED): Likewise.
8446         (CLD_STOPPED): Likewise.
8447         (CLD_CONTINUED): Likewise.
8448         (POLL_IN): Likewise.
8449         (POLL_OUT): Likewise.
8450         (POLL_MSG): Likewise.
8451         (POLL_ERR): Likewise.
8452         (POLL_PRI): Likewise.
8453         (POLL_HUP): Likewise.
8454         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8455         (ILL_ILLOPN): Likewise.
8456         (ILL_ILLADR): Likewise.
8457         (ILL_ILLTRP): Likewise.
8458         (ILL_PRVOPC): Likewise.
8459         (ILL_PRVREG): Likewise.
8460         (ILL_COPROC): Likewise.
8461         (ILL_BADSTK): Likewise.
8462         (FPE_INTDIV): Likewise.
8463         (FPE_INTOVF): Likewise.
8464         (FPE_FLTDIV): Likewise.
8465         (FPE_FLTOVF): Likewise.
8466         (FPE_FLTUND): Likewise.
8467         (FPE_FLTRES): Likewise.
8468         (FPE_FLTINV): Likewise.
8469         (FPE_FLTSUB): Likewise.
8470         (SEGV_MAPERR): Likewise.
8471         (SEGV_ACCERR): Likewise.
8472         (BUS_ADRALN): Likewise.
8473         (BUS_ADRERR): Likewise.
8474         (BUS_OBJERR): Likewise.
8475         (BUS_MCEERR_AR): Likewise.
8476         (BUS_MCEERR_AO): Likewise.
8477         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8478         (TRAP_TRACE): Likewise.
8479         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8480         __USE_XOPEN2K8].
8481         (CLD_KILLED): Likewise.
8482         (CLD_DUMPED): Likewise.
8483         (CLD_TRAPPED): Likewise.
8484         (CLD_STOPPED): Likewise.
8485         (CLD_CONTINUED): Likewise.
8486         (POLL_IN): Likewise.
8487         (POLL_OUT): Likewise.
8488         (POLL_MSG): Likewise.
8489         (POLL_ERR): Likewise.
8490         (POLL_PRI): Likewise.
8491         (POLL_HUP): Likewise.
8492         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8493         Likewise.
8494         (ILL_ILLOPN): Likewise.
8495         (ILL_ILLADR): Likewise.
8496         (ILL_ILLTRP): Likewise.
8497         (ILL_PRVOPC): Likewise.
8498         (ILL_PRVREG): Likewise.
8499         (ILL_COPROC): Likewise.
8500         (ILL_BADSTK): Likewise.
8501         (ILL_BADIADDR): Likewise.
8502         (ILL_BREAK): Likewise.
8503         (FPE_INTDIV): Likewise.
8504         (FPE_INTOVF): Likewise.
8505         (FPE_FLTDIV): Likewise.
8506         (FPE_FLTOVF): Likewise.
8507         (FPE_FLTUND): Likewise.
8508         (FPE_FLTRES): Likewise.
8509         (FPE_FLTINV): Likewise.
8510         (FPE_FLTSUB): Likewise.
8511         (FPE_DECOVF): Likewise.
8512         (FPE_DECDIV): Likewise.
8513         (FPE_DECERR): Likewise.
8514         (FPE_INVASC): Likewise.
8515         (FPE_INVDEC): Likewise.
8516         (SEGV_MAPERR): Likewise.
8517         (SEGV_ACCERR): Likewise.
8518         (SEGV_PSTKOVF): Likewise.
8519         (BUS_ADRALN): Likewise.
8520         (BUS_ADRERR): Likewise.
8521         (BUS_OBJERR): Likewise.
8522         (BUS_MCEERR_AR): Likewise.
8523         (BUS_MCEERR_AO): Likewise.
8524         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8525         (TRAP_TRACE): Likewise.
8526         (TRAP_BRANCH): Likewise.
8527         (TRAP_HWBKPT): Likewise.
8528         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8529         __USE_XOPEN2K8].
8530         (CLD_KILLED): Likewise.
8531         (CLD_DUMPED): Likewise.
8532         (CLD_TRAPPED): Likewise.
8533         (CLD_STOPPED): Likewise.
8534         (CLD_CONTINUED): Likewise.
8535         (POLL_IN): Likewise.
8536         (POLL_OUT): Likewise.
8537         (POLL_MSG): Likewise.
8538         (POLL_ERR): Likewise.
8539         (POLL_PRI): Likewise.
8540         (POLL_HUP): Likewise.
8541         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8542         (ILL_ILLOPN): Likewise.
8543         (ILL_ILLADR): Likewise.
8544         (ILL_ILLTRP): Likewise.
8545         (ILL_PRVOPC): Likewise.
8546         (ILL_PRVREG): Likewise.
8547         (ILL_COPROC): Likewise.
8548         (ILL_BADSTK): Likewise.
8549         (FPE_INTDIV): Likewise.
8550         (FPE_INTOVF): Likewise.
8551         (FPE_FLTDIV): Likewise.
8552         (FPE_FLTOVF): Likewise.
8553         (FPE_FLTUND): Likewise.
8554         (FPE_FLTRES): Likewise.
8555         (FPE_FLTINV): Likewise.
8556         (FPE_FLTSUB): Likewise.
8557         (SEGV_MAPERR): Likewise.
8558         (SEGV_ACCERR): Likewise.
8559         (BUS_ADRALN): Likewise.
8560         (BUS_ADRERR): Likewise.
8561         (BUS_OBJERR): Likewise.
8562         (BUS_MCEERR_AR): Likewise.
8563         (BUS_MCEERR_AO): Likewise.
8564         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8565         (TRAP_TRACE): Likewise.
8566         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8567         __USE_XOPEN2K8].
8568         (CLD_KILLED): Likewise.
8569         (CLD_DUMPED): Likewise.
8570         (CLD_TRAPPED): Likewise.
8571         (CLD_STOPPED): Likewise.
8572         (CLD_CONTINUED): Likewise.
8573         (POLL_IN): Likewise.
8574         (POLL_OUT): Likewise.
8575         (POLL_MSG): Likewise.
8576         (POLL_ERR): Likewise.
8577         (POLL_PRI): Likewise.
8578         (POLL_HUP): Likewise.
8579         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8580         (ILL_ILLOPN): Likewise.
8581         (ILL_ILLADR): Likewise.
8582         (ILL_ILLTRP): Likewise.
8583         (ILL_PRVOPC): Likewise.
8584         (ILL_PRVREG): Likewise.
8585         (ILL_COPROC): Likewise.
8586         (ILL_BADSTK): Likewise.
8587         (FPE_INTDIV): Likewise.
8588         (FPE_INTOVF): Likewise.
8589         (FPE_FLTDIV): Likewise.
8590         (FPE_FLTOVF): Likewise.
8591         (FPE_FLTUND): Likewise.
8592         (FPE_FLTRES): Likewise.
8593         (FPE_FLTINV): Likewise.
8594         (FPE_FLTSUB): Likewise.
8595         (SEGV_MAPERR): Likewise.
8596         (SEGV_ACCERR): Likewise.
8597         (BUS_ADRALN): Likewise.
8598         (BUS_ADRERR): Likewise.
8599         (BUS_OBJERR): Likewise.
8600         (BUS_MCEERR_AR): Likewise.
8601         (BUS_MCEERR_AO): Likewise.
8602         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8603         (TRAP_TRACE): Likewise.
8604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8605         __USE_XOPEN2K8].
8606         (CLD_KILLED): Likewise.
8607         (CLD_DUMPED): Likewise.
8608         (CLD_TRAPPED): Likewise.
8609         (CLD_STOPPED): Likewise.
8610         (CLD_CONTINUED): Likewise.
8611         (POLL_IN): Likewise.
8612         (POLL_OUT): Likewise.
8613         (POLL_MSG): Likewise.
8614         (POLL_ERR): Likewise.
8615         (POLL_PRI): Likewise.
8616         (POLL_HUP): Likewise.
8617         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8618         (ILL_ILLOPN): Likewise.
8619         (ILL_ILLADR): Likewise.
8620         (ILL_ILLTRP): Likewise.
8621         (ILL_PRVOPC): Likewise.
8622         (ILL_PRVREG): Likewise.
8623         (ILL_COPROC): Likewise.
8624         (ILL_BADSTK): Likewise.
8625         (FPE_INTDIV): Likewise.
8626         (FPE_INTOVF): Likewise.
8627         (FPE_FLTDIV): Likewise.
8628         (FPE_FLTOVF): Likewise.
8629         (FPE_FLTUND): Likewise.
8630         (FPE_FLTRES): Likewise.
8631         (FPE_FLTINV): Likewise.
8632         (FPE_FLTSUB): Likewise.
8633         (SEGV_MAPERR): Likewise.
8634         (SEGV_ACCERR): Likewise.
8635         (BUS_ADRALN): Likewise.
8636         (BUS_ADRERR): Likewise.
8637         (BUS_OBJERR): Likewise.
8638         (BUS_MCEERR_AR): Likewise.
8639         (BUS_MCEERR_AO): Likewise.
8640         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8641         (TRAP_TRACE): Likewise.
8642         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8643         __USE_XOPEN2K8].
8644         (CLD_KILLED): Likewise.
8645         (CLD_DUMPED): Likewise.
8646         (CLD_TRAPPED): Likewise.
8647         (CLD_STOPPED): Likewise.
8648         (CLD_CONTINUED): Likewise.
8649         (POLL_IN): Likewise.
8650         (POLL_OUT): Likewise.
8651         (POLL_MSG): Likewise.
8652         (POLL_ERR): Likewise.
8653         (POLL_PRI): Likewise.
8654         (POLL_HUP): Likewise.
8655         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8656         (ILL_ILLOPN): Likewise.
8657         (ILL_ILLADR): Likewise.
8658         (ILL_ILLTRP): Likewise.
8659         (ILL_PRVOPC): Likewise.
8660         (ILL_PRVREG): Likewise.
8661         (ILL_COPROC): Likewise.
8662         (ILL_BADSTK): Likewise.
8663         (ILL_DBLFLT): Likewise.
8664         (ILL_HARDWALL): Likewise.
8665         (FPE_INTDIV): Likewise.
8666         (FPE_INTOVF): Likewise.
8667         (FPE_FLTDIV): Likewise.
8668         (FPE_FLTOVF): Likewise.
8669         (FPE_FLTUND): Likewise.
8670         (FPE_FLTRES): Likewise.
8671         (FPE_FLTINV): Likewise.
8672         (FPE_FLTSUB): Likewise.
8673         (SEGV_MAPERR): Likewise.
8674         (SEGV_ACCERR): Likewise.
8675         (BUS_ADRALN): Likewise.
8676         (BUS_ADRERR): Likewise.
8677         (BUS_OBJERR): Likewise.
8678         (BUS_MCEERR_AR): Likewise.
8679         (BUS_MCEERR_AO): Likewise.
8680         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8681         (TRAP_TRACE): Likewise.
8682         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8683         __USE_XOPEN2K8].
8684         (CLD_KILLED): Likewise.
8685         (CLD_DUMPED): Likewise.
8686         (CLD_TRAPPED): Likewise.
8687         (CLD_STOPPED): Likewise.
8688         (CLD_CONTINUED): Likewise.
8689         (POLL_IN): Likewise.
8690         (POLL_OUT): Likewise.
8691         (POLL_MSG): Likewise.
8692         (POLL_ERR): Likewise.
8693         (POLL_PRI): Likewise.
8694         (POLL_HUP): Likewise.
8695         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8696         (ILL_ILLOPN): Likewise.
8697         (ILL_ILLADR): Likewise.
8698         (ILL_ILLTRP): Likewise.
8699         (ILL_PRVOPC): Likewise.
8700         (ILL_PRVREG): Likewise.
8701         (ILL_COPROC): Likewise.
8702         (ILL_BADSTK): Likewise.
8703         (FPE_INTDIV): Likewise.
8704         (FPE_INTOVF): Likewise.
8705         (FPE_FLTDIV): Likewise.
8706         (FPE_FLTOVF): Likewise.
8707         (FPE_FLTUND): Likewise.
8708         (FPE_FLTRES): Likewise.
8709         (FPE_FLTINV): Likewise.
8710         (FPE_FLTSUB): Likewise.
8711         (SEGV_MAPERR): Likewise.
8712         (SEGV_ACCERR): Likewise.
8713         (BUS_ADRALN): Likewise.
8714         (BUS_ADRERR): Likewise.
8715         (BUS_OBJERR): Likewise.
8716         (BUS_MCEERR_AR): Likewise.
8717         (BUS_MCEERR_AO): Likewise.
8718         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8719         (TRAP_TRACE): Likewise.
8720         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8721         __USE_XOPEN2K8].
8722         (CLD_KILLED): Likewise.
8723         (CLD_DUMPED): Likewise.
8724         (CLD_TRAPPED): Likewise.
8725         (CLD_STOPPED): Likewise.
8726         (CLD_CONTINUED): Likewise.
8727         (POLL_IN): Likewise.
8728         (POLL_OUT): Likewise.
8729         (POLL_MSG): Likewise.
8730         (POLL_ERR): Likewise.
8731         (POLL_PRI): Likewise.
8732         (POLL_HUP): Likewise.
8733         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8734         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8735
8736         [BZ #16670]
8737         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8738         before #include of <time.h>.
8739         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8740         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8741         (test-xfail-UNIX98/sched.h/conform): Likewise.
8742
8743 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8744
8745         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8746         error absence of trapping exception support.
8747         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8748
8749 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8750
8751         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8752         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8753         * timezone/Makefile (testdata): Move definition above include of
8754         Rules.
8755         (test-zones): New variable.
8756         (tests-special): Add zone files.
8757         (build-testdata): Use $(evaluate-test).
8758
8759         * elf/Makefile (tests-special): Rename tests to end with .out.
8760         ($(objpfx)noload-mem): Likewise.
8761         ($(objpfx)tst-leaks1-mem): Likewise.
8762         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8763         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8764         $(objpfx)test-iconvconfig.out.
8765         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8766         set -e inside subshell and redirect output to file.
8767         * iconvdata/Makefile (generated): Rename tests to end with .out.
8768         Correct type.
8769         (tests-special): Rename tests to end with .out.
8770         ($(objpfx)mtrace-tst-loading): Likewise.
8771         * intl/Makefile (generated): Likewise.
8772         (tests-special): Likewise.
8773         ($(objpfx)mtrace-tst-gettext): Likewise.
8774         * misc/Makefile (generated): Likewise.
8775         (tests-special): Likewise.
8776         ($(objpfx)tst-error1-mem): Likewise.
8777         * nptl/Makefile (tests-special): Likewise.
8778         ($(objpfx)tst-stack3-mem): Likewise.
8779         (generated): Likewise.
8780         * posix/Makefile (generated): Likewise.
8781         (tests-special): Likewise.
8782         (xtests-special): Likewise.
8783         ($(objpfx)tst-fnmatch-mem): Likewise.
8784         ($(objpfx)bug-regex2-mem): Likewise.
8785         ($(objpfx)bug-regex14-mem): Likewise.
8786         ($(objpfx)bug-regex21-mem): Likewise.
8787         ($(objpfx)bug-regex31-mem): Likewise.
8788         ($(objpfx)tst-vfork3-mem): Likewise.
8789         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8790         ($(objpfx)tst-pcre-mem): Likewise.
8791         ($(objpfx)tst-boost-mem): Likewise.
8792         ($(objpfx)bug-ga2-mem): Likewise.
8793         ($(objpfx)bug-glob2-mem): Likewise.
8794         * resolv/Makefile (generate): Likewise.
8795         (tests-special): Likewise.
8796         (xtests-special): Likewise.
8797         (generated): Likewise.
8798         ($(objpfx)mtrace-tst-leaks): Likewise.
8799         ($(objpfx)mtrace-tst-leaks2): Likewise.
8800
8801         * scripts/merge-test-results.sh: New file.
8802         * Makefile (tests-special-notdir): New variable.
8803         (tests): Run merge-test-results.sh.
8804         (xtests): Likewise.
8805         * Rules (tests-special-notdir): New variable.
8806         (xtests-special-notdir): Likewise.
8807         (tests): Run merge-test-results.sh
8808         (xtests): Likewise.
8809
8810         * Makeconfig (test-xfail-name): New variable.
8811         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8812         compute variable name for expected failures.
8813         * conform/Makefile (conformtest-headers-data): New variable.
8814         (conformtest-standards): Likewise.
8815         (conformtest-headers-ISO): Likewise.
8816         (conformtest-headers-ISO99): Likewise.
8817         (conformtest-headers-ISO11): Likewise.
8818         (conformtest-headers-POSIX): Likewise.
8819         (conformtest-headers-XPG3): Likewise.
8820         (conformtest-headers-XPG4): Likewise.
8821         (conformtest-headers-UNIX98): Likewise.
8822         (conformtest-headers-XOPEN2K): Likewise.
8823         (conformtest-headers-POSIX2008): Likewise.
8824         (conformtest-headers-XOPEN2K8): Likewise.
8825         (conformtest-header-list-base): Likewise.
8826         (conformtest-header-list-tests): Likewise.
8827         (conformtest-header-base): Likewise.
8828         (conformtest-header-tests): Likewise.
8829         (tests-special): Add $(conformtest-header-list-tests).  If
8830         [$(fast-check) && !$(cross-compiling)], add
8831         $(conformtest-header-tests) instead of
8832         $(objpfx)run-conformtest.out.
8833         (generated): Add $(conformtest-header-list-base).  If
8834         [$(fast-check) && !$(cross-compiling)], add
8835         $(conformtest-header-base).  Remove previous setting.
8836         ($(conformtest-header-list-tests)): New target.
8837         (test-xfail-run-conformtest): Remove variable.
8838         ($(objpfx)run-conformtest.out): Remove target.
8839         (test-xfail-ISO11/complex.h/conform): New variable.
8840         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8841         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8842         (test-xfail-XPG3/varargs.h/conform): Likewise.
8843         (test-xfail-XPG4/varargs.h/conform): Likewise.
8844         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8845         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8846         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8847         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8848         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8849         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8850         (test-xfail-XPG3/ftw.h/conform): Likewise.
8851         (test-xfail-XPG3/grp.h/conform): Likewise.
8852         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8853         (test-xfail-XPG3/limits.h/conform): Likewise.
8854         (test-xfail-XPG3/pwd.h/conform): Likewise.
8855         (test-xfail-XPG3/search.h/conform): Likewise.
8856         (test-xfail-XPG3/signal.h/conform): Likewise.
8857         (test-xfail-XPG3/stdio.h/conform): Likewise.
8858         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8859         (test-xfail-XPG3/string.h/conform): Likewise.
8860         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8861         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8862         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8863         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8864         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8865         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8866         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8867         (test-xfail-XPG3/termios.h/conform): Likewise.
8868         (test-xfail-XPG3/time.h/conform): Likewise.
8869         (test-xfail-XPG3/unistd.h/conform): Likewise.
8870         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8871         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8872         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8873         (test-xfail-XPG4/netdb.h/conform): Likewise.
8874         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8875         (test-xfail-XPG4/signal.h/conform): Likewise.
8876         (test-xfail-XPG4/stdio.h/conform): Likewise.
8877         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8878         (test-xfail-XPG4/stropts.h/conform): Likewise.
8879         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8880         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8881         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8882         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8883         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8884         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8885         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8886         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8887         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8888         (test-xfail-XPG4/termios.h/conform): Likewise.
8889         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8890         (test-xfail-XPG4/unistd.h/conform): Likewise.
8891         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8892         (test-xfail-POSIX/sched.h/conform): Likewise.
8893         (test-xfail-POSIX/signal.h/conform): Likewise.
8894         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8895         (test-xfail-POSIX/tar.h/conform): Likewise.
8896         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8897         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8898         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8899         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8900         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8901         (test-xfail-UNIX98/sched.h/conform): Likewise.
8902         (test-xfail-UNIX98/signal.h/conform): Likewise.
8903         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8904         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8905         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8906         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8907         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8908         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8909         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8910         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8911         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8912         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8913         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8914         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8915         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8916         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8917         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8918         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8919         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8920         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8921         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8922         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8923         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8924         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8925         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8926         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8927         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8928         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8929         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8930         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8931         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8932         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8933         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8934         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8935         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8936         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8937         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8938         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8939         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8940         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8941         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8942         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8943         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8944         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8945         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8946         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8947         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8948         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8949         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8950         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8951         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8952         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8953         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8954         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8955         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8956         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8957         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8958         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8959         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8960         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8961         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8962         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8963         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8964         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8965         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8966         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8967         (conformtest-cc-flags): Likewise.
8968         ($(conformtest-header-tests): New target.
8969         * conform/check-header-lists.sh: New file.
8970         * conform/run-conformtest.sh: Remove.
8971
8972         * conform/conformtest.pl: Allow ' and \ in values given for
8973         constants.
8974         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8975         inclusion.
8976         [POSIX] (sys/types.h): Likewise.
8977         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8978         inclusion.
8979         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8980         inclusion.
8981         * conform/data/signal.h-data (SIGIO): Remove expectation.
8982         [XPG3] (SIGBUS): Do not expect.
8983         [POSIX || XPG3] (SIGPOLL): Likewise.
8984         [POSIX || XPG3] (SIGPROF): Likewise.
8985         [POSIX || XPG3] (SIGSYS): Likewise.
8986         [XPG3] (SIGTRAP): Likewise.
8987         [POSIX || XPG3] (SIGURG): Likewise.
8988         [POSIX || XPG3] (SIGVTALRM): Likewise.
8989         [POSIX || XPG3] (SIGXCPU): Likewise.
8990         [POSIX || XPG3] (SIGXFSZ): Likewise.
8991         [POSIX] (SA_SIGINFO): Expect.
8992         [XPG3] (siginfo_t): Do not expect type or contents.
8993         [POSIX] (si_pid): Do not expect element.
8994         [POSIX] (si_uid): Likewise.
8995         [POSIX] (si_addr): Likewise.
8996         [POSIX] (si_status): Likewise.
8997         [POSIX] (si_band): Likewise.
8998         [XPG4] (si_value): Likewise.
8999         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9000         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9001         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9002         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9003         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9004         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9005         [POSIX || XPG3] (ILL_COPROC): Likewise.
9006         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9007         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9008         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9009         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9010         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9011         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9012         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9013         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9014         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9015         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9016         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9017         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9018         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9019         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9020         [POSIX || XPG3] (CLD_EXITED): Likewise.
9021         [POSIX || XPG3] (CLD_KILLED): Likewise.
9022         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9023         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9024         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9025         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9026         [POSIX || XPG3] (POLL_IN): Likewise.
9027         [POSIX || XPG3] (POLL_OUT): Likewise.
9028         [POSIX || XPG3] (POLL_MSG): Likewise.
9029         [POSIX || XPG3] (POLL_ERR): Likewise.
9030         [POSIX || XPG3] (POLL_PRI): Likewise.
9031         [POSIX || XPG3] (POLL_HUP): Likewise.
9032         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9033         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9034         (SIG*): Do not allow.
9035         [XPG3] (si_*): Likewise.
9036         [XPG3] (SI_*): Likewise.
9037         [XPG3 || XPG4] (sigev_*): Likewise.
9038         [XPG3 || XPG4] (SIGEV_*): Likewise.
9039         [XPG3 || XPG4] (sival_*): Likewise.
9040         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9041         [POSIX || XPG3] (BUS_*): Likewise.
9042         [POSIX || XPG3] (CLD_*): Likewise.
9043         [POSIX || XPG3] (FPE_*): Likewise.
9044         [POSIX || XPG3] (ILL_*): Likewise.
9045         [POSIX || XPG3] (POLL_*): Likewise.
9046         [POSIX || XPG3] (SEGV_*): Likewise.
9047         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9048         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9049         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9050         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9051         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9052         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9053         Specify type and value.
9054         (TVERSLEN): Likewise.
9055         (REGTYPE): Likewise.
9056         (AREGTYPE): Likewise.
9057         (LNKTYPE): Likewise.
9058         (SYMTYPE): Likewise.
9059         (CHRTYPE): Likewise.
9060         (BLKTYPE): Likewise.
9061         (DIRTYPE): Likewise.
9062         (FIFOTYPE): Likewise.
9063         (CONTTYPE): Likewise.
9064         (TSUID): Likewise.
9065         (TSGID): Likewise.
9066         (TSVTX): Likewise.
9067         (TUREAD): Likewise.
9068         (TUWRITE): Likewise.
9069         (TUEXEC): Likewise.
9070         (TGREAD): Likewise.
9071         (TGWRITE): Likewise.
9072         (TGEXEC): Likewise.
9073         (TOREAD): Likewise.
9074         (TOWRITE): Likewise.
9075         (TOEXEC): Likewise.
9076         [POSIX] (TSVTX): Expect constant.
9077
9078 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9079
9080         * Makefile (tests): Change dependencies to ....
9081         (tests-special): ... additions to this variable.
9082         (tests): Depend on $(tests-special).
9083         * Makerules (check-abi-list): New variable.
9084         (check-abi): Depend on $(check-abi-list).
9085         [$(subdir) = elf] (tests-special): Add
9086         $(objpfx)check-abi-libc.out.
9087         [$(build-shared) = yes && subdir] (tests-special): Add
9088         $(check-abi-list).
9089         [$(build-shared) = yes && subdir] (tests): Do not depend on
9090         check-abi.
9091         * Rules (tests): Depend on $(tests-special).
9092         (xtests): Depend on $(xtests-special).
9093         * catgets/Makefile (tests): Change dependencies to ....
9094         (tests-special): ... additions to this variable.
9095         * conform/Makefile (tests): Change dependencies to ....
9096         (tests-special): ... additions to this variable.
9097         * elf/Makefile (tests): Change dependencies to ....
9098         (tests-special): ... additions to this variable.
9099         * grp/Makefile (tests): Change dependencies to ....
9100         (tests-special): ... additions to this variable.
9101         * iconv/Makefile (xtests): Change dependencies to ....
9102         (xtests-special): ... additions to this variable.
9103         * iconvdata/Makefile (tests): Change dependencies to ....
9104         (tests-special): ... additions to this variable.
9105         * intl/Makefile (tests): Change dependencies to ....
9106         (tests-special): ... additions to this variable.  Also add
9107         $(objpfx)tst-gettext.out.
9108         * io/Makefile (tests): Change dependencies to ....
9109         (tests-special): ... additions to this variable.
9110         * libio/Makefile (tests): Change dependencies to ....
9111         (tests-special): ... additions to this variable.
9112         * malloc/Makefile (tests): Change dependencies to ....
9113         (tests-special): ... additions to this variable.
9114         * misc/Makefile (tests): Change dependencies to ....
9115         (tests-special): ... additions to this variable.
9116         * nptl/Makefile (tests): Change dependencies to ....
9117         (tests-special): ... additions to this variable.
9118         * nptl_db/Makefile (tests): Change dependencies to ....
9119         (tests-special): ... additions to this variable.
9120         * posix/Makefile (tests): Change dependencies to ....
9121         (tests-special): ... additions to this variable.
9122         (xtests): Change dependencies to ....
9123         (xtests-special): ... additions to this variable.
9124         * resolv/Makefile (tests): Change dependencies to ....
9125         (tests-special): ... additions to this variable.
9126         (xtests): Change dependencies to ....
9127         (xtests-special): ... additions to this variable.
9128         * stdio-common/Makefile (tests): Change dependencies to ....
9129         (tests-special): ... additions to this variable.
9130         (do-tst-unbputc): Remove target.
9131         (do-tst-printf): Likewise.
9132         * stdlib/Makefile (tests): Change dependencies to ....
9133         (tests-special): ... additions to this variable.
9134         * string/Makefile (tests): Change dependencies to ....
9135         (tests-special): ... additions to this variable.
9136         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9137         (tests-special): ... additions to this variable.
9138
9139         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9140         whole file.
9141         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9142         whole file.
9143         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9144         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9145
9146         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9147         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9148         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9149         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9150         * conform/data/libgen.h-data [XPG3]: Likewise.
9151         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9152         * conform/data/ndbm.h-data [XPG3]: Likewise.
9153         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9154         * conform/data/netdb.h-data [XPG3]: Likewise.
9155         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9156         * conform/data/poll.h-data [XPG3]: Likewise.
9157         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9158         * conform/data/strings.h-data [XPG3]: Likewise.
9159         * conform/data/stropts.h-data [XPG3]: Likewise.
9160         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9161         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9162         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9163         Likewise.
9164         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9165         * conform/data/sys/time.h-data [XPG3]: Likewise.
9166         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9167         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9168         * conform/data/sys/un.h-data [XPG3]: Likewise.
9169         * conform/data/syslog.h-data [XPG3]: Likewise.
9170         * conform/data/ucontext.h-data [XPG3]: Likewise.
9171         * conform/data/utmpx.h-data [XPG3]: Likewise.
9172         * conform/data/varargs.h-data [UNIX98]: Enable file.
9173
9174         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9175
9176         * math/libm-test.inc (struct test_f_f_data): Move expected results
9177         into structure for each rounding mode.
9178         (struct test_ff_f_data): Likewise.
9179         (struct test_ff_f_data_nexttoward): Likewise.
9180         (struct test_fi_f_data): Likewise.
9181         (struct test_fl_f_data): Likewise.
9182         (struct test_if_f_data): Likewise.
9183         (struct test_fff_f_data): Likewise.
9184         (struct test_c_f_data): Likewise.
9185         (struct test_f_f1_data): Likewise.
9186         (struct test_fF_f1_data): Likewise.
9187         (struct test_ffI_f1_data): Likewise.
9188         (struct test_c_c_data): Likewise.
9189         (struct test_cc_c_data): Likewise.
9190         (struct test_f_i_data): Likewise.
9191         (struct test_ff_i_data): Likewise.
9192         (struct test_f_l_data): Likewise.
9193         (struct test_f_L_data): Likewise.
9194         (struct test_fFF_11_data): Likewise.
9195         (RM_): New macro.
9196         (RM_FE_DOWNWARD): Likewise.
9197         (RM_FE_TONEAREST): Likewise.
9198         (RM_FE_TOWARDZERO): Likewise.
9199         (RM_FE_UPWARD): Likewise.
9200         (RUN_TEST_LOOP_f_f): Update references to expected results.
9201         (RUN_TEST_LOOP_2_f): Likewise.
9202         (RUN_TEST_LOOP_fff_f): Likewise.
9203         (RUN_TEST_LOOP_c_f): Likewise.
9204         (RUN_TEST_LOOP_f_f1): Likewise.
9205         (RUN_TEST_LOOP_fF_f1): Likewise.
9206         (RUN_TEST_LOOP_fI_f1): Likewise.
9207         (RUN_TEST_LOOP_ffI_f1): Likewise.
9208         (RUN_TEST_LOOP_c_c): Likewise.
9209         (RUN_TEST_LOOP_cc_c): Likewise.
9210         (RUN_TEST_LOOP_f_i): Likewise.
9211         (RUN_TEST_LOOP_f_i_tg): Likewise.
9212         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9213         (RUN_TEST_LOOP_f_b): Likewise.
9214         (RUN_TEST_LOOP_f_b_tg): Likewise.
9215         (RUN_TEST_LOOP_f_l): Likewise.
9216         (RUN_TEST_LOOP_f_L): Likewise.
9217         (RUN_TEST_LOOP_fFF_11): Likewise.
9218         * math/gen-libm-test.pl (parse_args): Output four copies of
9219         expected results for each test.
9220
9221         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9222         (__ASSUME_UTIMES): Remove.
9223         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9224         (__ASSUME_UTIMES): Likewise.
9225
9226         * math/gen-auto-libm-tests.c: Update comment on output format.
9227         (output_for_one_input_case): Generate before-rounding and
9228         after-rounding information as conditions on output flags not
9229         floating-point format.
9230         * math/auto-libm-test-out: Regenerated.
9231         * math/gen-libm-test.pl (cond_value): New function.
9232         (or_cond_value): Use cond_value.
9233         (generate_testfile): Handle conditional exceptions.
9234
9235 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9236
9237         * math/libm-test.inc (max_valid_error): New variable.
9238         (init_max_error): Take new argument specifying whether function
9239         results are exactly determined.  Set max_valid_error and bound
9240         other variables for errors based on this argument.
9241         (set_max_error): Do not record results above max_valid_error.
9242         (check_float_internal): Only accept errors of up to 0.5ulps if
9243         also at most max_valid_error.
9244         (START): Take new argument EXACT and pass it to init_max_error.
9245         (acos_test): Update call to START.
9246         (acos_test_tonearest): Likewise.
9247         (acos_test_towardzero): Likewise.
9248         (acos_test_downward): Likewise.
9249         (acos_test_upward): Likewise.
9250         (acosh_test): Likewise.
9251         (asin_test): Likewise.
9252         (asin_test_tonearest): Likewise.
9253         (asin_test_towardzero): Likewise.
9254         (asin_test_downward): Likewise.
9255         (asin_test_upward): Likewise.
9256         (asinh_test): Likewise.
9257         (atan_test): Likewise.
9258         (atanh_test): Likewise.
9259         (atan2_test): Likewise.
9260         (cabs_test): Likewise.
9261         (cacos_test): Likewise.
9262         (cacosh_test): Likewise.
9263         (carg_test): Likewise.
9264         (casin_test): Likewise.
9265         (casinh_test): Likewise.
9266         (catan_test): Likewise.
9267         (catanh_test): Likewise.
9268         (cbrt_test): Likewise.
9269         (ccos_test): Likewise.
9270         (ccosh_test): Likewise.
9271         (ceil_test): Likewise.
9272         (cexp_test): Likewise.
9273         (cimag_test): Likewise.
9274         (clog_test): Likewise.
9275         (clog10_test): Likewise.
9276         (conj_test): Likewise.
9277         (copysign_test): Likewise.
9278         (cos_test): Likewise.
9279         (cos_test_tonearest): Likewise.
9280         (cos_test_towardzero): Likewise.
9281         (cos_test_downward): Likewise.
9282         (cos_test_upward): Likewise.
9283         (cosh_test): Likewise.
9284         (cosh_test_tonearest): Likewise.
9285         (cosh_test_towardzero): Likewise.
9286         (cosh_test_downward): Likewise.
9287         (cosh_test_upward): Likewise.
9288         (cpow_test): Likewise.
9289         (cproj_test): Likewise.
9290         (creal_test): Likewise.
9291         (csin_test): Likewise.
9292         (csinh_test): Likewise.
9293         (csqrt_test): Likewise.
9294         (ctan_test): Likewise.
9295         (ctan_test_tonearest): Likewise.
9296         (ctan_test_towardzero): Likewise.
9297         (ctan_test_downward): Likewise.
9298         (ctan_test_upward): Likewise.
9299         (ctanh_test): Likewise.
9300         (ctanh_test_tonearest): Likewise.
9301         (ctanh_test_towardzero): Likewise.
9302         (ctanh_test_downward): Likewise.
9303         (ctanh_test_upward): Likewise.
9304         (erf_test): Likewise.
9305         (erfc_test): Likewise.
9306         (exp_test): Likewise.
9307         (exp_test_tonearest): Likewise.
9308         (exp_test_towardzero): Likewise.
9309         (exp_test_downward): Likewise.
9310         (exp_test_upward): Likewise.
9311         (exp10_test): Likewise.
9312         (exp10_test_tonearest): Likewise.
9313         (exp10_test_towardzero): Likewise.
9314         (exp10_test_downward): Likewise.
9315         (exp10_test_upward): Likewise.
9316         (pow10_test): Likewise.
9317         (exp2_test): Likewise.
9318         (expm1_test): Likewise.
9319         (expm1_test_tonearest): Likewise.
9320         (expm1_test_towardzero): Likewise.
9321         (expm1_test_downward): Likewise.
9322         (expm1_test_upward): Likewise.
9323         (fabs_test): Likewise.
9324         (fdim_test): Likewise.
9325         (floor_test): Likewise.
9326         (fma_test): Likewise.
9327         (fma_test_towardzero): Likewise.
9328         (fma_test_downward): Likewise.
9329         (fma_test_upward): Likewise.
9330         (fmax_test): Likewise.
9331         (fmin_test): Likewise.
9332         (fmod_test): Likewise.
9333         (fpclassify_test): Likewise.
9334         (frexp_test): Likewise.
9335         (hypot_test): Likewise.
9336         (ilogb_test): Likewise.
9337         (isfinite_test): Likewise.
9338         (finite_test): Likewise.
9339         (isgreater_test): Likewise.
9340         (isgreaterequal_test): Likewise.
9341         (isinf_test): Likewise.
9342         (isless_test): Likewise.
9343         (islessequal_test): Likewise.
9344         (islessgreater_test): Likewise.
9345         (isnan_test): Likewise.
9346         (isnormal_test): Likewise.
9347         (issignaling_test): Likewise.
9348         (isunordered_test): Likewise.
9349         (j0_test): Likewise.
9350         (j1_test): Likewise.
9351         (jn_test): Likewise.
9352         (ldexp_test): Likewise.
9353         (lgamma_test): Likewise.
9354         (gamma_test): Likewise.
9355         (lrint_test): Likewise.
9356         (lrint_test_tonearest): Likewise.
9357         (lrint_test_towardzero): Likewise.
9358         (lrint_test_downward): Likewise.
9359         (lrint_test_upward): Likewise.
9360         (llrint_test): Likewise.
9361         (llrint_test_tonearest): Likewise.
9362         (llrint_test_towardzero): Likewise.
9363         (llrint_test_downward): Likewise.
9364         (llrint_test_upward): Likewise.
9365         (log_test): Likewise.
9366         (log10_test): Likewise.
9367         (log1p_test): Likewise.
9368         (log2_test): Likewise.
9369         (logb_test): Likewise.
9370         (logb_test_downward): Likewise.
9371         (lround_test): Likewise.
9372         (llround_test): Likewise.
9373         (modf_test): Likewise.
9374         (nearbyint_test): Likewise.
9375         (nextafter_test): Likewise.
9376         (nexttoward_test): Likewise.
9377         (pow_test): Likewise.
9378         (pow_test_tonearest): Likewise.
9379         (pow_test_towardzero): Likewise.
9380         (pow_test_downward): Likewise.
9381         (pow_test_upward): Likewise.
9382         (remainder_test): Likewise.
9383         (drem_test): Likewise.
9384         (remainder_test_tonearest): Likewise.
9385         (drem_test_tonearest): Likewise.
9386         (remainder_test_towardzero): Likewise.
9387         (drem_test_towardzero): Likewise.
9388         (remainder_test_downward): Likewise.
9389         (drem_test_downward): Likewise.
9390         (remainder_test_upward): Likewise.
9391         (drem_test_upward): Likewise.
9392         (remquo_test): Likewise.
9393         (rint_test): Likewise.
9394         (rint_test_tonearest): Likewise.
9395         (rint_test_towardzero): Likewise.
9396         (rint_test_downward): Likewise.
9397         (rint_test_upward): Likewise.
9398         (round_test): Likewise.
9399         (scalb_test): Likewise.
9400         (scalbn_test): Likewise.
9401         (scalbln_test): Likewise.
9402         (signbit_test): Likewise.
9403         (sin_test): Likewise.
9404         (sin_test_tonearest): Likewise.
9405         (sin_test_towardzero): Likewise.
9406         (sin_test_downward): Likewise.
9407         (sin_test_upward): Likewise.
9408         (sincos_test): Likewise.
9409         (sinh_test): Likewise.
9410         (sinh_test_tonearest): Likewise.
9411         (sinh_test_towardzero): Likewise.
9412         (sinh_test_downward): Likewise.
9413         (sinh_test_upward): Likewise.
9414         (sqrt_test): Likewise.
9415         (sqrt_test_tonearest): Likewise.
9416         (sqrt_test_towardzero): Likewise.
9417         (sqrt_test_downward): Likewise.
9418         (sqrt_test_upward): Likewise.
9419         (tan_test): Likewise.
9420         (tan_test_tonearest): Likewise.
9421         (tan_test_towardzero): Likewise.
9422         (tan_test_downward): Likewise.
9423         (tan_test_upward): Likewise.
9424         (tanh_test): Likewise.
9425         (tgamma_test): Likewise.
9426         (trunc_test): Likewise.
9427         (y0_test): Likewise.
9428         (y1_test): Likewise.
9429         (yn_test): Likewise.
9430         (significand_test): Likewise.
9431
9432         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9433         individual tests in comment.
9434         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9435         (prev_max_error): New variable.
9436         (prev_real_max_error): Likewise.
9437         (prev_imag_max_error): Likewise.
9438         (compare_ulp_data): Don't refer to test names in comment.
9439         (find_test_ulps): Remove function.
9440         (find_function_ulps): Likewise.
9441         (find_complex_function_ulps): Likewise.
9442         (init_max_error): Take function name as argument.  Look up ulps
9443         for that function.
9444         (print_ulps): Remove function.
9445         (print_max_error): Use prev_max_error instead of calling
9446         find_function_ulps.
9447         (print_complex_max_error): Use prev_real_max_error and
9448         prev_imag_max_error instead of calling find_complex_function_ulps.
9449         (check_float_internal): Take max_ulp parameter instead of calling
9450         find_test_ulps.  Don't call print_ulps.
9451         (check_float): Update call to check_float_internal.
9452         (check_complex): Update calls to check_float_internal.
9453         (START): Pass argument to init_max_error.
9454         * math/gen-libm-test.pl (%results): Don't include "kind"
9455         information.
9456         (parse_ulps): Don't handle ulps of individual tests.
9457         (print_ulps_file): Likewise.
9458         (output_ulps): Likewise.
9459         * math/README.libm-test: Update.
9460         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9461         individual tests.
9462         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9463         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9464         * sysdeps/arm/libm-test-ulps: Likewise.
9465         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9466         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9467         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9468         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9469         * sysdeps/microblaze/libm-test-ulps: Likewise.
9470         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9471         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9472         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9473         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9474         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9475         * sysdeps/sh/libm-test-ulps: Likewise.
9476         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9477         * sysdeps/tile/libm-test-ulps: Likewise.
9478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9479
9480 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9481
9482         * math/libm-test.inc (print_complex_max_error): Check separately
9483         whether real and imaginary errors are within allowed range and
9484         pass 0 to print_complex_function_ulps instead of value within
9485         allowed range.
9486
9487 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9488
9489         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9490         formatting.
9491         (get_handles_fopen): Likewise.
9492         (do_write_test): Likewise.
9493
9494         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9495
9496         * libio/fileops.c (do_ftell): Use cached offset when
9497         available.
9498         * libio/iofwide.c (do_ftell_wide): Likewise.
9499         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9500         _IO_file_attach.
9501         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9502
9503         [BZ #16532]
9504         * libio/libioP.h (get_file_offset): New function.
9505         * libio/fileops.c (get_file_offset): Likewise.
9506         (do_ftell): Likewise.
9507         (_IO_new_file_seekoff): Split out ftell logic.
9508         * libio/wfileops.c (do_ftell_wide): Likewise.
9509         (_IO_wfile_seekoff): Split out ftell logic.
9510         * libio/tst-ftell-active-handler.c: New test case.
9511         * libio/Makefile (tests): Add it.
9512
9513 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9514
9515         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9516         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9517
9518 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9519
9520         [BZ #16639]
9521         * nscd/connections.c (nscd_init): Call do_exit.
9522         (start_threads): Call do_exit and notify_parent.
9523         (begin_drop_privileges): Call do_exit.
9524         (finish_drop_privileges): Likewise.
9525         * nscd/selinux.c (preserve_capabilities): Likewise.
9526         (install_real_capabilities): Likewise.
9527         (nscd_selinux_enabled): Likewise.
9528         (avc_create_thread): Likewise.
9529         (avc_alloc_lock): Likewise.
9530         (nscd_avc_init): Likewise.
9531         * nscd/nscd.c (parent_fd): New static variable.
9532         (main): Create a pipe between parent and child processes.
9533         Skip closing parent_fd.
9534         (monitor_child): New function.
9535         (do_exit): Likewise.
9536         (notify_parent): Likewise.
9537         * nscd/nscd.h (notify_parent): Likewise.
9538         (do_exit): Likewise.
9539
9540 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9541
9542         * malloc/malloc.c (__libc_calloc): Revert last change.
9543
9544 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9545
9546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9547
9548 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9549
9550         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9552         implementation.
9553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9554         (__libc_ifunc_impl_list): Likewise.
9555         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9556         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9557         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9558         * string/strrchr.c: Define STRRCHR.
9559
9560 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9561
9562         * benchtest/bench-strtok.c (simple_strtok): Delete.
9563         (strtok_string): Use as benchmark.
9564         * string/strtok (STRTOK): New macro.
9565
9566 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9567
9568         * manual/threads.texi: Add header and standard comments to all
9569         functions.
9570
9571         * elf/dl-lookup.c (check_match): New function.
9572         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9573         (do_lookup_x): Remove nested function check_match. Use non-nested
9574         function check_match.
9575
9576 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9577
9578         * csu/Makefile (generated, before-compile): Use += rather than =.
9579         * catgets/Makefile (generated, generated-dirs): Likewise.
9580         * debug/Makefile (generated): Likewise.
9581         * dlfcn/Makefile (generated): Likewise.
9582         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9583         * iconvdata/Makefile (before-compile, generated): Likewise.
9584         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9585         * libio/Makefile (generated): Likewise.
9586         * malloc/Makefile (generated): Likewise.
9587         * manual/Makefile (generated, generated-dirs): Likewise.
9588         * misc/Makefile (generated): Likewise.
9589         * posix/Makefile (generated): Likewise.
9590         * resolv/Makefile (generated): Likewise.
9591         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9592         * timezone/Makefile (generated, generated-dirs): Likewise.
9593
9594         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9595
9596 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9597
9598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9599         power8 implementation.
9600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9601         file: POWER8 llround ifunc implementation.
9602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9603         (__lllround): Add POWER8 implementation.
9604         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9605         POWER8 llround implementation.
9606
9607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9608         power8 implementation.
9609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9610         file: POWER8 llrint ifunc implementation.
9611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9612         Add POWER8 implementation.
9613         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9614         POWER8 llrint implementation.
9615
9616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9617         power8 implementation.
9618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9619         file: POWER8 finite ifunc implementation.
9620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9621         Add POWER8 implementation.
9622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9623         Likewise.
9624         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9625         POWER8 finite implementation.
9626         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9627
9628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9629         power8 implementation.
9630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9631         file: POWER8 isinf ifunc implementation.
9632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9633         POWER8 implementation.
9634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9635         Likewise.
9636         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9637         isinf implementation.
9638         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9639
9640         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9641         (INIT_ARCH): Add hwcap2 initialization.
9642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9643         power8 implementation.
9644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9645         file: POWER8 isnan ifunc implementation.
9646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9647         POWER8 implementation.
9648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9649         Likewise.
9650         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9651         isnan implementation.
9652         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9653
9654 2014-02-27  Joey Ye  <joey.ye@arm.com>
9655
9656         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9657         (_FP_NANFRAC_Q): Set to zero.
9658
9659 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9660
9661         [BZ #16623]
9662         * math/auto-libm-test-in: New test inputs.
9663         * math/auto-libm-test-out: Regenerate.
9664         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9665         and DA.
9666         (__cos): Likewise.
9667         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9668
9669 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9670
9671         * scripts/evaluate-test.sh: Take new argument indicating whether
9672         failure is expected.
9673         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9674         indicating whether failure is expected.
9675         * conform/Makefile (test-xfail-run-conformtest): New variable.
9676         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9677         level.
9678         * posix/Makefile (test-xfail-annexc): New variable.
9679         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9680
9681 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9682
9683         * argp/Makefile: Include Makeconfig immediately after defining
9684         subdir.
9685         * assert/Makefile: Likewise.
9686         * benchtests/Makefile: Likewise.
9687         * catgets/Makefile: Likewise.
9688         * conform/Makefile: Likewise.
9689         * crypt/Makefile: Likewise.
9690         * csu/Makefile: Likewise.
9691         (all): Remove target.
9692         * ctype/Makefile: Include Makeconfig immediately after defining
9693         subdir.
9694         * debug/Makefile: Likewise.
9695         * dirent/Makefile: Likewise.
9696         * dlfcn/Makefile: Likewise.
9697         * gmon/Makefile: Likewise.
9698         * gnulib/Makefile: Likewise.
9699         * grp/Makefile: Likewise.
9700         * gshadow/Makefile: Likewise.
9701         * hesiod/Makefile: Likewise.
9702         * hurd/Makefile: Likewise.
9703         (all): Remove target.
9704         * iconvdata/Makefile: Include Makeconfig immediately after
9705         defining subdir.
9706         * inet/Makefile: Likewise.
9707         * intl/Makefile: Likewise.
9708         * io/Makefile: Likewise.
9709         * libio/Makefile: Likewise.
9710         (all): Remove target.
9711         * locale/Makefile: Include Makeconfig immediately after defining
9712         subdir.
9713         * login/Makefile: Likewise.
9714         * mach/Makefile: Likewise.
9715         (all): Remove target.
9716         * malloc/Makefile: Include Makeconfig immediately after defining
9717         subdir.
9718         (all): Remove target.
9719         * manual/Makefile: Include Makeconfig immediately after defining
9720         subdir.
9721         * math/Makefile: Likewise.
9722         * misc/Makefile: Likewise.
9723         * nis/Makefile: Likewise.
9724         * nss/Makefile: Likewise.
9725         * po/Makefile: Likewise.
9726         (all): Remove target.
9727         * posix/Makefile: Include Makeconfig immediately after defining
9728         subdir.
9729         * pwd/Makefile: Likewise.
9730         * resolv/Makefile: Likewise.
9731         * resource/Makefile: Likewise.
9732         * rt/Makefile: Likewise.
9733         * setjmp/Makefile: Likewise.
9734         * shadow/Makefile: Likewise.
9735         * signal/Makefile: Likewise.
9736         * socket/Makefile: Likewise.
9737         * soft-fp/Makefile: Likewise.
9738         * stdio-common/Makefile: Likewise.
9739         * stdlib/Makefile: Likewise.
9740         * streams/Makefile: Likewise.
9741         * string/Makefile: Likewise.
9742         * sunrpc/Makefile: Likewise.
9743         (all): Remove target.
9744         * sysvipc/Makefile: Include Makeconfig immediately after defining
9745         subdir.
9746         * termios/Makefile: Likewise.
9747         * time/Makefile: Likewise.
9748         * timezone/Makefile: Likewise.
9749         (all): Remove target.
9750         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9751         subdir.
9752         * wctype/Makefile: Likewise.
9753
9754 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9755
9756         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9757         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9758         (libc_feholdexcept_setround_mips): Ditto.
9759         (libc_feholdsetround): New.
9760         (libc_feholdsetroundf): New.
9761         (libc_feholdsetroundl): New.
9762         (libc_feupdateenv_test_mips): New.
9763         (libc_feupdateenv_test): New.
9764         (libc_feupdateenv_testf): New.
9765         (libc_feupdateenv_testl): New.
9766         (libc_feresetround): New.
9767         (libc_feresetroundf): New.
9768         (libc_feresetroundl): New.
9769         (libc_fetestexcept_mips): New.
9770         (libc_fetestexcept): New.
9771         (libc_fetestexceptf): New.
9772         (libc_fetestexceptl): New.
9773         (HAVE_RM_CTX): New.
9774         (libc_feholdexcept_setround_mips_ctx): New.
9775         (libc_feholdexcept_setround_ctx): New.
9776         (libc_feholdexcept_setroundf_ctx): New.
9777         (libc_feholdexcept_setroundl_ctx): New.
9778         (libc_fesetenv_mips_ctx): New.
9779         (libc_fesetenv_ctx): New.
9780         (libc_fesetenv_ctxf): New.
9781         (libc_fesetenv_ctxl): New.
9782         (libc_feupdateenv_mips_ctx): New.
9783         (libc_feupdateenv_ctx): New.
9784         (libc_feupdateenvf_ctx): New.
9785         (libc_feupdateenvl_ctx): New.
9786         (libc_feholdsetround_mips_ctx): New.
9787         (libc_feholdsetround_ctx): New.
9788         (libc_feholdsetroundf_ctx): New.
9789         (libc_feholdsetroundl_ctx): New.
9790         (libc_feresetround_mips_ctx): New.
9791         (libc_feresetround_ctx): New.
9792         (libc_feresetroundf_ctx): New.
9793         (libc_feresetroundl_ctx): New.
9794
9795 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9796
9797         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9798
9799         * manual/ipc.texi: New file.
9800         * manual/Makefile (chapters): Add ipc.
9801         * manual/job.texi: Add "Inter-Process Communication" to next.
9802         * manual/process.texi: Add "Inter-Process Communication" to prev.
9803
9804 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9805
9806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9807
9808 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9809
9810         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9811
9812         * manual/arith.texi: Fix spaces after sentences.
9813         * manual/charset.texi: Likewise.
9814         * manual/errno.texi: Likewise.
9815         * manual/install.texi: Likewise.
9816         * manual/llio.texi: Likewise.
9817         * manual/locale.texi: Likewise.
9818         * manual/maint.texi: Likewise.
9819         * manual/math.texi: Likewise.
9820         * manual/memory.texi: Likewise.
9821         * manual/message.texi: Likewise.
9822         * manual/probes.texi: Likewise.
9823         * manual/resource.texi: Likewise.
9824         * manual/signal.texi: Likewise.
9825         * manual/socket.texi: Likewise.
9826         * manual/stdio.texi: Likewise.
9827         * manual/string.texi: Likewise.
9828         * manual/time.texi: Likewise.
9829         * manual/users.texi: Likewise.
9830
9831 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9832
9833         [BZ #16632]
9834         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9835         _DEFAULT_SOURCE is defined.
9836
9837 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9838             Carlos O'Donell  <carlos@redhat.com>
9839
9840         [BZ #16613]
9841         * elf/dl-tls.c (_dl_count_modids): New function.
9842         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9843         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9844         audit library and increment generation counter.
9845         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9846         * elf/tst-audit9.c: New file.
9847         * elf/tst-auditmod9a.c: New file.
9848         * elf/tst-auditmod9b.c: New file.
9849         * elf/Makefile: Add rules to build and run tst-audit9.
9850
9851 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9852
9853         [BZ #15347]
9854         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9855
9856 2014-02-25  Will Newton  <will.newton@linaro.org>
9857
9858         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9859         (__longjmp): Restore sp and lr before restoring callee
9860         saved registers.  Add longjmp and longjmp_target
9861         SystemTap probe point.
9862         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9863         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9864         Define to zero to match jmpbuf layout.
9865         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9866         (__sigsetjmp): Save sp and lr before saving callee
9867         saved registers.  Add setjmp SystemTap probe point.
9868
9869 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9870
9871         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9872
9873 2014-02-24  Andreas Schwab  <schwab@suse.de>
9874
9875         [BZ #15804]
9876         * elf/pldd.c (wait_for_ptrace_stop): New function.
9877         (main): Call it after attaching.
9878
9879 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9880
9881         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9882         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9883         Versions files is now verboten.
9884         * hurd/Versions (libc: GLIBC_2.0):
9885         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9886         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9887         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9888         * mach/Versions: Likewise.
9889
9890         * csu/Versions: Remove unused %include.
9891         * resolv/Versions: Likewise.
9892
9893 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9894
9895         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9896         ($(objpfx)check-local-headers.out): Likewise.
9897         ($(objpfx)begin-end-check.out): Likewise.
9898         * Makerules (check-abi-%.out): Likewise.
9899         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9900         ($(objpfx)test2.cat): Likewise.
9901         ($(objpfx)de/libc.cat): Likewise.
9902         ($(objpfx)test-gencat.out): Likewise.
9903         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9904         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9905         ($(objpfx)noload-mem): Likewise.
9906         ($(objpfx)tst-pathopt.out): Likewise.
9907         ($(objpfx)tst-rtld-load-self.out): Likewise.
9908         ($(objpfx)tst-array1-cmp.out): Likewise.
9909         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9910         ($(objpfx)tst-array2-cmp.out): Likewise.
9911         ($(objpfx)tst-array3-cmp.out): Likewise.
9912         ($(objpfx)tst-array4-cmp.out): Likewise.
9913         ($(objpfx)tst-array5-cmp.out): Likewise.
9914         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9915         ($(objpfx)check-textrel.out): Likewise.
9916         ($(objpfx)check-execstack.out): Likewise.
9917         ($(objpfx)check-localplt.out): Likewise.
9918         ($(objpfx)order2-cmp.out): Likewise.
9919         ($(objpfx)tst-leaks1-mem): Likewise.
9920         ($(objpfx)tst-leaks1-static-mem): Likewise.
9921         ($(objpfx)tst-initorder-cmp.out): Likewise.
9922         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9923         ($(objpfx)tst-unused-dep.out): Likewise.
9924         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9925         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9926         * iconv/Makefile (test-iconvconfig): Likewise.
9927         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9928         ($(objpfx)iconv-test.out): Likewise.
9929         ($(objpfx)tst-tables.out): Likewise.
9930         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9931         ($(objpfx)tst-gettext.out): Likewise.
9932         ($(objpfx)tst-translit.out): Likewise.
9933         ($(objpfx)tst-gettext2.out): Likewise.
9934         ($(objpfx)tst-gettext4.out): Likewise.
9935         ($(objpfx)tst-gettext6.out): Likewise.
9936         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9937         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9938         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9939         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9940         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9941         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9942         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9943         ($(objpfx)wordexp-tst.out): Likewise.
9944         ($(objpfx)annexc.out): Likewise.
9945         ($(objpfx)tst-fnmatch-mem): Likewise.
9946         ($(objpfx)bug-regex2-mem): Likewise.
9947         ($(objpfx)bug-regex14-mem): Likewise.
9948         ($(objpfx)bug-regex21-mem): Likewise.
9949         ($(objpfx)bug-regex31-mem): Likewise.
9950         ($(objpfx)tst-vfork3-mem): Likewise.
9951         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9952         ($(objpfx)tst-pcre-mem): Likewise.
9953         ($(objpfx)tst-boost-mem): Likewise.
9954         ($(objpfx)tst-getconf.out): Likewise.
9955         ($(objpfx)bug-ga2-mem): Likewise.
9956         ($(objpfx)bug-glob2-mem): Likewise.
9957         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9958         ($(objpfx)mtrace-tst-leaks2): Likewise.
9959         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9960         ($(objpfx)tst-printf.out): Likewise.
9961         ($(objpfx)tst-setvbuf1.out): Likewise.
9962         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9963         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9964         ($(objpfx)tst-fmtmsg.out): Likewise.
9965         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9966         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9967
9968         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9969         * bits/sigaction.h [__USE_MISC]: Likewise.
9970         * bits/waitstatus.h: Update #endif comments.
9971         * ctype/ctype.h: Likewise.
9972         * dirent/dirent.h: Likewise.
9973         [__USE_MISC]: Remove redundant conditionals.
9974         * grp/grp.h: Update #endif comments.
9975         [__USE_GNU]: Remove redundant conditionals.
9976         [__USE_MISC]: Likewise.
9977         * inet/netinet/in.h [__USE_GNU]: Likewise.
9978         * io/sys/stat.h [__USE_MISC]: Likewise.
9979         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9980         * libio/bits/stdio.h: Update #endif comments.
9981         [__USE_MISC]: Remove redundant conditionals.
9982         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9983         * libio/stdio.h: Update #endif comments.
9984         [__USE_MISC]: Remove redundant conditionals.
9985         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9986         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9987         * math/math.h: Update #else and #endif comments.
9988         [__USE_MISC]: Remove redundant conditionals.
9989         * misc/sys/uio.h: Update #endif comments.
9990         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9991         * posix/glob.h [__USE_MISC]: Likewise.
9992         * posix/sys/types.h: Update #endif comments.
9993         [__USE_MISC]: Remove redundant conditionals.
9994         * posix/sys/wait.h: Update #endif comments.
9995         [__USE_MISC]: Remove redundant conditionals.
9996         * posix/unistd.h: Update #endif comments.
9997         [__USE_MISC]: Remove redundant conditionals.
9998         * pwd/pwd.h [__USE_GNU]: Likewise.
9999         [__USE_MISC]: Likewise.
10000         * resolv/netdb.h [__USE_GNU]: Likewise.
10001         * signal/signal.h: Update #endif comments.
10002         [__USE_MISC]: Remove redundant conditionals.
10003         * stdlib/stdlib.h: Update #else and #endif comments.
10004         [__USE_MISC]: Remove redundant conditionals.
10005         [__USE_GNU]: Likewise.
10006         * string/bits/string2.h [__USE_MISC]: Likewise.
10007         * string/string.h: Update #endif comments.
10008         [__USE_MISC]: Remove redundant conditionals.
10009         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10010         Likewise.
10011         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10012         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10013         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10014         Likewise.
10015         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10016         Likewise.
10017         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10018         comments.
10019         [__USE_MISC]: Remove redundant conditionals.
10020         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10021         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10022         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10023         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10024         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10025         Likewise.
10026         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10027         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10028         Likewise.
10029         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10030         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10031         Likewise.
10032         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10033         Likewise.
10034         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10035         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10036         Likewise.
10037         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10038         Likewise.
10039         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10040         * sysdeps/x86/bits/string.h: Update #endif comments.
10041         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10042         conditionals.
10043         * time/sys/time.h: Update #endif comments.
10044         * time/time.h: Likewise.
10045         [__USE_MISC]: Remove redundant conditionals.
10046
10047 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10048
10049         [BZ #16600]
10050         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10051
10052 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10053
10054         * Versions.def (librt): Add GLIBC_2.17.
10055
10056 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10057
10058         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10059         synonym for _SYS_AUXV_H to allow direct inclusion.
10060         * sysdeps/sparc/bits/hwcap.h: Likewise.
10061         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10062         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10063         * sysdeps/sparc/sysdep.h: Likewise.
10064
10065 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10066
10067         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10068
10069 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10070
10071         * benchtests/bench-strrchr.c: Print length instead of position.
10072
10073 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10074
10075         [BZ #16611]
10076         * sysdeps/unix/sysv/linux/kernel-features.h
10077         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10078         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10079         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10080         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10081         Likewise.
10082         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10083         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10084         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10085         (__ASSUME_SENDMMSG): Define instead of using previous
10086         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10087         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10088         (__ASSUME_SENDMMSG_SYSCALL): Define.
10089         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10090         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10091         Likewise.
10092         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10093         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10094         Likewise.
10095         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10096         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10097         Likewise.
10098         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10099         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10100         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10101         [__ASSUME_SENDMMSG]: Change conditionals to
10102         [__ASSUME_SENDMMSG_SOCKETCALL].
10103         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10104         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10105         Define.
10106         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10107         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10108         Likewise.
10109         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10110         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10111         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10112         [!__ASSUME_SENDMMSG]: Change conditional to
10113         [!__ASSUME_SENDMMSG_SOCKETCALL].
10114         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10115         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10116         Define.
10117
10118         [BZ #16610]
10119         * sysdeps/unix/sysv/linux/kernel-features.h
10120         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10121         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10122         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10123         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10124         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10125         [__i386__ || __sparc__]
10126         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10127         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10128         (__ASSUME_RECVMMSG): Define instead of using previous
10129         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10130         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10131         (__ASSUME_RECVMMSG_SYSCALL): Define.
10132         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10133         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10136         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10137         Likewise.
10138         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10139         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10140         Likewise.
10141         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10142         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10143         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10144         [__ASSUME_RECVMMSG]: Change condition to
10145         [__ASSUME_RECVMMSG_SOCKETCALL].
10146         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10147         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10148         Define.
10149         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10150         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10151         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10152         Likewise.
10153         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10154         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10155         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10156         [!__ASSUME_RECVMMSG]: Change condition to
10157         [!__ASSUME_RECVMMSG_SOCKETCALL].
10158         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10159         (__ASSUME_RECVMMSG_SYSCALL): Define.
10160
10161         [BZ #16609]
10162         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10163         __powerpc__ || __s390__ || __sh__ || __sparc__]
10164         (__ASSUME_SOCKETCALL): Define.
10165         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10166         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10167         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10168         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10169         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10170         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10171         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10172         (__ASSUME_ACCEPT4): Define instead of using previous
10173         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10174         __powerpc__ || __sparc__ || __s390__)] condition.
10175         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10176         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10177         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10178         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10179         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10180         [!__ASSUME_ACCEPT4]: Change condition to
10181         [!__ASSUME_ACCEPT4_SOCKETCALL].
10182         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10183         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10184         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10185         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10186         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10187         __ASSUME_ACCEPT4_SYSCALL.
10188         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10189         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10190         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10191         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10192         __ASSUME_ACCEPT4_SYSCALL.
10193         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10194         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10195         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10196         [__ASSUME_ACCEPT4]: Change condition to
10197         [__ASSUME_ACCEPT4_SOCKETCALL].
10198         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10199         (__ASSUME_SOCKETCALL): Define.
10200         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10202         (__ASSUME_SOCKETCALL): Define.
10203         (__ASSUME_ACCEPT4): Remove.
10204         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10205         Define.
10206         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10207         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10208         Likewise.
10209         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10210         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10211
10212         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10213         macro.
10214         (HWCAP_ARM_LPAE): Likewise.
10215         (HWCAP_ARM_EVTSTRM): Likewise.
10216         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10217         Add vpfd32, lpae and evtstrm.
10218         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10219         Increase to 22.
10220
10221 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10222
10223         * math/auto-libm-test-in: Add tests of clog10.
10224         * math/auto-libm-test-out: Regenerated.
10225         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10226         * sysdeps/i386/fpu/libm-test-ulps: Update.
10227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10228
10229 2014-02-18  Andreas Schwab  <schwab@suse.de>
10230
10231         [BZ #16574]
10232         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10233         Store non-zero if the second buffer was newly allocated.
10234         (send_dg): Likewise.
10235         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10236         to send_vc and send_dg.
10237         (res_nsend): Pass NULL for ansp2_malloced.
10238         * resolv/res_query.c (__libc_res_nquery): Add parameter
10239         answerp2_malloced and pass it down to __libc_res_nsend.
10240         (res_nquery): Pass additional NULL to __libc_res_nquery.
10241         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10242         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10243         second answer buffer if answerp2_malloced was set.
10244         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10245         (__libc_res_nquerydomain): Add parameter
10246         answerp2_malloced and pass it down to __libc_res_nquery.
10247         (res_nquerydomain): Pass additional NULL to
10248         __libc_res_nquerydomain.
10249         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10250         additional NULL to __libc_res_nsend and __libc_res_nquery.
10251         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10252         additional NULL to __libc_res_nsearch.
10253         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10254         parameter of __libc_res_nsearch to check for separately allocated
10255         second buffer.
10256         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10257         __libc_res_nquery.
10258         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10259         additional NULL to __libc_res_nquery.
10260         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10261         __libc_res_nsearch.
10262         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10263         * include/resolv.h: Update prototypes of __libc_res_nquery,
10264         __libc_res_nsearch, __libc_res_nsend.
10265
10266 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10267
10268         * math/auto-libm-test-in: Add tests of fma.
10269         * math/auto-libm-test-out: Regenerated.
10270         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10271         (fma_towardzero_test_data): Likewise.
10272         (fma_downward_test_data): Likewise.
10273         (fma_upward_test_data): Likewise.
10274         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10275         mpc_mode.
10276         (rounding_modes): Add values for new field.
10277         (func_calc_method): Add value mpfr_fff_f.
10278         (func_calc_desc): Add mpfr_fff_f union field.
10279         (test_function): Add field exact_args.
10280         (FUNC): Add macro argument EXACT_ARGS.
10281         (FUNC_mpfr_f_f): Update call to FUNC.
10282         (FUNC_mpfr_f_f): Likewise.
10283         (FUNC_mpfr_ff_f): Likewise.
10284         (FUNC_mpfr_if_f): Likewise.
10285         (FUNC_mpc_c_f): Likewise.
10286         (FUNC_mpc_c_c): Likewise.
10287         (test_functions): Add fma.  Update calls to FUNC.
10288         (handle_input_arg): Add argument exact_args.
10289         (add_test): Update call to handle_input_arg.
10290         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10291         (output_for_one_input_case): Update call to calc_generic_results.
10292         Recalculate exact zero results in each rounding mode.
10293
10294         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10295         non-negative before setting low bit.
10296         * math/auto-libm-test-in: Mark one asin test possibly having
10297         spurious underflow.
10298         * math/auto-libm-test-out: Regenerated.
10299         * sysdeps/i386/fpu/libm-test-ulps: Update.
10300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10301
10302 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10303
10304         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10305         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10306         ports/sysdeps/unix/sysv/linux/microblaze.
10307         * README: Add missing listing for microblaze*-*-linux-gnu.
10308
10309 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10310
10311         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10312         duplicate code
10313
10314 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10315
10316         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10317         * sysdeps/unix/sysv/linux/ia64: Move directory from
10318         ports/sysdeps/unix/sysv/linux/ia64.
10319         * README: Update listing for ia64-*-linux-gnu.
10320
10321 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10322             Joseph Myers  <joseph@codesourcery.com>
10323
10324         * Makeconfig (test-name): New variable.
10325         (evaluate-test): Likewise.
10326         * Makerules (do-test-clean): Remove .test-result files.
10327         (common-mostlyclean): Likewise.
10328         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10329         * scripts/evaluate-test.sh: New file.
10330
10331 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10332
10333         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10334         separate $(objpfx)tst-fopenloc-cmp.out and
10335         $(objpfx)tst-fopenloc-mem.out targets.
10336         (tests): Update dependencies.
10337         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10338         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10339         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10340         (tst-rxspencer-no-utf8-ARGS): New variable.
10341         (tst-rxspencer-no-utf8-ENV): Likewise.
10342         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10343         instead of $(objpfx)tst-rxspencer-mem.
10344         ($(objpfx)tst-rxspencer-mem): Change target to
10345         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10346         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10347         * posix/tst-rxspencer-no-utf8.c: New file.
10348
10349         * elf/Makefile ($(objpfx)order.out): Remove rule.
10350         [$(run-built-tests) = yes] (tests): Depend on
10351         $(objpfx)order-cmp.out.
10352         ($(objpfx)order-cmp.out): New rule.
10353         [$(run-built-tests) = yes] (tests): Depend on
10354         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10355         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10356         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10357         $(objpfx)tst-array5-static-cmp.out.
10358         ($(objpfx)tst-array1.out): Remove rule.
10359         ($(objpfx)tst-array1-cmp.out): New rule.
10360         ($(objpfx)tst-array1-static.out): Remove rule.
10361         ($(objpfx)tst-array1-static-cmp.out): New rule.
10362         ($(objpfx)tst-array2.out): Remove rule.
10363         ($(objpfx)tst-array2-cmp.out): New rule.
10364         ($(objpfx)tst-array3.out): Remove rule.
10365         ($(objpfx)tst-array3-cmp.out): New rule.
10366         ($(objpfx)tst-array4.out): Remove rule.
10367         ($(objpfx)tst-array4-cmp.out): New rule.
10368         ($(objpfx)tst-array5.out): Remove rule.
10369         ($(objpfx)tst-array5-cmp.out): New rule.
10370         ($(objpfx)tst-array5-static.out): Remove rule.
10371         ($(objpfx)tst-array5-static-cmp.out): New rule.
10372         [$(run-built-tests) = yes] (tests): Depend on
10373         $(objpfx)order2-cmp.out.
10374         ($(objpfx)order2.out): Remove rule.
10375         ($(objpfx)order2-cmp.out): New rule.
10376         ($(objpfx)tst-initorder.out): Remove rule.
10377         [$(run-built-tests) = yes] (tests): Depend on
10378         $(objpfx)tst-initorder-cmp.out.
10379         ($(objpfx)tst-initorder-cmp.out): New rule.
10380         ($(objpfx)tst-initorder2.out): Remove rule.
10381         [$(run-built-tests) = yes] (tests): Depend on
10382         $(objpfx)tst-initorder2-cmp.out.
10383         ($(objpfx)tst-initorder2-cmp.out): New rule.
10384         [$(run-built-tests) = yes] (tests): Depend on
10385         $(objpfx)tst-unused-dep-cmp.out.
10386         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10387         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10388         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10389         on $(objpfx)tst-setvbuf1-cmp.out.
10390         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10391         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10392         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10393         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10394         ($(objpfx)tst-svc.out): Remove rule.
10395         ($(objpfx)tst-svc-cmp.out): New rule.
10396
10397 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10398
10399         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10400         * ctype/ctype.h [__USE_MISC]: Likewise.
10401         * dirent/dirent.h [__USE_MISC]: Likewise.
10402         * grp/grp.h [__USE_MISC]: Likewise.
10403         * io/fcntl.h [__USE_MISC]: Likewise.
10404         * io/sys/stat.h [__USE_MISC]: Likewise.
10405         * libio/stdio.h [__USE_MISC]: Likewise.
10406         * posix/unistd.h [__USE_MISC]: Likewise.
10407         * pwd/pwd.h [__USE_MISC]: Likewise.
10408         * stdlib.h [__USE_MISC]: Likewise.
10409         * string/bits/string2.h [__USE_MISC]: Likewise.
10410         * string/string.h [__USE_MISC]: Likewise.
10411         * time/time.h [__USE_MISC]: Likewise.
10412
10413 2014-02-13  Andreas Schwab  <schwab@suse.de>
10414
10415         [BZ #16574]
10416         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10417         second answer buffer if it was separately allocated.
10418
10419 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10420
10421         * sysdeps/mips/math-tests.h: Include <features.h>.
10422         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10423         (ROUNDING_TESTS_long_double): Do not define.
10424         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10425         (EXCEPTION_TESTS_long_double): Likewise.
10426         * sysdeps/mips/mips64/libm-test-ulps: Update.
10427
10428         * include/features.h (__USE_BSD): Remove macro definitions.
10429         (__USE_SVID): Likewise.
10430         (_BSD_SOURCE): Likewise.
10431         (_SVID_SOURCE): Likewise.
10432         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10433         from definition of _DEFAULT_SOURCE.
10434         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10435         [_DEFAULT_SOURCE].
10436         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10437         * bits/mman.h [__USE_BSD]: Likewise.
10438         * bits/termios.h [__USE_BSD]: Likewise.
10439         * bits/waitstatus.h [__USE_BSD]: Likewise.
10440         * ctype/ctype.h [__USE_SVID]: Likewise.
10441         * dirent/dirent.h [__USE_BSD]: Likewise.
10442         * grp/grp.h [__USE_SVID]: Likewise.
10443         [__USE_BSD]: Likewise.
10444         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10445         * io/fcntl.h [__USE_BSD]: Likewise.
10446         * io/ftw.h [__USE_BSD]: Likewise.
10447         * io/sys/stat.h [__USE_BSD]: Likewise.
10448         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10449         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10450         * libio/stdio.h [__USE_SVID]: Likewise.
10451         [__USE_BSD]: Likewise.
10452         * math/math.h [__USE_SVID]: Likewise.
10453         [__USE_BSD]: Likewise.
10454         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10455         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10456         * misc/search.h [__USE_SVID]: Likewise.
10457         * misc/sys/mman.h [__USE_BSD]: Likewise.
10458         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10459         * misc/sys/uio.h [__USE_BSD]: Likewise.
10460         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10461         * posix/glob.h [__USE_BSD]: Likewise.
10462         * posix/regex.h [__USE_BSD]: Likewise.
10463         * posix/sys/types.h [__USE_BSD]: Likewise.
10464         [__USE_SVID]: Likewise.
10465         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10466         * posix/sys/wait.h [__USE_BSD]: Likewise.
10467         [__USE_SVID]: Likewise.
10468         * posix/unistd.h [__USE_BSD]: Likewise.
10469         [__USE_SVID]: Likewise.
10470         * pwd/pwd.h [__USE_SVID]: Likewise.
10471         * resolv/netdb.h [__USE_BSD]: Likewise.
10472         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10473         * signal/signal.h [__USE_BSD]: Likewise.
10474         [__USE_SVID]: Likewise.
10475         * socket/sys/socket.h [__USE_BSD]: Likewise.
10476         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10477         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10478         [__USE_SVID]: Likewise.
10479         * string/bits/string2.h [__USE_BSD]: Likewise.
10480         [__USE_SVID]: Likewise.
10481         * string/bits/string3.h [__USE_BSD]: Likewise.
10482         * string/endian.h [__USE_BSD]: Likewise.
10483         * string/string.h [__USE_SVID]: Likewise.
10484         [__USE_BSD]: Likewise.
10485         * string/strings.h [__USE_BSD]: Likewise.
10486         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10487         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10488         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10489         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10490         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10491         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10492         Likewise.
10493         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10494         Likewise.
10495         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10496         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10497         Likewise.
10498         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10499         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10500         Likewise.
10501         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10502         Likewise.
10503         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10504         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10505         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10506         Likewise.
10507         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10508         Likewise.
10509         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10510         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10511         * termios/termios.h [__USE_BSD]: Likewise.
10512         * time/sys/time.h [__USE_BSD]: Likewise.
10513         * time/time.h [__USE_BSD]: Likewise.
10514         [__USE_SVID]: Likewise.
10515
10516         * Makefile (subdir_targets): Remove subdir_lint.out.
10517
10518         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10519         (do-tst-printf): Likewise.
10520         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10521         $(objpfx)tst-printf.out.
10522
10523         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10524
10525         * Makerules (check-abi-%): Change target to
10526         $(objpfx)check-abi-%.out.
10527         (check-abi target): Update dependencies.
10528         (check-abi-pattern variable): Redirect output of diff to $@.
10529         (check-abi variable): Likewise.
10530         * elf/Makefile (check-abi): Update dependencies.
10531
10532         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10533         unused.
10534         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10535         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10536         subnormal range.
10537         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10538         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10539         value has largest subnormal exponent.
10540         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10541         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10542         * sysdeps/aarch64/soft-fp/sfp-machine.h
10543         (_FP_TININESS_AFTER_ROUNDING): New macro.
10544         * sysdeps/alpha/soft-fp/sfp-machine.h
10545         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10546         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10547         Likewise.
10548         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10549         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10550         * sysdeps/mips/soft-fp/sfp-machine.h
10551         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10552         * sysdeps/powerpc/soft-fp/sfp-machine.h
10553         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10554         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10555         Likewise.
10556         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10557         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10558         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10559         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10560         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10561         Likewise.
10562
10563 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10564
10565         [BZ #16545]
10566         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10567         model 1.
10568
10569 2014-02-12  Richard Henderson  <rth@redhat.com>
10570
10571         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10572         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10573         * sysdeps/unix/sysv/linux/alpha: Move directory from
10574         ports/sysdeps/unix/sysv/linux/alpha.
10575         * README: Update listing for alpha-*-linux-gnu.
10576
10577 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10578
10579         * include/features.h: Update comment documenting feature test
10580         macros.
10581         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10582         _DEFAULT_SOURCE.
10583         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10584         (_SVID_SOURCE): Likewise.
10585         (_DEFAULT_SOURCE): Update description of default features.
10586         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10587         with _GNU_SOURCE.
10588         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10589         (S_ISVTX): Likewise.
10590         * manual/math.texi (Mathematical Constants): Likewise.
10591         * manual/signal.texi (Interrupted Primitives): Likewise.
10592         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10593         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10594         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10595         Don't refer to _SVID_SOURCE in warning text.
10596
10597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10598
10599         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10600         already defined.
10601         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10602         * sysdeps/mips/dl-lookup.c: Remove.
10603         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10604
10605 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10606
10607         [BZ #16447]
10608         * math/auto-libm-test-in: Add testcase for expl.
10609         * math/auto-libm-test-out: Regenerate.
10610         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10611         calculation of unsafe.
10612         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10613
10614 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10615
10616         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10617         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10618         ports/sysdeps/unix/sysv/linux/aarch64.
10619         * README: Update listing for aarch64*-*-linux-gnu.
10620
10621 2014-02-11  Will Newton  <will.newton@linaro.org>
10622
10623         * manual/probes.texi (Mathematical Function Probes): Use
10624         "triggered" instead of "hit".
10625
10626         * manual/probes.texi (Internal Probes): Add documentation
10627         of setjmp, longjmp and longjmp_target probes.
10628
10629         * include/stap-probe.h: Add comment about probe argument
10630         format.
10631
10632         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10633         definition.  (tr_where, tr_freehook, tr_mallochook,
10634         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10635
10636 2014-02-11  David S. Miller  <davem@davemloft.net>
10637
10638         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10639         processing int_tests.
10640
10641 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10642
10643         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10644         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10645         * sysdeps/unix/sysv/linux/mips: Move directory from
10646         ports/sysdeps/unix/sysv/linux/mips.
10647         * README: Update listing for mips-*-linux-gnu and
10648         mips64-*-linux-gnu.
10649
10650 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10651
10652         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10653         * sysdeps/unix/sysv/linux/m68k: Move directory from
10654         ports/sysdeps/unix/sysv/linux/m68k.
10655         * README: Update listing for m68k-*-linux-gnu.
10656
10657 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10658
10659         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10660         * sysdeps/unix/sysv/linux/generic: Move directory from
10661         ports/sysdeps/unix/sysv/linux/generic.
10662         * sysdeps/unix/sysv/linux/tile: Move directory from
10663         ports/sysdeps/unix/sysv/linux/tile.
10664         * README: Update listing for tile*-*-linux-gnu.
10665
10666 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10667
10668         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10669         __builtin_expect.
10670         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10671         * catgets/open_catalog.c (__open_catalog): Likewise.
10672         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10673         * debug/confstr_chk.c: Likewise.
10674         * debug/fread_chk.c (__fread_chk): Likewise.
10675         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10676         * debug/getgroups_chk.c: Likewise.
10677         * debug/mbsnrtowcs_chk.c: Likewise.
10678         * debug/mbsrtowcs_chk.c: Likewise.
10679         * debug/mbstowcs_chk.c: Likewise.
10680         * debug/memcpy_chk.c: Likewise.
10681         * debug/memmove_chk.c: Likewise.
10682         * debug/mempcpy_chk.c: Likewise.
10683         * debug/memset_chk.c: Likewise.
10684         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10685         * debug/strcat_chk.c (__strcat_chk): Likewise.
10686         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10687         * debug/strncat_chk.c (__strncat_chk): Likewise.
10688         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10689         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10690         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10691         * debug/wcpncpy_chk.c: Likewise.
10692         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10693         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10694         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10695         * debug/wcsncpy_chk.c: Likewise.
10696         * debug/wcsnrtombs_chk.c: Likewise.
10697         * debug/wcsrtombs_chk.c: Likewise.
10698         * debug/wcstombs_chk.c: Likewise.
10699         * debug/wmemcpy_chk.c: Likewise.
10700         * debug/wmemmove_chk.c: Likewise.
10701         * debug/wmempcpy_chk.c: Likewise.
10702         * debug/wmemset_chk.c: Likewise.
10703         * dirent/scandirat.c (SCANDIRAT): Likewise.
10704         * dlfcn/dladdr1.c (dladdr1): Likewise.
10705         * dlfcn/dladdr.c (dladdr): Likewise.
10706         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10707         * dlfcn/dlerror.c (__dlerror): Likewise.
10708         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10709         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10710         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10711         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10712         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10713         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10714         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10715         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10716         Likewise.
10717         * elf/dl-conflict.c: Likewise.
10718         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10719         * elf/dl-dst.h: Likewise.
10720         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10721         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10722         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10723         * elf/dl-init.c (call_init, _dl_init): Likewise.
10724         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10725         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10726         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10727         Likewise.
10728         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10729         Likewise.
10730         * elf/dl-minimal.c (__libc_memalign): Likewise.
10731         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10732         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10733         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10734         * elf/dl-sym.c (do_sym): Likewise.
10735         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10736         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10737         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10738         * elf/dl-writev.h (_dl_writev): Likewise.
10739         * elf/ldconfig.c (search_dir): Likewise.
10740         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10741         (dl_main): Likewise.
10742         * elf/setup-vdso.h (setup_vdso): Likewise.
10743         * grp/compat-initgroups.c (compat_call): Likewise.
10744         * grp/fgetgrent.c (fgetgrent): Likewise.
10745         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10746         * grp/putgrent.c (putgrent): Likewise.
10747         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10748         Likewise.
10749         * hurd/hurdinit.c: Likewise.
10750         * iconvdata/8bit-gap.c (struct): Likewise.
10751         * iconvdata/ansi_x3.110.c : Likewise.
10752         * iconvdata/big5.c : Likewise.
10753         * iconvdata/big5hkscs.c : Likewise.
10754         * iconvdata/cp1255.c: Likewise.
10755         * iconvdata/cp1258.c : Likewise.
10756         * iconvdata/cp932.c : Likewise.
10757         * iconvdata/euc-cn.c: Likewise.
10758         * iconvdata/euc-jisx0213.c : Likewise.
10759         * iconvdata/euc-jp.c: Likewise.
10760         * iconvdata/euc-jp-ms.c : Likewise.
10761         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10762         * iconvdata/gb18030.c : Likewise.
10763         * iconvdata/gbbig5.c (const): Likewise.
10764         * iconvdata/gbgbk.c: Likewise.
10765         * iconvdata/gbk.c : Likewise.
10766         * iconvdata/ibm1364.c : Likewise.
10767         * iconvdata/ibm930.c : Likewise.
10768         * iconvdata/ibm932.c: Likewise.
10769         * iconvdata/ibm933.c : Likewise.
10770         * iconvdata/ibm935.c : Likewise.
10771         * iconvdata/ibm937.c : Likewise.
10772         * iconvdata/ibm939.c : Likewise.
10773         * iconvdata/ibm943.c: Likewise.
10774         * iconvdata/iso_11548-1.c: Likewise.
10775         * iconvdata/iso-2022-cn.c : Likewise.
10776         * iconvdata/iso-2022-cn-ext.c : Likewise.
10777         * iconvdata/iso-2022-jp-3.c: Likewise.
10778         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10779         * iconvdata/iso-2022-kr.c : Likewise.
10780         * iconvdata/iso646.c (gconv_end): Likewise.
10781         * iconvdata/iso_6937-2.c : Likewise.
10782         * iconvdata/iso_6937.c : Likewise.
10783         * iconvdata/iso8859-1.c: Likewise.
10784         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10785         * iconvdata/shift_jisx0213.c : Likewise.
10786         * iconvdata/sjis.c : Likewise.
10787         * iconvdata/t.61.c : Likewise.
10788         * iconvdata/tcvn5712-1.c : Likewise.
10789         * iconvdata/tscii.c: Likewise.
10790         * iconvdata/uhc.c : Likewise.
10791         * iconvdata/unicode.c (gconv_end): Likewise.
10792         * iconvdata/utf-16.c (gconv_end): Likewise.
10793         * iconvdata/utf-32.c (gconv_end): Likewise.
10794         * iconvdata/utf-7.c (base64): Likewise.
10795         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10796         * iconv/gconv_close.c (__gconv_close): Likewise.
10797         * iconv/gconv_open.c (__gconv_open): Likewise.
10798         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10799         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10800         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10801         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10802         (ucs4le_internal_loop_single): Likewise.
10803         * iconv/iconv.c (iconv): Likewise.
10804         * iconv/iconv_close.c: Likewise.
10805         * iconv/loop.c (SINGLE): Likewise.
10806         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10807         * include/atomic.h: Likewise.
10808         * inet/inet6_option.c (option_alloc): Likewise.
10809         * intl/bindtextdom.c (set_binding_values): Likewise.
10810         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10811         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10812         * intl/localealias.c (read_alias_file): Likewise.
10813         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10814         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10815         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10816         * libio/fmemopen.c (fmemopen): Likewise.
10817         * libio/iofgets.c (_IO_fgets): Likewise.
10818         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10819         * libio/iofgetws.c (fgetws): Likewise.
10820         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10821         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10822         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10823         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10824         * locale/findlocale.c (_nl_find_locale): Likewise.
10825         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10826         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10827         Likewise.
10828         * locale/setlocale.c (setlocale): Likewise.
10829         * login/programs/pt_chown.c (main): Likewise.
10830         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10831         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10832         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10833         (mmap, mmap64, mremap, munmap): Likewise.
10834         * math/e_exp2l.c: Likewise.
10835         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10836         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10837         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10838         * math/s_catan.c (__catan): Likewise.
10839         * math/s_catanf.c (__catanf): Likewise.
10840         * math/s_catanh.c (__catanh): Likewise.
10841         * math/s_catanhf.c (__catanhf): Likewise.
10842         * math/s_catanhl.c (__catanhl): Likewise.
10843         * math/s_catanl.c (__catanl): Likewise.
10844         * math/s_ccosh.c (__ccosh): Likewise.
10845         * math/s_ccoshf.c (__ccoshf): Likewise.
10846         * math/s_ccoshl.c (__ccoshl): Likewise.
10847         * math/s_cexp.c (__cexp): Likewise.
10848         * math/s_cexpf.c (__cexpf): Likewise.
10849         * math/s_cexpl.c (__cexpl): Likewise.
10850         * math/s_clog10.c (__clog10): Likewise.
10851         * math/s_clog10f.c (__clog10f): Likewise.
10852         * math/s_clog10l.c (__clog10l): Likewise.
10853         * math/s_clog.c (__clog): Likewise.
10854         * math/s_clogf.c (__clogf): Likewise.
10855         * math/s_clogl.c (__clogl): Likewise.
10856         * math/s_csin.c (__csin): Likewise.
10857         * math/s_csinf.c (__csinf): Likewise.
10858         * math/s_csinh.c (__csinh): Likewise.
10859         * math/s_csinhf.c (__csinhf): Likewise.
10860         * math/s_csinhl.c (__csinhl): Likewise.
10861         * math/s_csinl.c (__csinl): Likewise.
10862         * math/s_csqrt.c (__csqrt): Likewise.
10863         * math/s_csqrtf.c (__csqrtf): Likewise.
10864         * math/s_csqrtl.c (__csqrtl): Likewise.
10865         * math/s_ctan.c (__ctan): Likewise.
10866         * math/s_ctanf.c (__ctanf): Likewise.
10867         * math/s_ctanh.c (__ctanh): Likewise.
10868         * math/s_ctanhf.c (__ctanhf): Likewise.
10869         * math/s_ctanhl.c (__ctanhl): Likewise.
10870         * math/s_ctanl.c (__ctanl): Likewise.
10871         * math/w_pow.c: Likewise.
10872         * math/w_powf.c: Likewise.
10873         * math/w_powl.c: Likewise.
10874         * math/w_scalb.c (sysv_scalb): Likewise.
10875         * math/w_scalbf.c (sysv_scalbf): Likewise.
10876         * math/w_scalbl.c (sysv_scalbl): Likewise.
10877         * misc/error.c (error_tail): Likewise.
10878         * misc/pselect.c (__pselect): Likewise.
10879         * nis/nis_callback.c (__nis_create_callback): Likewise.
10880         * nis/nis_call.c (__nisfind_server): Likewise.
10881         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10882         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10883         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10884         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10885         * nis/nis_lookup.c (nis_lookup): Likewise.
10886         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10887         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10888         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10889         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10890         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10891         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10892         * nis/nss_compat/compat-initgroups.c (add_group)
10893         (internal_getgrent_r): Likewise.
10894         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10895         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10896         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10897         (internal_getspnam_r): Likewise.
10898         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10899         (_nss_nis_getaliasbyname_r): Likewise.
10900         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10901         (_nss_nis_getntohost_r): Likewise.
10902         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10903         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10904         (_nss_nis_getgrgid_r): Likewise.
10905         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10906         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10907         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10908         (_nss_nis_gethostbyname4_r): Likewise.
10909         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10910         (initgroups_netid): Likewise.
10911         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10912         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10913         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10914         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10915         (_nss_nis_getprotobynumber_r): Likewise.
10916         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10917         (_nss_nis_getsecretkey): Likewise.
10918         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10919         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10920         (_nss_nis_getpwuid_r): Likewise.
10921         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10922         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10923         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10924         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10925         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10926         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10927         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10928         Likewise.
10929         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10930         (_nss_nisplus_getntohost_r): Likewise.
10931         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10932         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10933         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10934         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10935         Likewise.
10936         * nis/nss_nisplus/nisplus-initgroups.c
10937         (_nss_nisplus_initgroups_dyn): Likewise.
10938         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10939         (_nss_nisplus_getnetbyaddr_r): Likewise.
10940         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10941         (_nss_nisplus_getprotobynumber_r): Likewise.
10942         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10943         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10944         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10945         Likewise.
10946         * nis/nss_nisplus/nisplus-service.c
10947         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10948         (_nss_nisplus_getservbyport_r): Likewise.
10949         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10950         (_nss_nisplus_getspnam_r): Likewise.
10951         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10952         Likewise.
10953         * nscd/aicache.c (addhstaiX): Likewise.
10954         * nscd/cache.c (cache_search, prune_cache): Likewise.
10955         * nscd/connections.c (register_traced_file, send_ro_fd)
10956         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10957         (main_loop_epoll): Likewise.
10958         * nscd/grpcache.c (addgrbyX): Likewise.
10959         * nscd/hstcache.c (addhstbyX): Likewise.
10960         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10961         * nscd/mem.c (gc, mempool_alloc): Likewise.
10962         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10963         (addinnetgrX): Likewise.
10964         * nscd/nscd-client.h (__nscd_acquire_maplock)
10965         (__nscd_drop_map_ref): Likewise.
10966         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10967         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10968         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10969         Likewise.
10970         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10971         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10972         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10973         (__nscd_get_map_ref): Likewise.
10974         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10975         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10976         Likewise.
10977         * nscd/pwdcache.c (addpwbyX): Likewise.
10978         * nscd/selinux.c (preserve_capabilities): Likewise.
10979         * nscd/servicescache.c (addservbyX): Likewise.
10980         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10981         * posix/fnmatch.c (fnmatch): Likewise.
10982         * posix/getopt.c (_getopt_internal_r): Likewise.
10983         * posix/glob.c (glob, glob_in_dir): Likewise.
10984         * posix/wordexp.c (exec_comm_child): Likewise.
10985         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10986         (getanswer_r, gaih_getanswer_slice): Likewise.
10987         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10988         * resolv/res_init.c: Likewise.
10989         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10990         * resolv/res_query.c (__libc_res_nquery): Likewise.
10991         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10992         Likewise.
10993         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10994         * stdio-common/perror.c (perror): Likewise.
10995         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10996         * stdio-common/tmpnam.c (tmpnam): Likewise.
10997         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10998         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10999         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11000         Likewise.
11001         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11002         * stdlib/putenv.c (putenv): Likewise.
11003         * stdlib/setenv.c (__add_to_environ): Likewise.
11004         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11005         * stdlib/strtol_l.c (INTERNAL): Likewise.
11006         * string/memmem.c (memmem): Likewise.
11007         * string/strerror.c (strerror): Likewise.
11008         * string/strnlen.c (__strnlen): Likewise.
11009         * string/test-memmem.c (simple_memmem): Likewise.
11010         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11011         * sunrpc/pm_getport.c (__get_socket): Likewise.
11012         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11013         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11014         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11015         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11016         Likewise.
11017         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11018         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11019         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11020         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11021         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11022         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11023         Likewise.
11024         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11025         Likewise.
11026         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11027         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11028         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11029         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11030         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11032         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11033         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11034         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11035         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11036         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11037         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11038         Likewise.
11039         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11040         Likewise.
11041         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11042         Likewise.
11043         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11044         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11045         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11046         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11047         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11048         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11049         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11050         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11052         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11053         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11054         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11055         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11056         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11058         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11059         Likewise.
11060         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11061         Likewise.
11062         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11063         Likewise.
11064         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11065         Likewise.
11066         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11068         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11069         Likewise.
11070         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11071         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11072         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11073         * sysdeps/posix/sleep.c: Likewise.
11074         * sysdeps/posix/tempname.c: Likewise.
11075         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11076         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11077         Likewise.
11078         * sysdeps/powerpc/powerpc32/dl-machine.h
11079         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11080         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11081         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11082         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11083         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11084         Likewise.
11085         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11086         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11087         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11088         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11089         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11090         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11091         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11092         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11093         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11094         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11095         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11096         (elf_machine_lazy_rel): Likewise.
11097         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11098         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11099         (elf_machine_lazy_rel): Likewise.
11100         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11101         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11102         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11103         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11104         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11105         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11106         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11107         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11108         Likewise.
11109         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11110         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11111         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11112         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11113         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11114         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11115         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11116         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11117         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11118         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11119         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11120         Likewise.
11121         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11122         (__posix_fallocate64_l64): Likewise.
11123         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11124         (posix_fallocate): Likewise.
11125         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11126         Likewise.
11127         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11128         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11129         (getifaddrs_internal): Likewise.
11130         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11131         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11132         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11133         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11134         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11135         (__posix_fallocate64_l64): Likewise.
11136         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11137         Likewise.
11138         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11139         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11140         (__get_clockfreq): Likewise.
11141         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11142         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11143         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11144         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11146         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11147         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11148         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11149         Likewise.
11150         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11151         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11152         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11153         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11154         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11155         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11156         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11157         Likewise.
11158         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11159         (posix_fallocate): Likewise.
11160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11161         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11162         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11163         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11164         (elf_machine_rela, elf_machine_rela_relative)
11165         (elf_machine_lazy_rel): Likewise.
11166         * time/asctime.c (asctime_internal): Likewise.
11167         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11168         * time/tzset.c (__tzset_parse_tz): Likewise.
11169         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11170         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11171         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11172         * wcsmbs/wcsmbsload.h: Likewise.
11173
11174         [BZ #15894]
11175         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11176
11177         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11178         (arena_get2): Remove THREAD_STATS conditionals.
11179         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11180         (__malloc_stats, int): Likewise.
11181
11182 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11183
11184         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11185         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11186
11187         * manual/setjmp.texi: Fix typos/grammar errors.
11188
11189         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11190         Only return early when n is <= 0.  Delete unused return statement.
11191
11192         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11193         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11194         * debug/tst-longjmp_chk3.c: New file.
11195
11196         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11197         (test_main): Replace code with set_fortify_handler call.
11198         * debug/test-strcpy_chk.c: Likewise.
11199         * debug/tst-chk1.c: Likewise.
11200         * debug/tst-longjmp_chk.c: Likewise.
11201         * test-skeleton.c: Include fcntl.h & paths.h
11202         (set_fortify_handler): Define.
11203
11204         * debug/tst-longjmp_chk.c: Add header comment and include
11205         ../test-skeleton.c.
11206         (do_test): Mark static.
11207         (TEST_FUNCTION): Define.
11208
11209         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11210         (IP_PMTUDISC_INTERFACE): Likewise.
11211         (IP_MULTICAST_IF): Likewise.
11212         (IP_MULTICAST_TTL): Likewise.
11213         (IP_MULTICAST_LOOP): Likewise.
11214         (IP_ADD_MEMBERSHIP): Likewise.
11215         (IP_DROP_MEMBERSHIP): Likewise.
11216         (IP_UNBLOCK_SOURCE): Likewise.
11217         (IP_BLOCK_SOURCE): Likewise.
11218         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11219         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11220         (IP_MSFILTER): Likewise.
11221         (MCAST_JOIN_GROUP): Likewise.
11222         (MCAST_BLOCK_SOURCE): Likewise.
11223         (MCAST_UNBLOCK_SOURCE): Likewise.
11224         (MCAST_LEAVE_GROUP): Likewise.
11225         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11226         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11227         (MCAST_MSFILTER): Likewise.
11228         (IP_MULTICAST_ALL): Likewise.
11229         (IP_UNICAST_IF): Likewise.
11230
11231         * timezone/Makefile: Delete $(have-ksh) check.
11232         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11233         * timezone/tzselect.ksh: Add +x mode bits.
11234
11235         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11236         (ANON_INODE_FS_MAGIC): Likewise.
11237         (BDEVFS_MAGIC): Likewise.
11238         (BINFMTFS_MAGIC): Likewise.
11239         (BTRFS_TEST_MAGIC): Likewise.
11240         (CRAMFS_MAGIC_WEND): Likewise.
11241         (DEBUGFS_MAGIC): Likewise.
11242         (ECRYPTFS_SUPER_MAGIC): Likewise.
11243         (EXT3_SUPER_MAGIC): Likewise.
11244         (EXT4_SUPER_MAGIC): Likewise.
11245         (FUTEXFS_SUPER_MAGIC): Likewise.
11246         (HOSTFS_SUPER_MAGIC): Likewise.
11247         (HUGETLBFS_MAGIC): Likewise.
11248         (MINIX3_SUPER_MAGIC): Likewise.
11249         (MTD_INODE_FS_MAGIC): Likewise.
11250         (NILFS_SUPER_MAGIC): Likewise.
11251         (OPENPROM_SUPER_MAGIC): Likewise.
11252         (PIPEFS_MAGIC): Likewise.
11253         (PSTOREFS_MAGIC): Likewise.
11254         (QNX6_SUPER_MAGIC): Likewise.
11255         (RAMFS_MAGIC): Likewise.
11256         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11257         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11258         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11259         (SECURITYFS_MAGIC): Likewise.
11260         (SELINUX_MAGIC): Likewise.
11261         (SMACK_MAGIC): Likewise.
11262         (SOCKFS_MAGIC): Likewise.
11263         (SQUASHFS_MAGIC): Likewise.
11264         (STACK_END_MAGIC): Likewise.
11265         (TMPFS_MAGIC): Likewise.
11266         (USBDEVICE_SUPER_MAGIC): Likewise.
11267         (V9FS_MAGIC): Likewise.
11268         (XENFS_SUPER_MAGIC): Likewise.
11269         (CRAMFS_MAGIC): Fix typo in comment.
11270         (EXT2_SUPER_MAGIC): Update comment.
11271         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11272
11273 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11274
11275         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11276         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11277         * sysdeps/unix/sysv/linux/arm: Move directory from
11278         ports/sysdeps/unix/sysv/linux/arm.
11279         * README: Update listing for arm-*-linux-gnueabi.
11280
11281         * README: Remove mention of am33.
11282
11283 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11284
11285         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11286         than the comma operator, to avoid "rhs of comma has no effect"
11287         compiler warnings.
11288         (__sigfillset, __sigandset, __sigorset): Likewise.
11289         * include/signal.h (__sigemptyset): Likewise.
11290         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11291
11292 2014-02-07  Allan McRae  <allan@archlinux.org>
11293
11294         * version.h (RELEASE): Set to "development".
11295         (VERSION): Set to "2.19.90"
11296         * NEWS: Add 2.20 section.
11297
11298 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11299
11300         [BZ #16529]
11301         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11302
11303 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11304
11305         * manual/contrib.texi: Update entry for Carlos O'Donell,
11306         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11307
11308 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11309
11310         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11311
11312         * sysdeps/unix/sysv/linux/kernel-features.h
11313         [__LINUX_KERNEL_VERSION >= 0x020621]
11314         (__ASSUME_PROC_PID_TASK_COMM): Define.
11315
11316 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11317
11318         [BZ #16398]
11319         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11320         conversion when destination buffer does not have enough space.
11321         * libio/tst-ftell-partial-wide.c: New test case.
11322         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11323
11324         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11325         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11326         Leonard and Allan McRae.
11327
11328 2014-02-04  David S. Miller  <davem@davemloft.net>
11329
11330         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11331         32-bit.
11332
11333 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11334
11335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11336         New file
11337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11338         New file
11339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11340         New file.
11341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11342         New file.
11343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11344         New file.
11345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11346         New file.
11347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11348         New file.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11350         New file.
11351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11352         New file.
11353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11354         New file.
11355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11356         New file.
11357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11358         New file.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11360         New file.
11361
11362 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11363
11364         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11365         * shlib-versions: Likewise.
11366
11367 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11368             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11369
11370         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11371         (abilist-pattern): New variable, set to %-le.abilist.
11372
11373         * Makerules (abilist-pattern): New variable.
11374         (vpath): Use $(abilist-pattern) in place of %.abilist.
11375         (check-abi-% pattern rule): Likewise.
11376         (check-abi, update-abi): Likewise.
11377
11378 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11379
11380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11381
11382 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11383
11384         * manual/startup.texi: Add next, previous, and top entries for
11385         the `Program Arguments' and `Environment Variables' nodes.
11386
11387 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11388
11389         * manual/macros.texi: Add comments before MTASC-safety macros.
11390
11391         * manual/users.texi: Document MTASC-safety properties.
11392
11393         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11394         (pthread_getspecific, pthread_setspecific): Format with
11395         @deftypefun, and add @safety note.
11396         * manual/signal.texi: Move comments that analyze the above
11397         functions to their home place.
11398
11399 2014-02-03  Allan McRae  <allan@archlinux.org>
11400
11401         * po/sl.po: Update Slovenian translation from translation project.
11402
11403 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11404
11405         * manual/time.texi (timegm): Add missing blank after @c.
11406         Reported by Joseph Myers <joseph@codesourcery.com>.
11407
11408 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11409
11410         * manual/check-safety.sh: New.
11411         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11412
11413         * manual/terminal.texi: Document MTASC-safety properties.
11414
11415         * manual/filesys.texi: Document MTASC-safety properties.
11416
11417         * manual/errno.texi: Document MTASC-safety properties.
11418
11419         * manual/intro.texi: Document safety identifiers and
11420         conditionals.
11421
11422         * manual/string.texi (wcstok): Fix prototype.
11423         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11424
11425         * manual/time.texi: Document MTASC-safety properties.
11426
11427         * manual/string.texi: Document MTASC-safety properties.
11428
11429         * manual/threads.texi: Document MTASC-safety properties.
11430
11431         * manual/stdio.texi: Document MTASC-safety properties.
11432
11433         * manual/syslog.texi: Document MTASC-safety properties.
11434
11435         * manual/sysinfo.texi: Document MTASC-safety properties.
11436
11437         * manual/startup.texi: Document MTASC-safety properties.
11438
11439         * manual/socket.texi: Document MTASC-safety properties.
11440
11441         * manual/signal.texi: Document MTASC-safety properties.
11442
11443 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11444
11445         * manual/setjmp.texi: Document MTASC-safety properties.
11446
11447         * manual/search.texi: Document MTASC-safety properties.
11448
11449         * manual/resource.texi: Document MTASC-safety properties.
11450
11451         * manual/process.texi: Document MTASC-safety properties.
11452
11453         * manual/platform.texi: Document MTASC-safety properties.
11454
11455         * manual/pipe.texi: Document MTASC-safety properties.
11456
11457         * manual/pattern.texi: Document MTASC-safety properties.
11458
11459         * manual/message.texi: Document MTASC-safety properties.
11460
11461         [BZ #12751]
11462         * manual/memory.texi: Document MTASC-safety properties.
11463
11464         * manual/math.texi: Document MTASC-safety properties.
11465
11466         * manual/locale.texi: Document MTASC-safety properties.
11467
11468         * manual/llio.texi: Document MTASC-safety properties.
11469
11470         * manual/libdl.texi: New.
11471
11472         * manual/lang.texi: Document MTASC-safety properties.
11473
11474         * manual/job.texi: Document MTASC-safety properties.
11475
11476         * manual/getopt.texi: Document MTASC-safety properties.
11477
11478         * manual/ctype.texi: Document MTASC-safety properties.
11479
11480 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11481
11482         [BZ #16046]
11483         * csu/libc-tls.c (static_map): Remove variable.
11484         (__libc_setup_tls): Use main executable's link map for TLS data.
11485         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11486         casing for LM_ID_BASE and GL(dl_nns).
11487         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11488         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11489         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11490         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11491         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11492         member.
11493         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11494         l_phnum members.
11495
11496 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11497
11498         * manual/debug.texi: Document MTASC-safety properties.
11499
11500 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11501
11502         [BZ #16510]
11503         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11504         of __x86_64__ when disabling x87 inline functions.
11505
11506 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11507
11508         * manual/charset.texi: Document MTASC-safety properties.
11509
11510         * manual/crypt.texi: Document MTASC-safety properties.
11511
11512         * manual/conf.texi: Document MTASC-safety properties.
11513
11514         * manual/arith.texi: Document MTASC-safety properties.
11515
11516         * manual/argp.texi: Document MTASC-safety properties.
11517
11518         * manual/macros.texi: Introduce macros to document multi
11519         thread, asynchronous signal and asynchronous cancellation
11520         safety properties.
11521         * manual/intro.texi: Introduce the properties themselves.
11522
11523 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11524
11525         * sysdeps/sh/sh4/Makefile: New file.
11526
11527 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11528
11529         * math/gen-libm-test.pl ($srcdir): New variable.
11530         ($auto_input): Use it.
11531
11532 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11533
11534         [BZ #16506]
11535         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11536         access beyond array bounds when parsing netgroups file.
11537
11538         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11539         the old buffer before realloc.
11540
11541 2014-01-27  Allan McRae  <allan@archlinux.org>
11542
11543         * po/fr.po: Update French translation from translation project.
11544
11545 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11546
11547         * sysdeps/sh/libm-test-ulps: Regenerate.
11548
11549 2014-01-24  David S. Miller  <davem@davemloft.net>
11550
11551         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11552
11553 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11554
11555         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11556         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11557
11558 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11559
11560         [BZ #16474]
11561         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11562         string pointers after reallocation.
11563
11564 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11565
11566         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11567         __SH4A__ instead of __SH_FPU_ANY__.
11568
11569 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11570
11571         * sysdeps/sh/fpu_control.h: New file.
11572         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11573         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11574         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11575         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11576         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11577         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11578         * sysdeps/sh/sys/ucontext.h: Remove.
11579         * sysdeps/sh/sys: Remove directory.
11580
11581 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11582
11583         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11584         s390/sys/ucontext.h.
11585         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11586         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11587
11588 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11589
11590         [BZ #15605]
11591         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11592
11593 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11594
11595         [BZ#16431]
11596         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11597         Adjust the vDSO correctly for internal calls.
11598         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11599
11600 2014-01-20  Allan McRae  <allan@archlinux.org>
11601
11602         * po/ca.po: Update Catalan translation from translation project.
11603
11604 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11605
11606         * sysdeps/s390/sotruss-lib.c: New file.
11607
11608 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11609
11610         [BZ#16430]
11611         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11612         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11613         local calls issues by not having a PLT stub required for IFUNC calls.
11614         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11615
11616 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11617
11618         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11619         * math/test-fpucw-static.c: Likewise.
11620
11621 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11622
11623         [BZ #16453]
11624         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11625
11626 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11627
11628         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11629         implementation for powerpc.
11630
11631 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11632
11633         [BZ #14782]
11634         * sysdeps/posix/system.c (__libc_system): Do not enable
11635         asynchronous cancellation.
11636
11637 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11638
11639         [BZ #16427]
11640         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11641         handling only for numbers special also in the IEEE case.
11642
11643 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11644
11645         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11646
11647 2014-01-11  Allan McRae  <allan@archlinux.org>
11648
11649         * po/bg.po: Update Bulgarian translation from translation project.
11650
11651         * po/de.po: Update German translation from translation project.
11652
11653 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11654
11655         * sysdeps/generic/gcc-compat.h: New file.
11656
11657 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11658
11659         * benchtests/asin-inputs: Correct slow inputs.
11660         * benchtests/acos-inputs: Likewise.
11661
11662 2014-01-10  Allan McRae  <allan@archlinux.org>
11663
11664         * po:sv.po: Update Swedish translation from translation project.
11665
11666         * po/vi.po: Update Vietnamese translation from translation project.
11667
11668         * po/eo.po: Update Esperanto translation from translation project.
11669
11670         * po/cs.po: Update Czech translation from translation project.
11671
11672         * po/nl.po: Update Dutch translation from translation project.
11673
11674         * po/pl.po: Update Polish translation from translation project.
11675
11676         * po/ru.po: Update Russian translation from translation project.
11677
11678         * po/uk.po: Update Ukrainian translation from translation project.
11679
11680 2014-01-08  Brooks Moses  <bmoses@google.com>
11681
11682         * elf/dl-load.c: Fix comment typo.
11683
11684 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11685
11686         * po/header.pot: Rename to...
11687         * po/pot.header: ... this.
11688         * po/Makefile: Use pot.header.
11689
11690 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11691             Maxim Kuvyrkov  <maxim@kugelworks.com>
11692
11693         [BZ #16394]
11694         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11695         SRC and DEST against LEN.
11696
11697 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11698
11699         [BZ #16414]
11700         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11701         implementation.
11702         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11703
11704 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11705
11706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11707
11708 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11709
11710         [BZ #16408]
11711         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11712         for large positive arguments.
11713
11714 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11715
11716         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11717
11718         * math/auto-libm-test-in: Mark various tests with
11719         xfail-rounding:ldbl-128ibm.
11720         * math/auto-libm-test-out: Regenerated.
11721
11722         [BZ #16407]
11723         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11724         Increase overflow threshold.
11725
11726 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11727
11728         [BZ #14286]
11729         * stdio-common/vfprintf.c: Check for integer overflow.
11730
11731 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11732
11733         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11734         the first argument and return value of __tls_get_addr_internal.
11735
11736 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11737
11738         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11739         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11740
11741 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11742
11743         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11744         * sysdeps/s390/rtld-global-offsets.sym: New file.
11745         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11746         GLIBC_2.19 symbol.
11747         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11748         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11749         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11750         ... this.
11751         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11752         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11753         ... this.
11754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11755         Regenerate.
11756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11757         Regenerate.
11758         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11759         halfs of GPRs for high_gprs contexts.
11760         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11761         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11762         field.
11763         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11764         uc_flags field.
11765         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11766         64 bit versions:
11767         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11768         for high GPRs (uc_high_gprs) and for future extensions
11769         (__reserved).
11770         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11771         for future extensions (__reserved).
11772         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11773         64 bit versions:
11774         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11775         SC_HIGHGPRS offset definition.
11776         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11777         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11778
11779         * Versions.def: Add GLIBC_2.19 for libpthread.
11780         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11781         siglongjmp for libpthread with GLIBC_2.19 symver.
11782         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11783         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11784         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11785         * sysdeps/s390/__longjmp.c: New file.
11786         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11787         * sysdeps/s390/longjmp.c: New file.
11788         * sysdeps/s390/setjmp.S: New file.
11789         * sysdeps/s390/sigjmp.S: New file.
11790         * sysdeps/s390/v1-longjmp.c: New file.
11791         * sysdeps/s390/v1-setjmp.h: New file.
11792         * sysdeps/s390/v1-sigjmp.c: New file.
11793         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11794         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11795         GLIBC_2.19 version.
11796         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11797         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11798         versioned symbols for ____longjmp_chk.
11799         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11800         Likewise.
11801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11802         Regenerate.
11803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11804         Regenerate.
11805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11806         Regenerate.
11807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11808         Regenerate.
11809         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11810         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11811         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11812         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11813         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11814         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11815         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11816         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11817         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11818         * sysdeps/s390/rtld-__longjmp.c: New file.
11819         * sysdeps/s390/rtld-setjmp.S: New file.
11820
11821 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11822
11823         [BZ #16400]
11824         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11825         Return -__logl (x) for small positive arguments without evaluating
11826         a polynomial.
11827
11828 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11829
11830         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11831         Rename to ...
11832         (__ptrace_peeksiginfo_args): ... this.
11833         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11834         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11835         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11836
11837 2014-01-06  Allan McRae  <allan@archlinux.org>
11838
11839         * inet/netinet/in.h: Fix typo in comment.
11840
11841 2014-01-05  Andreas Jaeger  <aj@suse.de>
11842
11843         * sysdeps/i386/fpu/libm-test-ulps: Update.
11844
11845 2014-01-05  Allan McRae  <allan@archlinux.org>
11846
11847         * po/libc.pot: Regenerated.
11848
11849         * malloc/memusagestat.c: Fix gettext call formatting.
11850
11851 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11852
11853         * nscd/nscd.c: Improve usage() output.
11854
11855 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11856
11857         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11858         * sysdeps/unix/sysv/linux/configure: Regenerated.
11859         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11860         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11861
11862 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11863
11864         [BZ #16390]
11865         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11866         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11867
11868 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11869
11870         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11871         extra tokens at end of #undef directive.
11872         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11873         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11874         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11875
11876 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11877
11878         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11879
11880         * math/auto-libm-test-in: Mark various tests with
11881         xfail-rounding:ldbl-128ibm.
11882         * math/auto-libm-test-out: Regenerated.
11883
11884 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11885
11886         [BZ #16386]
11887         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11888         numbers with subnormal high part when calculating exponent.
11889
11890         [BZ #16385]
11891         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11892         fabs.
11893
11894         [BZ #16384]
11895         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11896         M_LN2l.
11897         (__ieee754_acoshl): Use __log1pl not __log1p.
11898
11899 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11900
11901         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11902         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11903         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11904         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11905         (reused_arena, arena_get2): Convert to GNU style.
11906         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11907         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11908         (memalign_check, __malloc_set_state): Likewise.
11909         * malloc/mallocbug.c (main): Likewise.
11910         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11911         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11912         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11913         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11914         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11915         (__posix_memalign, malloc_info): Likewise.
11916         * malloc/malloc.h: Likewise.
11917         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11918         (mallochook, memalignhook, reallochook, mabort): Likewise.
11919         * malloc/mcheck.h: Likewise.
11920         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11921         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11922         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11923         * malloc/morecore.c (__default_morecore): Likewise.
11924         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11925         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11926         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11927         (print_and_abort): Likewise.
11928         * malloc/obstack.h: Likewise.
11929         * malloc/set-freeres.c (__libc_freeres): Likewise.
11930         * malloc/tst-mallocstate.c (main): Likewise.
11931         * malloc/tst-mtrace.c (main): Likewise.
11932         * malloc/tst-realloc.c (do_test): Likewise.
11933
11934 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11935
11936         [BZ #16366]
11937         * nscd/netgroupcache.c (do_notfound): New function.
11938         (addgetnetgrentX): Use it.
11939
11940         [BZ # 16365]
11941         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11942         NSS_STATUS_NOTFOUND.
11943
11944 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11945
11946         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11948
11949 2014-01-01  Allan McRae  <allan@archlinux.org>
11950
11951         * scripts/update-copyrights: Update configure input file suffix.
11952
11953         * NEWS: Update copyright year.
11954         * catgets/gencat.c: Likewise.
11955         * csu/version.c: Likewise.
11956         * debug/catchsegv.sh: Likewise.
11957         * debug/pcprofiledump.c: Likewise.
11958         * debug/xtrace.sh: Likewise.
11959         * elf/ldconfig.c: Likewise.
11960         * elf/ldd.bash.in: Likewise.
11961         * elf/pldd.c: Likewise.
11962         * elf/sotruss.ksh: Likewise.
11963         * elf/sprof.c: Likewise.
11964         * iconv/iconv_prog.c: Likewise.
11965         * iconv/iconvconfig.c: Likewise.
11966         * locale/programs/locale.c: Likewise.
11967         * locale/programs/localedef.c: Likewise.
11968         * login/programs/pt_chown.c: Likewise.
11969         * malloc/memusage.sh: Likewise.
11970         * malloc/memusagestat.c: Likewise.
11971         * malloc/mtrace.pl: Likewise.
11972         * manual/libc.texinfo: Likewise.
11973         * nscd/nscd.c: Likewise.
11974         * nss/getent.c: Likewise.
11975         * nss/makedb.c: Likewise.
11976         * posix/getconf.c: Likewise.
11977         * scripts/test-installation.pl: Likewise.
11978
11979         * All files with FSF copyright notices: Update copyright dates
11980         using scripts/update-copyrights.
11981         * intl/plural.c: Regenerated.
11982         * locale/programs/charmap-kw.h: Likewise.
11983         * locale/programs/locfile-kw.h: Likewise.
11984
11985 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11986
11987         * sysdeps/unix/sysv/linux/configure: Regenerated.
11988         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11989         the linux/fanotify.h header.
11990         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11991         HAVE_LINUX_FANOTIFY_H is defined.
11992
11993 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11994
11995         * benchtests/cos-inputs: New inputs.
11996         * benchtests/sin-inputs: Likewise.
11997
11998         * benchtests/atan-inputs: New inputs. Fix name of multiple
11999         precision fallback inputs.
12000
12001         * benchtests/atanh-inputs: New inputs.
12002         * benchtests/tanh-inputs: Likewise.
12003
12004         * benchtests/acosh-inputs: New inputs.
12005         * benchtests/asinh-inputs: Likewise.
12006
12007         * benchtests/cosh-inputs: New inputs.
12008         * benchtests/sinh-inputs: Likewise.
12009
12010         * benchtests/acos-inputs: Add more inputs.
12011         * benchtests/asin-inputs: Likewise.
12012
12013 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12014
12015         [BZ #16375]
12016         * manual/arith.texi: Fix spelling.
12017         * manual/charset.texi: Likewise.
12018         * manual/errno.texi: Likewise.
12019         * manual/filesys.texi: Likewise.
12020         * manual/lang.texi: Likewise.
12021         * manual/llio.texi: Likewise.
12022         * manual/locale.texi: Likewise.
12023         * manual/message.texi: Likewise.
12024         * manual/resource.texi: Likewise.
12025         * manual/search.texi: Likewise.
12026         * manual/setjmp.texi: Likewise.
12027         * manual/stdio.texi: Likewise.
12028         * manual/string.texi: Likewise.
12029         * manual/sysinfo.texi: Likewise.
12030         * manual/time.texi: Likewise.
12031
12032 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12033
12034         * po/sl.po: New file.
12035
12036 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12037
12038         * .gitignore: Add core/.gdbinit/.gdb_history.
12039
12040 2013-12-27  Allan McRae  <allan@archlinux.org>
12041
12042         [BZ #16369]
12043         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12044         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12045
12046 2013-12-24  Brooks Moses  <bmoses@google.com>
12047
12048         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12049         all compilers that claim C++98 compliance, not just GCC.
12050         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12051         Likewise.
12052
12053 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12054
12055         * NEWS: Restore accidentally deleted bug-fix entries.
12056
12057 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12058             Ondřej Bílka  <neleai@seznam.cz>
12059
12060         [BZ #15073]
12061         * malloc/malloc.c (_int_free): Perform sanity check only if we
12062         have_lock.
12063
12064 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12065
12066         [BZ #12986]
12067         * manual/stdio.texi (String Input Conversions): Clarify that character
12068         classes are not supported.
12069
12070 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12071
12072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12073
12074 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12075
12076         [BZ #16337]
12077         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12078         Calculate results for small negative arguments directly rather
12079         than using reflection formula with special underflow handling.
12080
12081         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12082         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12083         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12084         (fchflags): Likewise.
12085         (revoke): Likewise.
12086         (setlogin): Likewise.
12087         (sigaltstack): Likewise.
12088         (wait4): Likewise.
12089         (sigblock): Remove.
12090         (sigsetmask): Likewise.
12091         (wait3): Likewise.
12092         (waitpid): Likewise.
12093         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12094         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12095         file.
12096         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12097         * sysdeps/unix/bsd/Makefile: ... here.
12098         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12099         * sysdeps/unix/bsd/Versions: ... here.
12100         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12101         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12102         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12103         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12104         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12105         * sysdeps/unix/bsd/sigblock.c: ... here.
12106         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12107         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12108         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12109         * sysdeps/unix/bsd/sigvec.c: ... here.
12110         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12111         * sysdeps/unix/bsd/tcdrain.c: ... here.
12112         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12113         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12114         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12115         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12116         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12117         * sysdeps/unix/bsd/wait.c: ... here.
12118         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12119         * sysdeps/unix/bsd/wait3.c: ... here.
12120         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12121         * sysdeps/unix/bsd/waitpid.c: ... here.
12122
12123 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12124
12125         [BZ #16356]
12126         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12127         round-to-nearest for [!USE_AS_EXPM1L].
12128         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12129         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12130         more tests of exp and exp10.  Expect some exp10 tests to miss
12131         exceptions or fail in directed rounding modes.
12132         * math/auto-libm-test-out: Regenerated.
12133         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12134         (exp10_test_tonearest): New function.
12135         (exp10_towardzero_test_data): New array.
12136         (exp10_test_towardzero): New function.
12137         (exp10_downward_test_data): New array.
12138         (exp10_test_downward): New function.
12139         (exp10_upward_test_data): New array.
12140         (exp10_test_upward): New function.
12141         (main): Call the new functions.
12142         * sysdeps/i386/fpu/libm-test-ulps: Update.
12143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12144
12145 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12146
12147         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12148         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12149         * math/auto-libm-test-out: Regenerated.
12150         * math/libm-test.inc (acosh_test_data): Add more tests.
12151         (atanh_test_data): Likewise.
12152         (ceil_test_data): Likewise.
12153         (copysign_test_data): Likewise.
12154         * sysdeps/i386/fpu/libm-test-ulps: Update.
12155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12156
12157         * timezone/checktab.awk: Update from tzcode 2013i.
12158         * timezone/private.h: Likewise.
12159         * timezone/scheck.c: Likewise.
12160         * timezone/tzfile.h: Likewise.
12161         * timezone/tzselect.ksh: Likewise.
12162         * timezone/zdump.c: Likewise.
12163         * timezone/zic.c: Likewise.
12164
12165         * math/auto-libm-test-in: Add tests of cpow.
12166         * math/auto-libm-test-out: Regenerated.
12167         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12168         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12169         mpc_cc_c.
12170         (func_calc_desc): Add mpc_cc_c union field.
12171         (test_functions): Add cpow.
12172         (special_fill_2pi): New function.
12173         (special_real_inputs): Add 2pi.
12174         (calc_generic_results): Handle mpc_cc_c.
12175         * sysdeps/i386/fpu/libm-test-ulps: Update.
12176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12177
12178         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12179         csqrt, ctan and ctanh.
12180         * math/auto-libm-test-out: Regenerated.
12181         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12182         (TEST_COND_x86): Likewise.
12183         (ccos_test_data): Use AUTO_TESTS_c_c.
12184         (ccosh_test_data): Likewise.
12185         (cexp_test_data): Likewise.
12186         (clog_test_data): Likewise.
12187         (csqrt_test_data): Likewise.
12188         (ctan_test_data): Likewise.
12189         (ctan_tonearest_test_data): Likewise.
12190         (ctan_towardzero_test_data): Likewise.
12191         (ctan_downward_test_data): Likewise.
12192         (ctan_upward_test_data): Likewise.
12193         (ctanh_test_data): Likewise.
12194         (ctanh_tonearest_test_data): Likewise.
12195         (ctanh_towardzero_test_data): Likewise.
12196         (ctanh_downward_test_data): Likewise.
12197         (ctanh_upward_test_data): Likewise.
12198         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12199         mpc_c_c.
12200         (func_calc_desc): Add mpc_c_c union field.
12201         (FUNC_mpc_c_c): New macro.
12202         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12203         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12204         ctanh.
12205         (special_fill_min_subnorm_p120): New function.
12206         (special_real_inputs): Add min_subnorm_p120.
12207         (calc_generic_results): Handle mpc_c_c.
12208         * sysdeps/i386/fpu/libm-test-ulps: Update.
12209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12210
12211 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12212
12213         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12214         (do_sin_slow): New functions.
12215         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12216         (cslow2, csloww1, csloww2): Use the new functions.
12217
12218         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12219         Use M to change sign of result instead of X.  Assume X is
12220         positive.
12221         (csloww1): Likewise.
12222         (__sin): Adjust.
12223         (__cos): Adjust.
12224
12225         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12226         arguments A and DA.
12227         (__sin): Adjust.
12228         (__cos): Likewise.
12229
12230         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12231         (__cos): Likewise.
12232         (sloww1): Don't adjust sign of DX.
12233         (csloww1): Likewise.
12234         (sloww2): Use X directly and don't adjust sign of DX.
12235         (csloww2): Likewise.
12236
12237 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12238
12239         * math/auto-libm-test-in: Add tests of cabs and carg.
12240         * math/auto-libm-test-out: Regenerated.
12241         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12242         (carg_test_data): Likewise.
12243         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12244         mpc_c_f.
12245         (func_calc_desc): Add mpc_c_f union field.
12246         (test_functions): Add cabs and carg.
12247         (calc_generic_results): Handle mpc_c_f.
12248
12249         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12250         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12251         as a macro and a compat symbol.
12252         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12253         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12254         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12255         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12256         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12257         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12258         not use .hidden.
12259         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12260         Likewise.
12261         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12262         Likewise.
12263         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12264         Likewise.
12265         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12266         Likewise.
12267         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12268         Likewise.
12269         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12270         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12271         from GLIBC_2.3.2.
12272
12273 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12274
12275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12276
12277 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12278
12279         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12280         trailing whitespace removed.
12281         * scripts/config.guess: Update to version 2013-11-29.
12282         * scripts/config.sub: Update to version 2013-10-01.
12283
12284         * math/auto-libm-test-in: Add tests of sincos.
12285         * math/auto-libm-test-out: Regenerated.
12286         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12287         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12288         mpfr_f_11.
12289         (func_calc_desc): Add mpfr_f_11 union field.
12290         (test_functions): Add sincos.
12291         (calc_generic_results): Handle mpfr_f_11.
12292         * sysdeps/i386/fpu/libm-test-ulps: Update.
12293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12294
12295 2013-12-19  Andreas Schwab  <schwab@suse.de>
12296
12297         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12298         CALL_MCOUNT.
12299         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12300         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12301         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12302
12303 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12304
12305         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12306         * sysdeps/i386/fpu/libm-test-ulps: Update.
12307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12308
12309         [BZ #16293]
12310         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12311         round-to-nearest mode when using frndint.
12312         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12313         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12315         Likewise.
12316         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12317         sinh test to fail.
12318         * math/auto-libm-test-out: Regenerated.
12319         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12320         (TEST_COND_x86): Likewise.
12321         (expm1_tonearest_test_data): New array.
12322         (expm1_test_tonearest): New function.
12323         (expm1_towardzero_test_data): New array.
12324         (expm1_test_towardzero): New function.
12325         (expm1_downward_test_data): New array.
12326         (expm1_test_downward): New function.
12327         (expm1_upward_test_data): New array.
12328         (expm1_test_upward): New function.
12329         (main): Run the new test functions.
12330         * sysdeps/i386/fpu/libm-test-ulps: Update.
12331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12332
12333         * include/features.h: Update comment documenting feature test
12334         macros.  Mention _DEFAULT_SOURCE in comment.
12335         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12336         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12337         _BSD_SOURCE and _SVID_SOURCE.
12338         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12339         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12340         !_SVID_SOURCE]: Likewise.
12341         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12342         (__USE_POSIX_IMPLICITLY): Define.
12343         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12344         (_POSIX_SOURCE): Undefine and redefine.
12345         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12346         (_POSIX_C_SOURCE): Likewise.
12347         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12348         (Feature Test Macros): Update documentation of default features.
12349
12350 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12351
12352         * benchtests/Makefile: Add bench-strtok.
12353         * benchtests/bench-strtok.c: New file: strtok benchtest.
12354
12355 2013-12-19  Allan McRae  <allan@archlinux.org>
12356
12357         * manual/install.texi: Suppress menu for plain text output.
12358         * INSTALL: Regenerated.
12359
12360 2013-12-18  Brooks Moses  <bmoses@google.com>
12361
12362         [BZ #15846]
12363         * misc/getauxval.c: Include errno.h.
12364         (__getauxval): Set errno to ENOENT if the requested type is not
12365         found.
12366         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12367         don't declare with __attribute_const__.
12368         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12369         * manual/startup.texi: Document that getauxval sets errno.
12370
12371 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12372
12373         * math/auto-libm-test-in: Add tests of jn and yn.
12374         * math/auto-libm-test-out: Regenerated.
12375         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12376         (yn_test_data): Likewise.
12377         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12378         mpfr_if_f.
12379         (func_calc_desc): Add mpfr_if_f union field.
12380         (FUNC_mpfr_if_f): New macro.
12381         (test_functions): Add jn and yn.
12382         (calc_generic_results): Assert type of second input for
12383         mpfr_ff_f.  Handle mpfr_if_f.
12384         (output_for_one_input_case): Disable all checking for arguments
12385         fitting floating-point types in case of an integer argument.
12386         * sysdeps/i386/fpu/libm-test-ulps: Update.
12387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12388
12389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12390         Don't expect fegetround reference in libm.so.
12391
12392 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12393
12394         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12395         $(config-cflags-nofma).
12396
12397 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12398
12399         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12400         * math/auto-libm-test-out: Regenerated.
12401
12402         [BZ #16338]
12403         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12404         to determine exponent and adjust argument to have exponent of -1.
12405         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12406         log2.
12407         * math/auto-libm-test-out: Regenerated.
12408         * sysdeps/i386/fpu/libm-test-ulps: Update.
12409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12410
12411 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12412
12413         * manual/probes.texi: Remove cases when per-thread arenas are
12414         disabled.
12415
12416 2013-12-18  Andreas Schwab  <schwab@suse.de>
12417
12418         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12419         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12420         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12421         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12422         * sysdeps/i386/i686/multiarch/Makefile: Update.
12423         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12424
12425 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12426
12427         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12428         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12429
12430 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12431
12432         [BZ #15968]
12433         Support TZ transition times < 00:00:00.
12434         This is needed for version-3 tz-format files; it supports time
12435         stamps past 2037 for America/Godthab (the only entry in the tz
12436         database for which this change is relevant).
12437         * manual/time.texi (TZ Variable): Document transition times
12438         from -167:59:59 through -00:00:01.
12439         * time/tzset.c (tz_rule): Time of day is now signed.
12440         (__tzset_parse_tz): Parse negative time of day.
12441
12442         Document TZ transition times >= 25:00:00.
12443         * manual/time.texi (TZ Variable): Document transition times from
12444         25:00:00 through 167:59:59.  These are already supported, and this
12445         support will help with version-3 tz-format files.
12446
12447         * manual/time.texi (TZ Variable): Modernize North America example
12448         to reflect current (i.e., 2007-and-later) daylight saving rules.
12449
12450         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12451
12452 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12453
12454         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12455         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12456         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12457         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12458         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12459         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12460         * sysdeps/unix/bsd/clock.c: Likewise.
12461         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12462         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12463         * sysdeps/unix/bsd/init-posix.c: Likewise.
12464         * sysdeps/unix/bsd/poll.c: Likewise.
12465         * sysdeps/unix/bsd/ptsname.c: Likewise.
12466         * sysdeps/unix/bsd/seekdir.c: Likewise.
12467         * sysdeps/unix/bsd/setegid.c: Likewise.
12468         * sysdeps/unix/bsd/seteuid.c: Likewise.
12469         * sysdeps/unix/bsd/setgid.c: Likewise.
12470         * sysdeps/unix/bsd/setrgid.c: Likewise.
12471         * sysdeps/unix/bsd/setruid.c: Likewise.
12472         * sysdeps/unix/bsd/setsid.c: Likewise.
12473         * sysdeps/unix/bsd/setuid.c: Likewise.
12474         * sysdeps/unix/bsd/sigaction.c: Likewise.
12475         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12476         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12477         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12478         * sysdeps/unix/bsd/telldir.c: Likewise.
12479         * sysdeps/unix/bsd/times.c: Likewise.
12480         * sysdeps/unix/bsd/usleep.c: Likewise.
12481
12482         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12483         ($(objpfx)libbsd-compat.a): Remove rule.
12484
12485         * include/features.h (__FAVOR_BSD): Do not define.
12486         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12487         features conflicting with POSIX.
12488         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12489         (_BSD_SOURCE): Remove description of not being a subset of other
12490         feature test macros.
12491         * manual/job.texi (getpgrp): Do not document BSD version.
12492         (getpgid): Do not document by reference to BSD getpgrp.
12493         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12494         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12495         * signal/signal.h [__FAVOR_BSD]: Likewise.
12496         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12497         instead of making contents conditional on [__FAVOR_BSD].
12498         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12499
12500 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12501
12502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12503
12504 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12505
12506         [BZ #16314]
12507         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12508         values below 2**-450, not 2**-500.
12509         * math/auto-libm-test-in: Don't allow spurious underflow from
12510         hypot.
12511         * math/auto-libm-test-out: Regenerated.
12512
12513         [BZ #16316]
12514         [BZ #16330]
12515         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12516         values of ha and hb and sort them after adjusting subnormal
12517         arguments.
12518         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12519         Likewise.
12520         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12521         values of ea and eb and sort them after adjusting subnormal
12522         arguments.
12523         * math/auto-libm-test-in: Do not expect some hypot tests of
12524         subnormals to fail.  Add more hypot tests.
12525         * math/auto-libm-test-out: Regenerated.
12526
12527 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12528
12529         [BZ #13304]
12530         * sysdeps/sh/s_fma.c: New file.
12531         * sysdeps/sh/s_fmaf.c: New file.
12532         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12533         version.
12534         * sysdeps/sh/Implies: Add sh/soft-fp.
12535
12536 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12537
12538         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12539         level of indirection to members `objname', `errstring', `malloced'.
12540         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12541         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12542         it as the __longjmp argument (just pass 1 instead).
12543         (_dl_catch_error): Initialize C with argument pointers and address of
12544         volatile local ERRCODE rather than copying values out of C at return.
12545
12546 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12547
12548         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12549         * math/auto-libm-test-out: Regenerated.
12550         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12551         (hypot_test_data): Likewise.
12552         (pow_test_data): Likewise.
12553         (pow_tonearest_test_data): Likewise.
12554         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12555         mpfr_ff_f.
12556         (func_calc_desc): Add mpfr_ff_f union field.
12557         (FUNC_mpfr_ff_f): New macro.
12558         (test_functions): Add atan2, hypot and pow.
12559         (special_fill_min): New function.
12560         (special_fill_minus_min): Likewise.
12561         (special_fill_min_subnorm): Likewise.
12562         (special_fill_minus_min_subnorm): Likewise.
12563         (special_real_inputs): Add min, -min, min_subnorm and
12564         -min_subnorm.
12565         (calc_generic_results): Handle mpfr_ff_f.
12566         * sysdeps/i386/fpu/libm-test-ulps: Update.
12567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12568
12569 2013-12-16  Will Newton  <will.newton@linaro.org>
12570
12571         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12572         (Aligned Memory Blocks): Add documentation for aligned_alloc
12573         and suggest it as an alternative to posix_memalign.
12574         (Hooks for Malloc): Document __memalign_hook is also called
12575         for aligned_alloc.  (Summary of Malloc): Add summary for
12576         aligned alloc.  Document __memalign_hook is also called
12577         for aligned_alloc.
12578
12579 2013-12-16  Will Newton  <will.newton@linaro.org>
12580
12581         * manual/memory.texi (Malloc Examples): Clarify default
12582         alignment documentation.  Suggest posix_memalign rather
12583         than memalign or valloc.
12584         (Aligned Memory Blocks): Remove suggestion to use memalign
12585         or valloc.  Remove obsolete comment about BSD.
12586         Document memalign errno values and mark the function obsolete.
12587         Document posix_memalign returned error codes.  Mark valloc
12588         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12589         called for posix_memalign and valloc.
12590         (Summary of Malloc): Add posix_memalign to function summary.
12591         __memalign_hook is also called for posix_memalign and valloc.
12592
12593 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12594
12595         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12596         TAYLOR_SIN.
12597         (__sin): Adjust.
12598         (__cos): Likewise.
12599         (sloww): Use mynumber union.  Expand ternary operator into
12600         if-else statements.
12601         (cslow): use mynumber union.
12602
12603 2013-12-16  Allan McRae  <allan@archlinux.org>
12604
12605         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12606         * configure: Regenerated.
12607
12608         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12609
12610         [BZ #14120]
12611         * configure.ac: Added --enable-maintainer-mode. Check for
12612         autoconf when enabled.
12613         * configure: Regenerated.
12614
12615         * nscd/nscd.service: New file.
12616         * nscd/nscd.tmpfiles: New file.
12617
12618 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12619
12620         [BZ #12100]
12621         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12622         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12623         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12624         (strstr): Add __strstr_sse2_unaligned ifunc.
12625         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12626         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12627         (strcasestr): Remove __strcasestr_sse42 ifunc.
12628         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12629         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12631
12632 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12633
12634         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12635         * sysdeps/sh/bits/fenv.h: ... here.
12636         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12637
12638 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12639
12640         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12641
12642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12643         hypotf multiarch implementations.
12644         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12645         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12646         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12647         multiarch hypot for PPC64.
12648         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12649         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12650         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12651         multiarch hypotf for PPC64.
12652
12653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12654         modff multiarch implementations.
12655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12658         multiarch modf for PPC64.
12659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12662         multiarch modff for PPC64.
12663
12664         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12665         and logl multiarch implementations.
12666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12669         multiarch logb for PPC64.
12670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12673         multiarch logb for PPC64.
12674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12677         multiarch logb for PPC64.
12678
12679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12680         isinff multiarch implementation.
12681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12682         file.
12683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12685         multiarch isinf for PPC64.
12686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12687         file.
12688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12689         multiarch isinff for PPC64.
12690
12691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12692         finitef multiarch implementation.
12693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12694         file.
12695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12697         multiarch finite for PPC64.
12698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12699         file.
12700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12701         multiarch finitef for PPC64.
12702
12703         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12704         lrint multiarch implementation.
12705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12706         file.
12707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12709         multiarch llrint for PPC64.
12710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12711         multiarch lrint for PPC64.
12712
12713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12714         copysignf multiarch implementation.
12715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12716         file.
12717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12718         file.
12719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12720         multiarch copysign for PPC64.
12721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12722         multiarch copysignf for PPC64.
12723
12724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12725         multiarch implementation.
12726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12727         file.
12728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12729         file.
12730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12731         file.
12732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12733         file.
12734         multiarch llround for PPC64.
12735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12736         multiarch trunc for PPC64.
12737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12738         multiarch truncf for PPC64.
12739
12740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12741         multiarch implementation.
12742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12743         file.
12744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12745         file.
12746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12747         file.
12748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12749         file.
12750         multiarch llround for PPC64.
12751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12752         multiarch round for PPC64.
12753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12754         multiarch roundf for PPC64.
12755
12756         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12757         multiarch implementation.
12758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12759         file.
12760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12761         file.
12762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12763         file.
12764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12765         file.
12766         multiarch llround for PPC64.
12767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12768         multiarch floor for PPC64.
12769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12770         multiarch floorf for PPC64.
12771
12772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12773         multiarch implementation.
12774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12775         file.
12776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12777         file.
12778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12779         file.
12780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12781         file.
12782         multiarch llround for PPC64.
12783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12784         multiarch ceil for PPC64.
12785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12786         multiarch ceilf for PPC64.
12787
12788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12789         multiarch implementation.
12790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12791         file.
12792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12793         file.
12794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12795         file.
12796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12797         multiarch llround for PPC64.
12798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12799         multiarch lround for PPC64.
12800
12801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12802         multiarch implementation.
12803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12806         file.
12807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12810         multiarch isnan for PPC64.
12811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12812         multiarch isnanf for PPC64.
12813
12814         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12815         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12816         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12817         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12818         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12820
12821         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12822         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12823         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12825
12826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12827         multiarch implementations.
12828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12829         (__libc_ifunc_impl_list): Likewise.
12830         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12831         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12832         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12833         multiarch stpcpy for PPC64.
12834
12835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12836         multiarch implementations.
12837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12838         (__libc_ifunc_impl_list): Likewise.
12839         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12840         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12841         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12842         multiarch strcpy for PPC64.
12843
12844         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12845         redefine function name.
12846         (_wordcopy_fwd_dest_aligned): Likewise.
12847         (_wordcopy_bwd_aligned): Likewise.
12848         (_wordcopy_bwd_dest_aligned): Likewise.
12849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12850         multiarch implementations.
12851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12852         (__libc_ifunc_impl_list): Likewise.
12853         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12854         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12855         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12856         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12857         multiarch wcscpy for PPC64.
12858
12859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12860         multiarch implementations.
12861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12862         (__libc_ifunc_impl_list): Likewise.
12863         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12864         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12865         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12866         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12867         multiarch wcscpy for PPC64.
12868
12869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12870         multiarch implementations.
12871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12872         (__libc_ifunc_impl_list): Likewise.
12873         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12874         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12875         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12876         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12877         multiarch wcsrchr for PPC64.
12878
12879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12880         multiarch implementations.
12881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12882         (__libc_ifunc_impl_list): Likewise.
12883         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12884         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12885         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12886         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12887         multiarch wcschr for PPC64.
12888
12889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12890         multiarch implementations.
12891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12892         (__libc_ifunc_impl_list): Likewise.
12893         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12894         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12895         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12896         multiarch strchrnul for PPC64.
12897
12898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12899         implementations.
12900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12901         (__libc_ifunc_impl_list): Likewise.
12902         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12903         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12904         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12905         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12906         strchr for PPC64.
12907
12908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12909         implementations.
12910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12911         (__libc_ifunc_impl_list): Likewise.
12912         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12913         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12914         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12915         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12916         strncmp for PPC64.
12917
12918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12919         multiarch implementations.
12920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12921         (__libc_ifunc_impl_list): Likewise.
12922         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12923         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12924         strncasecmp for PPC64.
12925         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12926         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12927         multiarch strncasecmp_l for PPC64.
12928
12929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12930         multiarch implementations.
12931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12932         (__libc_ifunc_impl_list): Likewise.
12933         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12934         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12935         multiarch strcasecmp for PPC64.
12936         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12937         file.
12938         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12939         multiarch strcasecmp_l for PPC64.
12940
12941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12942         implementations.
12943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12944         (__libc_ifunc_impl_list): Likewise.
12945         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12946         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12947         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12948         strnlen for PPC64.
12949
12950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12951         implementations.
12952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12953         (__libc_ifunc_impl_list): Likewise.
12954         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12955         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12956         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12957         strlen for PPC64.
12958
12959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12960         implementations.
12961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12962         (__libc_ifunc_impl_list): Likewise.
12963         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12964         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12965         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12966         rawmemrchr for PPC64.
12967
12968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12969         implementation.
12970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12971         (__libc_ifunc_impl_list): Likewise.
12972         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12973         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12974         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12975         memrchr for PPC64.
12976
12977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12978         implementation.
12979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12980         (__libc_ifunc_impl_list): Likewise.
12981         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12982         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12983         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12984         memchr for PPC64.
12985
12986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12987         implementation.
12988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12989         (__libc_ifunc_impl_list): Likewise.
12990         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12991         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12992         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12993         mempcpy for PPC64.
12994
12995         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12996         avoid cretion of __bzero symbol.
12997         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12998         Likewise.
12999         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13000         Likewise.
13001         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13002         Likewise.
13003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13004         multiarch implementations.
13005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13006         (__libc_ifunc_impl_list): Likewise.
13007         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13008         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13009         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13010         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13011         bzero for PPC32.
13012         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13013         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13014         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13015         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13016         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13017         memset for PPC64.
13018         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13019
13020         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13022         implementations.
13023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13024         (__libc_ifunc_impl_list): Likewise.
13025         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13026         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13027         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13028         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13029         memcmp for PPC64.
13030
13031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13032         multiarch for POWER/PPC64.
13033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13034         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13035         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13036         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13037         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13038         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13039         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13040         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13041         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13042         memcpy for PPC64.
13043
13044         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13045         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13046         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13047         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13048         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13049         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13050         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13051         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13052         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13053         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13054         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13055         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13056         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13057         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13058         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13066
13067 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13068
13069         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13070
13071 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13072
13073         * benchtests/Makefile (bench): Add exp2 and log2.
13074         (LDLIBS-bench-exp2): Add -lm.
13075         (LDLIBS-bench-log2): Likewise.
13076         * benchtests/exp2-inputs: New inputs file.
13077         * benchtests/log2-inputs: New inputs file.
13078         * benchtests/log-inputs: Add new inputs.
13079         * benchtests/tan-inputs: Likewise.
13080
13081 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13082
13083         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13084         definition...
13085         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13086         (csloww2): ... from here.
13087
13088         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13089         instead of structures.
13090         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13091         (POLYNOMIAL): Likewise.
13092         (TAYLOR_SLOW): Likewise.
13093         (__sin): Likewise.
13094         (__cos): Likewise.
13095         (slow1): Likewise.
13096         (slow2): Likewise.
13097         (sloww): Likewise.
13098         (sloww1); Likewise.
13099         (sloww2): Likewise.
13100         (bsloww1): Likewise.
13101         (bsloww2): Likewise.
13102         (cslow2): Likewise.
13103         (csloww): Likewise.
13104         (csloww1): Likewise.
13105         (csloww2): Likewise.
13106
13107 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13108
13109         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13110         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13111         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13112         * malloc/hooks.c (realloc_check): Likewise.
13113
13114         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13115         * malloc/arena.c: Remove PER_THREAD conditional.
13116         [!PER_THREAD]: Remove code.
13117         (ptmalloc_unlock_all2): Likewise.
13118         (ptmalloc_init): Likewise.
13119         (_int_new_arena): Likewise.
13120         (arena_get2): Likewise.
13121         * malloc/hooks.c (__malloc_get_state): Likewise.
13122         (__malloc_set_state): Likewise.
13123         * malloc/malloc.c: Likewise.
13124         (struct malloc_state): Likewise.
13125         (struct malloc_par): Likewise.
13126         (__libc_realloc): Likewise.
13127         (__libc_mallopt): Likewise.
13128
13129 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13130
13131         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13132
13133 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13134
13135         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13136         macro to a function.  Check for zero perturb_byte.
13137         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13138
13139         * malloc/malloc.c: (force_reg): Remove.
13140         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13141         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13142         force_reg by atomic_forced_read.
13143         * malloc/arena.c (ptmalloc_init): Likewise.
13144         * malloc/hooks.c (top_check): Likewise.
13145
13146 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13147
13148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13149
13150 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13151
13152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13153
13154 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13155
13156         * math/auto-libm-test-in: Add tests of lgamma.
13157         * math/auto-libm-test-out: Regenerated.
13158         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13159         (M_LOG_2_SQRT_PIl): Likewise.
13160         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13161         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13162         mpfr_f_f1.
13163         (func_calc_desc): Add mpfr_f_f1 union field.
13164         (ARGS1): New macro.
13165         (ARGS2): Likewise.
13166         (ARGS3): Likewise.
13167         (ARGS4): Likewise.
13168         (RET1): Likewise.
13169         (RET2): Likewise.
13170         (CALC): Likewise.
13171         (FUNC): Likewise.
13172         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13173         (test_functions): Add lgamma.
13174         (calc_generic_results): Handle mpfr_f_f1.
13175         * sysdeps/i386/fpu/libm-test-ulps: Update.
13176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13177
13178 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13179
13180         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13181         __mpn_add_n for PowerPC64/POWER7.
13182         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13183         __mpn_sub_n for PowerPC64/POWER7.
13184
13185         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13186         __mpn_addmul_1 for PowerPC64.
13187         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13188         __mpn_submul_1 for PowerPC64.
13189         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13190         for PowerPC64.
13191         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13192         for PowerPC64.
13193
13194 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13195
13196         [BZ #15089]
13197         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13198
13199 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13200
13201         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13202
13203         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13204         add multiarch folders.
13205         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13206         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13207         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13208         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13209         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13210         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13211         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13212         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13213         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13214         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13215         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13222
13223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13224         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13226         New file.
13227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13228         New file.
13229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13230         multiarch __ieee754_hypot for PowerPC32.
13231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13232         New file.
13233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13234         New file.
13235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13236         multiarch __ieee754_hypotf for PowerPC32.
13237
13238         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13239         long_double_symbol only if __logbl is defined.
13240         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13241         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13243         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13244         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13245         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13246         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13247         path for implementation.
13248         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13249         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13251         logb, and logbl multiarch implementations for PowerPC32.
13252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13253         file.
13254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13255         file.
13256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13257         multiarch logb for PowerPC32.
13258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13259         file.
13260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13261         file.
13262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13263         multiarch logbf for PowerPC32.
13264         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13266         file.
13267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13268         multiarch logbl implementation for PowerPC32.
13269
13270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13271         and modff multiarch implementations.
13272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13273         New file.
13274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13275         New file.
13276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13277         multiarch modf for PowerPC32.
13278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13279         New file.
13280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13281         New file.
13282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13283         multiarch modff for PowerPC32.
13284
13285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13286         and lrintf multiarch implementations.
13287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13288         New file.
13289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13290         New file.
13291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13292         multiarch lrint for PowerPC32.
13293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13294         file: multiarch lrintf for PowerPC32.
13295
13296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13297         and lroundf multiarch implementations.
13298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13299         New file.
13300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13301         New file.
13302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13303         New file.
13304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13305         multiarch lround for PowerPC32.
13306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13307         file: multiarch lroundf for PowerPC32.
13308
13309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13310         copysign and copysignf multiarch implementations.
13311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13312         New file.
13313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13314         New file.
13315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13316         file: multiarch copysign for PowerPC32.
13317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13318         file: multiarch copysignf for PowerPC32.
13319
13320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13321         and truncf multiarch implementations.
13322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13323         New file.
13324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13325         file.
13326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13327         multiarch trunc for PowerPC32.
13328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13329         New file.
13330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13331         New file.
13332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13333         multiarch truncf for PowerPC32.
13334
13335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13336         and roundf multiarch implementations.
13337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13338         New file.
13339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13340         file.
13341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13342         multiarch round for PowerPC32.
13343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13344         New file.
13345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13346         New file.
13347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13348         multiarch roundf for PowerPC32.
13349
13350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13351         and floorf multiarch implementations.
13352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13353         New file.
13354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13355         file.
13356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13357         multiarch floor for PowerPC32.
13358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13359         New file.
13360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13361         New file.
13362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13363         multiarch floorf for PowerPC32.
13364
13365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13366         and ceilf multiarch implementations.
13367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13368         New file.
13369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13370         file.
13371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13372         multiarch ceil for PowerPC32.
13373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13374         New file.
13375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13376         file.
13377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13378         multiarch ceilf for PowerPC32.
13379
13380         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13381         is defined.
13382         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13383         FINITEF is defined.
13384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13385         and finitef multiarch implementations.
13386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13387         New file.
13388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13389         file.
13390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13391         multiarch finite for PowerPC32.
13392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13393         New file.
13394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13395         file: multiarch finitef for PowerPC32.
13396
13397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13398         and isinff multiarch implementations.
13399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13400         file.
13401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13402         file.
13403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13404         multiarch isinf for PowerPC32.
13405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13406         New file.
13407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13408         multiarch isinff for PowerPC32.
13409
13410         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13411         alias when __isnan is defined.
13412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13413         and isnanf multiarch implementations.
13414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13415         file.
13416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13417         file.
13418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13419         file.
13420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13421         file.
13422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13423         multiarch isnan for PowerPC32.
13424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13425         New file.
13426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13427         New file.
13428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13429         multiarch isnanf for PowerPC32.
13430
13431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13432         and sqrtf multiarch implementations.
13433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13434         file.
13435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13436         file.
13437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13438         multiarch sqrt for PowerPC32.
13439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13440         file.
13441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13442         file.
13443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13444         multiarch sqrtf for PowerPC32.
13445
13446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13447         and llroundf multiarch implementations.
13448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13449         New file.
13450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13451         New file.
13452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13453         New file.
13454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13455         file: multiarch llround for PowerPC32.
13456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13457         file: multiarch llroundf for PowerPC32.
13458
13459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13460         multiarch PowerPC32 fpu implementations.
13461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13462         New file.
13463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13464         New file.
13465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13466         multiarch llrint for PowerPC32.
13467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13468         New file.
13469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13470         New file.
13471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13472         file.
13473
13474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13475
13476         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13477         file.
13478         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13479         file.
13480         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13481         file.
13482         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13483         multiarch wordcopy for PPC32.
13484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13485         wordcopy objects.
13486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13487         (__libc_ifunc_impl_list): Likewise.
13488         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13489         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13490         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13491         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13492         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13493         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13494
13495         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13496         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13497         file.
13498         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13499         file.
13500         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13501         file.
13502         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13503         multiarch wcscpy for PPC32.
13504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13505         multiarch objects.
13506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13507         (__libc_ifunc_impl_list): Likewise.
13508         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13509         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13510         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13511         sysdeps/powerpc/power6/wcscpy.c.
13512
13513         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13515         file.
13516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13517         file.
13518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13519         file.
13520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13521         multiarch wcsrchr for PPC32.
13522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13523         multiarch objects.
13524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13525         (__libc_ifunc_impl_list): Likewise.
13526         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13527         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13528         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13529         sysdeps/powerpc/power6/wcsrchr.c.
13530
13531         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13532         file.
13533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13534         file.
13535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13536         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13537         multiarch wcschr for PPc32.
13538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13539         multiarch objects.
13540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13541         (__libc_ifunc_impl_list): Likewise.
13542         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13543         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13544         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13545         sysdeps/powerpc/power6/wcschr.c.
13546
13547         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13548         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13549         file.
13550         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13551         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13552         file: multiarch strchr for PPC32.
13553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13554         multiarch objects.
13555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13556         (__libc_ifunc_impl_list): Likewise.
13557
13558         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13559         name.
13560         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13561         file.
13562         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13563         file.
13564         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13565         multiarch strchrnul for PPC32.
13566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13567         multiarch objects.
13568         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13569         (__libc_ifunc_impl_list): Likewise.
13570
13571         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13572         file.
13573         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13574         multiarch strncasecmp for PPC32.
13575         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13576         file.
13577         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13578         multiarch strncasecmp_l for PPC32.
13579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13580         strncasecmp multiarch objects.
13581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13582         (__libc_ifunc_impl_list): Likewise.
13583
13584         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13585         file.
13586         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13587         multiarch strncasecmp for PPC32.
13588         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13589         New file.
13590         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13591         multiarch strcasecmp_l for PPC32.
13592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13593         multiarch objects.
13594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13595         (__libc_ifunc_impl_list): Likewise.
13596
13597         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13598         file.
13599         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13600         file.
13601         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13602         multiarch strncmp for PPC32.
13603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13604         multiarch objects.
13605         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13606         (__libc_ifunc_impl_list): Likewise.
13607
13608         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13609         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13610         file.
13611         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13612         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13614         multiarch objects.
13615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13616         (__libc_ifunc_impl_list): Likewise.
13617
13618         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13619         file.
13620         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13621         file.
13622         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13624         multiarch objects.
13625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13626         (__libc_ifunc_impl_list): Likewise.
13627
13628         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13629         file.
13630         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13631         file.
13632         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13633         multiarch rawmemchr for PPC32.
13634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13635         multiarch objects.
13636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13637         (__libc_ifunc_impl_list): Likewise.
13638
13639         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13640         file.
13641         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13642         file.
13643         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13644         file: memrchr multiarch for PPC32.
13645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13646         multiarch objects.
13647         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13648         (__libc_ifunc_impl_list): Likewise.
13649
13650         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13651         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13652         file.
13653         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13654         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13655         multiarch memchr for PPC32.
13656         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13657         multiarch objects.
13658         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13659         (__libc_ifunc_impl_list): Likewise.
13660
13661         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13662         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13663         file.
13664         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13665         file.
13666         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13667         file: multiarch mempcpy for PPC32.
13668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13669         multiarch objects.
13670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13671         (__libc_ifunc_impl_list): Likewise.
13672
13673         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13674         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13675         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13676         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13677         multiarch bzero for PPC32.
13678         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13679         file.
13680         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13681         file.
13682         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13683         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13684         file: multiarch memset for PPC32.
13685         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13687         memset multiarch objects.
13688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13689         (__libc_ifunc_impl_list): Likewise.
13690
13691         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13692         file.
13693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13694         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13695         memcmp for PPC32.
13696         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13697         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13698         multiarch objects.
13699         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13700         (__libc_ifunc_impl_list): Likewise.
13701
13702         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13703         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13704         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13705         file.
13706         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13707         file.
13708         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13709         file.
13710         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13711         multiarch memcpy for PPC32.
13712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13713         multiarch objects.
13714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13715         (__libc_ifunc_impl_list): Likewise.
13716
13717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13718         support multiarch for POWER/PPC32.
13719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13720         Likewise.
13721         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13723         Implies file to make multiarch folder appers before the fpu and
13724         default folder for power4 configuration.
13725
13726 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13727
13728         * scripts/bench.pl: Append volatile keyword to type.
13729
13730 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13731
13732         * sysdeps/sh/sotruss-lib.c: New file.
13733         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13734
13735 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13736
13737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13738
13739 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13740
13741         [BZ #6810]
13742         * math/w_tgamma.c: Include <errno.h>.
13743         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13744         * math/w_tgammaf.c: Include <errno.h>.
13745         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13746         * math/w_tgammal.c: Include <errno.h>.
13747         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13748         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13749         underflow.  Add more tgamma tests.
13750         * math/auto-libm-test-out: Regenerated.
13751         * sysdeps/i386/fpu/libm-test-ulps: Update.
13752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13753
13754         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13755         sin, sinh, tan, tanh, tgamma, y0 and y1.
13756         * math/auto-libm-test-out: Regenerated.
13757         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13758         (TEST_COND_x86): Likewise.
13759         (M_E2l): Remove macro.
13760         (M_E3l): Likewise.
13761         (M_2_SQRT_PIl): Likewise.
13762         (M_SQRT_PIl): Likewise.
13763         (M_1_DIV_El): Likewise.
13764         (log_test_data): Use AUTO_TESTS_f_f.
13765         (log10_test_data): Likewise.
13766         (log1p_test_data): Likewise.
13767         (log2_test_data): Likewise.
13768         (sin_test_data): Likewise.
13769         (sin_tonearest_test_data): Likewise.
13770         (sin_towardzero_test_data): Likewise.
13771         (sin_downward_test_data): Likewise.
13772         (sin_upward_test_data): Likewise.
13773         (sinh_test_data): Likewise.
13774         (sinh_tonearest_test_data): Likewise.
13775         (sinh_towardzero_test_data): Likewise.
13776         (sinh_downward_test_data): Likewise.
13777         (sinh_upward_test_data): Likewise.
13778         (tan_test_data): Likewise.
13779         (tan_tonearest_test_data): Likewise.
13780         (tan_towardzero_test_data): Likewise.
13781         (tan_downward_test_data): Likewise.
13782         (tan_upward_test_data): Likewise.
13783         (tanh_test_data): Likewise.
13784         (tgamma_test_data): Likewise.
13785         (y0_test_data): Likewise.
13786         (y1_test_data): Likewise.
13787         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13788         (special_real_inputs): Add pi/4.
13789         * sysdeps/i386/fpu/libm-test-ulps: Update.
13790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13791
13792 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13793
13794         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13795         "longjmp_target" static probes.
13796         (__longjmp): Rename to __longjmp_symbol.
13797         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13798         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13799         on which longjmp to generate.
13800         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13801         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13802         probe.
13803         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13804         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13805         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13806         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13807         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13808         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13810         __longjmp_symbol based on which __longjmp to generate.
13811         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13812         probe.
13813         (setjmp): Rename to setjmp_symbol.
13814         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13815         (_setjmp): Rename to _setjmp_symbol.
13816         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13817         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13818         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13819         which setjmp to generate.
13820         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13821         "longjmp_target" static probes.
13822
13823 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13824
13825         * benchtests/README: Add note about output arguments.
13826         * benchtests/bench-sincos.c: Remove file.
13827         * benchtests/sincos-inputs: New file.
13828         * scripts/bench.pl: Identify output arguments and define
13829         static variables for them.
13830
13831         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13832
13833         [BZ #15941]
13834         * Makefile (INSTALL): Add install-plain.texi as the primary
13835         dependency.
13836         * manual/install-plain.texi: New file.
13837         * manual/install.texi: Include node directive only for
13838         non-plaintext output.
13839
13840 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13841
13842         * stdlib/longlong.h: Update from GCC.
13843
13844         [BZ #6807]
13845         [BZ #15901]
13846         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13847         * math/w_j0f.c (y0f): Likewise.
13848         * math/w_j0l.c (__y0l): Likewise.
13849         * math/w_j1.c (y1): Likewise.
13850         * math/w_j1f.c (y1f): Likewise.
13851         * math/w_j1l.c (__y1l): Likewise
13852         * math/w_jn.c (yn): Likewise.
13853         * math/w_jnf.c (ynf): Likewise.
13854         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13855         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13856         value for Bessel function domain errors outside _SVID_ mode.
13857         Adjust sign of return value for yn (negative integer, 0).
13858         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13859         by zero in return for negative x and set sign appropriately for
13860         negative n.
13861         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13862         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13863         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13864         expectations in error cases.
13865         (y1_test_data): Likewise.
13866         (yn_test_data): Likewise.
13867         * sysdeps/i386/fpu/libm-test-ulps: Update.
13868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13869
13870 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13871
13872         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13873         "64" to "64-v1".  Add "64-v2".
13874         (abi-64-options): Rename to ...
13875         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13876         (abi-64-condition): Rename to ...
13877         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13878         (abi-64-ld-soname): Rename to ...
13879         (abi-64-v1-ld-soname): ... this.
13880         (abi-64-v2-options): Define.
13881         (abi-64-v2-condition): Likewise.
13882         (abi-64-v2-ld-soname): Likewise.
13883         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13884         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13888
13889 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13890             Alan Modra  <amodra@gmail.com>
13891
13892         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13893         New versions for use with the ELFv2 ABI.
13894         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13895         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13896         declaration.
13897         (struct La_ppc64v2_retval): Likewise.
13898         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13899         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13900         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13901         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13902         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13903         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13904         Do not save or restore CR.
13905         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13906         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13907         return values for ELFv2 ABI.  Fix location of FPR return registers.
13908         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13909         updated values for _CALL_ELF == 2.
13910         (La_regs, La_retval, int_retval): Likewise.
13911
13912 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13913
13914         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13915         (FRAME_MIN_SIZE_PARM): Likewise.
13916         (FRAME_BACKCHAIN): Likewise.
13917         (FRAME_CR_SAVE): Likewise.
13918         (FRAME_LR_SAVE): Likewise.
13919         (FRAME_TOC_SAVE): Likewise.
13920         (FRAME_PARM_SAVE): Likewise.
13921         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13922         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13923         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13924         (call_mcount_parm_offset): New macro.
13925         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13926         (PROF): Use symbolic stack frame offsets.
13927         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13928         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13929         Redefine in terms of FRAME_MIN_SIZE.
13930         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13931         (_dl_profile_resolve): Likewise.  Update comment.
13932         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13933         symbols stack frame offsets.
13934         (__sigsetjmp): Likewise.
13935         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13936         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13937         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13938         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13939
13940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13941         (FRAME_BACKCHAIN): Remove.
13942         (FRAME_CR_SAVE): Likewise.
13943         (FRAME_LR_SAVE): Likewise.
13944         (FRAME_COMPILER_DW): Likewise.
13945         (FRAME_LINKER_DW): Likewise.
13946         (FRAME_TOC_SAVE): Likewise.
13947         (FRAME_PARM_SAVE): Likewise.
13948         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13949         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13950         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13952         (CHECK_SP): Use symbolic stack frame offsets.
13953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13954         zone" instead of caller's parameter save area for temp storage.
13955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13956         Likewise.  Also, use symbolic stack frame offsets.
13957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13958         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13959         our own stack frame instead of the caller's.
13960         (__socket): Use symbolic stack frame offsets.
13961
13962 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13963             Alan Modra  <amodra@gmail.com>
13964
13965         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13966         Define.
13967         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13968         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13969         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13970         New function.
13971         (elf_machine_fixup_plt): Call it.
13972         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13973         reloc arguments.
13974         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13975         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13976         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13977         r2 before calling target.
13978
13979 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13980             Alan Modra  <amodra@gmail.com>
13981
13982         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13983         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13984         versions of macros to support ELFv2 ABI.
13985         (LOCALENTRY): New macro.
13986         (ENTRY, EALIGN): Use it.
13987         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13988         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13989         fall through into ENTRY entry point.
13990         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13991         Only define if _CALL_ELF != 2.
13992
13993         (elf_machine_matches_host): Verify ABI version matches.
13994         (RTLD_START): Use LOCALENTRY.
13995         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13996         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13997         (PLT_ENTRY_WORDS): New macro.
13998         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13999         (elf_machine_runtime_setup): Support ELFv2 ABI.
14000         (elf_machine_fixup_plt): Likewise.
14001         (elf_machine_plt_conflict): Likewise.
14002         (resolve_ifunc): Likewise.
14003         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14004         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14005         Likewise.
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14007         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14009         (makecontext): Support ELFv2 ABI.
14010         * elf/elf.h (EF_PPC64_ABI): Define.
14011
14012 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14013
14014         * sysdeps/powerpc/powerpc64/sysdep.h
14015         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14016         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14017         (ENTRY) [ASSEMBLER]: ... but instead here ...
14018         (EALIGN) [ASSEMBLER]: ... and here.
14019         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14020         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14021         (ENTRY_2) [!ASSEMBLER]: Use it.
14022         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14023         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14024         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14025         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14026         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14028         Use PPC64_LOAD_FUNCPTR.
14029
14030         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14031
14032 2013-12-04  Alan Modra  <amodra@gmail.com>
14033
14034         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14035         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14036         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14037         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14038
14039         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14040         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14041         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14042         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14043         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14044         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14045
14046 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14047
14048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14049         (__makecontext): Fix incorrect CFI when backtracing out of
14050         context created via makecontext.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14052         (__setcontext): Fix incorrect CFI during switch to new context.
14053         (__novec_setcontext): Likewise.
14054
14055 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14056
14057         [BZ #4772]
14058         * time/strptime_l.c (__strptime_internal): Allow modifiers
14059         in strptime.
14060         * time/tst-strptime.c (day_tests): Add testcase.
14061
14062 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14063
14064         * scripts/bench.pl: Skip over blank lines.
14065
14066 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14067
14068         [BZ #926]
14069         * manual/time.texi (Calendar Time): Clarify what timezone functions
14070         use.
14071
14072 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14073
14074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14075
14076 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14077
14078         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14079         implementation.
14080         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14081         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14082         * debug/memset_chk.c (__memset_chk): Likewise.
14083         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14084         * debug/strncpy_chk.c: Likewise.
14085
14086 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14087
14088         [BZ #15268]
14089         [BZ #15425]
14090         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14091         (__ieee754_exp): For possibly underflowing results, check size of
14092         result and force underflow exception if required.
14093         * math/auto-libm-test-in: Add more tests of exp.
14094         * math/auto-libm-test-out: Regenerated.
14095         * sysdeps/i386/fpu/libm-test-ulps: Update.
14096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14097
14098         [BZ #16283]
14099         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14100         * math/w_exp2f.c (__exp2f): Likewise.
14101         * math/w_exp2l.c (__exp2l): Likewise.
14102         * math/auto-libm-test-in: Do not allow missing errno on exp2
14103         underflow.
14104         * math/auto-libm-test-out: Regenerated.
14105
14106 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14107
14108         [BZ #16274]
14109         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14110         handle filename validation.
14111         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14112         (do_open): Delete.
14113
14114 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14115
14116         [BZ #6786]
14117         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14118         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14119         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14120         <float.h>.
14121         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14122         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14123         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14124         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14125         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14126         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14127         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14128         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14129         Add more erfc tests.
14130         * math/auto-libm-test-out: Regenerated.
14131         * sysdeps/i386/fpu/libm-test-ulps: Update.
14132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14133
14134         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14135         exp2, expm1, j0 and j1.
14136         * math/auto-libm-test-out: Regenerated.
14137         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14138         (erfc_test_data): Likewise.
14139         (exp_test_data): Likewise.
14140         (exp_tonearest_test_data): Likewise.
14141         (exp_towardzero_test_data): Likewise.
14142         (exp_downward_test_data): Likewise.
14143         (exp_upward_test_data): Likewise.
14144         (exp10_test_data): Likewise.
14145         (exp2_test_data): Likewise.
14146         (expm1_test_data): Likewise.
14147         (j0_test_data): Likewise.
14148         (j1_test_data): Likewise.
14149         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14150         (input_flag_type): Add flag_xfail_rounding.
14151         (input_flags): Add xfail-rounding.
14152         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14153         (output_for_one_input_case): Handle flag_xfail_rounding.
14154         * sysdeps/i386/fpu/libm-test-ulps: Update.
14155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14156
14157 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14158
14159         [BZ #16289]
14160         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14161         division by 0.
14162
14163 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14164
14165         [BZ #16195]
14166         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14167         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14168         (STAP_PROBE0): New macro.
14169         (STAP_PROBE1): Likewise.
14170         (STAP_PROBE2): Likewise.
14171         (STAP_PROBE3): Likewise.
14172         (STAP_PROBE4): Likewise.
14173
14174 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14175
14176         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14177
14178 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14179
14180         * benchtests/Makefile (bench): Add sqrt.
14181         (LDLIBS-bench-sqrt): New.
14182         * benchtests/sqrt-input: New.
14183
14184 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14185
14186         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14187         (GAIH_EAI): Likewise.
14188         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14189         (gaih_inet): Likewise.
14190         (getaddrinfo): Don't use GAIH_EAI.
14191
14192         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14193         (struct gaih): Remove definition.
14194
14195 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14196
14197         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14198         Use HERRNOP directly.
14199
14200 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14201
14202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14203
14204 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14205
14206         * math/gen-auto-libm-tests.c (test_functions): Add more
14207         single-argument functions.
14208         (special_fill_pi_2): New function.
14209         (special_fill_minus_pi_2): Likewise.
14210         (special_fill_pi_6): Likewise.
14211         (special_fill_minus_pi_6): Likewise.
14212         (special_fill_pi_3): Likewise.
14213         (special_fill_2pi_3): Likewise.
14214         (special_fill_e): Likewise.
14215         (special_fill_1_e): Likewise.
14216         (special_fill_e_minus_1): Likewise.
14217         (special_real_inputs): Add more special inputs.
14218         (output_for_one_input_case): Do not require ERANGE on underflow to
14219         zero if round-to-nearest result does not underflow to zero, unless
14220         exact results required.
14221         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14222         atan, atanh, cbrt, cos and cosh.
14223         * math/auto-libm-test-out: Regenerated.
14224         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14225         (acos_tonearest_test_data): Likewise.
14226         (acos_towardzero_test_data): Likewise.
14227         (acos_downward_test_data): Likewise.
14228         (acos_upward_test_data): Likewise.
14229         (acosh_test_data): Likewise.
14230         (asin_test_data): Likewise.
14231         (asin_tonearest_test_data): Likewise.
14232         (asin_towardzero_test_data): Likewise.
14233         (asin_upward_test_data): Likewise.
14234         (asinh_test_data): Likewise.
14235         (atan_test_data): Likewise.
14236         (atanh_test_data): Likewise.
14237         (cbrt_test_data): Likewise.
14238         (cos_test_data): Likewise.
14239         (cos_tonearest_test_data): Likewise.
14240         (cos_towardzero_test_data): Likewise.
14241         (cos_downward_test_data): Likewise.
14242         (cos_upward_test_data): Likewise.
14243         (cosh_test_data): Likewise.
14244         (cosh_tonearest_test_data): Likewise.
14245         (cosh_towardzero_test_data): Likewise.
14246         (cosh_downward_test_data): Likewise.
14247         (cosh_upward_test_data): Likewise.
14248         * sysdeps/i386/fpu/libm-test-ulps: Update.
14249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14250
14251 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14252
14253         [BZ #6787]
14254         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14255         * math/w_exp10f.c (__exp10f): Likewise.
14256         * math/w_exp10l.c (__exp10l): Likewise.
14257         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14258         errno settings in existing tests.
14259
14260         [BZ #14032]
14261         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14262         precision control set to double precision.
14263         * sysdeps/i386/fpu/w_sqrt.c: New file.
14264         * math/auto-libm-test-in: Add more tests.
14265         * math/auto-libm-test-out: Update.
14266
14267         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14268         (sqrt_test_tonearest): New function.
14269         (sqrt_towardzero_test_data): New variable.
14270         (sqrt_test_towardzero): New function.
14271         (sqrt_downward_test_data): New variable.
14272         (sqrt_test_downward): New function.
14273         (sqrt_upward_test_data): New variable.
14274         (sqrt_test_upward): New function.
14275         (main): Call the new functions.
14276
14277         * math/gen-auto-libm-tests.c: New file.
14278         * math/auto-libm-test-in: Likewise.
14279         * math/auto-libm-test-out: New generated file.
14280         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14281         variables.
14282         (%beautify): Add generated representations of zero.
14283         (top level): Set $auto_input and call parse_auto_input.
14284         (beautify): Remove trailing "f" from hex float constants.
14285         (parse_args): Handle XFAIL_TEST.
14286         (convert_condition): New function.
14287         (or_value): Likewise.
14288         (or_cond_value): Likewise.
14289         (generate_testfile): Handle AUTO_TESTS_* lines.
14290         (parse_auto_input): New function.
14291         * math/libm-test.inc (XFAIL_TEST): New macro.
14292         (ERRNO_UNCHANGED): Update value.
14293         (ERRNO_EDOM): Likewise.
14294         (ERRNO_ERANGE): Likewise.
14295         (IGNORE_RESULT): Likewise.
14296         (TEST_COND_flt_32): New macro.
14297         (TEST_COND_dbl_64): Likewise.
14298         (TEST_COND_ldbl_96_intel): Likewise.
14299         (TEST_COND_ldbl_96_m68k): Likewise.
14300         (TEST_COND_ldbl_128): Likewise.
14301         (TEST_COND_ldbl_128ibm): Likewise.
14302         (TEST_COND_long32): Likewise.
14303         (TEST_COND_long64): Likewise.
14304         (TEST_COND_before_rounding): Likewise.
14305         (TEST_COND_after_rounding): Likewise.
14306         (enable_test): Handle XFAIL_TEST flag.
14307         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14308         with finite results.
14309         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14310         auto-libm-test-out.
14311
14312 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14313             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14314
14315         [BZ #16214]
14316         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14317         __tls_get_addr_internal instead of __tls_get_offset in order to
14318         avoid GOT pointer dependency.  Make rtld export
14319         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14320         __tls_get_addr since we are a __tls_get_offset platform.
14321         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14322         GOT pointer being set up before.
14323         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14324
14325 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14326
14327         * manual/math.texi (Errors in Math Functions): Document accuracy
14328         goals.
14329
14330         [BZ #15004]
14331         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14332         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14333         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14334         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14335         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14336         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14337         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14338         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14339         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14340         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14341         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14342         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14343         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14344         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14345         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14346         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14347
14348         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14349         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14350         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14351         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14352         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14353         Likewise.
14354         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14355         Likewise.
14356         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14357         Likewise.
14358         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14359         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14360         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14361         atomic-feupdateenv and flt-rounds.
14362         * sysdeps/powerpc/nofpu/Versions (libc): Add
14363         __atomic_feholdexcept, __atomic_feclearexcept,
14364         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14365         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14366         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14367         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14368         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14369         here.
14370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14371         Update.
14372
14373         * manual/arith.texi (FP Exceptions): Document that exceptions may
14374         not be raised when matherr is used.
14375         (Math Error Reporting): Document overflow in directed rounding
14376         modes.  Document that errno may not be set when finite values are
14377         returned on overflow.  Document intent to set errno on underflow
14378         only for underflow to zero.
14379
14380         [BZ #16271]
14381         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14382         round-to-nearest then adjust result for other rounding modes.
14383         * include/fenv.h (fegetround): Use libm_hidden_proto.
14384         * math/fegetround.c (fegetround): Use libm_hidden_def.
14385         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14386         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14387         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14388         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14389         Likewise.
14390         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14391         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14392         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14393         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14394
14395 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14396
14397         [BZ #16077]
14398         * nss/Versions (libnss_files): Add
14399         _nss_files_gethostbyname3_r.
14400         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14401         New function.
14402         (HOST_DB_LOOKUP): Remove macro.
14403         (_nss_files_gethostbyname_r): Implement function without the
14404         HOST_DB_LOOKUP macro.
14405         (_nss_files_gethostbyname2_r): Likewise.
14406
14407 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14408
14409         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14410
14411 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14412
14413         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14414         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14415         warning.
14416
14417 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14418
14419         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14420         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14421         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14422         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14423         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14424         __fe_nomask_env_priv and attribute_hidden.
14425         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14426         (libc_feupdateenv_test_ppc): Likewise.
14427         (libc_feresetround_ppc): Likewise.
14428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14429         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14430         compat_symbol macro.
14431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14432         (__fe_nomask_env): Likewise.
14433         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14434
14435 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14436
14437         * string/Makefile: Remove ifunc tests.
14438         * string/test-string.h: Define TEST_IFUNC.
14439         * string/test-bcopy-ifunc.c: Remove.
14440         * string/test-bzero-ifunc.c: Likewise.
14441         * string/test-memccpy-ifunc.c: Likewise.
14442         * string/test-memchr-ifunc.c: Likewise.
14443         * string/test-memcmp-ifunc.c: Likewise.
14444         * string/test-memcpy-ifunc.c: Likewise.
14445         * string/test-memmem-ifunc.c: Likewise.
14446         * string/test-memmove-ifunc.c: Likewise.
14447         * string/test-mempcpy-ifunc.c: Likewise.
14448         * string/test-memrchr-ifunc.c: Likewise.
14449         * string/test-memset-ifunc.c: Likewise.
14450         * string/test-rawmemchr-ifunc.c: Likewise.
14451         * string/test-stpcpy-ifunc.c: Likewise.
14452         * string/test-stpncpy-ifunc.c: Likewise.
14453         * string/test-strcasecmp-ifunc.c: Likewise.
14454         * string/test-strcasestr-ifunc.c: Likewise.
14455         * string/test-strcat-ifunc.c: Likewise.
14456         * string/test-strchr-ifunc.c: Likewise.
14457         * string/test-strchrnul-ifunc.c: Likewise.
14458         * string/test-strcmp-ifunc.c: Likewise.
14459         * string/test-strcpy-ifunc.c: Likewise.
14460         * string/test-strcspn-ifunc.c: Likewise.
14461         * string/test-strlen-ifunc.c: Likewise.
14462         * string/test-strncasecmp-ifunc.c: Likewise.
14463         * string/test-strncat-ifunc.c: Likewise.
14464         * string/test-strncmp-ifunc.c: Likewise.
14465         * string/test-strncpy-ifunc.c: Likewise.
14466         * string/test-strnlen-ifunc.c: Likewise.
14467         * string/test-strpbrk-ifunc.c: Likewise.
14468         * string/test-strrchr-ifunc.c: Likewise.
14469         * string/test-strspn-ifunc.c: Likewise.
14470         * string/test-strstr-ifunc.c: Likewise.
14471
14472 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14473
14474         * benchtests/Makefile: Remove ifunc tests.
14475         * benchtests/bench-string.h: Define TEST_IFUNC.
14476         * benchtests/bench-bcopy-ifunc.c: Remove.
14477         * benchtests/bench-bzero-ifunc.c: Likewise.
14478         * benchtests/bench-memccpy-ifunc.c: Likewise.
14479         * benchtests/bench-memchr-ifunc.c: Likewise.
14480         * benchtests/bench-memcmp-ifunc.c: Likewise.
14481         * benchtests/bench-memcpy-ifunc.c: Likewise.
14482         * benchtests/bench-memmem-ifunc.c: Likewise.
14483         * benchtests/bench-memmove-ifunc.c: Likewise.
14484         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14485         * benchtests/bench-memrchr-ifunc.c: Likewise.
14486         * benchtests/bench-memset-ifunc.c: Likewise.
14487         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14488         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14489         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14490         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14491         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14492         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14493         * benchtests/bench-strcat-ifunc.c: Likewise.
14494         * benchtests/bench-strchr-ifunc.c: Likewise.
14495         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14496         * benchtests/bench-strcmp-ifunc.c: Likewise.
14497         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14498         * benchtests/bench-strcpy-ifunc.c: Likewise.
14499         * benchtests/bench-strcspn-ifunc.c: Likewise.
14500         * benchtests/bench-strlen-ifunc.c: Likewise.
14501         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14502         * benchtests/bench-strncat-ifunc.c: Likewise.
14503         * benchtests/bench-strncmp-ifunc.c: Likewise.
14504         * benchtests/bench-strncpy-ifunc.c: Likewise.
14505         * benchtests/bench-strnlen-ifunc.c: Likewise.
14506         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14507         * benchtests/bench-strrchr-ifunc.c: Likewise.
14508         * benchtests/bench-strsep-ifunc.c: Likewise.
14509         * benchtests/bench-strspn-ifunc.c: Likewise.
14510         * benchtests/bench-strstr-ifunc.c: Likewise.
14511
14512 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14513
14514         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14515
14516 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14517
14518         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14519         * rt/aio.h: Likewise.
14520         * sysdeps/gnu/bits/utmp.h: Likewise.
14521         * sysdeps/gnu/bits/utmpx.h: Likewise.
14522         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14523         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14524         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14525         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14526         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14527         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14528         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14529         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14530         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14531         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14532         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14533         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14534         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14536         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14537         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14538         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14539         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14540         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14541         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14542         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14543         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14544         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14545         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14546         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14548         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14549         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14550         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14551         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14552         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14553         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14554         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14555         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14556         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14557         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14558         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14559         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14560         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14561         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14562         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14563         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14564
14565 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14566
14567         [BZ #16245]
14568         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14569         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14570
14571 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14572
14573         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14574         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14575         Likewise.
14576
14577 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14578
14579         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14580         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14581         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14582         (__fesetround): Remove define.
14583         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14584         rounding and exceptions handling.
14585         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14586         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14587         (__fe_nomask_env): Likewise.
14588         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14589         __fegetround instead of fegetround.
14590         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14591         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14592
14593 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14594
14595         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14596         it's there.
14597
14598         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14599
14600 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14601
14602         [BZ #11157]
14603         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14604         (encrypt_r): Likewise.
14605         * malloc/obstack.h (obstack_free): Likewise.
14606         * posix/unistd.h (encrypt): Likewise.
14607
14608 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14609
14610         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14611         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14612         DL_CALL_DT_FINI() that call the functions directly.
14613         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14614         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14615         * elf/dl-fini.c: Likewise.
14616
14617 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14618
14619         * malloc/hooks.c (memalign_check): Add alignment rounding.
14620         * malloc/malloc.c (_mid_memalign): New function.
14621         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14622         Implement by calling _mid_memalign.
14623         * manual/probes.texi (Memory Allocation Probes): Remove
14624         memory_valloc_retry and memory_pvalloc_retry.
14625
14626 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14627
14628         * locale/programs/locarchive.c (open_archive): Add const
14629         qualifier to ARCHIVEFNAME and copy default fname to
14630         DEFAULT_FNAME.
14631
14632         [BZ #15601]
14633         * libio/tst-widetext.input: Rename Oriya to Odia.
14634         * locale/iso-639.def: Likewise.
14635
14636         * manual/probes.texi (Mathematical Function Probes): Add
14637         documentation for sin, cos, asin and acos probes.
14638         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14639         (__sin32): Add slowasin probe.
14640         (__cos32): Add slowacos probe.
14641         (__mpsin): Add slowsin probe.
14642         (__mpcos): Add slowcos probe.
14643
14644 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14645
14646         [BZ #15483]
14647         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14648         thread-local __sim_exceptions_thread and global
14649         __sim_exceptions_global.
14650         (__sim_disabled_exceptions): Change to thread-local
14651         __sim_disabled_exceptions_thread and global
14652         __sim_disabled_exceptions_global.
14653         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14654         and global __sim_round_mode_global.
14655         (__simulate_exceptions): Use thread-local floating-point state and
14656         set global state from it as needed.
14657         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14658         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14659         __sim_round_mode_thread.
14660         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14661         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14662         and global __sim_exceptions_global.
14663         (__sim_disabled_exceptions): Change to thread-local
14664         __sim_disabled_exceptions_thread and global
14665         __sim_disabled_exceptions_global.
14666         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14667         and global __sim_round_mode_global.
14668         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14669         (SIM_SET_GLOBAL): Likewise.
14670         * sysdeps/powerpc/soft-fp/sfp-machine.h
14671         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14672         __sim_round_mode_thread.
14673         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14674         __sim_disabled_exceptions_thread.
14675         (__sim_exceptions): Change to __sim_exceptions_thread.
14676         (__sim_disabled_exceptions): Change to
14677         __sim_disabled_exceptions_thread.
14678         (__sim_round_mode): Change to __sim_round_mode_thread.
14679         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14680         thread-local floating-point state and set global state from it as
14681         needed.
14682         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14683         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14684         (__sim_disabled_exceptions): Remove extern declaration.
14685         (feenableexcept): Use thread-local floating-point state and set
14686         global state from it as needed.
14687         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14688         extern declaration.
14689         (__sim_disabled_exceptions): Likewise.
14690         (__sim_round_mode): Likewise.
14691         (__fegetenv): Use thread-local floating-point state.
14692         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14693         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14694         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14695         floating-point state and set global state from it as needed.
14696         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14697         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14698         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14699         Likewise.
14700         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14701         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14702         Likewise.
14703         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14704         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14705         Use __sim_round_mode_thread.
14706         * math/test-fenv-tls.c: New file.
14707         * math/Makefile (tests): Add test-fenv-tls.
14708         ($(objpfx)test-fenv-tls): Depend on
14709         $(common-objpfx)nptl/libpthread.so.
14710
14711 2013-11-19  Andreas Schwab  <schwab@suse.de>
14712
14713         * locale/programs/locale.c (show_info): Decode wordarray elements.
14714         * locale/categories.def (LC_MONETARY): Add element for
14715         _NL_MONETARY_CRNCYSTR.
14716         * locale/C-monetary.c (conversion_rate): New variable.
14717         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14718         element.
14719
14720 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14721
14722         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14723         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14724
14725 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14726
14727         * elf/Makefile (tst-auxv): New test.
14728         * elf/tst-auxv.c: New
14729         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14730
14731 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14732
14733         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14734         (hidden_proto): Caller changed.
14735         (hidden_tls_proto): New macro.
14736         (libc_hidden_tls_proto): Likewise.
14737         (rtld_hidden_tls_proto): Likewise.
14738         (libm_hidden_tls_proto): Likewise.
14739         (libresolv_hidden_tls_proto): Likewise.
14740         (librt_hidden_tls_proto): Likewise.
14741         (libdl_hidden_tls_proto): Likewise.
14742         (libnss_files_hidden_tls_proto): Likewise.
14743         (libnsl_hidden_tls_proto): Likewise.
14744         (libnss_nisplus_hidden_tls_proto): Likewise.
14745         (libutil_hidden_tls_proto): Likewise.
14746
14747 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14748
14749         [BZ #10253]
14750         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14751         (decompose_rpath): Defer expansion to fillin_rpath.
14752         (_dl_init_paths): Pass linkmap to fillin_rpath.
14753
14754 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14755
14756         * benchtests/Makefile: Add strsep.
14757         * benchtests/bench-strsep.c: New file: strsep benchtest.
14758         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14759
14760 2013-11-18  Andreas Schwab  <schwab@suse.de>
14761
14762         * locale/programs/locale.c (show_info) [case byte]: Check for
14763         '\377' instead of '\177'.
14764         * locale/C-monetary.c (not_available): Always use "\377".
14765         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14766         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14767         detect unavailable sign_posn locale elements.
14768         * locale/localeconv.c (__localeconv): For grouping and
14769         mon_grouping handle "\177" and "\377" like no grouping.
14770         (INT_ELEM): New macro.  Use it to set all numeric members.
14771         * locale/programs/ld-monetary.c (monetary_read)
14772         <tok_mon_grouping>: Normalize single -1 to the empty string.
14773         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14774         Likewise.
14775
14776 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14777
14778         [BZ #16055]
14779         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14780         when we match (nil).
14781         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14782
14783 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14784
14785         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14786         (NO_TEST_INLINE): Update value.
14787         (ERRNO_UNCHANGED): Likewise.
14788         (ERRNO_EDOM): Likewise.
14789         (ERRNO_ERANGE): Likewise.
14790         (IGNORE_RESULT): Likewise.
14791         (check_float_internal): Check signs of NaN results if
14792         TEST_NAN_SIGN used.
14793         (check_complex): Pass TEST_NAN_SIGN flag through to second
14794         check_float_internal call.
14795         (copysign_test_data): Add tests with quiet NaNs as second
14796         argument.  Use TEST_NAN_SIGN.
14797         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14798         TEST_NAN_SIGN.
14799         (signbit_test_data): Add tests of quiet NaN argument.
14800         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14801
14802         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14803         $ignore_result.
14804         (parse_args): Handle function results specified as IGNORE.
14805         * math/libm-test.inc (IGNORE_RESULT): New macro.
14806         (check_float_internal): Do not check numerical result if flag
14807         IGNORE_RESULT set.
14808         (check_complex): Pass through IGNORE_RESULT to second
14809         check_float_internal call.
14810         (check_int): Do not check numerical result if flag IGNORE_RESULT
14811         set.
14812         (check_long): Likewise.
14813         (check_bool): Likewise.
14814         (check_longlong): Likewise.
14815         (lrint_test_data): Add tests of infinite and NaN arguments.
14816         (lrint_tonearest_test_data): Likewise.
14817         (lrint_towardzero_test_data): Likewise.
14818         (lrint_downward_test_data): Likewise.
14819         (lrint_upward_test_data): Likewise.
14820         (llrint_test_data): Likewise.
14821         (llrint_tonearest_test_data): Likewise.
14822         (llrint_towardzero_test_data): Likewise.
14823         (llrint_downward_test_data): Likewise.
14824         (llrint_upward_test_data): Likewise.
14825         (lround_test_data): Likewise.
14826         (llround_test_data): Likewise.
14827
14828         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14829         (ERRNO_UNCHANGED): Update value.
14830         (ERRNO_EDOM): Likewise.
14831         (ERRNO_ERANGE): Likewise.
14832         (NO_TEST_INLINE_FLOAT): New macro.
14833         (NO_TEST_INLINE_DOUBLE): Likewise.
14834         (enable_test): New function.
14835         (RUN_TEST_f_f): Check enable_test before running test.
14836         (RUN_TEST_2_f): Likewise.
14837         (RUN_TEST_fff_f): Likewise.
14838         (RUN_TEST_c_f): Likewise.
14839         (RUN_TEST_f_f1): Likewise.
14840         (RUN_TEST_fF_f1): Likewise.
14841         (RUN_TEST_fI_f1): Likewise.
14842         (RUN_TEST_ffI_f1): Likewise.
14843         (RUN_TEST_c_c): Likewise.
14844         (RUN_TEST_cc_c): Likewise.
14845         (RUN_TEST_f_i): Likewise.
14846         (RUN_TEST_f_i_tg): Likewise.
14847         (RUN_TEST_ff_i_tg): Likewise.
14848         (RUN_TEST_f_b): Likewise.
14849         (RUN_TEST_f_b_tg): Likewise.
14850         (RUN_TEST_f_l): Likewise.
14851         (RUN_TEST_f_L): Likewise.
14852         (RUN_TEST_fFF_11): Likewise.
14853         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14854         conditionals.
14855         (cosh_test_data): Likewise.
14856         (exp_test_data): Likewise.
14857         (expm1_test_data): Likewise.
14858         (hypot_test_data): Likewise.
14859         (pow_test_data): Likewise.
14860         (sinh_test_data): Likewise.
14861         (tanh_test_data): Likewise.
14862         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14863         flags argument.
14864
14865         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14866         tests with quiet NaN input and output.
14867         (acosh_test_data): Likewise.
14868         (asin_test_data): Likewise.
14869         (asinh_test_data): Likewise.
14870         (atan_test_data): Likewise.
14871         (atanh_test_data): Likewise.
14872         (atan2_test_data): Likewise.
14873         (cbrt_test_data): Likewise.
14874         (cos_test_data): Likewise.
14875         (cosh_test_data): Likewise.
14876         (erf_test_data): Likewise.
14877         (erfc_test_data): Likewise.
14878         (exp_test_data): Likewise.
14879         (exp10_test_data): Likewise.
14880         (exp2_test_data): Likewise.
14881         (expm1_test_data): Likewise.
14882         (hypot_test_data): Likewise.
14883         (j0_test_data): Likewise.
14884         (j1_test_data): Likewise.
14885         (jn_test_data): Likewise.
14886         (lgamma_test_data): Likewise.
14887         (log_test_data): Likewise.
14888         (log10_test_data): Likewise.
14889         (log1p_test_data): Likewise.
14890         (log2_test_data): Likewise.
14891         (pow_test_data): Likewise.
14892         (scalb_test_data): Likewise.
14893         (sin_test_data): Likewise.
14894         (sincos_test_data): Likewise.
14895         (sinh_test_data): Likewise.
14896         (tan_test_data): Likewise.
14897         (tanh_test_data): Likewise.
14898         (tgamma_test_data): Likewise.
14899         (y0_test_data): Likewise.
14900         (y1_test_data): Likewise.
14901         (yn_test_data): Likewise.
14902
14903         [BZ #16167]
14904         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14905         argument being NaN and avoid computations with second argument in
14906         that case.
14907         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14908         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14909         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14910
14911 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14912
14913         * locale/iso-639.def: Add Chitwani Tharu (the).
14914
14915 2013-11-14  Andreas Schwab  <schwab@suse.de>
14916
14917         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14918         word instead of empty string.
14919
14920 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14921
14922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14923         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14925         (__fe_nomask_env): Likewise.
14926
14927 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14928
14929         * benchtests/bench-timing.h: Include time.h.
14930
14931 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14932
14933         [BZ #15997]
14934         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14935         to 3.4.0 for x32.
14936         * sysdeps/unix/sysv/linux/configure: Regenerated.
14937
14938 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14939
14940         [BZ #16151]
14941         * stdlib/strtod_l.c (round_and_return): Do not consider
14942         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14943         exponent one less than half the least subnormal exponent.
14944         * stdlib/test-strtod-round-data: Add more tests.
14945         * stdlib/tst-strtod-round.c (tests): Regenerated.
14946
14947 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14948
14949         [BZ #14143]
14950         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14951         (__fe_mask_env): Likewise.
14952         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14953         libm_hidden_proto and add function prototype.
14954         (__fe_mask_env): Add function prototype.
14955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14956         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14958         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14960         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14961
14962 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14963
14964         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14965         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14966
14967 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14968
14969         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14970         of htab_find_slot().
14971
14972 2013-11-11  David S. Miller  <davem@davemloft.net>
14973
14974         [BZ #16150]
14975         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14976         symbol in the non-vis3 case in static builds.
14977         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14978         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14979         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14980         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14981
14982 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14983
14984         [BZ #387]
14985         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14986         it is empty.
14987
14988 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14989
14990         * benchtests/Makefile: Add bench-strtod.
14991         * benchtests/bench-strtod.c: New file: strtod benchtest
14992
14993 2013-11-11  Andreas Schwab  <schwab@suse.de>
14994
14995         [BZ #16153]
14996         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14997         terminating NUL in key length.
14998
14999 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15000
15001         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15002         Add artificial ODP entry for vDSO symbol for PPC64.
15003         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15004         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15005
15006 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15007
15008         [BZ #15374]
15009         * nss/getent.c (services_keys): Recognize services starting with digit.
15010
15011 2013-11-06  David S. Miller  <davem@davemloft.net>
15012
15013         [BZ #15985]
15014         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15015         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15016
15017 2013-11-06  Will Newton  <will.newton@linaro.org>
15018
15019         * manual/memory.texi (Malloc Examples): Remove register
15020         keyword from examples.
15021
15022 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15023
15024         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15025
15026 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15027
15028         [BZ #6981]
15029         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15030         depending on [__GCC_IEC_559 > 0].
15031         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15032         depending on [__GCC_IEC_559_COMPLEX > 0].
15033
15034 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15035
15036         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15037         to iso-639.def.
15038
15039 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15040
15041         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15042
15043 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15044
15045         [BZ #16112]
15046         * malloc/malloc (malloc_info): Do not handle first bin as
15047         special case.
15048
15049 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15050
15051         * locale/iso-639.def: Add Central Nahuatl (nhn).
15052
15053 2013-11-01  Bruno Haible  <bruno@clisp.org>
15054
15055         [BZ #7003]
15056         * manual/math.texi (BSD Random): Specify range upper bound as
15057         in POSIX.
15058
15059 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15060
15061         * locale/iso-639.def: Add Meadow Mari (mhr).
15062
15063 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15064
15065         [BZ #14752], [BZ #15763]
15066         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15067         Validate name.
15068         * rt/tst_shm.c: Add test for escaping directory.
15069
15070 2013-10-31  Andreas Schwab  <schwab@suse.de>
15071
15072         [BZ #15917]
15073         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15074         followed by 'x' as part of digit sequence.
15075         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15076
15077 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15078
15079         [BZ #16037]
15080         * configure.ac: allow GNU Make 4.0 and greater.
15081         * configure: Regenerated.
15082
15083 2013-10-30  Will Newton  <will.newton@linaro.org>
15084
15085         [BZ #16038]
15086         * malloc/hooks.c (memalign_check): Limit alignment to the
15087         maximum representable power of two.
15088         * malloc/malloc.c (__libc_memalign): Likewise.
15089         * malloc/tst-memalign.c (do_test): Add test for very
15090         large alignment values.
15091         * malloc/tst-posix_memalign.c (do_test): Likewise.
15092
15093 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15094
15095         [BZ #11087]
15096         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15097         (munmap_chunk): Likewise.
15098         (mremap_chunk): Likewise.
15099
15100 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15101
15102         [BZ #15799]
15103         * stdlib/div.c (div): Remove obsolete code.
15104         * stdlib/ldiv.c (ldiv): Likewise.
15105         * stdlib/lldiv.c (lldiv): Likewise.
15106
15107 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15108
15109         [BZ #16071]
15110         * nss/nss_files/files-XXX.c (get_contents_ret): New
15111         enumerator.
15112         (get_contents): New function.
15113         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15114
15115 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15116
15117         * configure.in: Moved to ...
15118         * configure.ac: ... here. Change reference to configure.in
15119         to configure.ac.
15120         * sysdeps/arm/preconfigure.ac: ... here.
15121         configure.in to configure.ac.
15122         * sysdeps/gnu/configure.in: Moved to ...
15123         * sysdeps/gnu/configure.ac: ... here.
15124         * sysdeps/i386/configure.in: Moved to ...
15125         * sysdeps/i386/configure.ac: ... here.
15126         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15127         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15128         * sysdeps/mach/configure.in: Moved to ...
15129         * sysdeps/mach/configure.ac: ... here.
15130         * sysdeps/mach/hurd/configure.in: Moved to ...
15131         * sysdeps/mach/hurd/configure.ac: ... here.
15132         * sysdeps/powerpc/configure.in: Moved to ...
15133         * sysdeps/powerpc/configure.ac: ... here.
15134         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15135         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15136         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15137         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15138         * sysdeps/s390/s390-32/configure.in: Moved to ...
15139         * sysdeps/s390/s390-32/configure.ac: ... here.
15140         * sysdeps/s390/s390-64/configure.in: Moved to ...
15141         * sysdeps/s390/s390-64/configure.ac: ... here.
15142         * sysdeps/sh/configure.in: Moved to ...
15143         * sysdeps/sh/configure.ac: ... here.
15144         * sysdeps/sparc/configure.in: Moved to ...
15145         * sysdeps/sparc/configure.ac: ... here.
15146         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15147         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15148         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15149         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15150         * sysdeps/x86_64/configure.in: Moved to ...
15151         * sysdeps/x86_64/configure.ac: ... here.
15152         * sysdeps/x86_64/preconfigure.in: Moved to ...
15153         * sysdeps/x86_64/preconfigure.ac: ... here.
15154         * aclocal.m4: Change reference to configure.in to configure.ac.
15155         * config.h.in: Likewise.
15156         * manual/install.texi: Likewise.
15157         * manual/maint.texi: Likewise.
15158         * Makefile: Likewise.
15159         * malloc/Makefile: Likewise.
15160         * nscd/Makefile: Likewise.
15161         * Makeconfig: Change reference to configure.in and
15162         preconfigure.in to configure.ac and preconfigure.ac
15163         respectively.
15164         * INSTALL: Regenerated.
15165         * configure: Likewise.
15166         * sysdeps/gnu/configure: Likewise.
15167         * sysdeps/i386/configure: Likewise.
15168         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15169         * sysdeps/mach/configure: Likewise.
15170         * sysdeps/mach/hurd/configure: Likewise.
15171         * sysdeps/powerpc/configure: Likewise.
15172         * sysdeps/powerpc/powerpc32/configure: Likewise.
15173         * sysdeps/powerpc/powerpc64/configure: Likewise.
15174         * sysdeps/s390/s390-32/configure: Likewise.
15175         * sysdeps/s390/s390-64/configure: Likewise.
15176         * sysdeps/sh/configure: Likewise.
15177         * sysdeps/sparc/configure: Likewise.
15178         * sysdeps/unix/sysv/linux/configure: Likewise.
15179         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15180         * sysdeps/x86_64/configure: Likewise.
15181         * sysdeps/x86_64/preconfigure: Likewise.
15182
15183 2013-10-29  Andreas Schwab  <schwab@suse.de>
15184
15185         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15186
15187 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15188
15189         * benchtests/pow-inputs: Add new inputs.
15190
15191         * benchtests/exp-inputs: Add new inputs.
15192
15193         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15194         conditional check for return value.
15195         (__cos32): Likewise.
15196
15197 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15198
15199         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15200         to provide a boost for large inputs with word alignment.
15201         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15202         implementation based on optimized PPC64 strcpy.
15203         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15204         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15205         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15206         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15207
15208 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15209
15210         [BZ #2801]
15211         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15212
15213 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15214
15215         [BZ #14876]
15216         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15217         * time/tst-strptime.c (day_tests): Add testcase.
15218
15219 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15220
15221         [BZ #14029]
15222         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15223
15224 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15225
15226         [BZ #16074]
15227         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15228         MAP_FAILED on error.
15229
15230 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15231
15232         [BZ #16072]
15233         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15234         heap for large requests.
15235
15236 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15237
15238         [BZ #9954]
15239         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15240         result if the result has no associated interface.
15241         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15242         interface for all 127.X.Y.Z addresses.
15243
15244 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15245
15246         * locale/iso-639.def: Add Ligurian (lij)
15247
15248 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15249
15250         [BZ #15825]
15251         * sunrpc/rpc_main.c: Document rpcgen -5.
15252
15253 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15254
15255         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15256
15257 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15258
15259         [BZ #10278]
15260         * posix/glob.c: Match only directories when trailing slash is present.
15261         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15262         (main): Add testcase.
15263
15264 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15265
15266         [BZ #15670]
15267         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15268
15269 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15270
15271         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15272         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15273         AUTH_DES and cindex for FIPS 140-2.
15274         (DES Encryption): Add cindex FIPS 46-3.
15275
15276         * locale/locarchive.h (struct locarhandle): Add fname.
15277         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15278         if an optional argument was specified to --list-archive,
15279         otherwise NULL.
15280         * locale/programs/locarchive.c (show_archive_content): Take new
15281         argument fname and pass it via ah.fname to open_archive.
15282         * locale/programs/localedef.h: Update decl.
15283         (open_archive): If AH->fname is non-null, open that file
15284         rather than the default file name, and don't ignore ENOENT.
15285         (create_archive): Set AH.fname to NULL.
15286         (delete_locales_from_archive): Likewise.
15287         (add_locales_to_archive): Likewise.
15288         * locale/programs/locfile.c (write_all_categories): Likewise.
15289
15290 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15291             Aldy Hernandez  <aldyh@redhat.com>
15292
15293         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15294         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15295         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15296         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15297         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15298         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15299         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15300         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15301         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15302         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15303         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15304         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15305         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15306         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15307         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15308         Likewise.
15309         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15310         Likewise.
15311         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15312         Likewise.
15313         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15314         Likewise.
15315         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15316         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15317         Likewise.
15318         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15319         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15320         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15321         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15322         Likewise.
15323         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15324         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15325         * sysdeps/powerpc/preconfigure: Likewise.
15326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15327         Likewise.
15328         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15329         Replace contents of file by #include of <fenv_libc.h>.
15330         * sysdeps/powerpc/soft-fp/sfp-machine.h
15331         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15332         and <sys/prctl.h>.
15333         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15334         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15335         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15336         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15337         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15338         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15340         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15341         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15342         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15343         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15344         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15346         Allow copysignl PLT reference to be missing.
15347
15348 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15349             Joseph Myers  <joseph@codesourcery.com
15350
15351         [BZ #15948]
15352         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15353         single character.
15354         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15355
15356 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15357
15358         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15359         * elf/tst-tls1.c: Likewise.
15360         * elf/tst-tls10.h: Likewise.
15361         * elf/tst-tls14.c: Likewise.
15362         * elf/tst-tls2.c: Likewise.
15363         * elf/tst-tls3.c: Likewise.
15364         * elf/tst-tls4.c: Likewise.
15365         * elf/tst-tls5.c: Likewise.
15366         * elf/tst-tls6.c: Likewise.
15367         * elf/tst-tls7.c: Likewise.
15368         * elf/tst-tls8.c: Likewise.
15369         * elf/tst-tls9.c: Likewise.
15370         * elf/tst-tlsmod1.c: Likewise.
15371         * elf/tst-tlsmod13.c: Likewise.
15372         * elf/tst-tlsmod13a.c: Likewise.
15373         * elf/tst-tlsmod14a.c: Likewise.
15374         * elf/tst-tlsmod16a.c: Likewise.
15375         * elf/tst-tlsmod16b.c: Likewise.
15376         * elf/tst-tlsmod2.c: Likewise.
15377         * elf/tst-tlsmod3.c: Likewise.
15378         * elf/tst-tlsmod4.c: Likewise.
15379         * elf/tst-tlsmod5.c: Likewise.
15380         * elf/tst-tlsmod6.c: Likewise.
15381
15382 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15383
15384         [BZ #12486]
15385         * malloc/malloc.c: remove checks for statistics.
15386
15387 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15388
15389         [BZ #15277]
15390         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15391         * inet/tst-network.c: Add testcase.
15392
15393 2013-10-17  Andreas Schwab  <schwab@suse.de>
15394
15395         [BZ #15218]
15396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15397         to determine canonical name.
15398
15399 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15400
15401         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15402         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15403         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15404         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15405         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15406         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15407         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15408         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15409         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15410         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15411         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15412         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15413         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15414         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15415         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15416         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15417         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15418         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15419         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15420         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15421         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15422         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15423         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15424         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15425         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15426         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15427         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15428         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15429         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15430         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15431         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15432         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15433         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15434         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15435         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15436         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15437         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15438         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15439         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15440         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15441         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15442         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15443         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15444         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15445         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15446         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15447         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15448         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15449         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15450         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15451         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15452         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15453         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15454         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15455         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15456         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15457         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15458         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15459
15460 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15461
15462         [BZ #16041]
15463         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15464         make result into a quiet NaN.
15465
15466 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15467
15468         * soft-fp/adddf3.c: Fix horizontal whitespace.
15469         * soft-fp/addsf3.c: Likewise.
15470         * soft-fp/addtf3.c: Likewise.
15471         * soft-fp/divdf3.c: Likewise.
15472         * soft-fp/divsf3.c: Likewise.
15473         * soft-fp/divtf3.c: Likewise.
15474         * soft-fp/double.h: Likewise.
15475         * soft-fp/eqdf2.c: Likewise.
15476         * soft-fp/eqsf2.c: Likewise.
15477         * soft-fp/eqtf2.c: Likewise.
15478         * soft-fp/extenddftf2.c: Likewise.
15479         * soft-fp/extended.h: Likewise.
15480         * soft-fp/extendsfdf2.c: Likewise.
15481         * soft-fp/extendsftf2.c: Likewise.
15482         * soft-fp/extendxftf2.c: Likewise.
15483         * soft-fp/fixdfdi.c: Likewise.
15484         * soft-fp/fixdfsi.c: Likewise.
15485         * soft-fp/fixdfti.c: Likewise.
15486         * soft-fp/fixsfdi.c: Likewise.
15487         * soft-fp/fixsfsi.c: Likewise.
15488         * soft-fp/fixsfti.c: Likewise.
15489         * soft-fp/fixtfdi.c: Likewise.
15490         * soft-fp/fixtfsi.c: Likewise.
15491         * soft-fp/fixtfti.c: Likewise.
15492         * soft-fp/fixunsdfdi.c: Likewise.
15493         * soft-fp/fixunsdfsi.c: Likewise.
15494         * soft-fp/fixunsdfti.c: Likewise.
15495         * soft-fp/fixunssfdi.c: Likewise.
15496         * soft-fp/fixunssfsi.c: Likewise.
15497         * soft-fp/fixunssfti.c: Likewise.
15498         * soft-fp/fixunstfdi.c: Likewise.
15499         * soft-fp/fixunstfsi.c: Likewise.
15500         * soft-fp/fixunstfti.c: Likewise.
15501         * soft-fp/floatdidf.c: Likewise.
15502         * soft-fp/floatdisf.c: Likewise.
15503         * soft-fp/floatditf.c: Likewise.
15504         * soft-fp/floatsidf.c: Likewise.
15505         * soft-fp/floatsisf.c: Likewise.
15506         * soft-fp/floatsitf.c: Likewise.
15507         * soft-fp/floattidf.c: Likewise.
15508         * soft-fp/floattisf.c: Likewise.
15509         * soft-fp/floattitf.c: Likewise.
15510         * soft-fp/floatundidf.c: Likewise.
15511         * soft-fp/floatundisf.c: Likewise.
15512         * soft-fp/floatunditf.c: Likewise.
15513         * soft-fp/floatunsidf.c: Likewise.
15514         * soft-fp/floatunsisf.c: Likewise.
15515         * soft-fp/floatunsitf.c: Likewise.
15516         * soft-fp/floatuntidf.c: Likewise.
15517         * soft-fp/floatuntisf.c: Likewise.
15518         * soft-fp/floatuntitf.c: Likewise.
15519         * soft-fp/fmadf4.c: Likewise.
15520         * soft-fp/fmasf4.c: Likewise.
15521         * soft-fp/fmatf4.c: Likewise.
15522         * soft-fp/gedf2.c: Likewise.
15523         * soft-fp/gesf2.c: Likewise.
15524         * soft-fp/getf2.c: Likewise.
15525         * soft-fp/ledf2.c: Likewise.
15526         * soft-fp/lesf2.c: Likewise.
15527         * soft-fp/letf2.c: Likewise.
15528         * soft-fp/muldf3.c: Likewise.
15529         * soft-fp/mulsf3.c: Likewise.
15530         * soft-fp/multf3.c: Likewise.
15531         * soft-fp/negdf2.c: Likewise.
15532         * soft-fp/negsf2.c: Likewise.
15533         * soft-fp/negtf2.c: Likewise.
15534         * soft-fp/op-1.h: Likewise.
15535         * soft-fp/op-2.h: Likewise.
15536         * soft-fp/op-4.h: Likewise.
15537         * soft-fp/op-8.h: Likewise.
15538         * soft-fp/op-common.h: Likewise.
15539         * soft-fp/quad.h: Likewise.
15540         * soft-fp/single.h: Likewise.
15541         * soft-fp/soft-fp.h: Likewise.
15542         * soft-fp/sqrtdf2.c: Likewise.
15543         * soft-fp/sqrtsf2.c: Likewise.
15544         * soft-fp/sqrttf2.c: Likewise.
15545         * soft-fp/subdf3.c: Likewise.
15546         * soft-fp/subsf3.c: Likewise.
15547         * soft-fp/subtf3.c: Likewise.
15548         * soft-fp/truncdfsf2.c: Likewise.
15549         * soft-fp/trunctfdf2.c: Likewise.
15550         * soft-fp/trunctfsf2.c: Likewise.
15551         * soft-fp/trunctfxf2.c: Likewise.
15552         * soft-fp/unorddf2.c: Likewise.
15553         * soft-fp/unordsf2.c: Likewise.
15554         * soft-fp/unordtf2.c: Likewise.
15555
15556 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15557
15558         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15559         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15560
15561 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15562
15563         * elf/dl-libc.c: Clear initfini list after freeing.
15564
15565 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15566
15567         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15568         * soft-fp/addsf3.c: Likewise.
15569         * soft-fp/addtf3.c: Likewise.
15570         * soft-fp/divdf3.c: Likewise.
15571         * soft-fp/divsf3.c: Likewise.
15572         * soft-fp/divtf3.c: Likewise.
15573         * soft-fp/double.h: Likewise.
15574         * soft-fp/eqdf2.c: Likewise.
15575         * soft-fp/eqsf2.c: Likewise.
15576         * soft-fp/eqtf2.c: Likewise.
15577         * soft-fp/extenddftf2.c: Likewise.
15578         * soft-fp/extended.h: Likewise.
15579         * soft-fp/extendsfdf2.c: Likewise.
15580         * soft-fp/extendsftf2.c: Likewise.
15581         * soft-fp/extendxftf2.c: Likewise.
15582         * soft-fp/fixdfdi.c: Likewise.
15583         * soft-fp/fixdfsi.c: Likewise.
15584         * soft-fp/fixdfti.c: Likewise.
15585         * soft-fp/fixsfdi.c: Likewise.
15586         * soft-fp/fixsfsi.c: Likewise.
15587         * soft-fp/fixsfti.c: Likewise.
15588         * soft-fp/fixtfdi.c: Likewise.
15589         * soft-fp/fixtfsi.c: Likewise.
15590         * soft-fp/fixtfti.c: Likewise.
15591         * soft-fp/fixunsdfdi.c: Likewise.
15592         * soft-fp/fixunsdfsi.c: Likewise.
15593         * soft-fp/fixunsdfti.c: Likewise.
15594         * soft-fp/fixunssfdi.c: Likewise.
15595         * soft-fp/fixunssfsi.c: Likewise.
15596         * soft-fp/fixunssfti.c: Likewise.
15597         * soft-fp/fixunstfdi.c: Likewise.
15598         * soft-fp/fixunstfsi.c: Likewise.
15599         * soft-fp/fixunstfti.c: Likewise.
15600         * soft-fp/floatdidf.c: Likewise.
15601         * soft-fp/floatdisf.c: Likewise.
15602         * soft-fp/floatditf.c: Likewise.
15603         * soft-fp/floatsidf.c: Likewise.
15604         * soft-fp/floatsisf.c: Likewise.
15605         * soft-fp/floatsitf.c: Likewise.
15606         * soft-fp/floattidf.c: Likewise.
15607         * soft-fp/floattisf.c: Likewise.
15608         * soft-fp/floattitf.c: Likewise.
15609         * soft-fp/floatundidf.c: Likewise.
15610         * soft-fp/floatundisf.c: Likewise.
15611         * soft-fp/floatunsidf.c: Likewise.
15612         * soft-fp/floatunsisf.c: Likewise.
15613         * soft-fp/floatuntidf.c: Likewise.
15614         * soft-fp/floatuntisf.c: Likewise.
15615         * soft-fp/floatuntitf.c: Likewise.
15616         * soft-fp/fmadf4.c: Likewise.
15617         * soft-fp/fmasf4.c: Likewise.
15618         * soft-fp/fmatf4.c: Likewise.
15619         * soft-fp/gedf2.c: Likewise.
15620         * soft-fp/gesf2.c: Likewise.
15621         * soft-fp/getf2.c: Likewise.
15622         * soft-fp/ledf2.c: Likewise.
15623         * soft-fp/lesf2.c: Likewise.
15624         * soft-fp/letf2.c: Likewise.
15625         * soft-fp/muldf3.c: Likewise.
15626         * soft-fp/mulsf3.c: Likewise.
15627         * soft-fp/multf3.c: Likewise.
15628         * soft-fp/negdf2.c: Likewise.
15629         * soft-fp/negsf2.c: Likewise.
15630         * soft-fp/negtf2.c: Likewise.
15631         * soft-fp/op-1.h: Likewise.
15632         * soft-fp/op-2.h: Likewise.
15633         * soft-fp/op-4.h: Likewise.
15634         * soft-fp/op-8.h: Likewise.
15635         * soft-fp/op-common.h: Likewise.
15636         * soft-fp/quad.h: Likewise.
15637         * soft-fp/single.h: Likewise.
15638         * soft-fp/soft-fp.h: Likewise.
15639         * soft-fp/sqrtdf2.c: Likewise.
15640         * soft-fp/sqrtsf2.c: Likewise.
15641         * soft-fp/sqrttf2.c: Likewise.
15642         * soft-fp/subdf3.c: Likewise.
15643         * soft-fp/subsf3.c: Likewise.
15644         * soft-fp/subtf3.c: Likewise.
15645         * soft-fp/truncdfsf2.c: Likewise.
15646         * soft-fp/trunctfdf2.c: Likewise.
15647         * soft-fp/trunctfsf2.c: Likewise.
15648         * soft-fp/trunctfxf2.c: Likewise.
15649         * soft-fp/unorddf2.c: Likewise.
15650         * soft-fp/unordsf2.c: Likewise.
15651         * soft-fp/unordtf2.c: Likewise.
15652
15653 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15654
15655         [BZ #15672]
15656         * misc/error.c (error_tail): Fix possible buffer overflow.
15657
15658 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15659
15660         [BZ #13028]
15661         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15662         address.
15663
15664 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15665
15666         [BZ #832]
15667         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15668         testing pipefail option.
15669
15670 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15671
15672         * soft-fp/double.h: Indent preprocessor directives inside #if.
15673         * soft-fp/extended.h: Likewise.
15674         * soft-fp/op-2.h: Likewise.
15675         * soft-fp/op-4.h: Likewise.
15676         * soft-fp/op-common.h: Likewise.
15677         * soft-fp/quad.h: Likewise.
15678         * soft-fp/single.h: Likewise.
15679         * soft-fp/soft-fp.h: Likewise.
15680
15681 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15682
15683         * iconv/iconv_prog.c: Fix typos.
15684         * stdio-common/psiginfo-data.h: Likewise.
15685
15686 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15687
15688         [BZ #15764]
15689         * locale/setlocale.c: Fix typo.
15690
15691 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15692
15693         [BZ #16036]
15694         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15695         signaling NaN arguments.
15696         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15697         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15698
15699         [BZ #14910]
15700         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15701         unordered operands.
15702         * soft-fp/gesf2.c (__gesf2): Likewise.
15703         * soft-fp/getf2.c (__getf2): Likewise.
15704         * soft-fp/ledf2.c (__ledf2): Likewise.
15705         * soft-fp/lesf2.c (__lesf2): Likewise.
15706         * soft-fp/letf2.c (__letf2): Likewise.
15707
15708         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15709         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15710         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15711         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15712         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15713         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15714         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15715         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15716         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15717         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15718         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15719         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15720         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15721         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15722         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15723         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15724         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15725         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15726         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15727         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15728         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15729         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15730         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15731         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15732         * soft-fp/floattidf.c (__floattidf): Likewise.
15733         * soft-fp/floattisf.c (__floattisf): Likewise.
15734         * soft-fp/floattitf.c (__floattitf): Likewise.
15735         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15736         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15737         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15738         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15739         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15740         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15741         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15742         * soft-fp/gesf2.c (__gesf2): Likewise.
15743         * soft-fp/getf2.c (__getf2): Likewise.
15744         * soft-fp/ledf2.c (__ledf2): Likewise.
15745         * soft-fp/lesf2.c (__lesf2): Likewise.
15746         * soft-fp/letf2.c (__letf2): Likewise.
15747
15748         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15749         Undefine and redefine.
15750         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15751         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15752         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15753         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15754         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15755         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15756         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15757         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15758         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15759         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15760         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15761         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15762         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15763         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15764         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15765
15766         [BZ #16032]
15767         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15768         without decrementing exponent if mantissa >= that for the
15769         denominator, not >.
15770         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15771         denominator, not >.  Decrement exponent in < case instead of
15772         incrementing in >= case.
15773         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15774         without decrementing exponent if mantissa >= that for the
15775         denominator, not >.
15776
15777         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15778         computing saturated result for unsigned overflow.
15779
15780 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15781             Jeff Law  <law@redhat.com>
15782
15783         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15784         (atan2Mp): Add systemtap probe marker.
15785         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15786         (__ieee754_log): Add systemtap probe marker.
15787         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15788         (atanMp): Add systemtap probe marker.
15789         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15790         (tanMp): Add systemtap probe marker.
15791         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15792         (__slowexp): Add systemtap probe marker.
15793         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15794         (__slowpow): Add systemtap probe marker.
15795         * manual/probes.texi: Document probes.
15796
15797 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15798
15799         [BZ #15362]
15800         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15801         written.
15802         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15803         written.
15804         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15805         written to buffer but not flushed.
15806         * libio/iofwrite_u.c:  Likewise.
15807         * libio/iopadn.c:  Return bytes returned even if EOF was
15808         encountered.
15809         * libio/iowpadn.c:  Likewise.
15810         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15811         if _IO_padn does not write the whole buffer.
15812         [!COMPILE_WPRINTF] (PAD): Likewise.
15813
15814 2013-10-10  David S. Miller  <davem@davemloft.net>
15815
15816         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15817         directory block.
15818
15819 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15820
15821         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15822         instead of FSF address.
15823         * soft-fp/fixdfti.c: Likewise.
15824         * soft-fp/fixsfti.c: Likewise.
15825         * soft-fp/fixtfti.c: Likewise.
15826         * soft-fp/fixunsdfti.c: Likewise.
15827         * soft-fp/fixunssfti.c: Likewise.
15828         * soft-fp/fixunstfti.c: Likewise.
15829         * soft-fp/floattidf.c: Likewise.
15830         * soft-fp/floattisf.c: Likewise.
15831         * soft-fp/floattitf.c: Likewise.
15832         * soft-fp/floatuntidf.c: Likewise.
15833         * soft-fp/floatuntisf.c: Likewise.
15834         * soft-fp/floatuntitf.c: Likewise.
15835         * soft-fp/trunctfxf2.c: Likewise.
15836
15837         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15838         * soft-fp/fixdfti.c: Likewise.
15839         * soft-fp/fixsfti.c: Likewise.
15840         * soft-fp/fixtfti.c: Likewise.
15841         * soft-fp/fixunsdfti.c: Likewise.
15842         * soft-fp/fixunssfti.c: Likewise.
15843         * soft-fp/fixunstfti.c: Likewise.
15844         * soft-fp/floattidf.c: Likewise.
15845         * soft-fp/floattisf.c: Likewise.
15846         * soft-fp/floattitf.c: Likewise.
15847         * soft-fp/floatuntidf.c: Likewise.
15848         * soft-fp/floatuntisf.c: Likewise.
15849         * soft-fp/floatuntitf.c: Likewise.
15850         * soft-fp/trunctfxf2.c: Likewise.
15851
15852 2013-10-10  David S. Miller  <davem@davemloft.net>
15853
15854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15855
15856 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15857
15858         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15859         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15860         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15861         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15862         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15863         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15864         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15865
15866         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15867         for NaNs before doing comparisons on argument.
15868         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15869         Likewise.
15870
15871 2013-10-10  Will Newton  <will.newton@linaro.org>
15872
15873         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15874         passed to _int_memalign does not overflow.
15875
15876 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15877
15878         * scripts/bench.pl: Add include-sources directive.
15879         * benchtests/README: Update documentation.
15880
15881 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15882
15883         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15884         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15885         instead of FP_INIT_ROUNDMODE.
15886         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15887         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15888
15889         [BZ #16034]
15890         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15891         copy class of input value.
15892         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15893         not handle exceptions.
15894         * soft-fp/negsf2.c (__negsf2): Likewise.
15895         * soft-fp/negtf2.c (__negtf2): Likewise.
15896         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15897
15898 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15899
15900         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15901         semicolon.  From Linux kernel.
15902
15903 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15904
15905         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15906
15907 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15908
15909         [BZ #156]
15910         * manual/socket.texi: Added statement about buffer
15911         for gethostbyname2_r.
15912
15913 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15914
15915         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15916         Use .p2align directive instead, throughout.
15917         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15918         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15919         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15920         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15921         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15922         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15923         * sysdeps/x86_64/strchr.S: Likewise.
15924         * sysdeps/x86_64/strrchr.S: Likewise.
15925
15926 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15927
15928         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15929
15930         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15931
15932         * sysdeps/generic/math_private.h (__mpsin1): Remove
15933         declaration.
15934         (__mpcos1): Likewise.
15935         (__mpsin): New argument __range_reduce.
15936         (__mpcos): Likewise.
15937         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15938         (slow): Use __mpsin and __mpcos.
15939         (slow1): Likewise.
15940         (slow2): Likewise.
15941         (sloww): Likewise.
15942         (sloww1): Likewise.
15943         (sloww2): Likewise.
15944         (bsloww): Likewise.
15945         (bsloww1): Likewise.
15946         (bsloww2): Likewise.
15947         (cslow2): Likewise.
15948         (csloww): Likewise.
15949         (csloww1): Likewise.
15950         (csloww2): Likewise.
15951         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15952         range_reduce.  Merge in __mpsin1.
15953         (__mpcos): Likewise.
15954         (__mpsin1): Remove.
15955         (__mpcos1): Likewise.
15956
15957 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15958
15959         * locale/loadlocale.c (_nl_intern_locale_data): Use
15960         LOCFILE_ALIGNED_P.
15961         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15962         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15963         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15964         obstack data is appropriately aligned.
15965         (obstack_int32_grow_fast): Likewise.
15966         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15967         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15968         (add_locale_uint32_array): Likewise.
15969
15970 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15971
15972         * benchtests/Makefile: Remove ARGLIST and RET variables.
15973         ($(objpfx)bench-%.c): Pass only function name to the script.
15974         * benchtests/README: Update documentation.
15975         * benchtests/acos-inputs: Add new directives.
15976         * benchtests/acosh-inputs: Likewise.
15977         * benchtests/asin-inputs: Likewise.
15978         * benchtests/asinh-inputs: Likewise.
15979         * benchtests/atan-inputs: Likewise.
15980         * benchtests/atanh-inputs: Likewise.
15981         * benchtests/cos-inputs: Likewise.
15982         * benchtests/cosh-inputs: Likewise.
15983         * benchtests/exp-inputs: Likewise.
15984         * benchtests/log-inputs: Likewise.
15985         * benchtests/pow-inputs: Likewise.
15986         * benchtests/rint-inputs: Likewise.
15987         * benchtests/sin-inputs: Likewise.
15988         * benchtests/sinh-inputs: Likewise.
15989         * benchtests/tan-inputs: Likewise.
15990         * benchtests/tanh-inputs: Likewise.
15991         * scripts/bench.pl: Add support for new directives.
15992
15993 2013-10-07  Alan Modra  <amodra@gmail.com>
15994
15995         * README: Fix careless merge.
15996
15997 2013-10-05  Alan Modra  <amodra@gmail.com>
15998
15999         * NEWS: Mention powerpc64le support and bugs fixed.
16000         * README: Both big-endian and little-endian powerpc64 supported.
16001
16002 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16003
16004         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16005         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16006         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16007         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16008
16009 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16010
16011         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16012         match prototype.
16013
16014 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16015
16016         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16017         Move -mhard-float appending from
16018         ports/sysdeps/powerpc/powerpc32/Makefile.
16019         [$(with-fp) = yes] (ASFLAGS): Likewise.
16020         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16021         * sysdeps/powerpc/nofpu: Move directory from
16022         ports/sysdeps/powerpc/nofpu.
16023         * sysdeps/powerpc/soft-fp: Move directory from
16024         ports/sysdeps/powerpc/soft-fp.
16025         * sysdeps/powerpc/powerpc32/405: Move directory from
16026         ports/sysdeps/powerpc/powerpc32/405.
16027         * sysdeps/powerpc/powerpc32/440: Move directory from
16028         ports/sysdeps/powerpc/powerpc32/440.
16029         * sysdeps/powerpc/powerpc32/464: Move directory from
16030         ports/sysdeps/powerpc/powerpc32/464.
16031         * sysdeps/powerpc/powerpc32/476: Move directory from
16032         ports/sysdeps/powerpc/powerpc32/476.
16033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16034         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16036         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16038         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16040         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16042         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16043         * README: Update for powerpc-*-linux-gnu software floating point
16044         support in libc.
16045
16046         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16047         case to powerpc/powerpc32*.
16048         * sysdeps/unix/sysv/linux/configure: Regenerated.
16049
16050         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16051         (_FPU_MASK_OM): Define as 0x04.
16052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16053         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16054         0x00c10080.
16055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16056         0x0000003c.
16057         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16058
16059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16060         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16061         getcontext_e500.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16063         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16064         setcontext_e500.
16065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16066         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16067         and setcontext_e500.
16068
16069 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16070
16071         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16072
16073 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16074
16075         * manual/threads.texi (Default Thread Attributes): Fix typo.
16076
16077 2013-10-04  Will Newton  <will.newton@linaro.org>
16078
16079         * malloc/Makefile: Add tst-memalign.
16080         * malloc/tst-memalign.c: New file.
16081
16082         * malloc/tst-posix_memalign.c: Add comments.
16083         (do_test): Add comments and call free on all potentially
16084         allocated pointers. Add space after cast.
16085
16086         * malloc/tst-pvalloc.c: Add comments.
16087         (do_test): Add comments and call free on all potentially
16088         allocated pointers. Remove duplicate check for NULL pointer.
16089         Add space after cast.
16090
16091         * malloc/tst-valloc.c: Add comments.
16092         (do_test): Add comments and call free on all potentially
16093         allocated pointers. Remove duplicate check for NULL pointer.
16094         Add space after cast.
16095
16096 2013-10-04  Alan Modra  <amodra@gmail.com>
16097
16098         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16099         Use stdint types in rather than __attribute__((mode())).
16100         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16101
16102 2013-10-04  Alan Modra  <amodra@gmail.com>
16103
16104         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16105         Correct handling of unaligned relocs for little-endian.
16106         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16107
16108 2013-10-04  Alan Modra  <amodra@gmail.com>
16109
16110         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16111         * configure: Regenerate.
16112         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16113         * shlib-versions: Likewise.
16114
16115 2013-10-04  Alan Modra  <amodra@gmail.com>
16116
16117         * string/tester.c (test_memrchr): Increment reported test cycle.
16118
16119 2013-10-04  Alan Modra  <amodra@gmail.com>
16120
16121         * string/test-memcpy.c (do_one_test): When reporting errors, print
16122         string address and don't overrun end of string.
16123
16124 2013-10-04  Alan Modra  <amodra@gmail.com>
16125
16126         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16127         insrdi.  Make better use of reg selection to speed exit slightly.
16128         Schedule entry path a little better.  Remove useless "are we done"
16129         checks on entry to main loop.  Handle wrapping around zero address.
16130         Correct main loop count.  Handle single left-over word from main
16131         loop inline rather than by using loop_small.  Remove extra word
16132         case in loop_small caused by wrong loop count.  Add little-endian
16133         support.
16134         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16135         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16136         cache hint.
16137         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16138         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16139         support.  Avoid rlwimi.
16140         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16141
16142 2013-10-04  Alan Modra  <amodra@gmail.com>
16143
16144         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16145         insrdi.  Formatting.
16146         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16147         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16148         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16149         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16150         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16151         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16152
16153 2013-10-04  Alan Modra  <amodra@gmail.com>
16154
16155         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16156         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16157         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16158         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16159         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16160         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16161         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16162         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16163         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16164         use of regs.  Use power7 mtocrf.  Tidy function tails.
16165
16166 2013-10-04  Alan Modra  <amodra@gmail.com>
16167
16168         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16169         Formatting.  Consistently use rXXX register defines or rN defines.
16170         Use early exit labels that avoid restoring unused non-volatile regs.
16171         Make cr field use more consistent with rWORDn compares.  Rename
16172         regs used as shift registers for unaligned loop, using rN defines
16173         for short lifetime/multiple use regs.
16174         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16175         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16176         addi 1,1,64 to pop stack frame.  Simplify return value code.
16177         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16178
16179 2013-10-04  Alan Modra  <amodra@gmail.com>
16180
16181         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16182         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16183         rather than rlwimi.
16184         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16185         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16186         little-endian support.  Correct typos.
16187         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16188         rather than rlwimi.
16189         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16190         in loop and entry code to keep "and." results.
16191         (strchr): Add little-endian support.  Comment.  Move cntlzd
16192         earlier in tail.
16193         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16194
16195 2013-10-04  Alan Modra  <amodra@gmail.com>
16196
16197         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16198         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16199         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16200         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16201
16202 2013-10-04  Alan Modra  <amodra@gmail.com>
16203
16204         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16205         (rTMP): Define as r11.
16206         (strcmp): Add little-endian support.  Optimise tail.
16207         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16208         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16209         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16210         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16211         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16212         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16213         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16214
16215 2013-10-04  Alan Modra  <amodra@gmail.com>
16216
16217         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16218         little-endian support.  Remove unnecessary "are we done" tests.
16219         Handle "s" wrapping around zero and extremely large "size".
16220         Correct main loop count.  Handle single left-over word from main
16221         loop inline rather than by using small_loop.  Correct comments.
16222         Delete "zero" tail, use "end_max" instead.
16223         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16224
16225 2013-10-04  Alan Modra  <amodra@gmail.com>
16226
16227         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16228         support.  Don't branch over align.
16229         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16230         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16231         support.  Rearrange tmp reg use to suit.  Comment.
16232         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16233
16234 2013-10-04  Alan Modra  <amodra@gmail.com>
16235
16236         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16237
16238 2013-10-04  Alan Modra  <amodra@gmail.com>
16239
16240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16241         conditional form of branch and link when obtaining pc.
16242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16243
16244 2013-10-04  Alan Modra  <amodra@gmail.com>
16245
16246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16247         HIWORD/LOWORD.
16248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16250
16251 2013-10-04  Alan Modra  <amodra@gmail.com>
16252
16253         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16254         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16255         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16256         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16257         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16258         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16259         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16260         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16261         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16262         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16263
16264 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16265             Alistair Popple <alistair@ozlabs.au.ibm.com>
16266             Alan Modra <amodra@gmail.com>
16267
16268         [BZ #15723]
16269         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16270         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16271         _dl_hwcap access for little-endian.
16272         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16273         destroy vmx regs when saving unaligned.
16274         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16275         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16276         destroy vmx regs when saving unaligned.
16277
16278 2013-10-04  Alan Modra  <amodra@gmail.com>
16279
16280         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16281         Don't use a union to pack hi/low value.
16282
16283 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16284
16285         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16286         for little-endian.
16287         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16288         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16289         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16290         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16291         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16292
16293 2013-10-04  Alan Modra  <amodra@gmail.com>
16294
16295         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16296         constants to usual value for .cst8 section, and remove redundant
16297         high address load.
16298         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16299         constant for 0x1p52.  Load little-endian words of double from
16300         correct stack offsets.
16301
16302 2013-10-04  Alan Modra  <amodra@gmail.com>
16303
16304         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16305         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16306         words of double from correct stack offsets.
16307         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16308         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16309         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16310         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16311         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16312         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16313         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16314         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16315         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16316         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16317         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16318         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16319         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16320         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16321         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16322         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16323         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16324
16325 2013-10-04  Alan Modra  <amodra@gmail.com>
16326
16327         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16328         64-bit int/double union.
16329         (_FPU_SETCW): Likewise.
16330         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16331         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16332
16333 2013-10-04  Alan Modra  <amodra@gmail.com>
16334
16335         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16336         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16337
16338 2013-10-04  Alan Modra  <amodra@gmail.com>
16339
16340         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16341         use vector int constants.
16342         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16343
16344 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16345
16346         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16347         array with long long.
16348         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16349         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16350         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16351         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16352         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16353         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16354         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16355         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16356         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16357         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16358         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16359         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16360         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16361
16362 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16363
16364         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16365         (__signbit): Likewise.  Correct for little-endian.
16366         (__signbitl): Call __signbit.
16367         (lrint): Correct for little-endian.
16368         (lrintf): Call lrint.
16369
16370 2013-10-04  Alan Modra  <amodra@gmail.com>
16371
16372         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16373         union 32-bit int array member with 64-bit int array.
16374         (t515, tm256): Double rather than long double.
16375         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16376
16377 2013-10-04  Alan Modra  <amodra@gmail.com>
16378
16379         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16380         Delete.
16381         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16382         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16383         version of math_ldbl.h.
16384
16385 2013-10-04  Alan Modra  <amodra@gmail.com>
16386
16387         [BZ #15734], [BZ #15735]
16388         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16389         all uses of ieee875 long double macros and unions.  Simplify test
16390         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16391         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16392         normalize after ldbl_extract_mantissa, and don't add hidden bit
16393         already handled.  Don't treat low word of ieee854 mantissa like
16394         low word of IBM long double and mask off bit when testing for
16395         zero.
16396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16397         all uses of ieee875 long double macros and unions.  Simplify tests
16398         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16399         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16400         two1022, instead use their values.  Recognise that tests for large
16401         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16402         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16403         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16404         test for 0.0L and nan.  Correct negation.
16405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16406         ieee875 long double macros and unions.  Correct output for large
16407         magnitude x.  Correct absolute value calculation.
16408         (__erfcl): Likewise.
16409         * math/libm-test.inc: Add tests for errors discovered in IBM long
16410         double versions of fmodl, remainderl, erfl and erfcl.
16411
16412 2013-10-04  Alan Modra  <amodra@gmail.com>
16413
16414         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16415         all uses of ieee854 long double macros and unions.  Simplify tests
16416         for long doubles that are fully specified by the high double.
16417         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16418         Likewise.
16419         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16420         Remove dead code too.
16421         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16422         (__ieee754_ynl): Likewise.
16423         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16424         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16425         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16426         Remove dead code too.
16427         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16428         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16429         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16430         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16431         Simplify.
16432         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16433         Simplify.
16434         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16435         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16436         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16437         Comment on variable precision.
16438         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16439         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16440         Likewise.
16441         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16442         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16443         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16444         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16445         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16446
16447 2013-10-04  Alan Modra  <amodra@gmail.com>
16448
16449         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16450         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16451         all uses of ieee854 long double macros and unions.
16452         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16453         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16454         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16455         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16456         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16457         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16458         Likewise.
16459         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16460         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16461         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16462         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16463         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16464         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16465         Simplify sign and nan test too.
16466         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16467         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16468         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16469         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16470         Likewise.
16471         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16472         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16473         Likewise.
16474         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16475         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16476         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16477         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16478         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16479         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16480
16481 2013-10-04  Alan Modra  <amodra@gmail.com>
16482
16483         * stdio-common/printf_size.c (__printf_size): Don't use
16484         union ieee854_long_double in fpnum union.
16485         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16486         signbit macro to retrieve sign from long double.
16487         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16488         retrieve sign from long double.
16489         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16490         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16491         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16492         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16493         * math/test-misc.c (main): Don't use union ieee854_long_double.
16494
16495 2013-10-04  Alan Modra  <amodra@gmail.com>
16496
16497         [BZ #15680]
16498         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16499         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16500         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16501         calculation.  Remove unnecessary test for denormal exponent.
16502         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16503         Correct handling of denormals.  Avoid undefined shift behaviour.
16504         Correct normalisation of low mantissa when low double is denormal.
16505         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16506         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16507         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16508         Correct normalisation of low mantissa.  Test for overflow of high
16509         mantissa and normalise.
16510         (ldbl_nearbyint): Use more readable constant for two52.
16511         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16512         (__mpn_construct_long_double): Fix test for overflow of high
16513         mantissa and correct normalisation.  Avoid undefined shift.
16514
16515 2013-10-04  Alan Modra  <amodra@gmail.com>
16516
16517         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16518         (union ibm_extended_long_double): Define as an array of ieee754_double.
16519         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16520         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16521         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16522         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16523         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16524         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16526         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16527         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16528         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16529         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16530
16531 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16532
16533         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16534         page size instead of calling getpagesize.
16535
16536         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16537         (LOCFILE_ALIGN_MASK): Likewise.
16538         (LOCFILE_ALIGN_UP): Likewise.
16539         (LOCFILE_ALIGNED_P): Likewise.
16540         * locale/programs/ld-collate.c (collate_output): Use the new
16541         macros instead of __alignof__ (int32_t).
16542         * locale/weight.h (findidx): Likewise.
16543
16544 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16545
16546         [BZ #431]
16547         * manual/string.texi: Fix strncat and wcsncat.
16548
16549 2013-10-03  Brooks Moses  <bmoses@google.com>
16550
16551         [BZ #15915]
16552         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16553         * Makerules: ...here, and adjust associated comments.
16554
16555 2013-10-02  Will Newton  <will.newton@linaro.org>
16556
16557         * malloc/Makefile: Add tst-pvalloc.
16558         * malloc/tst-pvalloc.c: New file.
16559
16560 2013-10-02  Will Newton  <will.newton@linaro.org>
16561
16562         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16563         improve test coverage.
16564
16565 2013-10-02  Will Newton  <will.newton@linaro.org>
16566
16567         * malloc/Makefile: Add tst-posix_memalign.
16568         * malloc/tst-posix_memalign.c: New file.
16569
16570 2013-10-01  Eric Blake  <eblake@redhat.com>
16571
16572         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16573         Use __THROWNL rather than __THROW on static functions.
16574
16575 2013-09-30  Petr Machata  <pmachata@redhat.com>
16576
16577         * elf/elf.h (R_AARCH64_ABS16): New macro.
16578         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16579         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16580         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16581         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16582         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16583         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16584         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16585         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16586         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16587         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16588         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16589         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16590         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16591         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16592         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16593         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16594         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16595         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16596         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16597         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16598         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16599         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16600         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16601         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16602         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16603         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16604         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16605         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16606         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16607         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16608         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16609         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16610         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16611         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16612         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16613         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16614         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16615         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16616         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16617         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16618         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16619         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16620         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16621         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16622         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16623         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16624         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16625         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16626         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16627         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16628         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16629         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16630         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16631         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16632         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16633         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16634         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16635         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16636         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16637         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16638         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16639         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16640         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16641         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16642         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16643         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16644         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16645         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16646         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16647         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16648         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16649         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16650         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16651         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16652         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16653         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16654         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16655         (R_AARCH64_TLSDESC_LDR): Likewise.
16656         (R_AARCH64_TLSDESC_ADD): Likewise.
16657         (R_AARCH64_TLSDESC_CALL): Likewise.
16658
16659 2013-09-30  Andreas Schwab  <schwab@suse.de>
16660
16661         [BZ #15048]
16662         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16663         the nss database lookup.
16664         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16666
16667 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16668
16669         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16670
16671 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16672
16673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16674         ${Bash-specific parameter/pattern/string} parameter expansion.
16675         * sysdeps/unix/make-syscalls.sh: Likewise.
16676
16677 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16678
16679         * sysdeps/sh/stackguard-macros.h: New file.
16680
16681 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16682
16683         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16685         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16686         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16687         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16688         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16689
16690 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16691
16692         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16693         Fix thread ID register.
16694
16695 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16696
16697         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16698         [POSIX || UNIX98]: Require rather than permitting all symbols from
16699         <time.h>.
16700         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16701         element of struct sched_param.
16702         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16703         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16704         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16705         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16706         constant.
16707
16708 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16709
16710         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16711         argument calculation.
16712
16713 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16714
16715         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16716         Expect macro.
16717         [POSIX] (pthread_attr_t): Do not require type.
16718         [POSIX] (pthread_cond_t): Likewise.
16719         [POSIX] (pthread_condattr_t): Likewise.
16720         [POSIX] (pthread_key_t): Likewise.
16721         [POSIX] (pthread_mutex_t): Likewise.
16722         [POSIX] (pthread_mutexattr_t): Likewise.
16723         [POSIX] (pthread_once_t): Likewise.
16724         [POSIX] (pthread_t): Likewise.
16725         [POSIX-based standards] (pthread_atfork): Expect function.
16726
16727 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16728             Richard Sandiford  <richard@codesourcery.com>
16729
16730         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16731         (swap_endianness_p): New extern variable.
16732         (set_big_endian): New inline function.
16733         (maybe_swap_uint32): Likewise.
16734         (maybe_swap_uint32_array): Likewise.
16735         (maybe_swap_uint32_obstack): Likewise.
16736         * locale/programs/locfile.c: Include <stdbool.h>.
16737         (swap_endianness_p): New variable.
16738         (add_locale_uint32): Call maybe_swap_uint32.
16739         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16740         (write_locale_data): Call maybe_swap_uint32_array.
16741         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16742         maybe_swap_uint32.
16743         (obstack_int32_grow_fast): Likewise.
16744         (output_weightwc): Call maybe_swap_uint32_obstack.
16745         (collate_output): Likewise.
16746         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16747         (OPT_LITTLE_ENDIAN): Likewise.
16748         (options): Add --little-endian and --big-endian options.
16749         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16750         * locale/programs/locarchive.c: Include "locfile.h".
16751         (GET): New macro.
16752         (SET): Likewise.
16753         (INC): Likewise.
16754         (create_archive): Use the new macros to access fields of
16755         structures directly mapped from or written to locale archives.
16756         (oldlocrecentcmp): Likewise.
16757         (enlarge_archive): Likewise.
16758         (insert_name): Likewise.
16759         (add_alias): Likewise.
16760         (add_locale): Likewise.
16761         (delete_locales_from_archive): Likewise.
16762         (show_archive_content): Likewise.
16763         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16764         locale data.
16765
16766 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16767
16768         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16769         http://www.gnu.org/doc/freemanuals.texi.
16770         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16771
16772 2013-09-24  Will Newton  <will.newton@linaro.org>
16773
16774         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16775         macro.
16776
16777 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16778
16779         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16780         unsigned char.
16781
16782 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16783
16784         * manual/threads.texi (POSIX Threads): Fix a typo.
16785
16786 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16787
16788         [BZ #14547]
16789         * string/tst-strcoll-overflow.c: New test case.
16790         * string/Makefile (xtests): Add tst-strcoll-overflow.
16791         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16792         cache if string sizes may cause integer overflow.
16793
16794         [BZ #14547]
16795         * string/strcoll_l.c (coll_seq): New members rule, idx,
16796         save_idx and back_us.
16797         (get_next_seq_nocache): New function.
16798         (do_compare_nocache): New function.
16799         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16800         when malloc fails.
16801
16802 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16803
16804         [BZ #15754]
16805         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16806         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16807         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16808
16809         [BZ #15754]
16810         * elf/Makefile (tests): Add tst-ptrguard1.
16811         (tests-static): Add tst-ptrguard1-static.
16812         (tst-ptrguard1-ARGS): Define.
16813         (tst-ptrguard1-static-ARGS): Define.
16814         * elf/tst-ptrguard1.c: New file.
16815         * elf/tst-ptrguard1-static.c: New file.
16816         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16817         * sysdeps/i386/stackguard-macros.h: Likewise.
16818         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16819         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16820         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16821         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16822         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16823         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16824
16825 2013-09-23  Hector Marco  <hecmargi@upv.es>
16826             Ismael Ripoll  <iripoll@disca.upv.es>
16827             Carlos O'Donell  <carlos@redhat.com>
16828
16829         [BZ #15754]
16830         * sysdeps/generic/stackguard-macros.h: Define
16831         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16832         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16833         Define __pointer_chk_guard_local.
16834         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16835         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16836
16837 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16838
16839         [BZ #15859]
16840         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16841
16842 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16843
16844         * include/string.h (__ffs): Declare as hidden.
16845         * string/ffs.c (__ffs): Define as hidden.
16846         * sysdeps/i386/ffs.c (__ffs): Likewise.
16847         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16848         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16849         * sysdeps/s390/ffs.c (__ffs): Likewise.
16850         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16851
16852 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16853
16854         * NEWS: Mention malloc probes.
16855
16856         * malloc/arena.c (new_heap): New memory_heap_new probe.
16857         (grow_heap): New memory_heap_more probe.
16858         (shrink_heap): New memory_heap_less probe.
16859         (heap_trim): New memory_heap_free probe.
16860         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16861         (systrim): New memory_sbrk_less probe.
16862         * manual/probes.texi: Document them.
16863
16864         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16865         * manual/probes.texi: Document it.
16866
16867         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16868         (__libc_realloc): Add memory_realloc_retry probe.
16869         (__libc_memalign): Add memory_memalign_retry probe.
16870         (__libc_valloc): Add memory_valloc_retry probe.
16871         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16872         (__libc_calloc): Add memory_calloc_retry probe.
16873         * manual/probes.texi: Document them.
16874
16875         * malloc/arena.c (get_free_list): Add probe
16876         memory_arena_reuse_free_list.
16877         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16878         and memory_arena_reuse.
16879         (arena_get2) [!PER_THREAD]: Likewise.
16880         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16881         memory_arena_reuse_realloc.
16882         * manual/probes.texi: Document them.
16883
16884         * malloc/malloc.c (__libc_free): Add
16885         memory_mallopt_free_dyn_thresholds probe.
16886         (__libc_mallopt): Add multiple memory_mallopt probes.
16887         * manual/probes.texi: Document them.
16888
16889         * malloc/malloc.c: Include stap-probe.h.
16890         (__libc_mallopt): Add memory_mallopt probe.
16891         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16892         * manual/probes.texi: New.
16893         * manual/Makefile (chapters): Add probes.
16894         * manual/threads.texi: Set next node.
16895
16896 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16897
16898         [BZ #15963, #13985]
16899         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16900         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16901         Add `Chinese' to `nan' entry name.
16902
16903 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16904
16905         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16906         (POLYNOMIAL): Likewise.
16907         (TAYLOR_SINCOS): Likewise.
16908         (TAYLOR_SLOW): Likewise.
16909         (__sin): Use TAYLOR_SINCOS.
16910         (__cos): Likewise.
16911         (slow): Use TAYLOR_SLOW.
16912         (sloww): Likewise.
16913         (bsloww): Likewise.
16914         (csloww): Likewise.
16915
16916 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16917
16918         * stdlib/strtod_l.c: Fix buffer overrun.
16919
16920 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16921
16922         * benchtests/Makefile (bench): Add sincos.
16923         * benchtests/bench-sincos.c: New file.
16924
16925         * math/libm-test.inc (cos_test_data): New test inputs.
16926         (sin_test_data): Likewise.
16927
16928         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16929         macro.
16930         (__sin): Use it.
16931         (__cos): Likewise.
16932         (slow1): Likewise.
16933         (slow2): Likewise.
16934         (sloww1): Likewise.
16935         (sloww2): Likewise.
16936         (bsloww1): Likewise.
16937         (bsloww2): Likewise.
16938         (cslow2): Likewise.
16939         (csloww1): Likewise.
16940         (csloww2): Likewise.
16941
16942         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16943         function.
16944         (__sin): Use it.
16945         (__cos): Likewise.
16946
16947         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16948         gotos.
16949         (__cos): Likewise.
16950
16951 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16952
16953         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16954         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16955         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16956         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16957         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16958         * elf/cache.c (print_entry): Handle the new cache flags.
16959
16960 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16961             Aldy Hernandez  <aldyh@redhat.com>
16962
16963         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16964         Change condition to [_SOFT_FLOAT].
16965         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16966         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16967         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16969         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16970         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16971         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16972         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16973         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16977         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16980         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16981         declaration.
16982
16983 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16984
16985         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16986         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16987         (__longjmp): Use LOAD_GP to load saved GPRs.
16988         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16989         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16990         (__sigsetjmp): Use SAVE_GP to save GPRs.
16991
16992         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16993         Do not append -msoft-float.
16994         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16995
16996 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16997
16998         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16999
17000 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17001
17002         [BZ #15966]
17003         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17004         (_FPU_GETCW): Use initial "__" on variable and field names but not
17005         on macro parameter name.
17006         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17007         parentheses around reference to macro parameter.
17008
17009 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17010
17011         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17012         prototype.
17013         (ctype_startup): Use uint32_t in cast and sizeof for
17014         ctype->charnames.
17015
17016 2013-09-11  Jia Liu  <proljc@gmail.com>
17017
17018         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17019         __daddr_t_defined.
17020         [__FreeBSD__]: Likewise.
17021
17022 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17023
17024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17025         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17026         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17027         (strchr): Remove __strchr_sse42 ifunc selection.
17028         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17029         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17030
17031 2013-09-11  Will Newton  <will.newton@linaro.org>
17032
17033         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17034         parameter to RES. Remove hardcoded 1000 value.
17035         * benchtests/bench-skeleton.c (main): Pass RES parameter
17036         to TIMING_INIT and multiply result by 1000.
17037
17038 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17039
17040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17041
17042 2013-09-11  Andreas Schwab  <schwab@suse.de>
17043
17044         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17045         if not defined.
17046         (O_TMPFILE) [__USE_GNU]: Define.
17047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17048         Define.
17049
17050 2013-09-11  Will Newton  <will.newton@linaro.org>
17051
17052         [BZ #15857]
17053         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17054         does not overflow.
17055
17056 2013-09-11  Will Newton  <will.newton@linaro.org>
17057
17058         [BZ #15856]
17059         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17060         does not overflow.
17061
17062 2013-09-11  Will Newton  <will.newton@linaro.org>
17063
17064         [BZ #15855]
17065         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17066         does not overflow.
17067
17068 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17069
17070         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17071         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17072         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17073         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17074         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17075
17076 2013-09-10  Allan McRae  <allan@archlinux.org>
17077
17078         [BZ #15748]
17079         * manual/arith.texi (Parsing of Floats): Clarify
17080         cross-reference.
17081
17082         [BZ #15849]
17083         * manual/install.texi (Running make install): Mention
17084         --enable-pt-chown.
17085         * INSTALL: Regenerated.
17086
17087 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17088
17089         * csu/init-first.c (_init): Remove the !SHARED condition around
17090         FPU control word initialization.
17091         * elf/dl-support.c (_dl_fpu_control): New variable.
17092         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17093         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17094         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17095         * math/test-fpucw-static.c: New file.
17096         * math/test-fpucw-ieee.c: New file.
17097         * math/test-fpucw-ieee-static.c: New file.
17098         * math/Makefile (tests): Add `test-fpucw-ieee' and
17099         `$(tests-static)'.
17100         (tests-static): New variable.
17101         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17102         dependency to...
17103         [($(build-shared),yes)]
17104         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17105         ... this.
17106         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17107         New dependency.
17108
17109 2013-09-09  Allan McRae  <allan@archlinux.org>
17110
17111         [BZ #15939]
17112         * manual/string.texi (Collation Functions): Fix typo in
17113         strcoll example.
17114         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17115
17116         [BZ #15893]
17117         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17118
17119         [BZ #15892]
17120         * libio/memstream.c (open_memstream): Fix memory leak.
17121         * libio/wmemstream.c (open_wmemstream): Likewise.
17122
17123         [BZ #15895]
17124         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17125
17126 2013-09-09  Will Newton  <will.newton@linaro.org>
17127
17128         * malloc/Makefile: Add tst-realloc to tests.
17129         * malloc/tst-realloc.c: New file.
17130
17131 2013-09-09  Allan McRae  <allan@archlinux.org>
17132
17133         [BZ #15844]
17134         * COPYING: Update from GNU website to fix FSF address.
17135         * COPYING.LIB: Likewise.
17136
17137 2013-09-06  David S. Miller  <davem@davemloft.net>
17138
17139         * po/zh_TW.po: Update Chinese (traditional) translation from
17140         translation project.
17141
17142 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17143             Joseph Myers  <joseph@codesourcery.com>
17144
17145         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17146         "localeinfo.h".
17147         (obstack_chunk_alloc): New macro.
17148         (obstack_chunk_free): Likewise.
17149         (record_offset): New function.
17150         (init_locale_data): Likewise.
17151         (align_locale_data): Likewise.
17152         (add_locale_empty): Likewise.
17153         (add_locale_raw_data): Likewise.
17154         (add_locale_raw_obstack): Likewise.
17155         (add_locale_string): Likewise.
17156         (add_locale_wstring): Likewise.
17157         (add_locale_uint32): Likewise.
17158         (add_locale_uint32_array): Likewise.
17159         (add_locale_char): Likewise.
17160         (start_locale_structure): Likewise.
17161         (end_locale_structure): Likewise.
17162         (start_locale_prelude): Likewise.
17163         (end_locale_prelude): Likewise.
17164         (write_locale_data): Take locale_file structure rather than an
17165         iovec.
17166         * locale/programs/locfile.h: Include "obstack.h".
17167         (struct locale_file): Change to store locale file contents instead
17168         of header.
17169         (init_locale_data): New prototype.
17170         (align_locale_data): Likewise.
17171         (add_locale_empty): Likewise.
17172         (add_locale_raw_data): Likewise.
17173         (add_locale_raw_obstack): Likewise.
17174         (add_locale_string): Likewise.
17175         (add_locale_wstring): Likewise.
17176         (add_locale_uint32): Likewise.
17177         (add_locale_uint32_array): Likewise.
17178         (add_locale_char): Likewise.
17179         (start_locale_structure): Likewise.
17180         (end_locale_structure): Likewise.
17181         (start_locale_prelude): Likewise.
17182         (end_locale_prelude): Likewise.
17183         (write_locale_data): Update prototype.
17184         * locale/programs/3level.h (struct TABLE): Remove result field.
17185         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17186         Use new locale_file interface.
17187         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17188         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17189         * locale/programs/ld-address.c (address_output): Use new
17190         locale_file interface.
17191         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17192         NO_ADD_LOCALE.
17193         (collate_finish): Don't call collseq_table_finalize.
17194         (collate_output): Use new locale_file interface.
17195         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17196         in file.
17197         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17198         (TABLE): Move defines earlier in file.
17199         (ELEMENT): Likewise.
17200         (DEFAULT): Likewise.
17201         (wctrans_table_add): Move macro and inline function earlier in
17202         file.
17203         (struct wctype_table): Move type earlier in file.
17204         (add_locale_wctype_table): New static prototype.
17205         (struct locale_ctype_t): Use logical types instead of struct iovec
17206         pointers for members.
17207         (ctype_output): Use new locale_file interface.
17208         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17209         new locale_file interface.
17210         (allocate_arrays): Update for use of new locale_file interface.
17211         * locale/programs/ld-identification.c (identification_output): Use
17212         new locale_file interface.
17213         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17214         * locale/programs/ld-messages.c (messages_output): Likewise.
17215         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17216         * locale/programs/ld-name.c (name_output): Likewise.
17217         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17218         * locale/programs/ld-paper.c (paper_output): Likewise.
17219         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17220         * locale/programs/ld-time.c (time_output): Likewise.
17221
17222 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17223
17224         * benchtests/Makefile: Add memrchr benchmark.
17225         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17226         benchmark as memrchr.
17227         * benchtests/bench-memrchr-ifunc.c: New file.
17228         * benchtests/bench-memrchr.c: New file.
17229
17230 2013-09-06   Will Newton  <will.newton@linaro.org>
17231
17232         * benchtests/Makefile (string-bench): Add memcpy.
17233
17234 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17235             Cong Wang  <amwang@redhat.com>
17236
17237         [BZ #15850]
17238         * sysdeps/unix/sysv/linux/bits/in.h
17239         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17240         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17241         before __USE_KERNEL_IPV6_DEFS uses.
17242         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17243         IPPROTO_BEETPH.
17244         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17245         sockaddr_in6, or ipv6_mreq.
17246
17247 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17248
17249         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17250         memory access for final bytes in some large inputs.
17251         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17252
17253 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17254
17255         * string/test-memrchr.c: New file.
17256         * string/test-memrchr-ifunc.c: New file.
17257         * string/Makefile: Add new memrchr testcase.
17258
17259 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17260
17261         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17262         fanotify_init returns EPERM.
17263
17264 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17265
17266         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17267         errors.
17268         (top level): Treat second token from macro or constant entries for
17269         allowed headers as allowed.
17270         * include/complex.h: Condition internal declarations on
17271         [!_ISOMAC].
17272         * include/fenv.h: Condition include of <stdbool.h> and internal
17273         declarations on [!_ISOMAC].
17274
17275 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17276
17277         [BZ #15923]
17278         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17279
17280 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17281
17282         * configure.in (--enable-versioning): Remove configure option.
17283         (libc_cv_asm_symver_directive): Remove configure test.
17284         (libc_cv_ld_version_script_option): Likewise.
17285         (VERSIONING): Remove variable and AC_SUBST.
17286         (DO_VERSIONING): Remove AC_DEFINE.
17287         * configure: Regenerated.
17288         * config.h.in (DO_VERSIONING): Remove macro.
17289         * Makerules [$(versioning) = yes]: Change conditionals to
17290         [$(build-shared) = yes].
17291         * config.make.in (versioning): Remove variable.
17292         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17293         [$(build-shared) = yes].
17294         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17295         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17296         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17297         [$(build-shared) = yes].
17298         * extra-lib.mk [$(versioning) = yes]: Likewise.
17299         * hurd/Makefile [$(versioning) = yes]: Likewise.
17300         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17301         [SHARED].
17302         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17303         [SHARED].
17304         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17305         [SHARED && !NO_HIDDEN].
17306         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17307         [SHARED].
17308         [SHARED && DO_VERSIONING]: Likewise..
17309         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17310         [$(build-shared) = yes].
17311         * manual/install.texi (--disable-versioning): Remove
17312         documentation.
17313         * INSTALL: Regenerated.
17314         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17315         to [SHARED].
17316         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17317         [$(build-shared) = yes].
17318         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17319         * sysdeps/i386/i686/multiarch/strstr-c.c
17320         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17321         [SHARED && !NO_HIDDEN].
17322         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17323         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17324         * sysdeps/powerpc/powerpc32/dl-machine.c
17325         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17326         * sysdeps/powerpc/powerpc32/sysdep.h
17327         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17328         to [SHARED && PIC && !NO_HIDDEN].
17329         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17330         conditional to [SHARED].
17331
17332 2013-09-04   Will Newton  <will.newton@linaro.org>
17333
17334         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17335         * benchtests/bench-string.h: Include bench-timing.h instead
17336         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17337         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17338         call to HP_TIMING_DIFF_INIT.
17339         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17340         instead of hp-timing.h macros.
17341         * benchtests/bench-memchr.c: Likewise.
17342         * benchtests/bench-memcmp.c: Likewise.
17343         * benchtests/bench-memcpy.c: Likewise.
17344         * benchtests/bench-memmem.c: Likewise.
17345         * benchtests/bench-memmove.c: Likewise.
17346         * benchtests/bench-memset.c: Likewise.
17347         * benchtests/bench-rawmemchr.c: Likewise.
17348         * benchtests/bench-strcasecmp.c: Likewise.
17349         * benchtests/bench-strcasestr.c: Likewise.
17350         * benchtests/bench-strcat.c: Likewise.
17351         * benchtests/bench-strchr.c: Likewise.
17352         * benchtests/bench-strcmp.c: Likewise.
17353         * benchtests/bench-strcpy.c: Likewise.
17354         * benchtests/bench-strcpy_chk.c: Likewise.
17355         * benchtests/bench-strlen.c: Likewise.
17356         * benchtests/bench-strncasecmp.c: Likewise.
17357         * benchtests/bench-strncat.c: Likewise.
17358         * benchtests/bench-strncmp.c: Likewise.
17359         * benchtests/bench-strncpy.c: Likewise.
17360         * benchtests/bench-strnlen.c: Likewise.
17361         * benchtests/bench-strpbrk.c: Likewise.
17362         * benchtests/bench-strrchr.c: Likewise.
17363         * benchtests/bench-strspn.c: Likewise.
17364         * benchtests/bench-strstr.c: Likewise.
17365
17366 2013-09-04  Will Newton  <will.newton@linaro.org>
17367
17368         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17369
17370 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17371
17372         [BZ #15427]
17373         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17374         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17375         * math/libm-test.inc (lgamma_test_data): Add more tests.
17376         * sysdeps/i386/fpu/libm-test-ulps: Update.
17377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17378
17379 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17380
17381         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17383         Add ifunc.
17384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17385         Add strcmp-sse2-unaligned
17386         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17387
17388 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17389
17390         * Versions.def (libc): Add GLIBC_2.19.
17391
17392 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17393
17394         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17395         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17396
17397 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17398
17399         [BZ #14155]
17400         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17401         intermediate calculations in recurrence.
17402         (__ieee754_ynf): Likewise.
17403         * math/libm-test.inc (jn_test_data): Do not allow spurious
17404         underflow exception.  Add more tests.
17405         (yn_test_data): Add more tests.
17406         * sysdeps/i386/fpu/libm-test-ulps: Update.
17407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17408
17409 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17410
17411         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17412
17413 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17414
17415         * csu/init-first.c: Fix then/than typos.
17416         * locale/programs/ld-collate.c: Likewise.
17417         * locale/programs/linereader.h: Likewise.
17418         * manual/charset.texi: Likewise.
17419         * manual/filesys.texi: Likewise.
17420         * manual/stdio.texi: Likewise.
17421         * manual/string.texi: Likewise.
17422         * stdlib/fmtmsg.c: Likewise.
17423         * sysdeps/i386/stpncpy.S: Likewise.
17424         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17425         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17426         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17427         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17428
17429 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17430
17431         * elf/dl-open.c: Fix typos.
17432         * iconvdata/gbbig5.c: Likewise.
17433         * iconvdata/iso-2022-jp.c: Likewise.
17434         * iconv/gconv_int.h: Likewise.
17435         * iconv/loop.c: Likewise.
17436         * nis/rpcsvc/nis.h: Likewise.
17437         * resolv/ns_name.c: Likewise.
17438         * stdio-common/vfscanf.c: Likewise.
17439         * streams/stropts.h: Likewise.
17440         * sunrpc/rpc_thread.c: Likewise.
17441         * sysdeps/i386/strpbrk.S: Likewise.
17442         * sysdeps/ieee754/k_standard.c: Likewise.
17443         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17445         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17446         * sysdeps/mach/hurd/profil.c: Likewise.
17447         * sysdeps/s390/dl-procinfo.h: Likewise.
17448         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17449         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17450         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17451         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17452         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17453
17454 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17455
17456         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17458
17459 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17460
17461         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17462         aix specific files.
17463         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17464         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17465         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17466         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17467         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17468         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17469         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17470         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17471
17472 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17473             Roland McGrath  <roland@hack.frob.com>
17474
17475         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17476         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17477
17478 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17479
17480         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17481         __executable_start symbol instead of _start.
17482
17483 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17484
17485         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17486         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17487         Move macros to...
17488         * sysdeps/gnu/ldsodefs.h: ... this new file.
17489
17490         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17491         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17492         instead of ELFOSABI_LINUX.
17493
17494         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17495         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17496         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17497         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17498         Likewise.
17499         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17500         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17501         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17502         Likewise.
17503         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17504         (ibm_extended_long_double): Add ieee_nan member.
17505         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17506         (do_test): New function.
17507
17508         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17509         TEST_TRUNC.
17510         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17511         functions, renamed from truncdfsf_test, trunctfsf_test,
17512         trunctfdf_test.
17513         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17514         functions.
17515         (do_test): Run all these.
17516
17517 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17518
17519         * argp/argp-help.c: Fix typos.
17520         * argp/argp-parse.c: Likewise.
17521         * debug/backtracesyms.c: Likewise.
17522         * elf/elf.h: Likewise.
17523         * malloc/malloc.c: Likewise.
17524         * nis/nis_print.c: Likewise.
17525         * resolv/res_comp.c: Likewise.
17526         * stdlib/stdlib.h: Likewise.
17527         * sunrpc/clnt_tcp.c: Likewise.
17528         * sunrpc/clnt_udp.c: Likewise.
17529         * sunrpc/clnt_unix.c: Likewise.
17530         * sysdeps/unix/bsd/ptsname.c: Likewise.
17531         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17532         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17534         Likewise.
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17536         Likewise.
17537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17538         Likewise.
17539         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17540
17541 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17542
17543         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17545
17546 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17547
17548         [BZ #15897]
17549         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17550         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17551         ($(objpfx)bug-dl-leaf): New rule.
17552         ($(objpfx)bug-dl-leaf.so): Likewise.
17553         ($(objpfx)bug-dl-leaf.out): Likewise.
17554         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17555         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17556         * dlfcn/bug-dl-leaf.c: New test.
17557         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17558         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17559         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17560         (dlclose): Likewise.
17561         (dlmopen): Likewise.
17562
17563 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17564
17565         * include/netdb.h [!_ISOMAC]:
17566         Don't include <tls.h>.
17567         (h_errno, __libc_h_errno): Move declaration and macros out of
17568         [_LIBC_REENTRANT].
17569
17570         * include/resolv.h [_RESOLV_H_]:
17571         Don't include <tls.h>.
17572         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17573         * resolv/res_libc.c: Don't include <tls.h>.
17574         (_res): Use __attribute__ ((nocommon)) in place of
17575         __attribute__ ((section (".bss"))).
17576
17577         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17578         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17579
17580         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17581
17582         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17583         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17584
17585         * resolv/res_mkquery.c: Include <sys/time.h>.
17586
17587         * inet/ifreq.c: Moved to ...
17588         * sysdeps/unix/ifreq.c: ... here.
17589         * inet/ifreq.c: New file, true stub version.
17590
17591         * socket/sa_len.c: New file.
17592         * socket/Makefile (aux): Add it.
17593         * sysdeps/unix/sysv/linux/Makefile
17594         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17595         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17596         and #include <socket/sa_len.c>.
17597         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17598         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17599
17600         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17601         * bits/socket.h: ... here.
17602
17603         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17604         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17605         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17606
17607 2013-08-27  Andreas Schwab  <schwab@suse.de>
17608
17609         [BZ #15736]
17610         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17611         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17612         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17613         * string/test-strcasecmp.c (test_main): Run tests in several
17614         locales.
17615         * string/test-strncasecmp.c (test_main): Likewise.
17616
17617         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17618         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17619         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17620         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17621         (__strncasecmp_ssse3) [PIC]: Likewise.
17622
17623 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17624
17625         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17626
17627         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17628         instead of explicitly declaring xdecrypt.
17629         * nis/nss_nis/nis-publickey.c: Likewise.
17630
17631 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17632
17633         [BZ #15890]
17634         * nscd/aicache.c: Include res_hconf.h.
17635         (addhstaiX): Initialize res_hconf.
17636
17637 2013-08-26  Andreas Schwab  <schwab@suse.de>
17638
17639         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17640         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17641
17642 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17643
17644         * nscd/aicache.c (addhstaiX): Fix indentation.
17645
17646 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17647
17648         * configure.ac: Quote $build_pt_chown test.
17649         * configure: Regenerated.
17650
17651 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17652
17653         [BZ #15532]
17654         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17655         * math/s_cexpf.c (__cexpf): Likewise.
17656         * math/s_cexpl.c (__cexpl): Likewise.
17657         * math/libm-test.inc (cexp_test_data): Correct expected return
17658         value for NaN + i0.  Add another test.
17659
17660 2013-08-22  David S. Miller  <davem@davemloft.net>
17661
17662         * po/ca.po: Update Catalan translation from translation project.
17663         * po/uk.po: Add Ukrainian translations from translation project.
17664
17665 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17666
17667         [BZ #15797]
17668         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17669         is infinite, not alongside NaN test.
17670         * math/s_fdimf.c (__fdimf): Likewise.
17671         * math/s_fdiml.c (__fdiml): Likewise.
17672         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17673         errno is unchanged.
17674
17675 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17676
17677         * argp/argp-help.c: Fix typos.
17678         * crypt/speeds.c: Likewise.
17679         * csu/check_fds.c: Likewise.
17680         * elf/dl-load.c: Likewise.
17681         * elf/dl-open.c: Likewise.
17682         * elf/reldep3.c: Likewise.
17683         * elf/reldep.c: Likewise.
17684         * elf/sprof.c: Likewise.
17685         * iconv/iconv_charmap.c: Likewise.
17686         * iconv/skeleton.c: Likewise.
17687         * iconv/strtab.c: Likewise.
17688         * io/lockf64.c: Likewise.
17689         * libio/libioP.h: Likewise.
17690         * resolv/gai_notify.c: Likewise.
17691         * resolv/ns_name.c: Likewise.
17692         * resolv/ns_samedomain.c: Likewise.
17693         * resolv/res_send.c: Likewise.
17694         * stdlib/random.c: Likewise.
17695         * sunrpc/rpc/xdr.h: Likewise.
17696         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17697         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17698         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17699         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17700         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17701         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17702         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17703         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17704         * sysdeps/mach/hurd/check_fds.c: Likewise.
17705         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17706         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17707         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17708         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17709         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17710         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17711         * sysdeps/pthread/aio_notify.c: Likewise.
17712         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17713         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17714         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17715         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17716         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17717
17718 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17719
17720         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17721         version if bit_Slow_SSE4_2 is set.
17722         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17723         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17724
17725 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17726
17727         [BZ #15867]
17728         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17729         trampoline stack frame information.
17730         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17731         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17732         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17733         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17734         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17735         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17736         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17737         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17738         sa_flags value.
17739         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17740         interrupting a syscall and set with option SA_SIGINFO.
17741
17742 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17743
17744         [BZ #15531]
17745         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17746         argument is infinite.
17747         * math/s_cprojf.c (__cprojf): Likewise.
17748         * math/s_cprojl.c (__cprojl): Likewise.
17749         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17750         * math/libm-test.inc (cproj_test_data): Add more tests.
17751
17752         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17753
17754         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17755         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17756         size.  Use __ffs to determine corresponding shift.
17757
17758 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17759             Roland McGrath  <roland@hack.frob.com>
17760
17761         * Makefile (INSTALL): Remove trailing blank lines from output of
17762         makeinfo.
17763
17764 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17765
17766         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17767         Align 32 bit compat elf_greg to 8 bytes.
17768
17769 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17770
17771         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17772
17773 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17774
17775         * string/strcoll_l.c (coll_seq): New structure.
17776         (get_next_seq_cached): New function.
17777         (get_next_seq): New function.
17778         (do_compare): New function.
17779         (STRCOLL): Use GNU style definition.  Simplify implementation
17780         by using get_next_seq, get_next_seq_cached and do_compare.
17781
17782 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17783
17784         [BZ #14699]
17785         CVE-2013-4237
17786         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17787         member.
17788         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17789         member.
17790         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17791         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17792         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17793         conditional.
17794         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17795         GETDENTS_64BIT_ALIGNED.
17796         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17797         * manual/filesys.texi (Reading/Closing Directory): Document
17798         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17799         strongly.
17800         * manual/conf.texi (Limits for Files): Add portability note to
17801         NAME_MAX, PATH_MAX.
17802         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17803
17804 2013-08-13  Andreas Schwab  <schwab@suse.de>
17805
17806         [BZ #15749]
17807         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17808         of fabs.
17809         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17810         LDBL_MAX_EXP >= 16384]: Add tests for it.
17811
17812 2013-08-12  David S. Miller  <davem@davemloft.net>
17813
17814         * version.h (RELEASE): Set to "development".
17815         (VERSION): Set to "2.18.90".
17816         * NEWS: Add 2.19 section.
17817
17818 2013-08-03  David S. Miller  <davem@davemloft.net>
17819
17820         * po/ko.po: Update Korean translation from translation project.
17821
17822 2013-08-01  David S. Miller  <davem@davemloft.net>
17823
17824         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17825         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17826         Bilka.
17827
17828 2013-07-30  David S. Miller  <davem@davemloft.net>
17829
17830         * po/fr.po: Update French translation from translation project.
17831
17832 2013-07-28  David S. Miller  <davem@davemloft.net>
17833
17834         * po/cs.po: Update Czech translation from translation project.
17835
17836         * po/sv.po: Update Swedish translation from translation project.
17837
17838 2013-07-27  David S. Miller  <davem@davemloft.net>
17839
17840         * po/eo.po: Update Esperanto translation from translation project.
17841
17842         * po/vi.po: Update Vietnamese translation from translation project.
17843
17844         * po/de.po: Update German translation from translation project.
17845
17846 2013-07-26  David S. Miller  <davem@davemloft.net>
17847
17848         * po/bg.po: Update Bulgarian translation from translation project.
17849
17850         * po/nl.po: Update Dutch translation from translation project.
17851         * po/pl.po: Update Polish translation from translation project.
17852         * po/ru.po: Update Russian translation from translation project.
17853
17854 2013-07-24  David S. Miller  <davem@davemloft.net>
17855
17856         * po/libc.pot: Update.
17857
17858 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17859
17860         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17861         variable page size.
17862         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17863         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17864         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17865
17866 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17867
17868         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17869
17870 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17871             Andreas Schwab  <schwab@suse.de>
17872             Roland McGrath  <roland@hack.frob.com>
17873             Joseph Myers  <joseph@codesourcery.com>
17874             Carlos O'Donell  <carlos@redhat.com>
17875
17876         [BZ #15755]
17877         * config.h.in: Define HAVE_PT_CHOWN.
17878         * config.make.in (build-pt-chown): New variable.
17879         * configure.in (--enable-pt_chown): New configure option.
17880         * configure: Regenerate.
17881         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17882         build-pt-chown is enabled.
17883         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17884         pt_chown to fix pty ownership.
17885         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17886         CLOSE_ALL_FDS.
17887         * manual/install.texi (Configuring and compiling): Mention
17888         --enable-pt_chown. Add @findex for grantpt.
17889         * INSTALL: Regenerate.
17890
17891 2013-07-20  David S. Miller  <davem@davemloft.net>
17892
17893         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17894         difference between 32-bit and 64-bit.
17895
17896 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17897
17898         [BZ #15711]
17899         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17900         Avoid system header dependency with -ffreestanding.
17901         ($(objpfx)bits/syscall%d): Likewise.
17902
17903 2013-07-13  David S. Miller  <davem@davemloft.net>
17904
17905         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17906         underflows from atanl/atan2l due to bug 15319.
17907         (casinh_test_data): Likewise.
17908
17909 2013-07-07  David S. Miller  <davem@davemloft.net>
17910
17911         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17912
17913 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17914
17915         * sysdeps/i386/fpu/libm-test-ulps: Update.
17916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17917
17918 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17919
17920         * configure.in (--enable-lock-elision): Fix message text.
17921         * INSTALL: Regenerate.
17922         * configure: Regenerate.
17923
17924 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17925
17926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17927
17928 2013-07-03  Andreas Jaeger  <aj@suse.de>
17929
17930         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17931         define.
17932         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17933         (ptrace_peeksiginfo_args): Add.
17934         (__ptrace_peeksiginfo_flags): Add.
17935         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17936         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17937         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17938
17939 2013-07-03  Allan McRae  <allan@archlinux.org>
17940
17941         * sysdeps/i386/fpu/libm-test-ulps: Update.
17942
17943 2013-07-02  David S. Miller  <davem@davemloft.net>
17944
17945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17946
17947 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17948
17949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17950
17951 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17952
17953         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17955
17956 2013-07-02  Andi Kleen <ak@linux.intel.com>
17957
17958         * config.h.in (ENABLE_LOCK_ELISION): Add.
17959         * configure.in (--enable-lock-elision): Add option.
17960         * manual/install.texi: Document --enable lock elision.
17961         * configure: Regenerate
17962         * INSTALL: Regenerate.
17963
17964 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17965
17966         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17967         SSE4.2 strcasecmp for libc.a.
17968         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17969
17970 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17971
17972         [BZ #13304]
17973         * soft-fp/op-common.h (_FP_FMA): New macro.
17974         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17975         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17976         (_FP_MUL_MEAT_1_imm): ... here.
17977         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17978         (_FP_MUL_MEAT_1_wide): ... here.
17979         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17980         (_FP_MUL_MEAT_1_hard): ... here.
17981         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17982         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17983         (_FP_MUL_MEAT_2_wide): ... here.
17984         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17985         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17986         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17987         (_FP_MUL_MEAT_2_gmp): ... here.
17988         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17989         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17990         (_FP_MUL_MEAT_4_wide): ... here.
17991         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17992         (_FP_MUL_MEAT_4_gmp): ... here.
17993         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17994         (_FP_WFRACBITS_DW_S): Likewise.
17995         (_FP_WFRACXBITS_DW_S): Likewise.
17996         (_FP_HIGHBIT_DW_S): Likewise.
17997         (FP_FMA_S): Likewise.
17998         (_FP_FRAC_HIGH_DW_S): Likewise.
17999         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18000         (_FP_WFRACBITS_DW_D): Likewise.
18001         (_FP_WFRACXBITS_DW_D): Likewise.
18002         (_FP_HIGHBIT_DW_D): Likewise.
18003         (FP_FMA_D): Likewise.
18004         (_FP_FRAC_HIGH_DW_D): Likewise.
18005         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18006         (_FP_WFRACBITS_DW_E): Likewise.
18007         (_FP_WFRACXBITS_DW_E): Likewise.
18008         (_FP_HIGHBIT_DW_E): Likewise.
18009         (FP_FMA_E): Likewise.
18010         (_FP_FRAC_HIGH_DW_E): Likewise.
18011         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18012         (_FP_WFRACBITS_DW_Q): Likewise.
18013         (_FP_WFRACXBITS_DW_Q): Likewise.
18014         (_FP_HIGHBIT_DW_Q): Likewise.
18015         (FP_FMA_Q): Likewise.
18016         (_FP_FRAC_HIGH_DW_Q): Likewise.
18017         * soft-fp/fmasf4.c: New file.
18018         * soft-fp/fmadf4.c: Likewise.
18019         * soft-fp/fmatf4.c: Likewise.
18020
18021 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18022
18023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18024         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18025         Silvermont.
18026         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18027         macro.
18028         (index_Slow_SSE4_2): Likewise.
18029         (index_Prefer_PMINUB_for_stringop): Likewise.
18030         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18031         bit_Slow_SSE4_2 is set.
18032         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18033         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18034
18035 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18036
18037         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18038         rtld_global._dl_hwcap2.
18039         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18040         POWER8.
18041         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18042         POWER8 feature descriptions defined in _dl_hwcap2.
18043         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18044         string handling for POWER8 feature bits.
18045         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18046         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18047         _dl_powerpc_cap_flags.
18048         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18049         * sysdeps/powerpc/rtld-global-offsets.sym
18050         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18051         _dl_hwcap2 in the rtld_global_ro structure.
18052
18053 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18054
18055         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18056         hardware capabilities in support of AT_HWCAP2.
18057         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18058         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18059         GLRO(dl_hwcap2).
18060         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18061         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18062         explicitly the unknown a_type display mechanism is used.
18063         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18064         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18065         struct member.
18066         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18067         to macro prototype for AT_HWCAP2 support.
18068         * sysdeps/i386/dl-procinfo.h: Likewise.
18069         * sysdeps/s390/dl-procinfo.h: Likewise.
18070         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18071         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18072         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18073         return -1 for unknown a_type display fallback.
18074         * sysdeps/sparc/dl-procinfo.h: Likewise.
18075         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18076         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18077
18078 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18079
18080         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18081         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18082
18083 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18084
18085         [BZ #12492]
18086         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18087         mprotect making __stack_prot writable.
18088
18089 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18090             Joseph Myers  <joseph@codesourcery.com>
18091
18092         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18093         as being properly aligned.
18094
18095 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18096
18097         * dlfcn/modstatic5.c: New file.
18098         * dlfcn/tststatic5.c: New file.
18099         * dlfcn/Makefile (tests): Add tststatic5.
18100         (tests-static): Likewise.
18101         (modules-names): Add modstatic5.
18102         (tststatic5-ENV): New variable.
18103         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18104
18105         [BZ #15022]
18106         * elf/dl-support.c (_dl_main_map): New variable.
18107         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18108         (_dl_nns, _dl_load_adds): Set to 1.
18109         (_dl_initial_searchlist): Refer to _dl_main_map.
18110         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18111         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18112         call to _dl_get_origin.
18113         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18114         around call_map.
18115         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18116         * dlfcn/modstatic3.c: New file.
18117         * dlfcn/tststatic3.c: New file.
18118         * dlfcn/tststatic4.c: New file.
18119         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18120         (tests-static): Likewise.
18121         (modules-names): Add modstatic3.
18122         (tststatic3-ENV, tststatic4-ENV): New variables.
18123         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18124         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18125
18126 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18127
18128         * configure.in (CC): Require GCC version 4.4 or later.
18129         * configure: Regenerated.
18130         * manual/install.texi (Tools for Compilation): Update GCC version
18131         requirement.
18132         * INSTALL: Regenerated.
18133
18134 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18135
18136         [BZ #15674]
18137         * string/test-memcmp.c (check2): New.
18138         (main): Call check2.
18139
18140         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18141
18142 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18143
18144         [BZ #15022]
18145         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18146         over to...
18147         (dl_open_worker) [!SHARED]: ... here.
18148
18149 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18150
18151         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18152
18153 2013-06-25  Richard Henderson  <rth@redhat.com>
18154
18155         * locale/programs/locarchive.c: Include <libc-internal.h>
18156
18157 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18158
18159         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18160         trailing whitespace removed.
18161
18162 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18163
18164         [BZ #10283]
18165         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18166         * locale/programs/locarchive.c: Include libc-mmap.h.
18167         (prepare_address_space): Take two new outputs (the mmap base and len).
18168         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18169         values.
18170         (create_archive): Declare new mmap base and len values for
18171         prepare_address_space, and store the result in ah.
18172         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18173         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18174         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18175         Declare new mmap base and len values for
18176         prepare_address_space, and store the result in new_ah.
18177         (open_archive): Declare new mmap base and len values for
18178         prepare_address_space, and store the result in ah.
18179         (close_archive): If ah->mmap_base is not NULL, use that and
18180         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18181         * sysdeps/generic/libc-mmap.h: New file.
18182
18183 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18184
18185         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18186         (ALIGN_UP): Likewise.
18187         (PTR_ALIGN_DOWN): Likewise.
18188         (PTR_ALIGN_UP): Likewise.
18189
18190 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18191
18192         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18193         entry mapped to PPC_PLATFORM_POWER8.
18194         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18195         POWER8.
18196         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18197         (_dl_string_platform): Add case for exporting platform position for
18198         POWER8.
18199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18200         search path to sysdeps/powerpc/powerpc32/power8 directory.
18201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18202         search path to sysdeps/powerpc/powerpc64/power8 directory.
18203         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18204         power7 directories.
18205         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18206         power7 directories.
18207
18208 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18209
18210         * INSTALL: Regenerate.
18211
18212         * nscd/connections.c (nscd_init): Fix comment.
18213
18214 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18215
18216         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18217
18218         [BZ #15667]
18219         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18220         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18221
18222 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18223
18224         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18225         DL_DST_REQ_STATIC.
18226         (DL_DST_REQ_STATIC): Remove macro.
18227
18228 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18229
18230         [BZ #7006]
18231         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18232         with a shift of 0 bits.
18233
18234 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18235
18236         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18237         $(tststatic-ENV).
18238
18239 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18240
18241         [BZ #15655]
18242         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18243
18244 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18245
18246         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18247         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18248         accepts -fno-tree-loop-distribute-patterns.
18249         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18250         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18251         recursive call.
18252         * string/memset.c (memset): Likewise.
18253         * string/test-memmove.c (simple_memmove): Disable loop transformation
18254         to library calls.
18255         * string/test-memset.c (simple_memset): Likewise.
18256         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18257         * benchtests/bench-memset.c (simple_memset): Likewise.
18258         * configure: Regenerated.
18259
18260 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18261
18262         * math/test-misc.c (main): Ignore fesetround failure when failures
18263         of subsequent rounding tests would be ignored.
18264
18265         [BZ #15654]
18266         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18267         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18268         * math/fegetenv.c (__fegetenv): Return 0.
18269         * math/fegetexcept.c (fegetexcept): Return 0.
18270         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18271         FE_TONEAREST.
18272         * math/feholdexcpt.c (feholdexcept): Return 0.
18273         * math/fesetenv.c (__fesetenv): Return 0.
18274         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18275         argument FE_TONEAREST.
18276         * math/feupdateenv.c (__feupdateenv): Return 0.
18277         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18278
18279 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18280
18281         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18282         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18283         ($(objpfx)rtld-%.os rules): Use them.
18284
18285 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18286
18287         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18288         fields.
18289
18290 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18291
18292         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18293         length of target pattern, then descending length of dependency pattern.
18294         * configure.in (AWK): Require gawk 3.1.2 or newer.
18295         * manual/install.texi (Tools for Compilation): Say that we do.
18296         * configure: Regenerated.
18297
18298         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18299         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18300         * scripts/sysd-rules.awk: ... this new script.
18301         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18302         than a glob-style pattern.
18303
18304 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18305
18306         * math/test-misc.c (main): Do not treat incorrectly rounded
18307         conversions as failure unless ROUNDING_TESTS passes.
18308
18309 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18310
18311         [BZ #15631]
18312         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18313         restore exception state around main square root computation, then
18314         check for inexactness explicitly.
18315
18316         * math/libm-test.inc (fma_test_data): Add another test.
18317
18318 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18319
18320         * manual/threads.texi (Non-POSIX Extensions): New document
18321         node.  Document pthread_getattr_default_np and
18322         pthread_setattr_default_np.
18323
18324         * Versions.def (libpthread): Add GLIBC_2.18.
18325         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18327         Likewise.
18328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18329         Likewise.
18330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18331         Likewise.
18332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18333         Likewise.
18334         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18335         Likewise.
18336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18337         Likewise.
18338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18339         Likewise.
18340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18341         Likewise.
18342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18343         Likewise.
18344
18345 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18346
18347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18348         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18349
18350 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18351             H.J. Lu  <hjl.tools@gmail.com>
18352
18353         [BZ #15627]
18354         * sysdeps/x86_64/rtld-memset.c: Remove file.
18355         * sysdeps/x86_64/rtld-memset.S: New file.
18356
18357 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18358
18359         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18360         (test_in_one_mode): Take arguments for whether the rounding mode
18361         is supported for each floating-point type.
18362         (do_test): Pass new arguments to test_in_one_mode using
18363         ROUNDING_TESTS.
18364
18365 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18366
18367         * posix/tst-waitid.c (do_test): Distinguish different instances of
18368         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18369         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18370         before entering the kernel for waitpid.
18371
18372 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18373
18374         * NEWS: Fix note on clock function precision.  Text by Roland
18375         McGrath.
18376
18377 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18378
18379         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18380         it into place only when and if the sanity check passes.
18381
18382 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18383
18384         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18385         output for whether conversion result is exact.  Take argument
18386         indicating whether type is IBM long double.
18387         (round_for_all): Change need_exact field to ibm_ld.
18388         * stdlib/tst-strtod-round.c (struct exactness): New type.
18389         (struct test): Change bool ld_ok field to struct exactness exact.
18390         (TEST): Update all definitions for change to field.
18391         (tests): Regenerate array contents.
18392         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18393         field value.  Check for IBM long double here.
18394         (do_test): Update calls to test_in_one_mode.
18395
18396 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18397
18398         [BZ #12515]
18399         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18400         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18401
18402 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18403
18404         [BZ #15605]
18405         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18406         generated by the compiler on loop optimizations.
18407         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18408         general definitions.
18409
18410 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18411
18412         * math/bug-nextafter.c: Include <math-tests.h>.
18413         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18414         the relevant type.
18415         * math/bug-nexttoward.c: Include <math-tests.h>.
18416         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18417         the relevant type.
18418         * math/test-misc.c: Include <math-tests.h>.
18419         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18420         the relevant type.
18421
18422 2013-06-12  Andreas Jaeger  <aj@suse.de>
18423
18424         * po/ia.po: Update Interlingua translation from translation
18425         project.
18426
18427 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18428
18429         * include/fenv.h: Include stdbool.h.
18430         (struct rm_ctx): New structure.
18431         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18432         Define macro.
18433         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18434         (SET_RESTORE_ROUNDF): Likewise.
18435         (SET_RESTORE_ROUNDL): Likewise.
18436         (SET_RESTORE_ROUND_NOEX): Likewise.
18437         (SET_RESTORE_ROUND_NOEXF): Likewise.
18438         (SET_RESTORE_ROUND_NOEXL): Likewise.
18439         (SET_RESTORE_ROUND_53BIT): Likewise.
18440         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18441         (libc_feresetround_noexf_ctx): Likewise.
18442         (libc_feresetround_noexl_ctx): Likewise.
18443         (libc_feholdsetround_53bit_ctx): Likewise.
18444         (libc_feresetround_53bit_ctx): Likewise.
18445         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18446         (libc_feholdexcept_setround_sse_ctx): New function.
18447         (libc_fesetenv_sse_ctx): Likewise.
18448         (libc_feupdateenv_sse_ctx): Likewise.
18449         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18450         (libc_feholdexcept_setround_387_ctx): Likewise.
18451         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18452         (libc_feholdsetround_387_prec_ctx): Likewise.
18453         (libc_feholdsetround_387_ctx): Likewise.
18454         (libc_feholdsetround_387_53bit_ctx): Likewise.
18455         (libc_feholdsetround_sse_ctx): Likewise.
18456         (libc_feresetround_sse_ctx): Likewise.
18457         (libc_feresetround_387_ctx): Likewise.
18458         (libc_feupdateenv_387_ctx): Likewise.
18459         (libc_feholdexcept_setroundf_ctx): Define macro.
18460         (libc_fesetenvf_ctx): Likewise.
18461         (libc_feupdateenvf_ctx): Likewise.
18462         (libc_feholdsetroundf_ctx): Likewise.
18463         (libc_feresetroundf_ctx): Likewise.
18464         (libc_feholdexcept_setround_ctx): Likewise.
18465         (libc_fesetenv_ctx): Likewise.
18466         (libc_feupdateenv_ctx): Likewise.
18467         (libc_feholdsetround_ctx): Likewise.
18468         (libc_feresetround_ctx): Likewise.
18469         (libc_feholdexcept_setroundl_ctx): Likewise.
18470         (libc_feupdateenvl_ctx): Likewise.
18471         (libc_feholdsetroundl_ctx): Likewise.
18472         (libc_feresetroundl_ctx): Likewise.
18473         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18474         (libc_feresetround_53bit_ctx): Likewise.
18475
18476 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18477
18478         * locale/iso-639.def: Convert to UTF-8.
18479
18480 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18481
18482         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18483         (EXCEPTION_TESTS_double): Likewise.
18484         (EXCEPTION_TESTS_long_double): Likewise.
18485         (EXCEPTION_TESTS): Likewise.
18486         * math/libm-test.inc (test_exceptions): Only test exceptions if
18487         EXCEPTION_TESTS (FLOAT).
18488
18489 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18490
18491         * benchtests/Makefile (string-bench): Add strcpy_chk and
18492         stpcpy_chk.
18493         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18494         * benchtests/bench-stpcpy_chk.c: New file.
18495         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18496         * benchtests/bench-strcpy_chk.c: New file.
18497         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18498         code.
18499         (do_test): Likewise.
18500
18501 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18502
18503         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18504         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18505         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18506         with tabs where appropriate.
18507         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18508         dl-procinfo.h.
18509         [PPC_PLATFORM_PPC440]: Likewise.
18510         [PPC_PLATFORM_PPC464]: Likewise.
18511         [PPC_PLATFORM_PPC476]: Likewise.
18512         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18513         ppc464, and ppc476 platform strings merging from ports/
18514         dl-procinfo.h.
18515
18516 2013-06-11  Andreas Schwab  <schwab@suse.de>
18517
18518         [BZ #14991]
18519         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18520         (from_ucs4_idx): Regenerate.
18521         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18522         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18523         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18524         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18525         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18526         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18527         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18528         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18529         from FROM_LOOP and TO_LOOP specific macros.
18530         (BODY): Handle combining characters.
18531         * iconvdata/BIG5HKSCS.irreversible: Update.
18532         * iconvdata/BIG5HKSCS.precomposed: New file.
18533         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18534         characters.
18535         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18536
18537 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18538
18539         * include/sys/time.h: Fix indentation and add copyright header.
18540
18541         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18542         (do_test): Likewise.
18543         * string/test-memchr.c (do_one_test): Likewise.
18544         (do_test): Likewise.
18545         * string/test-memcmp.c (do_one_test): Likewise.
18546         (do_test): Likewise.
18547         * string/test-memcpy.c (do_one_test): Likewise.
18548         (do_test): Likewise.
18549         * string/test-memmem.c (do_one_test): Likewise.
18550         (do_test): Likewise.
18551         (do_random_tests): Likewise.
18552         * string/test-memmove.c (do_one_test): Likewise.
18553         (do_test): Likewise.
18554         * string/test-memset.c (do_one_test): Likewise.
18555         (do_test): Likewise.
18556         * string/test-rawmemchr.c (do_one_test): Likewise.
18557         (do_test): Likewise.
18558         * string/test-strcasecmp.c (do_one_test): Likewise.
18559         (do_test): Likewise.
18560         * string/test-strcasestr.c (do_one_test): Likewise.
18561         (do_test): Likewise.
18562         * string/test-strcat.c (do_one_test): Likewise.
18563         (do_test): Likewise.
18564         * string/test-strchr.c (do_one_test): Likewise.
18565         (do_test): Likewise.
18566         * string/test-strcmp.c (do_one_test): Likewise.
18567         (do_test): Likewise.
18568         * string/test-strcpy.c (do_one_test): Likewise.
18569         (do_test): Likewise.
18570         * string/test-string.h: Likewise.
18571         (test_init): Likewise.
18572         * string/test-strlen.c (do_one_test): Likewise.
18573         (do_test): Likewise.
18574         * string/test-strncasecmp.c (do_one_test): Likewise.
18575         (do_test): Likewise.
18576         * string/test-strncat.c (do_one_test): Likewise.
18577         (do_test): Likewise.
18578         * string/test-strncmp.c (do_one_test): Likewise.
18579         (do_test_limit): Likewise.
18580         (do_test): Likewise.
18581         * string/test-strncpy.c (do_one_test): Likewise.
18582         (do_test): Likewise.
18583         * string/test-strnlen.c (do_one_test): Likewise.
18584         (do_test): Likewise.
18585         * string/test-strpbrk.c (do_one_test): Likewise.
18586         (do_test): Likewise.
18587         * string/test-strrchr.c (do_one_test): Likewise.
18588         (do_test): Likewise.
18589         * string/test-strspn.c (do_one_test): Likewise.
18590         (do_test): Likewise.
18591         * string/test-strstr.c (do_one_test): Likewise.
18592         (do_test): Likewise.
18593
18594         * benchtests/Makefile (string-bench): Add string benchmarks.
18595         * benchtests/bench-bcopy-ifunc.c: New file.
18596         * benchtests/bench-bcopy.c: New file.
18597         * benchtests/bench-bzero-ifunc.c: New file.
18598         * benchtests/bench-bzero.c: New file.
18599         * benchtests/bench-memccpy-ifunc.c: New file.
18600         * benchtests/bench-memccpy.c: New file.
18601         * benchtests/bench-memchr-ifunc.c: New file.
18602         * benchtests/bench-memchr.c: New file.
18603         * benchtests/bench-memcmp-ifunc.c: New file.
18604         * benchtests/bench-memcmp.c: New file.
18605         * benchtests/bench-memmem-ifunc.c: New file.
18606         * benchtests/bench-memmem.c: New file.
18607         * benchtests/bench-memmove-ifunc.c: New file.
18608         * benchtests/bench-memmove.c: New file.
18609         * benchtests/bench-mempcpy-ifunc.c: New file.
18610         * benchtests/bench-mempcpy.c: New file.
18611         * benchtests/bench-memset-ifunc.c: New file.
18612         * benchtests/bench-memset.c: New file.
18613         * benchtests/bench-rawmemchr-ifunc.c: New file.
18614         * benchtests/bench-rawmemchr.c: New file.
18615         * benchtests/bench-stpcpy-ifunc.c: New file.
18616         * benchtests/bench-stpcpy.c: New file.
18617         * benchtests/bench-stpncpy-ifunc.c: New file.
18618         * benchtests/bench-stpncpy.c: New file.
18619         * benchtests/bench-strcasecmp-ifunc.c: New file.
18620         * benchtests/bench-strcasecmp.c: New file.
18621         * benchtests/bench-strcasestr-ifunc.c: New file.
18622         * benchtests/bench-strcasestr.c: New file.
18623         * benchtests/bench-strcat-ifunc.c: New file.
18624         * benchtests/bench-strcat.c: New file.
18625         * benchtests/bench-strchr-ifunc.c: New file.
18626         * benchtests/bench-strchr.c: New file.
18627         * benchtests/bench-strchrnul-ifunc.c: New file.
18628         * benchtests/bench-strchrnul.c: New file.
18629         * benchtests/bench-strcmp-ifunc.c: New file.
18630         * benchtests/bench-strcmp.c: New file.
18631         * benchtests/bench-strcpy-ifunc.c: New file.
18632         * benchtests/bench-strcpy.c: New file.
18633         * benchtests/bench-strcspn-ifunc.c: New file.
18634         * benchtests/bench-strcspn.c: New file.
18635         * benchtests/bench-strlen-ifunc.c: New file.
18636         * benchtests/bench-strlen.c: New file.
18637         * benchtests/bench-strncasecmp-ifunc.c: New file.
18638         * benchtests/bench-strncasecmp.c: New file.
18639         * benchtests/bench-strncat-ifunc.c: New file.
18640         * benchtests/bench-strncat.c: New file.
18641         * benchtests/bench-strncmp-ifunc.c: New file.
18642         * benchtests/bench-strncmp.c: New file.
18643         * benchtests/bench-strncpy-ifunc.c: New file.
18644         * benchtests/bench-strncpy.c: New file.
18645         * benchtests/bench-strnlen-ifunc.c: New file.
18646         * benchtests/bench-strnlen.c: New file.
18647         * benchtests/bench-strpbrk-ifunc.c: New file.
18648         * benchtests/bench-strpbrk.c: New file.
18649         * benchtests/bench-strrchr-ifunc.c: New file.
18650         * benchtests/bench-strrchr.c: New file.
18651         * benchtests/bench-strspn-ifunc.c: New file.
18652         * benchtests/bench-strspn.c: New file.
18653         * benchtests/bench-strstr-ifunc.c: New file.
18654         * benchtests/bench-strstr.c: New file.
18655
18656         * benchtests/Makefile: Disable parallel execution of targets.
18657         (string-bench): Add memcpy.
18658         (benchset): New variable to store a list of benchmark sets.
18659         (bench-func): Renamed from bench.
18660         (bench-set): New target.
18661         (bench): Depend on bench-func and bench-set.
18662         * benchtests/README: Add section on benchmark sets.
18663         * benchtests/bench-memcpy-ifunc.c: New file.
18664         * benchtests/bench-memcpy.c: New file.
18665         * benchtests/bench-string.h: New file.
18666
18667 2013-06-11  Andreas Schwab  <schwab@suse.de>
18668
18669         [BZ #15577]
18670         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18671         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18672         values in the triple.
18673         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18674         terminator in the group key.
18675
18676 2013-06-11  Andreas Jaeger  <aj@suse.de>
18677
18678         * po/zh_TW.po: Update Chinese (traditional) translation from
18679         translation project.
18680
18681 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18682
18683         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18684         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18685         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18686         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18687         (clock_getcpuclockid): Likewise.
18688         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18689         Add weak_alias and libc_hidden_def.
18690         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18691         * rt/clock_gettime.c (clock_gettime): Rename to
18692         __clock_gettime.  Add weak_alias and libc_hidden_def.
18693         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18694         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18695         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18696         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18697         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18698         Likewise.
18699         * rt/clock_settime.c (clock_settime): Rename to
18700         __clock_settime.  Add weak_alias and libc_hidden_def.
18701         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18702
18703 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18704
18705         * mach/err_boot.sub: Remove trailing whitespace.
18706         * mach/err_ipc.sub: Likewise.
18707         * mach/err_mach.sub: Likewise.
18708
18709         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18710         (ROUNDING_TESTS_double): Likewise.
18711         (ROUNDING_TESTS_long_double): Likewise.
18712         (ROUNDING_TESTS): Likewise.
18713         * math/libm-test.inc: Include <math-tests.h>.
18714         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18715         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18716         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18717         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18718
18719 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18720
18721         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18722         of assigning.
18723
18724 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18725
18726         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18727         otherwise empty TRANS lines.
18728         * sysdeps/gnu/errlist.c: Regenerated.
18729
18730         * catgets/gencat.c (error_print): Use (void) in function
18731         definition.
18732         * crypt/crypt_util.c (__init_des): Likewise.
18733         * crypt/speeds.c (Stop): Likewise.
18734         (main): Likewise.
18735         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18736         * inet/ruserpass.c (token): Likewise.
18737         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18738         * intl/localealias.c (extend_alias_table): Likewise.
18739         * intl/plural-exp.c (init_germanic_plural): Likewise.
18740         * libio/fcloseall.c (__fcloseall): Likewise.
18741         * libio/genops.c (_IO_flush_all): Likewise.
18742         (_IO_flush_all_linebuffered): Likewise.
18743         (_IO_cleanup): Likewise.
18744         (_IO_iter_begin): Likewise.
18745         (_IO_iter_end): Likewise.
18746         (_IO_list_lock): Likewise.
18747         (_IO_list_unlock): Likewise.
18748         (_IO_list_resetlock): Likewise.
18749         * libio/getchar.c (getchar): Likewise.
18750         * libio/getchar_u.c (getchar_unlocked): Likewise.
18751         * libio/getwchar.c (getwchar): Likewise.
18752         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18753         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18754         * login/getpt.c (__getpt): Likewise.
18755         * login/tst-utmp.c (main): Likewise.
18756         * malloc/hooks.c (__malloc_check_init): Likewise.
18757         * malloc/malloc.c (__malloc_stats): Likewise.
18758         * malloc/mtrace.c (tr_break): Likewise.
18759         (mtrace): Likewise.
18760         (muntrace): Likewise.
18761         * misc/fstab.c (endfsent): Likewise.
18762         * misc/getclktck.c (__getclktck): Likewise.
18763         * misc/getdtsz.c (__getdtablesize): Likewise.
18764         * misc/gethostid.c (gethostid): Likewise.
18765         * misc/getpagesize.c (__getpagesize): Likewise.
18766         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18767         (__get_nprocs): Likewise.
18768         (__get_phys_pages): Likewise.
18769         (__get_avphys_pages): Likewise.
18770         * misc/getttyent.c (getttyent): Likewise.
18771         (setttyent): Likewise.
18772         (endttyent): Likewise.
18773         * misc/getusershell.c (getusershell): Likewise.
18774         (endusershell): Likewise.
18775         (setusershell): Likewise.
18776         (initshells): Likewise.
18777         * misc/hsearch.c (__hdestroy): Likewise.
18778         * misc/sync.c (sync): Likewise.
18779         * misc/syslog.c (closelog_internal): Likewise.
18780         (closelog): Likewise.
18781         * misc/ttyslot.c (ttyslot): Likewise.
18782         * misc/vhangup.c (vhangup): Likewise.
18783         * posix/fork.c (__fork): Likewise.
18784         * posix/getegid.c (__getegid): Likewise.
18785         * posix/geteuid.c (__geteuid): Likewise.
18786         * posix/getgid.c (__getgid): Likewise.
18787         * posix/getpid.c (__getpid): Likewise.
18788         * posix/getppid.c (__getppid): Likewise.
18789         * posix/getuid.c (__getuid): Likewise.
18790         * posix/pause.c (pause): Likewise.
18791         * posix/setpgrp.c (setpgrp): Likewise.
18792         * posix/setsid.c (__setsid): Likewise.
18793         * posix/test-vfork.c (noop): Likewise.
18794         * resolv/gethnamaddr.c (_endhtent): Likewise.
18795         (_gethtent): Likewise.
18796         (ht_endhostent): Likewise.
18797         (gethostent): Likewise.
18798         (dns_service): Likewise.
18799         * stdlib/drand48.c (drand48): Likewise.
18800         * stdlib/lrand48.c (lrand48): Likewise.
18801         * stdlib/mrand48.c (mrand48): Likewise.
18802         * stdlib/rand.c (rand): Likewise.
18803         * stdlib/random.c (__random): Likewise.
18804         * stdlib/setenv.c (clearenv): Likewise.
18805         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18806         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18807         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18808         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18809         (__get_nprocs): Likewise.
18810         (__get_phys_pages): Likewise.
18811         (__get_avphys_pages): Likewise.
18812         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18813         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18814         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18815         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18816         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18817         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18818         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18819         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18820         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18821         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18822         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18823         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18824         * sysdeps/posix/clock.c (clock): Likewise.
18825         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18826         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18827         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18828         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18829         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18830         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18831         (__get_nprocs_conf): Likewise.
18832         (__get_phys_pages): Likewise.
18833         (__get_avphys_pages): Likewise.
18834         * time/clock.c (clock): Likewise.
18835         * time/tzset.c (__tzname_max): Likewise.
18836
18837 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18838
18839         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18840         (__bswap_32): Do not use "register".
18841         * crypt/crypt.c (_ufc_doit_r): Likewise.
18842         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18843         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18844         * gmon/gmon.c (__monstartup): Likewise.
18845         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18846         * hurd/hurdmalloc.c (more_memory): Likewise.
18847         (malloc): Likewise.
18848         (free): Likewise.
18849         (realloc): Likewise.
18850         (malloc_fork_prepare): Likewise.
18851         (malloc_fork_parent): Likewise.
18852         (malloc_fork_child): Likewise.
18853         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18854         (_svcauth_des): Likewise.
18855         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18856         * inet/inet_net.c (inet_network): Likewise.
18857         * inet/inet_netof.c (inet_netof): Likewise.
18858         * inet/rcmd.c (__validuser2_sa): Likewise.
18859         * io/fts.c (fts_open): Likewise.
18860         (fts_load): Likewise.
18861         (fts_close): Likewise.
18862         (fts_read): Likewise.
18863         (fts_children): Likewise.
18864         (fts_build): Likewise.
18865         (fts_stat): Likewise.
18866         (fts_sort): Likewise.
18867         (fts_alloc): Likewise.
18868         (fts_lfree): Likewise.
18869         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18870         (_IO_file_xsgetn): Likewise.
18871         (_IO_file_xsgetn_mmap): Likewise.
18872         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18873         (_IO_cookie_write): Likewise.
18874         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18875         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18876         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18877         * malloc/obstack.c (_obstack_begin): Likewise.
18878         (_obstack_begin_1): Likewise.
18879         (_obstack_newchunk): Likewise.
18880         (_obstack_allocated_p): Likewise.
18881         (obstack_free): Likewise.
18882         (_obstack_memory_used): Likewise.
18883         * misc/getttyent.c (getttynam): Likewise.
18884         (getttyent): Likewise.
18885         (skip): Likewise.
18886         (value): Likewise.
18887         * misc/getusershell.c (initshells): Likewise.
18888         * misc/syslog.c (__vsyslog_chk): Likewise.
18889         * misc/ttyslot.c (ttyslot): Likewise.
18890         * nis/nis_hash.c (__nis_hash): Likewise.
18891         * posix/fnmatch_loop.c (FCT): Likewise.
18892         * posix/getconf.c (print_all): Likewise.
18893         (main): Likewise.
18894         * posix/getopt.c (exchange): Likewise.
18895         * posix/glob.c (globfree): Likewise.
18896         (prefix_array): Likewise.
18897         (__glob_pattern_type): Likewise.
18898         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18899         (NS_GET32): Likewise.
18900         (NS_PUT16): Likewise.
18901         (NS_PUT32): Likewise.
18902         * resolv/gethnamaddr.c (getanswer): Likewise.
18903         (gethostbyname2): Likewise.
18904         (gethostbyaddr): Likewise.
18905         (_gethtent): Likewise.
18906         (_gethtbyname2): Likewise.
18907         (_gethtbyaddr): Likewise.
18908         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18909         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18910         * resolv/res_init.c (__res_vinit): Likewise.
18911         (net_mask): Likewise.
18912         * resolv/res_mkquery.c (outchar): Likewise.
18913         (PRINT): Likewise.
18914         * stdio-common/printf_fp.c (outchar): Likewise.
18915         (PRINT): Likewise.
18916         * stdio-common/printf_fphex.c (outchar): Likewise.
18917         (PRINT): Likewise.
18918         * stdio-common/printf_size.c (outchar): Likewise.
18919         (PRINT): Likewise.
18920         * stdio-common/test_rdwr.c (main): Likewise.
18921         * stdio-common/tfformat.c (matches): Likewise.
18922         * stdio-common/vfprintf.c (outchar): Likewise.
18923         (printf_unknown): Likewise.
18924         (buffered_vfprintf): Likewise.
18925         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18926         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18927         (ReadFile): Likewise.
18928         * stdlib/qsort.c (SWAP): Likewise.
18929         (_quicksort): Likewise.
18930         * stdlib/setenv.c (__add_to_environ): Likewise.
18931         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18932         * stdlib/strtol_l.c (__strtol_l): Likewise.
18933         * stdlib/tst-strtod.c (main): Likewise.
18934         * stdlib/tst-strtol.c (main): Likewise.
18935         * stdlib/tst-strtoll.c (main): Likewise.
18936         * string/bits/string2.h (__strcmp_cc): Likewise.
18937         (__strcmp_cg): Likewise.
18938         (__strcspn_c1): Likewise.
18939         (__strcspn_c2): Likewise.
18940         (__strcspn_c3): Likewise.
18941         (__strspn_c1): Likewise.
18942         (__strspn_c2): Likewise.
18943         (__strspn_c3): Likewise.
18944         (__strsep_1c): Likewise.
18945         (__strsep_2c): Likewise.
18946         (__strsep_3c): Likewise.
18947         * string/memccpy.c (__memccpy): Likewise.
18948         * string/stpcpy.c (__stpcpy): Likewise.
18949         * string/strcmp.c (strcmp): Likewise.
18950         * string/strrchr.c (strrchr): Likewise.
18951         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18952         Likewise.
18953         * sysdeps/mach/hurd/getcwd.c
18954         (_hurd_canonicalize_directory_name_internal): Likewise.
18955         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18956         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18957         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18958         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18959         Likewise, in both definitions.
18960         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18961         definitions.
18962         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18963         64] (__bswap_64): Likewise.
18964         * time/test_time.c (main): Likewise.
18965         * time/tzfile.c (__tzfile_read): Likewise.
18966         (__tzfile_compute): Likewise.
18967         * time/tzset.c (__tzset_parse_tz): Likewise.
18968         (tzset_internal): Likewise.
18969         (compute_change): Likewise.
18970         * wcsmbs/wcscat.c (__wcscat): Likewise.
18971         * wcsmbs/wcschr.c (wcschr): Likewise.
18972         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18973         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18974         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18975         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18976         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18977         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18978         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18979         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18980         * wcsmbs/wmemset.c (wmemset): Likewise.
18981
18982 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18983
18984         * scripts/config.guess: Update to version 2013-05-16.
18985         * scripts/config.sub: Update to version 2013-04-24.
18986         * scripts/install-sh: Update to version 2011-11-20.07.
18987         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18988         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18989
18990 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18991
18992         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18993         * elf/sln.c: Likewise.
18994         * hurd/hurd/ioctl.h: Likewise.
18995         * hurd/hurdmalloc.c: Likewise.
18996         * hurd/xattr.c: Likewise.
18997         * include/shlib-compat.h: Likewise.
18998         * inet/ruserpass.c: Likewise.
18999         * libio/iofgets_u.c: Likewise.
19000         * libio/iofgetws_u.c: Likewise.
19001         * locale/programs/ld-identification.c: Likewise.
19002         * locale/programs/ld-time.c: Likewise.
19003         * mach/msg-destroy.c: Likewise.
19004         * nss/nss_files/files-netgrp.c: Likewise.
19005         * resolv/res_data.c: Likewise.
19006         * soft-fp/op-1.h: Likewise.
19007         * soft-fp/op-2.h: Likewise.
19008         * soft-fp/op-4.h: Likewise.
19009         * soft-fp/op-common.h: Likewise.
19010         * stdio-common/printf_fphex.c: Likewise.
19011         * stdlib/strtod_l.c: Likewise.
19012         * sunrpc/rpc/clnt.h: Likewise.
19013         * sysdeps/generic/framestate.c: Likewise.
19014         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19015         * sysdeps/i386/bsd-setjmp.S: Likewise.
19016         * sysdeps/i386/__longjmp.S: Likewise.
19017         * sysdeps/i386/setjmp.S: Likewise.
19018         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19019         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19020         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19021         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19022         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19023         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19025         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19026         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19027         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19028         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19029         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19030         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19031         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19032         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19033         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19034         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19035         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19036         * sysdeps/ieee754/support.c: Likewise.
19037         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19038         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19039         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19040         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19041         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19042         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19043         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19044         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19045         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19046         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19047         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19048         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19049         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19050         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19051         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19052         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19053         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19055
19056 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19057
19058         * posix/transbug.c: Remove executable mode.
19059
19060 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19061
19062         * crypt/speeds.c: Remove trailing whitespace.
19063         * dlfcn/default.c: Likewise.
19064         * elf/ifuncdep2.c: Likewise.
19065         * elf/ifuncmain1.c: Likewise.
19066         * elf/ifuncmain1vis.c: Likewise.
19067         * elf/testobj.h: Likewise.
19068         * elf/tst-stackguard1.c: Likewise.
19069         * gmon/sys/gmon.h: Likewise.
19070         * hurd/hurdmsg.c: Likewise.
19071         * hurd/new-fd.c: Likewise.
19072         * hurd/ports-get.c: Likewise.
19073         * iconvdata/ibm1008_420.c: Likewise.
19074         * inet/tst-getni1.c: Likewise.
19075         * inet/tst-getni2.c: Likewise.
19076         * libio/ioungetc.c: Likewise.
19077         * libio/wfiledoalloc.c: Likewise.
19078         * manual/libm-err-tab.pl: Likewise.
19079         * math/w_dremf.c: Likewise.
19080         * misc/ftruncate.c: Likewise.
19081         * posix/bug-glob2.c: Likewise.
19082         * posix/tst-pcre.c: Likewise.
19083         * posix/wait4.c: Likewise.
19084         * resolv/README: Likewise.
19085         * resolv/res_debug.h: Likewise.
19086         * resolv/tst-inet_ntop.c: Likewise.
19087         * setjmp/bug269-setjmp.c: Likewise.
19088         * soft-fp/extended.h: Likewise.
19089         * soft-fp/op-1.h: Likewise.
19090         * soft-fp/op-2.h: Likewise.
19091         * soft-fp/op-4.h: Likewise.
19092         * soft-fp/op-8.h: Likewise.
19093         * soft-fp/testit.c: Likewise.
19094         * stdio-common/bug16.c: Likewise.
19095         * stdlib/random.c: Likewise.
19096         * sunrpc/rpcsvc/rquota.x: Likewise.
19097         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19098         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19099         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19100         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19101         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19102         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19103         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19104         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19105         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19106         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19107         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19108         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19109         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19110         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19111         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19112         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19113         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19114         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19115         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19116         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19117         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19118         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19119         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19120         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19121         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19122         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19123         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19124         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19125         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19126         * sysdeps/ieee754/s_lib_version.c: Likewise.
19127         * sysdeps/mach/hurd/check_fds.c: Likewise.
19128         * sysdeps/mach/hurd/getsockname.c: Likewise.
19129         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19130         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19131         * sysdeps/powerpc/bits/link.h: Likewise.
19132         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19133         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19134         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19135         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19136         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19137         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19138         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19139         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19140         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19141         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19142         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19143         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19144         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19145         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19146         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19147         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19148         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19149         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19150         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19151         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19152         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19153         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19154         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19155         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19156         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19157         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19158         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19159         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19160         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19161         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19162         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19163         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19164         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19165         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19166         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19167         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19168         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19169         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19170         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19171         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19172         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19173         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19174         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19175         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19176         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19177         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19178         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19179         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19180         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19181         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19182         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19183         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19184         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19185         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19186         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19187         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19188         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19189         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19190         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19191         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19192         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19193         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19194         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19195         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19196         * sysdeps/powerpc/sysdep.h: Likewise.
19197         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19198         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19199         * sysdeps/sh/dl-trampoline.S: Likewise.
19200         * sysdeps/sh/memset.S: Likewise.
19201         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19202         * sysdeps/sh/strlen.S: Likewise.
19203         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19204         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19205         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19206         * sysdeps/sparc/sparc32/rem.S: Likewise.
19207         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19208         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19209         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19210         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19211         * sysdeps/sparc/sparc32/urem.S: Likewise.
19212         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19213         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19214         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19215         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19216         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19217         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19218         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19219         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19220         * sysdeps/unix/bsd/times.c: Likewise.
19221         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19222         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19226         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19227         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19228         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19229         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19230         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19231         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19232         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19233         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19234         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19235         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19236         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19237         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19238         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19239         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19240         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19241         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19242         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19243         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19244         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19245         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19246         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19247         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19248         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19249         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19250         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19251         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19252         * sysdeps/x86_64/strcspn.S: Likewise.
19253
19254 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19255
19256         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19257         generated file.  Regenerate properly from gen-translit.pl.
19258         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19259         locale/C-translit.h.
19260
19261 2013-06-05  Andreas Schwab  <schwab@suse.de>
19262
19263         [BZ #15100]
19264         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19265         week as 6 instead of -1.
19266         * time/tst-strptime.c (day_tests): Add test case.
19267
19268 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19269
19270         * sysdeps/generic/math_private.h
19271         (libc_feholdexcept_setround_53bit): Replace with
19272         libc_feholdsetround_53bit.
19273         (libc_feupdateenv_53bit): Replace with
19274         libc_feresetround_53bit.
19275         (SET_RESTORE_ROUND_53BIT): Adjust.
19276
19277 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19278
19279         * string/test-strchrnul.c: Add copyright header.
19280
19281         * posix/tst-getaddrinfo4.c: Increase test timeout.
19282
19283 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19284
19285         [BZ #15536]
19286         * math/libm-test.inc (MAX_EXP): Remove
19287         (MIN_EXP): Define.
19288         (ulp): Use MIN_EXP - MANT_DIG.
19289         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19290
19291 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19292
19293         * po/be.po: Revert last change.
19294         * po/zh_CN.po: Likewise.
19295         * po/header.pot: Likewise.
19296
19297 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19298
19299         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19300         link-libc-deps to empty as target-specific variable.
19301         * Makerules (link-libc-args): New variable.
19302         (libc-for-link): Likewise.
19303         (link-libc-deps): Likewise.
19304         (lib%.so): Depend on $(link-libc-deps).  Link with
19305         $(link-libc-args).
19306         (build-module): Link with $(link-libc-args).
19307         (build-module-asneeded): Likewise.
19308         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19309         list of objects.
19310         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19311         target-specific variable.
19312         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19313         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19314         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19315         libc.
19316         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19317         libc and ld.so.
19318         ($(objpfx)libpcprofile.so): Likewise.
19319         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19320         libc_nonshared.a.
19321         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19322         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19323         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19324         $(link-libc-deps).
19325         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19326         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19327         * login/Makefile ($(objpfx)libutil.so): Likewise.
19328         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19329         * math/Makefile ($(objpfx)libm.so): Likewise.
19330         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19331         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19332         variable instead of depending directly on libc.
19333         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19334         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19335         $(link-libc-deps).
19336         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19337         libc.
19338         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19339         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19340         ($(objpfx)libanl.so): Likewise.
19341         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19342         ld.so.
19343         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19344         $(link-libc-deps).
19345         * sysdeps/i386/fpu/Makefile: Remove file.
19346         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19347         ($(objpfx)libm.so): Remove dependency on ld.so.
19348
19349 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19350
19351         [BZ # 15553]
19352         * nis/yp_xdr.c (XDRMAXNAME): Define.
19353         (XDRMAXRECORD): Define.
19354         (xdr_domainname): Use XDRMAXNAME.
19355         (xdr_mapname): Likewise.
19356         (xdr_peername): Likewise.
19357         (xdr_keydat): Use XDRMAXRECORD.
19358         (xdr_valdat): Likewise.
19359
19360 2013-05-30  Jeff Law  <law@redhat.com>
19361
19362         [BZ #14256]
19363         * manual/errno.texi (ESTALE): Update to account for more than
19364         just NFS file systems.
19365         * sysdeps/gnu/errlist.c: Regenerated.
19366
19367 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19368
19369         [BZ #15465]
19370         * elf/Makefile (tests): Add tst-null-argv.
19371         (modules-names):  Add tst-null-argv-lib.
19372         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19373         (tst-null-argv-ENV): Set environment for tst-null-argv.
19374         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19375         (RTLD_PROGNAME): New macro.
19376         * elf/tst-null-argv.c: New test case.
19377         * elf/tst-null-argv-lib.c: Library for test case.
19378         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19379         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19380         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19381         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19382         * elf/dl-init.c (call_init): Likewise.
19383         (_dl_init): Likewise.
19384         * elf/dl-load.c (print_search_path): Likewise.
19385         (_dl_map_object): Likewise.
19386         * elf/dl-lookup.c (do_lookup_x): Likewise.
19387         (add_dependency): Likewise.
19388         (_dl_lookup_symbol_x): Likewise.
19389         (_dl_debug_bindings): Likewise.
19390         * elf/dl-open.c (_dl_show_scope): Likewise.
19391         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19392         * elf/dl-version.c (match_symbol): Likewise.
19393         (_dl_check_map_versions): Likewise.
19394         * elf/rtld.c (dl_main): Likewise.
19395         (print_unresolved): Use RTLD_PROGNAME.
19396         (print_missing_version): Likewise.
19397         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19398         (elf_machine_rela): Likewise.
19399         * sysdeps/powerpc/powerpc32/dl-machine.c
19400         (__process_machine_rela): Likewise.
19401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19402         Likewise.
19403         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19404         Likewise.
19405         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19406         Likewise.
19407         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19408         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19409         Likewise.
19410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19411         Likewise.
19412         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19413
19414 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19415
19416         * po/be.po: Add descriptive title.
19417         * po/zh_CN.po: Likewise.
19418         * po/header.pot: Likewise.
19419
19420 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19421
19422         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19423         error message.
19424         (enlarge_archive): Likewise.
19425
19426 2013-05-28  Ben North  <ben@redfrontdoor.org>
19427
19428         * manual/arith.texi (frexp): It is the magnitude of the return
19429         value which lies in [0.5, 1), not the return value itself.
19430
19431 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19432
19433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19434
19435 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19436
19437         * stdio-common/bug26.c (main): Correct fscanf template.
19438
19439         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19440         declare _dl_skip_args.
19441
19442         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19443         Don't declare.
19444
19445         * manual/platform.texi: Add missing @end deftypefun.
19446
19447 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19448
19449         [BZ #15529]
19450         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19451         bit of mantissa of 2^16382.
19452         * math/libm-test.inc (hypot_test_data): Add more tests.
19453
19454         * math/libm-test.inc: Add drem and pow10 to list of tested
19455         functions.
19456         (pow10_test): New function.
19457         (drem_test): Likewise.
19458         (drem_test_tonearest): Likewise.
19459         (drem_test_towardzero): Likewise.
19460         (drem_test_downward): Likewise.
19461         (drem_test_upward): Likewise.
19462         (main): Call the new functions.
19463
19464         * math/libm-test.inc (finite_test_data): Remove.
19465         (finite_test): Run tests from isfinite_test_data.
19466         (gamma_test_data): Remove.
19467         (gamma_test): Run tests from lgamma_test_data.
19468         * sysdeps/i386/fpu/libm-test-ulps: Update.
19469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19470
19471 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19472
19473         * manual/platform.texi: Add PowerPC PPR function set documentation.
19474         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19475         implementation.
19476
19477 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19478
19479         * math/libm-test.inc (MAX_EXP): Define.
19480         (ULPDIFF): Define.
19481         (ulp): New function.
19482         (check_float_internal): Use ULPDIFF.
19483         (cpow_test): Disable failing test.
19484         (check_ulp): Test ulp() implemetnation.
19485         (main): Call check_ulp before starting tests.
19486
19487 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19488
19489         * math/gen-libm-test.pl (generate_testfile): Do not handle
19490         START_DATA and END_DATA.
19491         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19492         END_DATA.
19493         (acos_tonearest_test_data): Likewise.
19494         (acos_towardzero_test_data): Likewise.
19495         (acos_downward_test_data): Likewise.
19496         (acos_upward_test_data): Likewise.
19497         (acosh_test_data): Likewise.
19498         (asin_test_data): Likewise.
19499         (asin_tonearest_test_data): Likewise.
19500         (asin_towardzero_test_data): Likewise.
19501         (asin_downward_test_data): Likewise.
19502         (asin_upward_test_data): Likewise.
19503         (asinh_test_data): Likewise.
19504         (atan_test_data): Likewise.
19505         (atanh_test_data): Likewise.
19506         (atan2_test_data): Likewise.
19507         (cabs_test_data): Likewise.
19508         (cacos_test_data): Likewise.
19509         (cacosh_test_data): Likewise.
19510         (carg_test_data): Likewise.
19511         (casin_test_data): Likewise.
19512         (casinh_test_data): Likewise.
19513         (catan_test_data): Likewise.
19514         (catanh_test_data): Likewise.
19515         (cbrt_test_data): Likewise.
19516         (ccos_test_data): Likewise.
19517         (ccosh_test_data): Likewise.
19518         (ceil_test_data): Likewise.
19519         (cexp_test_data): Likewise.
19520         (cimag_test_data): Likewise.
19521         (clog_test_data): Likewise.
19522         (clog10_test_data): Likewise.
19523         (conj_test_data): Likewise.
19524         (copysign_test_data): Likewise.
19525         (cos_test_data): Likewise.
19526         (cos_tonearest_test_data): Likewise.
19527         (cos_towardzero_test_data): Likewise.
19528         (cos_downward_test_data): Likewise.
19529         (cos_upward_test_data): Likewise.
19530         (cosh_test_data): Likewise.
19531         (cosh_tonearest_test_data): Likewise.
19532         (cosh_towardzero_test_data): Likewise.
19533         (cosh_downward_test_data): Likewise.
19534         (cosh_upward_test_data): Likewise.
19535         (cpow_test_data): Likewise.
19536         (cproj_test_data): Likewise.
19537         (creal_test_data): Likewise.
19538         (csin_test_data): Likewise.
19539         (csinh_test_data): Likewise.
19540         (csqrt_test_data): Likewise.
19541         (ctan_test_data): Likewise.
19542         (ctan_tonearest_test_data): Likewise.
19543         (ctan_towardzero_test_data): Likewise.
19544         (ctan_downward_test_data): Likewise.
19545         (ctan_upward_test_data): Likewise.
19546         (ctanh_test_data): Likewise.
19547         (ctanh_tonearest_test_data): Likewise.
19548         (ctanh_towardzero_test_data): Likewise.
19549         (ctanh_downward_test_data): Likewise.
19550         (ctanh_upward_test_data): Likewise.
19551         (erf_test_data): Likewise.
19552         (erfc_test_data): Likewise.
19553         (exp_test_data): Likewise.
19554         (exp_tonearest_test_data): Likewise.
19555         (exp_towardzero_test_data): Likewise.
19556         (exp_downward_test_data): Likewise.
19557         (exp_upward_test_data): Likewise.
19558         (exp10_test_data): Likewise.
19559         (exp2_test_data): Likewise.
19560         (expm1_test_data): Likewise.
19561         (fabs_test_data): Likewise.
19562         (fdim_test_data): Likewise.
19563         (finite_test_data): Likewise.
19564         (floor_test_data): Likewise.
19565         (fma_test_data): Likewise.
19566         (fma_towardzero_test_data): Likewise.
19567         (fma_downward_test_data): Likewise.
19568         (fma_upward_test_data): Likewise.
19569         (fmax_test_data): Likewise.
19570         (fmin_test_data): Likewise.
19571         (fmod_test_data): Likewise.
19572         (fpclassify_test_data): Likewise.
19573         (frexp_test_data): Likewise.
19574         (gamma_test_data): Likewise.
19575         (hypot_test_data): Likewise.
19576         (ilogb_test_data): Likewise.
19577         (isfinite_test_data): Likewise.
19578         (isgreater_test_data): Likewise.
19579         (isgreaterequal_test_data): Likewise.
19580         (isinf_test_data): Likewise.
19581         (isless_test_data): Likewise.
19582         (islessequal_test_data): Likewise.
19583         (islessgreater_test_data): Likewise.
19584         (isnan_test_data): Likewise.
19585         (isnormal_test_data): Likewise.
19586         (issignaling_test_data): Likewise.
19587         (isunordered_test_data): Likewise.
19588         (j0_test_data): Likewise.
19589         (j1_test_data): Likewise.
19590         (jn_test_data): Likewise.
19591         (ldexp_test_data): Likewise.
19592         (lgamma_test_data): Likewise.
19593         (lrint_test_data): Likewise.
19594         (lrint_tonearest_test_data): Likewise.
19595         (lrint_towardzero_test_data): Likewise.
19596         (lrint_downward_test_data): Likewise.
19597         (lrint_upward_test_data): Likewise.
19598         (llrint_test_data): Likewise.
19599         (llrint_tonearest_test_data): Likewise.
19600         (llrint_towardzero_test_data): Likewise.
19601         (llrint_downward_test_data): Likewise.
19602         (llrint_upward_test_data): Likewise.
19603         (log_test_data): Likewise.
19604         (log10_test_data): Likewise.
19605         (log1p_test_data): Likewise.
19606         (log2_test_data): Likewise.
19607         (logb_test_data): Likewise.
19608         (logb_downward_test_data): Likewise.
19609         (lround_test_data): Likewise.
19610         (llround_test_data): Likewise.
19611         (modf_test_data): Likewise.
19612         (nearbyint_test_data): Likewise.
19613         (nextafter_test_data): Likewise.
19614         (nexttoward_test_data): Likewise.
19615         (pow_test_data): Likewise.
19616         (pow_tonearest_test_data): Likewise.
19617         (pow_towardzero_test_data): Likewise.
19618         (pow_downward_test_data): Likewise.
19619         (pow_upward_test_data): Likewise.
19620         (remainder_test_data): Likewise.
19621         (remainder_tonearest_test_data): Likewise.
19622         (remainder_towardzero_test_data): Likewise.
19623         (remainder_downward_test_data): Likewise.
19624         (remainder_upward_test_data): Likewise.
19625         (remquo_test_data): Likewise.
19626         (rint_test_data): Likewise.
19627         (rint_tonearest_test_data): Likewise.
19628         (rint_towardzero_test_data): Likewise.
19629         (rint_downward_test_data): Likewise.
19630         (rint_upward_test_data): Likewise.
19631         (round_test_data): Likewise.
19632         (scalb_test_data): Likewise.
19633         (scalbn_test_data): Likewise.
19634         (scalbln_test_data): Likewise.
19635         (signbit_test_data): Likewise.
19636         (sin_test_data): Likewise.
19637         (sin_tonearest_test_data): Likewise.
19638         (sin_towardzero_test_data): Likewise.
19639         (sin_downward_test_data): Likewise.
19640         (sin_upward_test_data): Likewise.
19641         (sincos_test_data): Likewise.
19642         (sinh_test_data): Likewise.
19643         (sinh_tonearest_test_data): Likewise.
19644         (sinh_towardzero_test_data): Likewise.
19645         (sinh_downward_test_data): Likewise.
19646         (sinh_upward_test_data): Likewise.
19647         (sqrt_test_data): Likewise.
19648         (tan_test_data): Likewise.
19649         (tan_tonearest_test_data): Likewise.
19650         (tan_towardzero_test_data): Likewise.
19651         (tan_downward_test_data): Likewise.
19652         (tan_upward_test_data): Likewise.
19653         (tanh_test_data): Likewise.
19654         (tgamma_test_data): Likewise.
19655         (trunc_test_data): Likewise.
19656         (y0_test_data): Likewise.
19657         (y1_test_data): Likewise.
19658         (yn_test_data): Likewise.
19659         (significand_test_data): Likewise.
19660
19661         * math/gen-libm-test.pl (@functions): Remove variable.
19662         (generate_testfile): Don't handle START and END lines.
19663         * math/libm-test.inc (START): New macro.
19664         (END): Likewise.
19665         (END_COMPLEX): Likewise.
19666         (acos_test): Use END macro without arguments.
19667         (acos_test_tonearest): Likewise.
19668         (acos_test_towardzero): Likewise.
19669         (acos_test_downward): Likewise.
19670         (acos_test_upward): Likewise.
19671         (acosh_test): Likewise.
19672         (asin_test): Likewise.
19673         (asin_test_tonearest): Likewise.
19674         (asin_test_towardzero): Likewise.
19675         (asin_test_downward): Likewise.
19676         (asin_test_upward): Likewise.
19677         (asinh_test): Likewise.
19678         (atan_test): Likewise.
19679         (atanh_test): Likewise.
19680         (atan2_test): Likewise.
19681         (cabs_test): Likewise.
19682         (cacos_test): Use END_COMPLEX macro without arguments.
19683         (cacosh_test): Likewise.
19684         (carg_test): Use END macro without arguments.
19685         (casin_test): Use END_COMPLEX macro without arguments.
19686         (casinh_test): Likewise.
19687         (catan_test): Likewise.
19688         (catanh_test): Likewise.
19689         (cbrt_test): Use END macro without arguments.
19690         (ccos_test): Use END_COMPLEX macro without arguments.
19691         (ccosh_test): Likewise.
19692         (ceil_test): Use END macro without arguments.
19693         (cexp_test): Use END_COMPLEX macro without arguments.
19694         (cimag_test): Use END macro without arguments.
19695         (clog_test): Use END_COMPLEX macro without arguments.
19696         (clog10_test): Likewise.
19697         (conj_test): Likewise.
19698         (copysign_test): Use END macro without arguments.
19699         (cos_test): Likewise.
19700         (cos_test_tonearest): Likewise.
19701         (cos_test_towardzero): Likewise.
19702         (cos_test_downward): Likewise.
19703         (cos_test_upward): Likewise.
19704         (cosh_test): Likewise.
19705         (cosh_test_tonearest): Likewise.
19706         (cosh_test_towardzero): Likewise.
19707         (cosh_test_downward): Likewise.
19708         (cosh_test_upward): Likewise.
19709         (cpow_test): Use END_COMPLEX macro without arguments.
19710         (cproj_test): Likewise.
19711         (creal_test): Use END macro without arguments.
19712         (csin_test): Use END_COMPLEX macro without arguments.
19713         (csinh_test): Likewise.
19714         (csqrt_test): Likewise.
19715         (ctan_test): Likewise.
19716         (ctan_test_tonearest): Likewise.
19717         (ctan_test_towardzero): Likewise.
19718         (ctan_test_downward): Likewise.
19719         (ctan_test_upward): Likewise.
19720         (ctanh_test): Likewise.
19721         (ctanh_test_tonearest): Likewise.
19722         (ctanh_test_towardzero): Likewise.
19723         (ctanh_test_downward): Likewise.
19724         (ctanh_test_upward): Likewise.
19725         (erf_test): Use END macro without arguments.
19726         (erfc_test): Likewise.
19727         (exp_test): Likewise.
19728         (exp_test_tonearest): Likewise.
19729         (exp_test_towardzero): Likewise.
19730         (exp_test_downward): Likewise.
19731         (exp_test_upward): Likewise.
19732         (exp10_test): Likewise.
19733         (exp2_test): Likewise.
19734         (expm1_test): Likewise.
19735         (fabs_test): Likewise.
19736         (fdim_test): Likewise.
19737         (finite_test): Likewise.
19738         (floor_test): Likewise.
19739         (fma_test): Likewise.
19740         (fma_test_towardzero): Likewise.
19741         (fma_test_downward): Likewise.
19742         (fma_test_upward): Likewise.
19743         (fmax_test): Likewise.
19744         (fmin_test): Likewise.
19745         (fmod_test): Likewise.
19746         (fpclassify_test): Likewise.
19747         (frexp_test): Likewise.
19748         (gamma_test): Likewise.
19749         (hypot_test): Likewise.
19750         (ilogb_test): Likewise.
19751         (isfinite_test): Likewise.
19752         (isgreater_test): Likewise.
19753         (isgreaterequal_test): Likewise.
19754         (isinf_test): Likewise.
19755         (isless_test): Likewise.
19756         (islessequal_test): Likewise.
19757         (islessgreater_test): Likewise.
19758         (isnan_test): Likewise.
19759         (isnormal_test): Likewise.
19760         (issignaling_test): Likewise.
19761         (isunordered_test): Likewise.
19762         (j0_test): Likewise.
19763         (j1_test): Likewise.
19764         (jn_test): Likewise.
19765         (ldexp_test): Likewise.
19766         (lgamma_test): Likewise.
19767         (lrint_test): Likewise.
19768         (lrint_test_tonearest): Likewise.
19769         (lrint_test_towardzero): Likewise.
19770         (lrint_test_downward): Likewise.
19771         (lrint_test_upward): Likewise.
19772         (llrint_test): Likewise.
19773         (llrint_test_tonearest): Likewise.
19774         (llrint_test_towardzero): Likewise.
19775         (llrint_test_downward): Likewise.
19776         (llrint_test_upward): Likewise.
19777         (log_test): Likewise.
19778         (log10_test): Likewise.
19779         (log1p_test): Likewise.
19780         (log2_test): Likewise.
19781         (logb_test): Likewise.
19782         (logb_test_downward): Likewise.
19783         (lround_test): Likewise.
19784         (llround_test): Likewise.
19785         (modf_test): Likewise.
19786         (nearbyint_test): Likewise.
19787         (nextafter_test): Likewise.
19788         (nexttoward_test): Likewise.
19789         (pow_test): Likewise.
19790         (pow_test_tonearest): Likewise.
19791         (pow_test_towardzero): Likewise.
19792         (pow_test_downward): Likewise.
19793         (pow_test_upward): Likewise.
19794         (remainder_test): Likewise.
19795         (remainder_test_tonearest): Likewise.
19796         (remainder_test_towardzero): Likewise.
19797         (remainder_test_downward): Likewise.
19798         (remainder_test_upward): Likewise.
19799         (remquo_test): Likewise.
19800         (rint_test): Likewise.
19801         (rint_test_tonearest): Likewise.
19802         (rint_test_towardzero): Likewise.
19803         (rint_test_downward): Likewise.
19804         (rint_test_upward): Likewise.
19805         (round_test): Likewise.
19806         (scalb_test): Likewise.
19807         (scalbn_test): Likewise.
19808         (scalbln_test): Likewise.
19809         (signbit_test): Likewise.
19810         (sin_test): Likewise.
19811         (sin_test_tonearest): Likewise.
19812         (sin_test_towardzero): Likewise.
19813         (sin_test_downward): Likewise.
19814         (sin_test_upward): Likewise.
19815         (sincos_test): Likewise.
19816         (sinh_test): Likewise.
19817         (sinh_test_tonearest): Likewise.
19818         (sinh_test_towardzero): Likewise.
19819         (sinh_test_downward): Likewise.
19820         (sinh_test_upward): Likewise.
19821         (sqrt_test): Likewise.
19822         (tan_test): Likewise.
19823         (tan_test_tonearest): Likewise.
19824         (tan_test_towardzero): Likewise.
19825         (tan_test_downward): Likewise.
19826         (tan_test_upward): Likewise.
19827         (tanh_test): Likewise.
19828         (tgamma_test): Likewise.
19829         (trunc_test): Likewise.
19830         (y0_test): Likewise.
19831         (y1_test): Likewise.
19832         (yn_test): Likewise.
19833         (significand_test): Likewise.
19834
19835 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19836
19837         [BZ #15381]
19838         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19839
19840 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19841
19842         [BZ #14894]
19843         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19844         __ppc_mdoio and __ppc_mdoom.
19845         * manual/platform.texi: Document new functions __ppc_yield,
19846         __ppc_mdoio and __ppc_mdoom.
19847
19848 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19849
19850         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19851         (main): Mention "tls" pseudo-hwcap is legacy.
19852         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19853
19854 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19855
19856         * math/gen-libm-test.pl (parse_args): Output only string of
19857         arguments as text for test name, not full call or descriptions of
19858         tests for extra outputs.
19859         (generate_testfile): Do not pass function name to parse_args.
19860         Generate this_func variable from START.
19861         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19862         field to arg_str.
19863         (struct test_ff_f_data): Likewise.
19864         (test_ff_f_data_nexttoward): Likewise.
19865         (struct test_fi_f_data): Likewise.
19866         (struct test_fl_f_data): Likewise.
19867         (struct test_if_f_data): Likewise.
19868         (struct test_fff_f_data): Likewise.
19869         (struct test_c_f_data): Likewise.
19870         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19871         (struct test_fF_f1_data): Likewise.
19872         (struct test_ffI_f1_data): Likewise.
19873         (struct test_c_c_data): Rename test_name field to arg_str.
19874         (struct test_cc_c_data): Likewise.
19875         (struct test_f_i_data): Likewise.
19876         (struct test_ff_i_data): Likewise.
19877         (struct test_f_l_data): Likewise.
19878         (struct test_f_L_data): Likewise.
19879         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19880         and extra2_name.
19881         (COMMON_TEST_SETUP): New macro.
19882         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19883         (COMMON_TEST_CLEANUP): Likewise.
19884         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19885         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19886         macros.
19887         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19888         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19889         macros.
19890         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19891         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19892         cleanup macros.
19893         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19894         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19895         macros.
19896         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19897         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19898         macros.
19899         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19900         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19901         cleanup macros.
19902         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19903         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19904         cleanup macros.
19905         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19906         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19907         cleanup macros.
19908         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19909         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19910         macros.
19911         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19912         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19913         macros.
19914         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19915         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19916         macros.
19917         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19918         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19919         cleanup macros.
19920         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19921         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19922         cleanup macros.
19923         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19924         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19925         macros.
19926         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19927         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19928         cleanup macros.
19929         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19930         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19931         macros.
19932         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19933         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19934         macros.
19935         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19936         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19937         cleanup macros.
19938         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19939
19940 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19941
19942         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19943         to _sifields.sigfault.
19944         (si_addr_lsb): Define new macro.
19945         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19946         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19947         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19948
19949 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19950
19951         [BZ #15441]
19952         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19953         returns -1.
19954         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19955         null return -1.
19956         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19957         loading the domain.
19958
19959 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19960
19961         * math/gen-libm-test.pl (parse_args): Do not include expected
19962         result in test name.
19963         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19964         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19965         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19966         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19967         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19969
19970 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19971
19972         * benchtests/Makefile: Sort function entries.
19973
19974         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19975         tanh, asinh, acosh, atanh.
19976         * benchtests/acos-inputs: New file.
19977         * benchtests/acosh-inputs: New file.
19978         * benchtests/asin-inputs: New file.
19979         * benchtests/asinh-inputs: New file.
19980         * benchtests/atanh-inputs: New file.
19981         * benchtests/cosh-inputs: New file.
19982         * benchtests/log-inputs: New file.
19983         * benchtests/sinh-inputs: New file.
19984         * benchtests/tanh-inputs: New file.
19985
19986 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19987
19988         [BZ #15339]
19989         * posix/tst-getaddrinfo4.c: New test.
19990         * posix/Makefile (tests): Add it.
19991
19992 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19993
19994         [BZ #15339]
19995         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19996         when no services were used.
19997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19998         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19999
20000 2013-05-21  Andreas Schwab  <schwab@suse.de>
20001
20002         [BZ #15014]
20003         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20004         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20005         successful.
20006         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20007         redundant variable declarations and reallocation of buffer when
20008         parsing as IPv6 address.  Always set NSS status when called from
20009         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20010         buffer too small.  Correct computation of needed size.
20011         * nss/Makefile (tests): Add test-digits-dots.
20012         * nss/test-digits-dots.c: New test.
20013
20014 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20015
20016         * benchtests/Makefile: Remove instructions for adding
20017         benchmark tests.
20018         * benchtests/README: New file to explain how to execute and
20019         enhance the benchmark tests.
20020
20021 2013-05-21  Andreas Schwab  <schwab@suse.de>
20022
20023         [BZ #15493]
20024         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20025         * setjmp/tst-sigsetjmp.c: New test.
20026
20027 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20028
20029         * sysdeps/x86_64/memset.S (memset): New implementation.
20030         (__bzero): Likewise.
20031         (__memset_tail): New function.
20032
20033 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20034
20035         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20036         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20037         __memcpy_sse2_unaligned ifunc selection.
20038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20039         Add memcpy-sse2-unaligned.S.
20040         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20041         Add: __memcpy_sse2_unaligned.
20042
20043 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20044
20045         [BZ #15490]
20046         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20047         math_force_eval before restoring floating-point envrionment.
20048         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20049         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20050         Likewise.
20051         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20052         <math_private.h>.
20053         (__nearbyintl): Use math_force_eval before restoring
20054         floating-point environment.
20055         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20056
20057         * math/gen-libm-test.pl (special_functions): Remove.
20058         (parse_args): Don't handle TEST_extra.  Handle functions with no
20059         return value.
20060         * math/libm-test.inc (struct test_sincos_data): Replace with
20061         struct test_fFF_11_data.
20062         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20063         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20064         (sincos_test_data): Change element type to struct
20065         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20066         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20067         RUN_TEST_LOOP_sincos.
20068         * math/README.libm-test: Don't mention special handling of
20069         individual functions.
20070         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20071         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20072         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20073         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20074         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20076
20077         * math/gen-libm-test.pl (get_variable): Remove function.
20078         (parse_args): Don't show pointer parameters to call in test
20079         names.  Use "extra output N" in test names for extra outputs
20080         rather than naming variables.
20081
20082 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20083
20084         [BZ #15488]
20085         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20086         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20087         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20088         double tests.
20089         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20090         disable.
20091         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20092         check_long_double.
20093
20094         * math/gen-libm-test.pl (@tests): Remove variable.
20095         ($count): Likewise.
20096         (new_test): Remove function.
20097         (show_exceptions): New function.
20098         (special_functions): Use show_exceptions instead of new_test.
20099         (parse_args): Likewise.
20100         (generate_testfile): Pass only function name in generated call to
20101         print_max_error or print_complex_max_error.
20102         (get_ulps): Do not handle complex tests specially.
20103         (output_test): Rename to ...
20104         (get_all_ulps_for_test): ... this.  Return a string rather than
20105         printing to a file.  Require ulps to be present.
20106         (output_ulps): Generate arrays rather than #defines.
20107         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20108         (struct ulp_data): New type.
20109         (BUILD_COMPLEX_ULP): Remove macro.
20110         (compare_ulp_data): New function.
20111         (find_ulps): Likewise.
20112         (find_test_ulps): Likewise.
20113         (find_function_ulps): Likewise.
20114         (find_complex_function_ulps): Likewise.
20115         (print_max_error): Determine allowed ulps using
20116         find_function_ulps.
20117         (print_complex_max_error): Determine allowed ulps using
20118         find_complex_function_ulps.
20119         (check_float_internal): Determine max ulps using find_test_ulps.
20120         (check_float): Do not take max_ulp parameter.  Update call to
20121         check_float_internal.
20122         (check_complex): Likewise.
20123         (check_int): Do not take max_ulp parameter.
20124         (check_long): Likewise.
20125         (check_bool): Likewise.
20126         (check_longlong): Likewise.
20127         (struct test_f_f_data): Remove max_ulp field.
20128         (struct test_ff_f_data): Likewise.
20129         (struct test_ff_f_data_nexttoward): Likewise.
20130         (struct test_fi_f_data): Likewise.
20131         (struct test_fl_f_data): Likewise.
20132         (struct test_if_f_data): Likewise.
20133         (struct test_fff_f_data): Likewise.
20134         (struct test_c_f_data): Likewise.
20135         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20136         (struct test_fF_f1_data): Likewise.
20137         (struct test_ffI_f1_data): Likewise.
20138         (struct test_c_c_data): Remove max_ulp field.
20139         (struct test_cc_c_data): Likewise.
20140         (struct test_f_i_data): Likewise.
20141         (struct test_ff_i_data): Likewise.
20142         (struct test_f_l_data): Likewise.
20143         (struct test_f_L_data): Likewise.
20144         (struct test_sincos_data): Likewise.
20145         (RUN_TEST_f_f): Do not handle ulps.
20146         (RUN_TEST_LOOP_f_f): Likewise.
20147         (RUN_TEST_2_f): Likewise.
20148         (RUN_TEST_LOOP_2_f): Likewise.
20149         (RUN_TEST_fff_f): Likewise.
20150         (RUN_TEST_LOOP_fff_f): Likewise.
20151         (RUN_TEST_c_f): Likewise.
20152         (RUN_TEST_LOOP_c_f): Likewise.
20153         (RUN_TEST_f_f1): Likewise.
20154         (RUN_TEST_LOOP_f_f1): Likewise.
20155         (RUN_TEST_fF_f1): Likewise.
20156         (RUN_TEST_LOOP_fF_f1): Likewise.
20157         (RUN_TEST_fI_f1): Likewise.
20158         (RUN_TEST_LOOP_fI_f1): Likewise.
20159         (RUN_TEST_ffI_f1): Likewise.
20160         (RUN_TEST_LOOP_ffI_f1): Likewise.
20161         (RUN_TEST_c_c): Likewise.
20162         (RUN_TEST_LOOP_c_c): Likewise.
20163         (RUN_TEST_cc_c): Likewise.
20164         (RUN_TEST_LOOP_cc_c): Likewise.
20165         (RUN_TEST_f_i): Likewise.
20166         (RUN_TEST_LOOP_f_i): Likewise.
20167         (RUN_TEST_f_i_tg): Likewise.
20168         (RUN_TEST_LOOP_f_i_tg): Likewise.
20169         (RUN_TEST_ff_i_tg): Likewise.
20170         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20171         (RUN_TEST_f_b): Likewise.
20172         (RUN_TEST_LOOP_f_b): Likewise.
20173         (RUN_TEST_f_b_tg): Likewise.
20174         (RUN_TEST_LOOP_f_b_tg): Likewise.
20175         (RUN_TEST_f_l): Likewise.
20176         (RUN_TEST_LOOP_f_l): Likewise.
20177         (RUN_TEST_f_L): Likewise.
20178         (RUN_TEST_LOOP_f_L): Likewise.
20179         (RUN_TEST_sincos): Likewise.
20180         (RUN_TEST_LOOP_sincos): Likewise.
20181
20182 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20183
20184         [BZ #15480]
20185         [BZ #15485]
20186         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20187         main case of finite arguments, set rounding mode to FE_TONEAREST
20188         and discard exceptions.
20189         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20190         exceptions.
20191         (remainder_tonearest_test_data): New variable.
20192         (remainder_test_tonearest): New function.
20193         (remainder_towardzero_test_data): New variable.
20194         (remainder_test_towardzero): New function.
20195         (remainder_downward_test_data): New variable.
20196         (remainder_test_downward): New function.
20197         (remainder_upward_test_data): New variable.
20198         (remainder_test_upward): New function.
20199         (main): Call the new test functions.
20200
20201         * math/libm-test.inc (struct test_f_f1_data): Remove field
20202         extra_init.
20203         (struct test_fF_f1_data): Likewise.
20204         (struct test_ffI_f1_data): Likewise.
20205         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20206         based on value of EXTRA_EXPECTED.
20207         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20208         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20209         EXTRA_VAR based on value of EXTRA_EXPECTED.
20210         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20211         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20212         EXTRA_VAR based on value of EXTRA_EXPECTED.
20213         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20214         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20215         EXTRA_VAR based on value of EXTRA_EXPECTED.
20216         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20217         * math/gen-libm-test.pl (parse_args): Don't output initializers
20218         for extra output values.
20219
20220         * math/libm-test.inc (check_int): Expect result to be exactly
20221         equal to expected value and do not handle ulps.
20222         (check_long): Likewise.
20223         (check_longlong): Likewise.
20224
20225         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20226         exceptions.
20227         (cimag_test_data): Likewise.
20228         (conj_test_data): Likewise.
20229         (copysign_test_data): Likewise.
20230         (cproj_test_data): Likewise.
20231         (creal_test_data): Likewise.
20232         (fabs_test_data): Likewise.
20233         (fdim_test_data): Likewise.
20234         (finite_test_data): Likewise.
20235         (floor_test_data): Likewise.
20236         (fmax_test_data): Likewise.
20237         (fmin_test_data): Likewise.
20238         (fmod_test_data): Likewise.
20239         (fpclassify_test_data): Likewise.
20240         (frexp_test_data): Likewise.
20241         (ilogb_test_data): Likewise.
20242         (isfinite_test_data): Likewise.
20243         (isgreater_test_data): Likewise.
20244         (isgreaterequal_test_data): Likewise.
20245         (isinf_test_data): Likewise.
20246         (isless_test_data): Likewise.
20247         (islessequal_test_data): Likewise.
20248         (islessgreater_test_data): Likewise.
20249         (isnan_test_data): Likewise.
20250         (isnormal_test_data): Likewise.
20251         (issignaling_test_data): Likewise.
20252         (isunordered_test_data): Likewise.
20253         (ldexp_test_data): Likewise.
20254         (lrint_test_data): Likewise.
20255         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20256         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20257         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20258         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20259         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20260         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20261         test input.
20262         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20263         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20264         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20265         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20266         that test input.
20267         (lrint_downward_test_data): Test for "inexact" exceptions.
20268         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20269         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20270         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20271         test input.
20272         (lrint_upward_test_data): Test for "inexact" exceptions.
20273         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20274         test input.
20275         (llrint_test_data): Test for "inexact" exceptions.
20276         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20277         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20278         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20279         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20280         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20281         (llrint_downward_test_data): Test for "inexact" exceptions.
20282         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20283         (llrint_upward_test_data): Test for "inexact" exceptions.
20284         (logb_test_data): Likewise.
20285         (logb_downward_test_data): Likewise.
20286         (nextafter_test_data): Likewise.
20287         (nexttoward_test_data): Likewise.
20288         (remainder_test_data): Likewise.
20289         (remquo_test_data): Likewise.
20290         (scalbn_test_data): Likewise.
20291         (scalbln_test_data): Likewise.
20292         (signbit_test_data): Likewise.
20293         (sqrt_test_data): Likewise.
20294         (significand_test_data): Likewise.
20295
20296 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20297
20298         [BZ #15424]
20299         * benchtests/bench-modf.c (struct args): Mark arg0 as
20300         volatile.
20301         * scripts/bench.pl: Mark members of struct args as volatile.
20302
20303 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20304
20305         [BZ # 15497]
20306         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20307         negative infinity on POWER6 or lower.
20308         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20309
20310 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20311
20312         [BZ #15442]
20313         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20314         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20315         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20316         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20317         (_FP_SETQNAN): New macro.
20318         (_FP_SETQNAN_SEMIRAW): Likewise.
20319         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20320         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20321         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20322         (FP_EXTEND): Use _FP_FRAC_SNANP.
20323         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20324         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20325         into account.
20326         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20327         New macro.
20328         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20329         Likewise.
20330
20331 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20332
20333         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20334         with DIVIDE_BY_ZERO_EXCEPTION.
20335         (gamma_test_data): Likewise.
20336         (lgamma_test_data): Likewise.
20337         (log_test_data): Likewise.
20338         (log10_test_data): Likewise.
20339         (log2_test_data): Likewise.
20340         (tgamma_test_data): Likewise.
20341
20342         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20343         (acos_test_tonearest): Likewise.
20344         (acos_test_towardzero): Likewise.
20345         (acos_test_downward): Likewise.
20346         (acos_test_upward): Likewise.
20347         (acosh_test): Likewise.
20348         (asin_test): Likewise.
20349         (asin_test_tonearest): Likewise.
20350         (asin_test_towardzero): Likewise.
20351         (asin_test_downward): Likewise.
20352         (asin_test_upward): Likewise.
20353         (asinh_test): Likewise.
20354         (atan_test): Likewise.
20355         (atanh_test): Likewise.
20356         (atan2_test): Likewise.
20357         (cabs_test): Likewise.
20358         (cacos_test): Likewise.
20359         (cacosh_test): Likewise.
20360         (casin_test): Likewise.
20361         (casinh_test): Likewise.
20362         (catan_test): Likewise.
20363         (catanh_test): Likewise.
20364         (cbrt_test): Likewise.
20365         (ccos_test): Likewise.
20366         (ccosh_test): Likewise.
20367         (cexp_test): Likewise.
20368         (clog_test): Likewise.
20369         (clog10_test): Likewise.
20370         (cos_test): Likewise.
20371         (cos_test_tonearest): Likewise.
20372         (cos_test_towardzero): Likewise.
20373         (cos_test_downward): Likewise.
20374         (cos_test_upward): Likewise.
20375         (cosh_test): Likewise.
20376         (cosh_test_tonearest): Likewise.
20377         (cosh_test_towardzero): Likewise.
20378         (cosh_test_downward): Likewise.
20379         (cosh_test_upward): Likewise.
20380         (cpow_test): Likewise.
20381         (csin_test): Likewise.
20382         (csinh_test): Likewise.
20383         (csqrt_test): Likewise.
20384         (ctan_test): Likewise.
20385         (ctan_test_tonearest): Likewise.
20386         (ctan_test_towardzero): Likewise.
20387         (ctan_test_downward): Likewise.
20388         (ctan_test_upward): Likewise.
20389         (ctanh_test): Likewise.
20390         (ctanh_test_tonearest): Likewise.
20391         (ctanh_test_towardzero): Likewise.
20392         (ctanh_test_downward): Likewise.
20393         (ctanh_test_upward): Likewise.
20394         (erf_test): Likewise.
20395         (erfc_test): Likewise.
20396         (exp_test): Likewise.
20397         (exp_test_tonearest): Likewise.
20398         (exp_test_towardzero): Likewise.
20399         (exp_test_downward): Likewise.
20400         (exp_test_upward): Likewise.
20401         (exp10_test): Likewise.
20402         (exp2_test): Likewise.
20403         (expm1_test): Likewise.
20404         (fmod_test): Likewise.
20405         (gamma_test): Likewise.
20406         (hypot_test): Likewise.
20407         (j0_test): Likewise.
20408         (j1_test): Likewise.
20409         (jn_test): Likewise.
20410         (lgamma_test): Likewise.
20411         (log_test): Likewise.
20412         (log10_test): Likewise.
20413         (log1p_test): Likewise.
20414         (log2_test): Likewise.
20415         (logb_test_downward): Likewise.
20416         (pow_test): Likewise.
20417         (pow_test_tonearest): Likewise.
20418         (pow_test_towardzero): Likewise.
20419         (pow_test_downward): Likewise.
20420         (pow_test_upward): Likewise.
20421         (remainder_test): Likewise.
20422         (remquo_test): Likewise.
20423         (sin_test): Likewise.
20424         (sin_test_tonearest): Likewise.
20425         (sin_test_towardzero): Likewise.
20426         (sin_test_downward): Likewise.
20427         (sin_test_upward): Likewise.
20428         (sincos_test): Likewise.
20429         (sinh_test): Likewise.
20430         (sinh_test_tonearest): Likewise.
20431         (sinh_test_towardzero): Likewise.
20432         (sinh_test_downward): Likewise.
20433         (sinh_test_upward): Likewise.
20434         (sqrt_test): Likewise.
20435         (tan_test): Likewise.
20436         (tan_test_tonearest): Likewise.
20437         (tan_test_towardzero): Likewise.
20438         (tan_test_downward): Likewise.
20439         (tan_test_upward): Likewise.
20440         (tanh_test): Likewise.
20441         (tgamma_test): Likewise.
20442         (y0_test): Likewise.
20443         (y1_test): Likewise.
20444         (yn_test): Likewise.
20445
20446         * math/gen-libm-test.pl (adjust_arg): Remove function.
20447         (special_function): Remove argument $in_func.  Only handle
20448         generating output for tables of tests, not inside functions.
20449         (parse_args): Likewise.
20450         (generate_testfile): Remove variable $in_func.  Update call to
20451         parse_args.
20452         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20453         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20454         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20455         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20456         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20457         (MAX_VALUE_INIT): Rename macro to max_value.
20458         (MIN_VALUE_INIT): Rename macro to min_value.
20459         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20460         (plus_zero): Remove variable.
20461         (minus_zero): Likewise.
20462         (plus_infty): Likewise.
20463         (minus_infty): Likewise.
20464         (qnan_value): Likewise.
20465         (max_value): Likewise.
20466         (min_value): Likewise.
20467         (min_subnorm_value): Likewise.
20468
20469 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20470
20471         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20472         uint64_t or uint32_t usage.
20473         * crypt/sha256-block.c: Likewise.
20474         * crypt/sha256-crypt.c: Likewise.
20475         * crypt/sha256.c: Likewise.
20476         * crypt/sha512-block.c: Likewise.
20477         * crypt/sha512-crypt.c: Likewise.
20478         * crypt/sha512.c: Likewise.
20479         * debug/backtrace-tst.c: Likewise.
20480         * debug/pcprofiledump.c: Likewise.
20481         * elf/cache.c: Likewise.
20482         * elf/dl-cache.c: Likewise.
20483         * elf/dl-misc.c: Likewise.
20484         * elf/dl-profile.c: Likewise.
20485         * elf/dl-support.c: Likewise.
20486         * elf/ldconfig.c: Likewise.
20487         * elf/sprof.c: Likewise.
20488         * iconv/dummy-repertoire.c: Likewise.
20489         * iconv/iconv_charmap.c: Likewise.
20490         * iconv/skeleton.c: Likewise.
20491         * iconvdata/8bit-generic.c: Likewise.
20492         * iconvdata/cp737.h: Likewise.
20493         * iconvdata/cp775.h: Likewise.
20494         * iconvdata/ibm1008.h: Likewise.
20495         * iconvdata/ibm1025.h: Likewise.
20496         * iconvdata/ibm1046.h: Likewise.
20497         * iconvdata/ibm1097.h: Likewise.
20498         * iconvdata/ibm1112.h: Likewise.
20499         * iconvdata/ibm1122.h: Likewise.
20500         * iconvdata/ibm1123.h: Likewise.
20501         * iconvdata/ibm1124.h: Likewise.
20502         * iconvdata/ibm1129.h: Likewise.
20503         * iconvdata/ibm1130.h: Likewise.
20504         * iconvdata/ibm1132.h: Likewise.
20505         * iconvdata/ibm1133.h: Likewise.
20506         * iconvdata/ibm1137.h: Likewise.
20507         * iconvdata/ibm1140.h: Likewise.
20508         * iconvdata/ibm1141.h: Likewise.
20509         * iconvdata/ibm1142.h: Likewise.
20510         * iconvdata/ibm1143.h: Likewise.
20511         * iconvdata/ibm1144.h: Likewise.
20512         * iconvdata/ibm1145.h: Likewise.
20513         * iconvdata/ibm1146.h: Likewise.
20514         * iconvdata/ibm1147.h: Likewise.
20515         * iconvdata/ibm1148.h: Likewise.
20516         * iconvdata/ibm1149.h: Likewise.
20517         * iconvdata/ibm1153.h: Likewise.
20518         * iconvdata/ibm1154.h: Likewise.
20519         * iconvdata/ibm1155.h: Likewise.
20520         * iconvdata/ibm1156.h: Likewise.
20521         * iconvdata/ibm1157.h: Likewise.
20522         * iconvdata/ibm1158.h: Likewise.
20523         * iconvdata/ibm1160.h: Likewise.
20524         * iconvdata/ibm1161.h: Likewise.
20525         * iconvdata/ibm1162.h: Likewise.
20526         * iconvdata/ibm1163.h: Likewise.
20527         * iconvdata/ibm1164.h: Likewise.
20528         * iconvdata/ibm1166.h: Likewise.
20529         * iconvdata/ibm1167.h: Likewise.
20530         * iconvdata/ibm12712.h: Likewise.
20531         * iconvdata/ibm1390.h: Likewise.
20532         * iconvdata/ibm1399.h: Likewise.
20533         * iconvdata/ibm16804.h: Likewise.
20534         * iconvdata/ibm4517.h: Likewise.
20535         * iconvdata/ibm4899.h: Likewise.
20536         * iconvdata/ibm4909.h: Likewise.
20537         * iconvdata/ibm4971.h: Likewise.
20538         * iconvdata/ibm5347.h: Likewise.
20539         * iconvdata/ibm803.h: Likewise.
20540         * iconvdata/ibm856.h: Likewise.
20541         * iconvdata/ibm901.h: Likewise.
20542         * iconvdata/ibm902.h: Likewise.
20543         * iconvdata/ibm9030.h: Likewise.
20544         * iconvdata/ibm9066.h: Likewise.
20545         * iconvdata/ibm921.h: Likewise.
20546         * iconvdata/ibm922.h: Likewise.
20547         * iconvdata/ibm9448.h: Likewise.
20548         * iconvdata/isiri-3342.h: Likewise.
20549         * iconvdata/jis0201.h: Likewise.
20550         * include/link.h: Likewise.
20551         * include/netdb.h: Likewise.
20552         * inet/check_native.c: Likewise.
20553         * inet/check_pf.c: Likewise.
20554         * inet/getipv4sourcefilter.c: Likewise.
20555         * inet/getnameinfo.c: Likewise.
20556         * inet/getsourcefilter.c: Likewise.
20557         * inet/htonl.c: Likewise.
20558         * inet/setipv4sourcefilter.c: Likewise.
20559         * inet/setsourcefilter.c: Likewise.
20560         * inet/test-inet6_opt.c: Likewise.
20561         * inet/tst-network.c: Likewise.
20562         * locale/C-collate.c: Likewise.
20563         * locale/C-ctype.c: Likewise.
20564         * locale/C-time.c: Likewise.
20565         * locale/C-translit.h: Likewise.
20566         * locale/loadarchive.c: Likewise.
20567         * locale/programs/3level.h: Likewise.
20568         * locale/programs/charmap.c: Likewise.
20569         * locale/programs/charmap.h: Likewise.
20570         * locale/programs/ld-address.c: Likewise.
20571         * locale/programs/ld-collate.c: Likewise.
20572         * locale/programs/ld-ctype.c: Likewise.
20573         * locale/programs/ld-identification.c: Likewise.
20574         * locale/programs/ld-measurement.c: Likewise.
20575         * locale/programs/ld-messages.c: Likewise.
20576         * locale/programs/ld-monetary.c: Likewise.
20577         * locale/programs/ld-name.c: Likewise.
20578         * locale/programs/ld-numeric.c: Likewise.
20579         * locale/programs/ld-paper.c: Likewise.
20580         * locale/programs/ld-telephone.c: Likewise.
20581         * locale/programs/ld-time.c: Likewise.
20582         * locale/programs/linereader.c: Likewise.
20583         * locale/programs/locale.c: Likewise.
20584         * locale/programs/locarchive.c: Likewise.
20585         * locale/programs/locfile.h: Likewise.
20586         * locale/programs/repertoire.c: Likewise.
20587         * locale/programs/simple-hash.c: Likewise.
20588         * locale/programs/simple-hash.h: Likewise.
20589         * malloc/memusage.c: Likewise.
20590         * malloc/memusagestat.c: Likewise.
20591         * nis/nis_defaults.c: Likewise.
20592         * nis/nis_hash.c: Likewise.
20593         * nis/nis_print.c: Likewise.
20594         * nis/nis_xdr.c: Likewise.
20595         * nscd/connections.c: Likewise.
20596         * nscd/hstcache.c: Likewise.
20597         * nscd/nscd_gethst_r.c: Likewise.
20598         * nscd/nscd_getserv_r.c: Likewise.
20599         * nscd/nscd_helper.c: Likewise.
20600         * nscd/servicescache.c: Likewise.
20601         * nss/makedb.c: Likewise.
20602         * nss/nss_db/db-XXX.c: Likewise.
20603         * nss/nss_db/db-initgroups.c: Likewise.
20604         * nss/nss_db/db-netgrp.c: Likewise.
20605         * nss/nss_files/files-network.c: Likewise.
20606         * nss/nss_files/files-parse.c: Likewise.
20607         * posix/bug-regex5.c: Likewise.
20608         * posix/fnmatch_loop.c: Likewise.
20609         * posix/regcomp.c: Likewise.
20610         * posix/regexec.c: Likewise.
20611         * posix/tst-rfc3484-2.c: Likewise.
20612         * posix/tst-rfc3484-3.c: Likewise.
20613         * posix/tst-rfc3484.c: Likewise.
20614         * resolv/nss_dns/dns-canon.c: Likewise.
20615         * resolv/nss_dns/dns-network.c: Likewise.
20616         * resolv/res_init.c: Likewise.
20617         * resolv/res_mkquery.c: Likewise.
20618         * resolv/tst-aton.c: Likewise.
20619         * stdlib/cxa_atexit.c: Likewise.
20620         * stdlib/cxa_finalize.c: Likewise.
20621         * stdlib/gen-fpioconst.c: Likewise.
20622         * stdlib/strtol_l.c: Likewise.
20623         * string/tst-endian.c: Likewise.
20624         * sunrpc/auth_des.c: Likewise.
20625         * sunrpc/clnt_udp.c: Likewise.
20626         * sunrpc/rtime.c: Likewise.
20627         * sunrpc/svcauth_des.c: Likewise.
20628         * sunrpc/xdr.c: Likewise.
20629         * sunrpc/xdr_intXX_t.c: Likewise.
20630         * sunrpc/xdr_rec.c: Likewise.
20631         * sysdeps/generic/ldconfig.h: Likewise.
20632         * sysdeps/generic/ldsodefs.h: Likewise.
20633         * sysdeps/generic/memusage.h: Likewise.
20634         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20635         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20636         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20638         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20639         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20640         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20641         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20642         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20643         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20644         * sysdeps/posix/getaddrinfo.c: Likewise.
20645         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20646         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20647         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20648         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20649         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20650         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20651         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20652         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20653         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20654         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20655         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20656         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20657         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20658         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20659         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20660         * sysdeps/x86_64/dl-tls.h: Likewise.
20661         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20662         * time/alt_digit.c: Likewise.
20663         * time/era.c: Likewise.
20664         * wcsmbs/tst-c16c32-1.c: Likewise.
20665
20666 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20667
20668         * math/libm-test.inc (struct test_sincos_data): New type.
20669         (RUN_TEST_LOOP_sincos): New macro.
20670         (sincos_test_data): New variable.
20671         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20672
20673 2013-05-16  Richard Henderson  <rth@redhat.com>
20674
20675         * math/atest-exp2.c (LIMB64): New macro.
20676         (CONSTSZ): New macro.
20677         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20678         (hexdig): Move ...
20679         (print_mpn_fp): ... to function scope.
20680         (read_mpn_hex): Remove.
20681         (get_log2): Remove.
20682         (exp2_mpn): Use mp_log2.
20683         (main): Use mp_exp1.
20684
20685 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20686
20687         * math/libm-test.inc: Remove comment about not testing "inexact"
20688         exceptions.
20689         (INEXACT_EXCEPTION): New macro.
20690         (NO_INEXACT_EXCEPTION): Likewise.
20691         (INVALID_EXCEPTION_OK): Update value.
20692         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20693         (OVERFLOW_EXCEPTION_OK): Likewise.
20694         (UNDERFLOW_EXCEPTION_OK): Likewise.
20695         (IGNORE_ZERO_INF_SIGN): Likewise.
20696         (ERRNO_UNCHANGED): Likewise.
20697         (ERRNO_EDOM): Likewise.
20698         (ERRNO_ERANGE): Likewise.
20699         (test_exceptions): Handle testing "inexact" exceptions.
20700         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20701         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20702         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20703         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20704         INEXACT_EXCEPTION.
20705         (rint_towardzero_test_data): Likewise.
20706         (rint_downward_test_data): Likewise.
20707         (rint_upward_test_data): Likewise.
20708
20709         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20710         with OVERFLOW_EXCEPTION.
20711         (exp10_test_data): Likewise.
20712         (exp2_test_data): Likewise.
20713         (expm1_test_data): Likewise.
20714         (lgamma_test_data): Likewise.
20715         (pow_test_data): Likewise.
20716         (tgamma_test_data): Likewise.
20717         (yn_test_data): Remove duplicate test of overflow.
20718
20719         * math/libm-test.inc (struct test_cc_c_data): New type.
20720         (RUN_TEST_LOOP_cc_c): New macro.
20721         (cpow_test_data): New variable.
20722         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20723
20724         * math/libm-test.inc (struct test_f_L_data): New type.
20725         (RUN_TEST_LOOP_f_L): New macro.
20726         (llrint_test_data): New variable.
20727         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20728         (llrint_tonearest_test_data): New variable.
20729         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20730         (llrint_towardzero_test_data): New variable.
20731         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20732         (llrint_downward_test_data): New variable.
20733         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20734         (llrint_upward_test_data): New variable.
20735         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20736         (llround_test_data): New variable.
20737         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20738
20739 2013-05-13  Peter Collingbourne  <pcc@google.com>
20740
20741         * math/atest-exp2.c (get_log2): Remove const attribute.
20742
20743 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20744
20745         * math/libm-test.inc (struct test_f_l_data): New type.
20746         (RUN_TEST_LOOP_f_l): New macro.
20747         (lrint_test_data): New variable.
20748         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20749         (lrint_tonearest_test_data): New variable.
20750         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20751         (lrint_towardzero_test_data): New variable.
20752         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20753         (lrint_downward_test_data): New variable.
20754         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20755         (lrint_upward_test_data): New variable.
20756         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20757         (lround_test_data): New variable.
20758         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20759
20760 2013-05-15  Peter Collingbourne  <pcc@google.com>
20761
20762         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20763         (EXTRACT_WORDS64) Use where appropriate.
20764         (INSERT_WORDS64) Likewise.
20765
20766         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20767         constraints with x constraints.
20768         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20769
20770         * malloc/obstack.c (_obstack_compat): Add initializer.
20771
20772 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20773
20774         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20775         si_trapno and add si_addr_lsb to _sifields.sigfault.
20776         (si_trapno): Remove macro.
20777         (si_addr_lsb): Define new macro.
20778         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20779
20780 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20781
20782         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20783         instead of TEST_f_l.
20784         (llrint_test_tonearest): Likewise.
20785         (llrint_test_towardzero): Likewise.
20786         (llrint_test_downward): Likewise.
20787         (llrint_test_upward): Likewise.
20788         (llround_test): Likewise.
20789
20790         * math/libm-test.inc (struct test_f_i_data): Add comment.
20791         (RUN_TEST_LOOP_f_b): New macro.
20792         (RUN_TEST_LOOP_f_b_tg): Likewise.
20793         (finite_test_data): New variable.
20794         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20795         (isfinite_test_data): New variable.
20796         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20797         (isinf_test_data): New variable.
20798         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20799         (isnan_test_data): New variable.
20800         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20801         (isnormal_test_data): New variable.
20802         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20803         (issignaling_test_data): New variable.
20804         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20805         (signbit_test_data): New variable.
20806         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20807
20808         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20809         with INVALID_EXCEPTION.
20810         (acosh_test_data): Likewise.
20811         (asin_test_data): Likewise.
20812         (atanh_test_data): Likewise.
20813         (fmod_test_data): Likewise.
20814         (log_test_data): Likewise.
20815         (log10_test_data): Likewise.
20816         (log2_test_data): Likewise.
20817         (pow_test_data): Likewise.
20818         (sqrt_test_data): Likewise.
20819         (y0_test_data): Likewise.
20820         (y1_test_data): Likewise.
20821         (yn_test_data): Likewise.
20822
20823         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20824         function contents.
20825
20826         * math/libm-test.inc (struct test_ff_i_data): New type.
20827         (RUN_TEST_LOOP_ff_i_tg): New macro.
20828         (isgreater_test_data): New variable.
20829         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20830         (isgreaterequal_test_data): New variable.
20831         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20832         (isless_test_data): New variable.
20833         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20834         (islessequal_test_data): New variable.
20835         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20836         (islessgreater_test_data): New variable.
20837         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20838         (isunordered_test_data): New variable.
20839         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20840
20841 2013-05-14  David S. Miller  <davem@davemloft.net>
20842
20843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20844
20845 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20846
20847         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20848
20849         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20850         extra_test to int.
20851         (struct test_f_i_data): Change type of max_ulp to int.
20852
20853         * math/libm-test.inc (test_ffI_f1_data): New type.
20854         (RUN_TEST_LOOP_ffI_f1): New macro.
20855         (remquo_test_data): New variable.
20856         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20857
20858         * setjmp/tst-setjmp-fp.c: New file.
20859         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20860         (link-libm): New variable.
20861         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20862
20863         * math/libm-test.inc (struct test_f_i_data): New type.
20864         (RUN_TEST_LOOP_f_i): New macro.
20865         (RUN_TEST_LOOP_f_i_tg): Likewise.
20866         (fpclassify_test_data): New variable.
20867         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20868         (ilogb_test_data): New variable.
20869         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20870
20871         * math/libm-test.inc (scalbln_test): Correct function name in END
20872         call.
20873
20874         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20875         (RUN_TEST_LOOP_fI_f1): New macro.
20876         (frexp_test_data): New variable.
20877         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20878
20879         * math/libm-test.inc (struct test_fF_f1_data): New type.
20880         (RUN_TEST_LOOP_fF_f1): New macro.
20881         (modf_test_data): New variable.
20882         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20883
20884         * math/libm-test.inc (struct test_f_f1_data): New type.
20885         (RUN_TEST_LOOP_f_f1): New macro.
20886         (gamma_test_data): New variable.
20887         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20888         (lgamma_test_data): New variable.
20889         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20890
20891 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20892
20893         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20894         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20895         (main): Comment "tls" pseudo-hwcap.
20896
20897 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20898
20899         * math/libm-test.inc (struct test_fl_f_data): New type.
20900         (RUN_TEST_LOOP_fl_f): New variable.
20901         (scalbln_test_data): New variable.
20902         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20903
20904         * math/libm-test.inc (struct test_fi_f_data): New type.
20905         (RUN_TEST_LOOP_fi_f): New macro.
20906         (ldexp_test_data): New variable.
20907         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20908         (scalbn_test_data): New variable.
20909         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20910
20911         * math/libm-test.inc (struct test_c_f_data): New type.
20912         (RUN_TEST_LOOP_c_f): New macro.
20913         (cabs_test_data): New variable.
20914         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20915         (carg_test_data): New variable.
20916         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20917         (cimag_test_data): New variable.
20918         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20919         (creal_test_data): New variable.
20920         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20921
20922         * math/libm-test.inc (struct test_if_f_data): New type.
20923         (RUN_TEST_LOOP_if_f): New macro.
20924         (jn_test_data): New variable.
20925         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20926         (yn_test_data): New variable.
20927         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20928
20929         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20930
20931 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20932
20933         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20934         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20935
20936 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20937
20938         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20939         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20940         (bench-deps): Add bench-timing.h.
20941         * benchtests-bench-skeleton.c: Include bench-timing.h.
20942         (main): Use TIMING_* macros instead of clock_gettime.
20943         * benchtests/bench-timing.h: New file.
20944
20945         [BZ #14582]
20946         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20947         Renamed from _LIB_VERSION.
20948         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20949
20950 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20951
20952         * math/libm-test.inc (struct test_fff_f_data): New type.
20953         (RUN_TEST_LOOP_fff_f): New macro.
20954         (fma_test_data): New variable.
20955         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20956         (fma_towardzero_test_data): New variable.
20957         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20958         (fma_downward_test_data): New variable.
20959         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20960         (fma_upward_test_data): New variable.
20961         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20962
20963         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20964         (struct test_c_c_data): New type.
20965         (RUN_TEST_LOOP_c_c): New macro.
20966         (cacos_test_data): New variable.
20967         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20968         (cacosh_test_data): New variable.
20969         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20970         (casin_test_data): New variable.
20971         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20972         (casinh_test_data): New variable.
20973         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20974         (catan_test_data): New variable.
20975         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20976         (catanh_test_data): New variable.
20977         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20978         (ccos_test_data): New variable.
20979         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20980         (ccosh_test_data): New variable.
20981         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20982         (cexp_test_data): New variable.
20983         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20984         (clog_test_data): New variable.
20985         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20986         (clog10_test_data): New variable.
20987         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20988         (conj_test_data): New variable.
20989         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20990         (cproj_test_data): New variable.
20991         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20992         (csin_test_data): New variable.
20993         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20994         (csinh_test_data): New variable.
20995         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20996         (csqrt_test_data): New variable.
20997         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20998         (ctan_test_data): New variable.
20999         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21000         (ctan_tonearest_test_data): New variable.
21001         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21002         (ctan_towardzero_test_data): New variable.
21003         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21004         (ctan_downward_test_data): New variable.
21005         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21006         (ctan_upward_test_data): New variable.
21007         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21008         (ctanh_test_data): New variable.
21009         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21010         (ctanh_tonearest_test_data): New variable.
21011         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21012         (ctanh_towardzero_test_data): New variable.
21013         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21014         (ctanh_downward_test_data): New variable.
21015         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21016         (ctanh_upward_test_data): New variable.
21017         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21018         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21019         of BUILD_COMPLEX.
21020
21021         * math/libm-test.inc (struct test_ff_f_data): New type.
21022         (struct test_ff_f_data_nexttoward): Likewise.
21023         (RUN_TEST_LOOP_2_f): New macro.
21024         (RUN_TEST_LOOP_ff_f): Likewise.
21025         (atan2_test_data): New variable.
21026         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21027         (copysign_test_data): New variable.
21028         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21029         (fdim_test_data): New variable.
21030         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21031         (fmax_test_data): New variable.
21032         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21033         (fmin_test_data): New variable.
21034         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21035         (fmod_test_data): New variable.
21036         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21037         (hypot_test_data): New variable.
21038         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21039         (nextafter_test_data): New variable.
21040         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21041         (nexttoward_test_data): New variable.
21042         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21043         (pow_test_data): New variable.
21044         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21045         (pow_tonearest_test_data): New variable.
21046         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21047         (pow_towardzero_test_data): New variable.
21048         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21049         (pow_downward_test_data): New variable.
21050         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21051         (pow_upward_test_data): New variable.
21052         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21053         (remainder_test_data): New variable.
21054         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21055         (scalb_test_data): New variable.
21056         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21057         * sysdeps/i386/fpu/libm-test-ulps: Update.
21058
21059 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21060
21061         * math/libm-test.inc (fma_test): Use max_value instead of local
21062         variable fltmax.
21063         (nextafter_test): Likewise.
21064
21065         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21066         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21067         (acos_downward_test_data): New variable.
21068         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21069         (acos_upward_test_data): New variable.
21070         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21071         (acosh_test_data): New variable.
21072         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21073         (asin_test_data): New variable.
21074         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21075         (asin_tonearest_test_data): New variable.
21076         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21077         (asin_towardzero_test_data): New variable.
21078         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21079         (asin_downward_test_data): New variable.
21080         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21081         (asin_upward_test_data): New variable.
21082         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21083         (asinh_test_data): New variable.
21084         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21085         (atan_test_data): New variable.
21086         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21087         (atanh_test_data): New variable.
21088         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21089         (cbrt_test_data): New variable.
21090         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21091         (ceil_test_data): New variable.
21092         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21093         (cos_test_data): New variable.
21094         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21095         (cos_tonearest_test_data): New variable.
21096         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21097         (cos_towardzero_test_data): New variable.
21098         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21099         (cos_downward_test_data): New variable.
21100         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21101         (cos_upward_test_data): New variable.
21102         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21103         (cosh_test_data): New variable.
21104         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21105         (cosh_tonearest_test_data): New variable.
21106         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21107         (cosh_towardzero_test_data): New variable.
21108         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21109         (cosh_downward_test_data): New variable.
21110         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21111         (cosh_upward_test_data): New variable.
21112         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21113         (erf_test_data): New variable.
21114         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21115         (erfc_test_data): New variable.
21116         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21117         (exp_test_data): New variable.
21118         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21119         (exp_tonearest_test_data): New variable.
21120         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21121         (exp_towardzero_test_data): New variable.
21122         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21123         (exp_downward_test_data): New variable.
21124         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21125         (exp_upward_test_data): New variable.
21126         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21127         (exp10_test_data): New variable.
21128         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21129         (exp2_test_data): New variable.
21130         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21131         (expm1_test_data): New variable.
21132         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21133         (fabs_test_data): New variable.
21134         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21135         (floor_test_data): New variable.
21136         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21137         (j0_test_data): New variable.
21138         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21139         (j1_test_data): New variable.
21140         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21141         (log_test_data): New variable.
21142         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21143         (log10_test_data): New variable.
21144         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21145         (log1p_test_data): New variable.
21146         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21147         (log2_test_data): New variable.
21148         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21149         (logb_test_data): New variable.
21150         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21151         (logb_downward_test_data): New variable.
21152         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21153         (nearbyint_test_data): New variable.
21154         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21155         (rint_test_data): New variable.
21156         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21157         (rint_tonearest_test_data): New variable.
21158         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21159         (rint_towardzero_test_data): New variable.
21160         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21161         (rint_downward_test_data): New variable.
21162         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21163         (rint_upward_test_data): New variable.
21164         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21165         (round_test_data): New variable.
21166         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21167         (sin_test_data): New variable.
21168         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21169         (sin_tonearest_test_data): New variable.
21170         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21171         (sin_towardzero_test_data): New variable.
21172         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21173         (sin_downward_test_data): New variable.
21174         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21175         (sin_upward_test_data): New variable.
21176         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21177         (sinh_test_data): New variable.
21178         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21179         (sinh_tonearest_test_data): New variable.
21180         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21181         (sinh_towardzero_test_data): New variable.
21182         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21183         (sinh_downward_test_data): New variable.
21184         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21185         (sinh_upward_test_data): New variable.
21186         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21187         (sqrt_test_data): New variable.
21188         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21189         (tan_test_data): New variable.
21190         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21191         (tan_tonearest_test_data): New variable.
21192         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21193         (tan_towardzero_test_data): New variable.
21194         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21195         (tan_downward_test_data): New variable.
21196         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21197         (tan_upward_test_data): New variable.
21198         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21199         (tanh_test_data): New variable.
21200         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21201         (tgamma_test_data): New variable.
21202         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21203         (trunc_test_data): New variable.
21204         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21205         (y0_test_data): New variable.
21206         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21207         (y1_test_data): New variable.
21208         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21209         (significand_test_data): New variable.
21210         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21211
21212 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21213
21214         [BZ #12387]
21215         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21216
21217 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21218
21219         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21220
21221 2013-05-10  Andreas Jaeger  <aj@suse.de>
21222
21223         [BZ #15448]
21224         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21225         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21226
21227 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21228
21229         * math/gen-libm-test.pl (adjust_arg): New function.
21230         (special_functions): Handle generating output in both functions
21231         and arrays.
21232         (parse_args): Likewise.
21233         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21234         $in_func argument to parse_args.
21235         * math/libm-test.inc (struct test_f_f_data): New type.
21236         (IF_ROUND_INIT_): New macro.
21237         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21238         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21239         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21240         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21241         (ROUND_RESTORE_): Likewise.
21242         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21243         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21244         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21245         (ROUND_RESTORE_FE_UPWARD): Likewise.
21246         (RUN_TEST_LOOP_f_f): New macro.
21247         (acos_test_data): New variable.
21248         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21249         (acos_tonearest_test_data): New variable.
21250         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21251
21252 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21253
21254         * benchtests/bench-skeleton.c (startup): Fix coding style.
21255
21256 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21257
21258         [BZ #6809]
21259         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21260         negative infinity argument.
21261         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21262         negative infinity argument.
21263         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21264         negative infinity argument.
21265         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21266         domain errors.
21267
21268 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21269
21270         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21271         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21272         * iconv/iconv_prog.c (main): Likewise.
21273         * locale/programs/charmap-dir.c (charmap_readdir)
21274         (fopen_uncompressed): Likewise.
21275         * locale/programs/locfile.c (siblings_uncached)
21276         (write_locale_data): Use lstat64 instead of lstat.
21277         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21278         stat.
21279
21280 2013-05-10  Andreas Jaeger  <aj@suse.de>
21281
21282         [BZ #15395]
21283         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21284         localization.
21285         Include <locale.h>.
21286
21287 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21288
21289         * elf/dl-close.c (_dl_close_worker): Add comments.
21290
21291 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21292
21293         [BZ #15359]
21294         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21295         high part of pi/2.
21296         (__ieee754_rem_pio2l): Update comments.
21297
21298         [BZ #15429]
21299         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21300         high part of pi/2.
21301         (__ieee754_rem_pio2l): Update comments.
21302
21303         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21304         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21305
21306         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21307         M_PI_4l.
21308
21309         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21310         (M_PI_34_LOG10El): Likewise.
21311         (M_PI2_LOG10El): Likewise.
21312         (M_PI4_LOG10El): Likewise.
21313         (M_PI_LOG10El): Likewise.
21314
21315 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21316
21317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21318
21319 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21320
21321         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21322         (MINUS_ZERO_INIT): Likewise.
21323         (PLUS_INFTY_INIT): Likewise.
21324         (MINUS_INFTY_INIT): Likewise.
21325         (QNAN_VALUE_INIT): Likewise.
21326         (MAX_VALUE_INIT): Likewise.
21327         (MIN_VALUE_INIT): Likewise.
21328         (MIN_SUBNORM_VALUE_INIT): Likewise.
21329         (plus_zero): Initialize with PLUS_ZERO_INIT.
21330         (minus_zero): Initialize with MINUS_ZERO_INIT.
21331         (plus_infty): Initialize with PLUS_INFTY_INIT.
21332         (minus_infty): Initialize with MINUS_INFTY_INIT.
21333         (qnan_value): Initialize with QNAN_VALUE_INIT.
21334         (max_value): Initialize with MAX_VALUE_INIT.
21335         (min_value): Initialize with MIN_VALUE_INIT.
21336         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21337
21338         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21339         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21340         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21341         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21342
21343         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21344         (RUN_TEST_2_f): Likewise.
21345         (RUN_TEST_ff_f): Likewise.
21346         (RUN_TEST_fi_f): Likewise.
21347         (RUN_TEST_fl_f): Likewise.
21348         (RUN_TEST_fff_f): Likewise.
21349         (RUN_TEST_c_f): Likewise.
21350         (RUN_TEST_f_f1): Likewise.
21351         (RUN_TEST_fF_f1): Likewise.
21352         (RUN_TEST_fI_f1): Likewise.
21353         (RUN_TEST_ffI_f1): Likewise.
21354         (RUN_TEST_c_c): Likewise.
21355         (RUN_TEST_cc_c): Likewise.
21356         (RUN_TEST_f_i): Likewise.
21357         (RUN_TEST_f_i_tg): Likewise.
21358         (RUN_TEST_ff_i_tg): Likewise.
21359         (RUN_TEST_f_b): Likewise.
21360         (RUN_TEST_f_b_tg): Likewise.
21361         (RUN_TEST_f_l): Likewise.
21362         (RUN_TEST_f_L): Likewise.
21363         (RUN_TEST_sincos): Likewise.
21364         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21365         whether to show exceptions.  Do not include ");\n" in return
21366         value.
21367         (special_functions): Output call to RUN_TEST_sincos instead of
21368         check_float calls.  Update calls to new_test.
21369         (parse_args): Output call to single RUN_TEST_* macro instead of
21370         check_* calls and other assignments.  Update calls to new_test.
21371
21372         [BZ #2546]
21373         [BZ #2560]
21374         [BZ #5159]
21375         [BZ #15426]
21376         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21377         input to result for tgamma overflow.
21378         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21379         (gamma_coeff): New variable.
21380         (NCOEFF): New macro.
21381         (gamma_positive): New function.
21382         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21383         underflow here.  Use gamma_positive instead of exp (lgamma) for
21384         other arguments.
21385         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21386         (gamma_coeff): New variable.
21387         (NCOEFF): New macro.
21388         (gammaf_positive): New function.
21389         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21390         underflow here.  Use gamma_positive instead of exp (lgamma) for
21391         other arguments.
21392         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21393         (gamma_coeff): New variable.
21394         (NCOEFF): New macro.
21395         (gammal_positive): New function.
21396         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21397         underflow here.  Use gamma_positive instead of exp (lgamma) for
21398         other arguments.
21399         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21400         (gamma_coeff): New variable.
21401         (NCOEFF): New macro.
21402         (gammal_positive): New function.
21403         (__ieee754_gammal_r): Handle positive infinity, overflow and
21404         underflow here.  Handle NaN the same as positive infinity.  Remove
21405         check x < 0xffffffff for negative integers.  Use gamma_positive
21406         instead of exp (lgamma) for other arguments.
21407         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21408         (gamma_coeff): New variable.
21409         (NCOEFF): New macro.
21410         (gammal_positive): New function.
21411         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21412         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21413         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21414         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21415         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21416         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21417         * sysdeps/generic/math_private.h (__gamma_productf): New
21418         prototype.
21419         (__gamma_product): Likewise.
21420         (__gamma_productl): Likewise.
21421         * math/Makefile (libm-calls): Add gamma_product.
21422         * math/libm-test.inc (tgamma_test): Add more tests.
21423         * sysdeps/i386/fpu/libm-test-ulps: Update.
21424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21425
21426 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21427
21428         * benchtests/bench-skeleton.c (main): Preheat CPU.
21429
21430 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21431
21432         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21433
21434 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21435
21436         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21437         and _dl_skip_args_internal.
21438
21439 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21440
21441         * manual/message.texi (Message Translation): Talk about users.
21442         Message to key mapping impacts design.
21443
21444 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21445
21446         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21447
21448         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21449
21450         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21451         * sysdeps/wordsize-64/glob64.c: ... here.
21452
21453         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21454         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21455         New macros.
21456
21457         * debug/getlogin_r_chk.c: Moved to ...
21458         * login/getlogin_r_chk.c: ... here.
21459         * debug/Makefile (routines): Move getlogin_r_chk to ...
21460         * login/Makefile (routines): ... here.
21461         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21462         * login/Versions (libc: GLIBC_2.4): ... here.
21463
21464         * io/poll.c (__poll): Renamed from poll.
21465         Add libc_hidden_def.
21466         (poll): Define as weak alias.
21467
21468         * debug/ptsname_r_chk.c: Moved to ...
21469         * login/ptsname_r_chk.c: ... here.
21470         * debug/Makefile (routines): Move ptsname_r_chk to ...
21471         * login/Makefile (routines): ... here.
21472         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21473         * login/Versions (libc: GLIBC_2.4): ... here.
21474
21475         * posix/getlogin.c: Moved to ...
21476         * login/getlogin.c: ... here.
21477         * posix/getlogin_r.c: Moved to ...
21478         * login/getlogin_r.c: ... here.
21479         * posix/getlogin_r.c: Moved to ...
21480         * login/getlogin_r.c: ... here.
21481         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21482         * login/Makefile (routines): ... here.
21483         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21484         * login/Versions (libc: GLIBC_2.0): ... here.
21485
21486         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21487         (setrlimit): Define as weak alias.
21488
21489         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21490         Call __ names for open, ftruncate, and close.
21491         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21492         (truncate): Define as weak alias.
21493
21494 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21495
21496         * math/gen-libm-test.pl (parse_args): Initialize x before each
21497         test of frexp, modf and remquo.
21498
21499         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21500         test signgam value.
21501
21502 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21503
21504         [BZ #15418]
21505         [BZ #15419]
21506         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21507         internal tests.
21508         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21509
21510 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21511
21512         * elf/dl-writev.h: New file.
21513         * elf/dl-misc.c: Include it.
21514         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21515         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21516
21517 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21518
21519         * math/libm-test.inc (noXFails): Remove variable.
21520         (noXPasses): Likewise.
21521         (BUILD_COMPLEX_INT): Remove macro.
21522         (print_screen): Remove xfail argument.
21523         (print_screen_max_error): Likewise.
21524         (update_stats): Likewise.
21525         (print_max_error): Likewise.  Update calls to other affected
21526         functions.
21527         (print_complex_max_error): Likewise.
21528         (test_single_exception): Update calls to print_screen.
21529         (test_single_errno): Likewise.
21530         (check_float_internal): Remove xfail argument.  Update calls to
21531         other affected functions.
21532         (check_float): Likewise.
21533         (check_complex): Likewise.
21534         (check_int): Likewise.
21535         (check_long): Likewise.
21536         (check_bool): Likewise.
21537         (check_longlong): Likewise.
21538         (main): Don't print noXFails and noXPasses.
21539         * math/gen-libm-test.pl (top level): Don't mention expected
21540         failure handling in comment.
21541         (new_test): Don't handle expected failures.
21542         (parse_args): Don't mention expected failure handling in comment.
21543         (generate_testfile): Don't handle expected failures.
21544         (parse_ulps): Likewise.
21545         (print_ulps_file): Likewise.
21546         (get_failure): Remove function.
21547         (output_test): Don't handle expected failures.
21548         * make/README.libm-test: Don't mention expected failure handling.
21549
21550         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21551         (minus_zero): Likewise.
21552         (plus_infty): Likewise.
21553         (minus_infty): Likewise.
21554         (qnan_value): Likewise.
21555         (max_value): Likewise.
21556         (min_value): Likewise.
21557         (min_subnorm_value): Likewise.
21558         (initialize): Do not initialize those variables dynamically.
21559
21560 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21561
21562         * io/open.c (__open_2): Moved to ...
21563         * io/open_2.c: ... this new file.
21564         * io/open64.c (__open64_2): Moved to ...
21565         * io/open64_2.c: ... this new file.
21566         * io/openat.c (__openat_2): Moved to ...
21567         * io/openat_2.c: ... this new file.
21568         * io/openat64.c (__openat64_2): Moved to ...
21569         * io/openat64_2.c: ... this new file.
21570         * io/Makefile (routines): Add them.
21571         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21572         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21573         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21574         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21575         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21576         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21577         (__openat64): Add hidden_ver.
21578         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21579         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21580
21581         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21582         Separately conditionalize setting of GLRO(dl_sysinfo) so
21583         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21584         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21585
21586 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21587
21588         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21589         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21590         definition.
21591         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21592         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21593         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21594         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21595         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21596
21597 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21598
21599         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21600         test signgam value.
21601
21602         * math/libm-test.inc (hypot_test): Do not use
21603         IGNORE_ZERO_INF_SIGN.
21604
21605 2013-05-03  Andreas Jaeger  <aj@suse.de>
21606
21607         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21608         Linux 3.9.
21609         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21610         (PF_MAX): Adjust for VSOCK change.
21611
21612 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21613
21614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21615
21616 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21617
21618         [BZ #15264]
21619         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21620         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21621         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21622
21623 2013-05-02  David S. Miller  <davem@davemloft.net>
21624
21625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21626
21627 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21628
21629         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21630
21631 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21632
21633         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21634
21635 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21636
21637         [BZ #14952]
21638         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21639         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21640         Use __attribute__ ((__gnu_inline__)).
21641         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21642         Don't use __attribute__ ((__gnu_inline__)).
21643
21644 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21645
21646         [BZ #15423]
21647         * math/s_catan.c (__catan): Handle small real or imaginary part of
21648         input specially to avoid spurious underflow.
21649         * math/s_catanf.c (__catanf): Likewise.
21650         * math/s_catanh.c (__catanh): Likewise.
21651         * math/s_catanhf.c (__catanhf): Likewise.
21652         * math/s_catanhl.c (__catanhl): Likewise.
21653         * math/s_catanl.c (__catanl): Likewise.
21654         * math/libm-test.inc (catan_test): Add more tests.
21655         (catanh_test): Likewise.
21656         * sysdeps/i386/fpu/libm-test-ulps: Update.
21657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21658
21659 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21660
21661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21662
21663 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21664
21665         [BZ #15416]
21666         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21667         accurately for denominator in atan2.
21668         * math/s_catanf.c (__catanf): Likewise.
21669         * math/s_catanh.c (__catanh): Likewise.
21670         * math/s_catanhf.c (__catanhf): Likewise.
21671         * math/s_catanhl.c (__catanhl): Likewise.
21672         * math/s_catanl.c (__catanl): Likewise.
21673         * math/libm-test.inc (catan_test): Add more tests.
21674         (catanh_test): Likewise.
21675         * sysdeps/i386/fpu/libm-test-ulps: Update.
21676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21677
21678 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21679
21680         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21681
21682         * benchtests/Makefile (bench): Remove slow benchmarks.
21683         * benchtests/atan-inputs: Add slow benchmark inputs.
21684         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21685         (BENCH_FUNC): Accept variant offset.
21686         (VARIANT): Define.
21687         * benchtests/bench-skeleton.c (main): Run benchmark for each
21688         variant.
21689         * benchtests/cos-inputs: Add slow benchmark inputs.
21690         * benchtests/exp-inputs: Likewise.
21691         * benchtests/pow-inputs: Likewise.
21692         * benchtests/sin-inputs: Likewise.
21693         * benchtests/slowatan-inputs: Remove.
21694         * benchtests/slowatan.c: Remove.
21695         * benchtests/slowcos-inputs: Remove.
21696         * benchtests/slowcos.c: Remove.
21697         * benchtests/slowexp-inputs: Remove.
21698         * benchtests/slowexp.c: Remove.
21699         * benchtests/slowpow-inputs: Remove.
21700         * benchtests/slowpow.c: Remove.
21701         * benchtests/slowsin-inputs: Remove.
21702         * benchtests/slowsin.c: Remove.
21703         * benchtests/slowtan-inputs: Remove.
21704         * benchtests/slowtan.c: Remove.
21705         * benchtests/tan-inputs: Add slow benchmark inputs.
21706         * scripts/bench.pl: Parse comments and directives.
21707
21708         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21709         in CPPFLAGS.
21710         ($(objpfx)bench-%.c): Remove *-ITER.
21711         * benchtests/bench-modf.c: Remove definition of ITER.
21712         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21713         (main): Loop for DURATION seconds instead of fixed number of
21714         iterations.
21715         * scripts/bench.pl: Don't expect iterations in parameters.
21716
21717 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21718
21719         * io/fchdir.c (__fchdir): Renamed from fchdir.
21720         (fchdir): Define as weak alias.
21721
21722 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21723
21724         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21725         (ERRNO_EDOM): Likewise.
21726         (ERRNO_ERANGE): Likewise.
21727         (noErrnoTests): New variable.
21728         (init_max_error): Set errno to 0.
21729         (test_single_errno): New function.
21730         (test_errno): Likewise.
21731         (check_float_internal): Call test_errno.  Set errno to 0.
21732         (check_complex): Refer to errno tests in comment.
21733         (check_int): Call test_errno.  Set errno to 0.
21734         (check_long): Likewise.
21735         (check_bool): Likewise.
21736         (check_longlong): Likewise.
21737         (cos_test): Use ERRNO_* flags for errno tests instead of
21738         check_int.
21739         (expm1_test): Likewise.
21740         (fmod_test): Likewise.
21741         (ilogb_test): Likewise.
21742         (lgamma_test): Likewise.
21743         (pow_test): Likewise.
21744         (remainder_test): Likewise.
21745         (sin_test): Likewise.
21746         (tan_test): Likewise.
21747         (yn_test): Likewise.
21748         (initialize): Set errno to 0.
21749         (main): Print number of errno tests.
21750         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21751
21752 2013-04-29  Andreas Jaeger  <aj@suse.de>
21753
21754         [BZ #15084]
21755         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21756         and RES_USEVC.
21757
21758         [BZ #15085]
21759         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21760         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21761         unimplemented.
21762
21763         [BZ #15380]
21764         * stdlib/random.c (__initstate): Return NULL if
21765         __initstate fails.
21766
21767         [BZ #15086]
21768         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21769         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21770         RES_SNGLKUPREOP.
21771
21772 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21773
21774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21775
21776 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21777
21778         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21779         of individual tests.
21780         (casin_test): Likewise.
21781         (casinh_test): Likewise.
21782
21783 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21784
21785         [BZ #15409]
21786         * math/s_catan.c (__catan): Handle arguments with large real or
21787         imaginary part separately without squaring.
21788         * math/s_catanf.c (__catanf): Likewise.
21789         * math/s_catanh.c (__catanh): Likewise.
21790         * math/s_catanhf.c (__catanhf): Likewise.
21791         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21792         and redefine.
21793         (__catanhl): Handle arguments with large real or imaginary part
21794         separately without squaring.
21795         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21796         and redefine.
21797         (__catanl): Handle arguments with large real or imaginary part
21798         separately without squaring.
21799         * math/libm-test.inc (catan_test): Add more tests.
21800         (catanh_test): Likewise.
21801         * sysdeps/i386/fpu/libm-test-ulps: Update.
21802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21803
21804 2013-04-27  Andreas Jaeger  <aj@suse.de>
21805
21806         [BZ #15007]
21807         * stdlib/stdlib.h: Update guards for qecvt.
21808         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21809         <stdlib.h>.
21810
21811 2013-04-27  Allan McRae  <allan@archlinux.org>
21812
21813         * sysdeps/i386/fpu/libm-test-ulps: Update.
21814
21815 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21816
21817         [BZ #15406]
21818         * math/s_catan.c: Include <float.h>.
21819         (__catan): Ensure underflow exception occurs for underflowed
21820         result.
21821         * math/s_catanf.c: Include <float.h>.
21822         (__catanf): Ensure underflow exception occurs for underflowed
21823         result.
21824         * math/s_catanh.c: Include <float.h>.
21825         (__catanh): Ensure underflow exception occurs for underflowed
21826         result.
21827         * math/s_catanhf.c: Include <float.h>.
21828         (__catanhf): Ensure underflow exception occurs for underflowed
21829         result.
21830         * math/s_catanhl.c: Include <float.h>.
21831         (__catanhl): Ensure underflow exception occurs for underflowed
21832         result.
21833         * math/s_catanl.c: Include <float.h>.
21834         (__catanl): Ensure underflow exception occurs for underflowed
21835         result.
21836         * math/libm-test.inc (catan_test): Add more tests.
21837         (catanh_test): Likewise.
21838
21839         [BZ #15405]
21840         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21841         underflowed result.
21842         * math/s_ccoshf.c (__ccoshf): Likewise.
21843         * math/s_ccoshl.c (__ccoshl): Likewise.
21844         * math/s_csin.c (__csin): Likewise.
21845         * math/s_csinf.c (__csinf): Likewise.
21846         * math/s_csinh.c (__csinh): Likewise.
21847         * math/s_csinhf.c (__csinhf): Likewise.
21848         * math/s_csinhl.c (__csinhl): Likewise.
21849         * math/s_csinl.c (__csinl): Likewise.
21850         * math/libm-test.inc (ccos_test): Add more tests.
21851         (ccosh_test): Likewise.
21852         (csin_test): Likewise.
21853         (csinh_test): Likewise.
21854
21855 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21856
21857         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21858         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21859         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21860         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21861         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21862         powerpc/power5+/fpu folders.
21863         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21864
21865
21866 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21867
21868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21869
21870 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21871
21872         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21873         additions to variable.
21874         [$(config-machine) = x86_64] (modules-names): Likewise.
21875         ($(objpfx)tst-audit3): Remove dependency.
21876         ($(objpfx)tst-audit3.out): Likewise.
21877         ($(objpfx)tst-audit4): Likewise.
21878         ($(objpfx)tst-audit4.out): Likewise.
21879         ($(objpfx)tst-audit5): Likewise.
21880         ($(objpfx)tst-audit5.out): Likewise.
21881         ($(objpfx)tst-audit6): Likewise.
21882         ($(objpfx)tst-audit6.out): Likewise.
21883         ($(objpfx)tst-audit7): Likewise.
21884         ($(objpfx)tst-audit7.out): Likewise.
21885         (tst-audit3-ENV): Remove variable.
21886         (tst-audit4-ENV): Likewise.
21887         (tst-audit5-ENV): Likewise.
21888         (tst-audit6-ENV): Likewise.
21889         (tst-audit7-ENV): Likewise.
21890         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21891         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21892         addition to variable.
21893         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21894         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21895         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21896         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21897         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21898         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21899         tst-audit3, tst-audit4 and tst-audit5.
21900         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21901         tst-audit6 and tst-audit7.
21902         [$(subdir) = elf] (modules-names): Add audit modules for those
21903         tests.
21904         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21905         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21906         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21907         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21908         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21909         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21910         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21911         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21912         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21913         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21914         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21915         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21916         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21917         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21918         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21919         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21920         Likewise.
21921         [$(subdir) = elf && $(config-cflags-avx) = yes]
21922         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21923         [$(subdir) = elf && $(config-cflags-avx) = yes]
21924         (CFLAGS-tst-auditmod4a.c): Likewise.
21925         [$(subdir) = elf && $(config-cflags-avx) = yes]
21926         (CFLAGS-tst-auditmod4b.c): Likewise.
21927         [$(subdir) = elf && $(config-cflags-avx) = yes]
21928         (CFLAGS-tst-auditmod6b.c): Likewise.
21929         [$(subdir) = elf && $(config-cflags-avx) = yes]
21930         (CFLAGS-tst-auditmod6c.c): Likewise.
21931         [$(subdir) = elf && $(config-cflags-avx) = yes]
21932         (CFLAGS-tst-auditmod7b.c): Likewise.
21933         * elf/tst-audit3.c: Move to ...
21934         * sysdeps/x86_64/tst-audit3.c: ... here.
21935         * elf/tst-audit4.c: Move to ...
21936         * sysdeps/x86_64/tst-audit4.c: ... here.
21937         * elf/tst-audit5.c: Move to ...
21938         * sysdeps/x86_64/tst-audit5.c: ... here.
21939         * elf/tst-audit6.c: Move to ...
21940         * sysdeps/x86_64/tst-audit6.c: ... here.
21941         * elf/tst-audit7.c: Move to ...
21942         * sysdeps/x86_64/tst-audit7.c: ... here.
21943         * elf/tst-auditmod3a.c: Move to ...
21944         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21945         * elf/tst-auditmod3b.c: Move to ...
21946         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21947         * elf/tst-auditmod4a.c: Move to ...
21948         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21949         * elf/tst-auditmod4b.c: Move to ...
21950         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21951         * elf/tst-auditmod5a.c: Move to ...
21952         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21953         * elf/tst-auditmod5b.c: Move to ...
21954         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21955         * elf/tst-auditmod6a.c: Move to ...
21956         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21957         * elf/tst-auditmod6b.c: Move to ...
21958         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21959         * elf/tst-auditmod6c.c: Move to ...
21960         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21961         * elf/tst-auditmod7a.c: Move to ...
21962         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21963         * elf/tst-auditmod7b.c: Move to ...
21964         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21965
21966 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21967
21968         [BZ #15366]
21969         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21970         define unconditionally.
21971         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21972         define unconditionally.
21973         (INT8_C, INT16_C, etc.): Likewise.
21974
21975 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21976
21977         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21978         __ehdr_start with hidden visibility.
21979
21980         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21981
21982 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21983
21984         * math/libm-test.inc (cos_test): Use accurate hex constants.
21985         (sincost_test): Likewise.
21986
21987 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21988
21989         * math/libm-test.inc (catan_test): Add more tests.
21990         (catanh_test): Likewise.
21991
21992         * math/s_catanf.c (__catanf): Use suffixed floating-point
21993         constants.
21994         * math/s_catanhf.c (__catanhf): Likewise.
21995         * math/s_catanhl.c (__catanhl): Likewise.
21996         * math/s_catanl.c (__catanl): Likewise.
21997
21998         [BZ #15394]
21999         * math/s_catan.c (__catan): Calculate imaginary part of result
22000         with log1p not log unless computing log of number close to 0.
22001         * math/s_catanf.c (__catanf): Likewise.
22002         * math/s_catanl.c (__catanl): Likewise.
22003         * math/s_catanh.c (__catanh): Calculate real part of result with
22004         log1p not log unless computing log of number close to 0.
22005         * math/s_catanhf.c (__catanhf): Likewise.
22006         * math/s_catanhl.c (__catanhl): Likewise.
22007         * math/libm-test.inc (catan_test): Add more tests.
22008         (catanh_test): Likewise.
22009         * sysdeps/i386/fpu/libm-test-ulps: Update.
22010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22011
22012 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22013
22014         * benchtests/Makefile: Mention files in which fast and slow
22015         paths of math functions are implemented.
22016
22017 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22018
22019         * sysdeps/posix/timespec_get.c: New file.
22020
22021 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22022
22023         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22024         POWER.
22025         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22026         for POWER.
22027         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22028         powerpc/power5/fpu folders.
22029         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22030         * benchtests/Makefile: Add modf testcase.
22031         * benchtests/bench-modf.c: New file: Benchmark test for mo
22032
22033 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22034
22035         [BZ #14888]
22036         * time/Makefile (tests): Add tst-strptime-whitespace.
22037         * time/strptime_l.c (get_number): Use ISSPACE.
22038         (__strptime_internal): Likewise.
22039         * time/tst-strptime-whitespace.c: New test case.
22040
22041 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22042
22043         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22044         member.
22045         (_nss_files_init): Set it here.
22046
22047 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22048
22049         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22050         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22051         unsigned.
22052
22053 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22054
22055         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22056
22057 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22058
22059         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22060         size just once.
22061
22062 2013-04-21  David S. Miller  <davem@davemloft.net>
22063
22064         * po/ru.po: Update Russion translation from translation project.
22065
22066 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22067
22068         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22069         and setfsgid.
22070
22071 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22072
22073         * configure.in: Remove i386 configure warning. Remove i386 case.
22074         * configure: Regenerate.
22075         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22076         Add example to error message.
22077         * sysdeps/i386/configure: Regenerate.
22078
22079 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22080
22081         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22082         slowtan.
22083         * benchtests/cos-inputs: New file.
22084         * benchtests/slowcos-inputs: New file.
22085         * benchtests/slowcos.c: New file.
22086         * benchtests/slowtan-inputs: New file.
22087         * benchtests/slowtan.c: New file.
22088         * benchtests/tan-inputs: New file.
22089
22090 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22091
22092         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22093         considered kosher.
22094
22095 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22096
22097         * benchtests/Makefile: Include cppflags-iterator.mk to add
22098         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22099
22100         * Makefile.in (bench-clean): New target.
22101         * benchtests/Makefile (bench-clean): Likewise.
22102
22103 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22104
22105         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22106
22107 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22108
22109         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22110
22111 2013-04-15  Andreas Schwab  <schwab@suse.de>
22112
22113         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22114         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22115         * nscd/pwdcache.c (cache_addpw): Likewise.
22116         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22117         more than recsize.
22118
22119 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22120
22121         * benchtests/Makefile (bench): Write all output to
22122         bench-out.tmp together.
22123
22124 2013-04-15  Andreas Schwab  <schwab@suse.de>
22125
22126         * nscd/nscd.c (main): Don't fork again after closing files.
22127
22128 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22129
22130         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22131
22132         * benchtests/Rules (bench-deps): Collect dependencies into a
22133         single variable.  Add Makefile to dependencies.
22134         ($(objpfx)bench-%.c): Depend on bench-deps.
22135
22136 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22137             Xavier Roche  <roche+kml2@exalead.com>
22138
22139         [BZ #15361]
22140         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22141         just that it's a file descriptor.
22142         * manual/llio.texi (Synchronizing AIO Operations): Update description
22143         for EBADF error from aio_fsync.
22144
22145 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22146
22147         * Rules (bench): Move target definition...
22148         * benchtests/Makefile: ... here.
22149
22150 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22151
22152         * math/libm-test.inc (cos_test): Fix PI/2 test.
22153         (sincos_test): Likewise.
22154         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22155         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22156
22157 2013-04-11  Andreas Schwab  <schwab@suse.de>
22158
22159         [BZ #13988]
22160         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22161         accept exponent character only when digits were seen.
22162         * stdio-common/Makefile (tests): Add bug26.
22163         * stdio-common/bug26.c: New file.
22164
22165         [BZ #14293]
22166         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22167         non-freeable.
22168
22169 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22170
22171         * Makeconfig (rtld-prefix): Define built linker prefix.
22172         * Rules (run-bench): Use it.
22173         * math/Makefile (run-regen-ulps): Likewise.
22174
22175         * Rules (bench): Remove eval.
22176
22177 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22178             Roland McGrath  <roland@hack.frob.com>
22179             Ondrej Bilka  <neleai@seznam.cz>
22180
22181         [BZ #15346]
22182         * time/getdate.c: Include ctype.h and alloca.h.
22183         (__getdate_r): Trim leading and trailing spaces of input.
22184         * time/tst-getdate.c (tests): Add tests with leading and
22185         trailing spaces.
22186
22187 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22188
22189         [BZ #14280]
22190         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22191         when computing value.
22192
22193 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22194
22195         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22196         Use testrun.sh to run libm tests.
22197
22198         [BZ #15309]
22199         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22200
22201 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22202
22203         [BZ #15264]
22204         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22205
22206 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22207
22208         * Makefile.in (regen-ulps): New target.
22209         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22210         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22211         [ifneq (no,$(PERL)] (regen-ulps): New target.
22212         [ifeq (no,$(PERL)] (regen-ulps): New target.
22213         * math/libm-test.inc (ulps_file_name): Define.
22214         (output_dir): New variable.
22215         (options): Add "output-dir" option.
22216         (parse_opt): Handle 'o' case.
22217         (main): If output_dir is non-NULL use it as a prefix
22218         otherwise use "".
22219         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22220
22221 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22222
22223         [BZ #10060, #10062]
22224         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22225         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22226         fail configure if __sync_val_compare_and_swap is not inlined.
22227         * sysdeps/i386/configure: Regenerate.
22228         * configure.in: Build for i686 when configured for i386.
22229         * configure: Regenerate.
22230         * README: Remove i386 reference.
22231
22232 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22233
22234         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22235         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22236
22237 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22238
22239         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22240         (lmsnanval): New variables.
22241         (F): Add conversion tests.
22242         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22243         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22244
22245         * stdio-common/tstdiomisc.c (F): Properly collect individual
22246         tests' results.
22247
22248         [BZ #14686, #15336]
22249         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22250         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22251         Instead, use input NaN values or generate a qNaN by arithmetic
22252         operation.  Also fix bugs to comply with the standard.
22253         * math/libm-test.inc (remainder_test): Add more tests.
22254
22255         [BZ #15335, #15342]
22256         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22257         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22258         input NaN values or generate a qNaN by arithmetic operation.
22259
22260         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22261         unreachable code.
22262
22263         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22264         definitions.
22265
22266 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22267
22268         [BZ #14478]
22269         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22270         underflowed result.
22271         * math/s_cexpf.c (__cexpf): Likewise.
22272         * math/s_cexpl.c (__cexpl): Likewise.
22273         * math/libm-test.inc (cexp_test): Add more tests.
22274
22275 2013-04-03  Andreas Schwab  <schwab@suse.de>
22276
22277         [BZ #15330]
22278         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22279         order arrays from heap if bigger than alloca cutoff.
22280
22281 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22282
22283         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22284         (SNAN_TESTS_double): Refer to GCC PR56831.
22285         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22286         GCC PR56828.
22287
22288 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22289
22290         * Rules (bench): Move bench.out after the run is complete.
22291
22292         * Rules (bench): Echo currently running benchmark.
22293
22294         * benchtests/Makefile (bench): Add atan and slowatan.
22295         * benchtests/atan-inputs: New file.
22296         * benchtests/slowatan-inputs: New file.
22297         * benchtests/slowatan.c: New file.
22298
22299         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22300         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22301         its value.
22302
22303         [BZ #15305]
22304         * sysdeps/unix/sysv/linux/kernel-features.h
22305         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22306         __ASSUME_XFS_RESTRICTED_CHOWN.
22307         * sysdeps/unix/sysv/linux/pathconf.c
22308         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22309         Save and restore errno.
22310
22311 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22312
22313         [BZ #15327]
22314         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22315         arguments using __kernel_casinh.
22316         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22317         arguments using __kernel_casinhf.
22318         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22319         arguments using __kernel_casinhl.
22320         * math/libm-test.inc (cacosh_test): Add more tests.
22321         * sysdeps/i386/fpu/libm-test-ulps: Update.
22322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22323
22324 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22325
22326         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22328
22329         * bench/Makefile (bench): Add sin and slowsin.
22330         * benchtests/sin-inputs: New file.
22331         * benchtests/slowsin-inputs: New file.
22332         * benchtests/slowsin.c: New file.
22333
22334         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22335         (bench): Add slowexp and slowpow.
22336         (exp-ITER): Increase iterations.
22337         (pow-ITER): Likewise.
22338         * benchtests/exp-inputs: Change input.
22339         * benchtests/pow-inputs: Likewise.
22340         * benchtests/slowexp-inputs: New file.
22341         * benchtests/slowexp.c: New file.
22342         * benchtests/slowpow-inputs: New file.
22343         * benchtests/slowpow.c: New file.
22344
22345 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22346
22347         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22348         instructions.
22349         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22350         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22351         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22352         * benchtests/Makefile: Add rint benchtest.
22353         * benchtests/rint-inputs: Input for rint benchtest.
22354
22355 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22356
22357         * Versions.def (libm): Add GLIBC_2.18.
22358         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22359         hidden libm prototypes.
22360         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22361         * math/Makefile (libm-calls): Add s_issignaling.
22362         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22363         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22364         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22365         declaration.
22366         * math/math.h [__USE_GNU] (issignaling): New macro.
22367         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22368         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22369         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22370         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22371         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22372         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22373         * manual/arith.texi (issignaling): New section.
22374         * manual/libm-err-tab.pl (@all_functions): Update comment.
22375         * math/gen-libm-test.pl (parse_args): Apply special handling for
22376         issignaling.
22377         * math/libm-test.inc (print_float, issignaling_test): New
22378         functions.
22379         (check_float_internal): Add issignaling checks.
22380         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22381         default definition.
22382         * sysdeps/powerpc/math-tests.h: New file.
22383         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22384         tests.
22385         * math/test-snan.c (TEST_FUNC): Likewise.
22386
22387 2013-03-30  David S. Miller  <davem@davemloft.net>
22388
22389         * po/de.po: Update from translation team.
22390
22391 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22392
22393         [BZ #10357]
22394         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22395         imaginary part less than 1.0 and real part less than 0.5
22396         specially.
22397         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22398         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22399         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22400         (cacos_test): Add more tests.
22401         (casin_test): Likewise.
22402         (casinh_test): Likewise.
22403         * sysdeps/i386/fpu/libm-test-ulps: Update.
22404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22405
22406 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22407
22408         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22409         ONE with its value.
22410
22411         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22412         (__pow_mp): Replace ONE and MONE with their values.
22413         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22414         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22415         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22416         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22417         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22418         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22419
22420         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22421
22422         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22423         (__pow_mp): Replace ZERO and MZERO with their values.
22424         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22425         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22426         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22428         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22429         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22430         (__sqr): Likewise.
22431
22432         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22433
22434         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22435
22436 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22437
22438         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22439         Declare with __attribute__ ((weak)).
22440         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22441         Call __call_tls_dtors only if it's not NULL.
22442
22443 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22444
22445         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22446         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22447         magic __ehdr_start linker symbol if it's defined.
22448         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22449         them up here if it was already done.
22450
22451         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22452         (_dl_aux_init): Use const in cast when setting it.
22453         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22454         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22455         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22456
22457         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22458         Declare them here.
22459         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22460         * csu/libc-tls.c: Nor here.
22461         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22462
22463         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22464         (__libc_message): Never call vsyslog.
22465
22466 2013-03-28  Alan Modra  <amodra@gmail.com>
22467
22468         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22469         Define as empty.
22470         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22471         Likewise.
22472
22473 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22474
22475         [BZ #15214]
22476         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22477         underflow.
22478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22479
22480 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22481
22482         [BZ #15304]
22483         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22484         Don't add gid passed as argument.
22485
22486         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22487
22488 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22489
22490         [BZ #15307]
22491         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22492         imaginary part between 1.0 and 1.5 and real part less than 0.5
22493         specially.
22494         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22495         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22496         * math/libm-test.inc (cacos_test): Add more tests.
22497         (casin_test): Likewise.
22498         (casinh_test): Likewise.
22499         * sysdeps/i386/fpu/libm-test-ulps: Update.
22500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22501
22502 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22503
22504         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22505         constants.
22506         (norm): Likewise.
22507         (denorm): Likewise.
22508         (__dbl_mp): Likewise.
22509         (add_magnitudes): Likewise.
22510         (sub_magnitudes): Likewise.
22511         (__add): Likewise.
22512         (__sub): Likewise.
22513         (__mul): Likewise.
22514         (__sqr): Likewise.
22515         (__inv): Likewise.
22516         (__dvd): Likewise.
22517
22518         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22519         commented code.
22520         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22521         (__dubcos): Likewise.
22522         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22523         (__ieee754_acos): Likewise.
22524         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22525         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22526         (__exp1): Likewise.
22527         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22529         (log1): Likewise.
22530         (my_log2): Likewise.
22531         (checkint): Likewise.
22532         * sysdeps/ieee754/dbl-64/e_remainder.c
22533         (__ieee754_remainder): Likewise.
22534         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22535         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22536         (bsloww): Likewise.
22537         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22538
22539         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22540         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22541         MANTISSA_STORE_T to store computations on mantissa.  Use
22542         macros for rounding and division.
22543         (denorm): Likewise.
22544         (__dbl_mp): Likewise.
22545         (add_magnitudes): Likewise.
22546         (sub_magnitudes): Likewise.
22547         (__mul): Likewise.
22548         (__sqr): Likewise.
22549         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22550         powers of two in terms of TWOPOW macro.
22551         (mp_no): Make type of mantissa as MANTISSA_T.
22552         [!RADIXI]: Define RADIXI.
22553         [!TWO52]: Define TWO52.
22554         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22555
22556 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22557
22558         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22559         llroundl symbol when building for PPC32.
22560
22561 2013-03-24  Mark H Weaver  <mhw@netris.org>
22562
22563         * manual/arith.texi (Normalization Functions): Fix prototypes for
22564         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22565
22566 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22567
22568         [BZ #13889]
22569         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22570         high value to check if expl overflow.
22571         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22572         to check for underflow and overflow.
22573         * math/libm-test.inc: Add exp test.
22574
22575 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22576
22577         [BZ #11120]
22578         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22579         with NOT_IN_libc.
22580
22581 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22582
22583         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22584         symbol.
22585
22586 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22587
22588         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22589         wrap blocks consisting of several statements.
22590
22591         * sysdeps/generic/math-tests.h: New file.
22592         * sysdeps/i386/fpu/math-tests.h: Likewise.
22593         * math/test-snan.c: Include it.
22594         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22595
22596 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22597
22598         [BZ #15285]
22599         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22600         (__ieee754_j0l): Do not improve calculations using cos of twice
22601         input for inputs above LDBL_MAX / 2.0L.
22602         (__ieee754_y0l): Likewise.
22603         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22604         (__ieee754_j1l): Do not improve calculations using cos of twice
22605         input for inputs above LDBL_MAX / 2.0L.
22606         (__ieee754_y1l): Likewise.
22607         * math/libm-test.inc (j0_test): Add another test.
22608         (j1_test): Likewise.
22609         (y0_test): Likewise.
22610         (y1_test): Likewise.
22611         * sysdeps/i386/fpu/libm-test-ulps: Update.
22612
22613 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22614
22615         * Rules ($(objpfx)bench-%.c): Include code from a C source
22616         file.
22617
22618 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22619
22620         [BZ #15287]
22621         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22622         imaginary part 1.0 and real part less than 0.5 specially.
22623         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22624         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22625         * math/libm-test.inc (cacos_test): Add more tests.
22626         (casin_test): Likewise.
22627         (casinh_test): Likewise.
22628         * sysdeps/i386/fpu/libm-test-ulps: Update.
22629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22630
22631 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22632
22633         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22634         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22635
22636 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22637
22638         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22639         * config.make.in (config-cflags-sse4): Remove variable.
22640         (config-cflags-avx): Likewise.
22641         (config-cflags-sse2avx): Likewise.
22642         (config-cflags-novzeroupper): Likewise.
22643         (config-asflags-i686): Likewise.
22644         (have-mfma4): Likewise.
22645         (have-as-vis3): Likewise.
22646         (MIG): Likewise.
22647         * configure.in (MIG): Do not AC_SUBST.
22648         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22649         (libc_cv_cc_sse4): Do not AC_SUBST.
22650         (libc_cv_cc_avx): Likewise.
22651         (libc_cv_cc_sse2avx): Likewise.
22652         (libc_cv_cc_novzeroupper): Likewise.
22653         (libc_cv_cc_fma4): Likewise.
22654         (libc_cv_as_i686): Likewise.
22655         (libc_cv_sparc_as_vis3): Likewise.
22656         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22657         LIBC_CONFIG_VAR.
22658         (config-asflags-i686): Likewise.
22659         (config-cflags-avx): Likewise.
22660         (config-cflags-sse2avx): Likewise.
22661         (have-mfma4): Likewise.
22662         (config-cflags-novzeroupper): Likewise.
22663         * sysdeps/mach/configure.in (MIG): Likewise.
22664         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22665         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22666         LIBC_CONFIG_VAR.
22667         (config-cflags-avx): Likewise.
22668         (config-cflags-sse2avx): Likewise.
22669         (have-mfma4): Likewise.
22670         (config-cflags-novzeroupper): Likewise.
22671         * configure: Regenerated.
22672         * sysdeps/i386/configure: Likewise.
22673         * sysdeps/mach/configure: Likewise.
22674         * sysdeps/sparc/configure: Likewise.
22675         * sysdeps/x86_64/configure: Likewise.
22676
22677 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22678
22679         [BZ #14812]
22680         * locale/programs/localedef.c (options): Put N_ translation marker
22681         on argument names, not just descriptions.
22682
22683 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22684
22685         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22686
22687 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22688
22689         [BZ #14176]
22690         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22691
22692 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22693
22694         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22695         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22696         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22697         [!BEFORE_ABORT] (before_abort): New function.
22698         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22699         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22700         (writev_for_fatal): New function.
22701         (WRITEV_FOR_FATAL): New macro; call that.
22702         (backtrace_and_maps): New function.
22703         (BEFORE_ABORT): New macro; call that.
22704         (struct str_list): Type removed.
22705         (__libc_message, __libc_fatal): Functions removed.
22706         Include <sysdeps/posix/libc_fatal.c> instead.
22707
22708 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22709
22710         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22711         constants.
22712         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22713         double constants.
22714
22715 2013-03-19  Andreas Schwab  <schwab@suse.de>
22716
22717         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22718         * sysdeps/gnu/configure: Regenerate.
22719
22720         * configure.in: Substitute libc_cv_rtlddir.
22721         * configure: Regenerate.
22722         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22723         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22724         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22725         * elf/Makefile (install-others, CFLAGS-interp.c)
22726         (ldso_install, common-ldd-rewrite): Likewise.
22727         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22728         $(inst_slibdir)/$(rtld-installed-name).
22729         * scripts/rellns-sh: Add -p option.
22730         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22731         for source.
22732
22733 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22734
22735         * manual/nptl.texi: Renamed to ...
22736         * manual/threads.texi: ... this.
22737         * manual/Makefile (chapters): Update.
22738
22739 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22740
22741         [BZ #14812]
22742         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22743         on argument names, not just descriptions.
22744         * malloc/memusagestat.c (options): Likewise.
22745         * nss/getent.c (options): Likewise.
22746
22747 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22748
22749         [BZ #14812]
22750         * iconv/iconv_prog.c (options): Put N_ translation marker
22751         on argument names, not just descriptions.
22752         * iconv/iconvconfig.c (options): Likewise.
22753
22754 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22755
22756         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22757         implementation which is faster on all x86_64 architectures.
22758         Tested on AMD, Intel Nehalem, SNB, IVB.
22759         * sysdeps/x86_64/strnlen.S: Likewise.
22760
22761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22762         Remove all multiarch strlen and strnlen versions.
22763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22764         Remove strlen and strnlen related parts.
22765
22766         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22767         Inline strlen part.
22768         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22769
22770         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22771         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22772         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22773         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22774         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22775         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22776
22777 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22778
22779         * manual/memory.texi (Malloc Tunable Parameters):
22780         Sort parameters alphabetically. Add comments for missing entries.
22781
22782 2013-03-17  David S. Miller  <davem@davemloft.net>
22783
22784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22785
22786 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22787
22788         [BZ #15283]
22789         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22790         for arguments at most half maximum finite value.
22791         * math/libm-test.inc (j0_test): Add more tests.
22792         (j1_test): Likewise.
22793         (y0_test): Likewise.
22794         (y1_test): Likewise.
22795         * sysdeps/i386/fpu/libm-test-ulps: Update.
22796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22797
22798         [BZ #14155]
22799         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22800         1 / x and functions P and Q for arguments above 0x1p256L.
22801         (__ieee754_y0l): Likewise.
22802         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22803         (__ieee754_y1l): Likewise.
22804         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22805         (j1_test): Likewise.
22806         (y0_test): Likewise.
22807         (y1_test): Likewise.
22808
22809 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22810
22811         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22812         variable.
22813
22814 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22815
22816         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22817         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22818         zero since it's initialized to EXEC_PAGESIZE.
22819
22820         * sysdeps/unix/sysv/linux/ldsodefs.h
22821         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22822         * sysdeps/generic/ldsodefs.h: ... here.
22823
22824 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22825
22826         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22827
22828         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22829         math/test-snan.c.
22830         * math/test-snan.c: Renamed from
22831         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22832         * math/Makefile (tests): Add test-snan.
22833         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22834         test-powerpc-snan.
22835
22836         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22837         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22838         functions.
22839         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22840         __builtin_nan family of functions.
22841         * math/libm-test.inc (initialize): Initialize qnan_value with
22842         __builtin_nan family of functions.
22843         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22844         Remove variables.
22845         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22846         Remove functions.
22847         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22848         storage class.  Initialize qNaN_var and sNaN_var with
22849         __builtin_nan and __builtin_nans families of functions,
22850         respectively.
22851
22852         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22853         (sqrt_test): Remove duplicate test with qNaN input.
22854         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22855         (round_test, signbit_test, significand_test): Note missing +/-Inf
22856         as well as qNaN tests.
22857
22858         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22859         qNaN_var.  Fix a few strings, too.
22860         * math/libm-test.inc (nan_value): Rename to qnan_value.
22861         * math/gen-libm-test.pl (%beautify): Adjust to that.
22862         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22863         * math/test-misc.c (main): Likewise.
22864         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22865         to __qnan_bytes, and __qnan_union, respectively.
22866         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22867         Likewise.
22868         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22869         and lqnanval, respectively.
22870         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22871         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22872         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22873         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22874
22875         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22876         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22877         doubles.
22878
22879         * math/test-misc.c (main): Fix copy'n'pastos.
22880         * misc/tst-efgcvt.c (special): Likewise.
22881
22882         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22883         Remove declarations.
22884
22885 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22886
22887         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22888         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22889         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22890         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22891
22892 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22893
22894         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22895         macro to return vdso values correctly in IFUNC implementations.
22896         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22897         Optimization by using IFUNC.
22898
22899 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22900             Richard Henderson  <rth@redhat.com>
22901             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22902
22903         * Makefile.in (bench): New target.
22904         * NEWS: Mention the benchmark framework.
22905         * Rules (bench): Likewise.
22906         (binaries-bench): Generate binaries for functions to
22907         benchmark.
22908         * benchtests/Makefile: New makefile for benchmark tests.
22909         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22910         programs.
22911         * benchtests/exp-inputs: New input file for EXP function.
22912         * benchtests/pow-inputs: New input file for POW function.
22913         * scripts/bench.pl: New script to generate source files for
22914         benchmark programs.
22915
22916 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22917
22918         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22919         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22920         computations on mantissa.  Use macros for rounding and
22921         division.
22922         (denorm): Likewise.
22923         (__dbl_mp): Likewise.
22924         (add_magnitudes): Likewise.
22925         (sub_magnitudes): Likewise.
22926         (__mul): Likewise.
22927         (__sqr): Likewise.
22928         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22929         powers of two in terms of TWOPOW macro.
22930         (mp_no): Make type of mantissa as MANTISSA_T.
22931         [!RADIXI]: Define RADIXI.
22932         [!TWO52]: Define TWO52.
22933         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22934
22935         * manual/nptl.texi (cindex): Modify threads to pthreads.
22936
22937 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22938
22939         * sysdeps/x86_64/preconfigure: Regenerated.
22940
22941 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22942
22943         [BZ #14155]
22944         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22945         0x1p28 and above.
22946         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22947         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22948         0x1p28 and above.
22949         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22950         * math/libm-test.inc (j0_test): Do not allow one spurious
22951         underflow exception.
22952         (y1_test): Likewise.
22953
22954 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22955
22956         * manual/Makefile (chapters): Add nptl.
22957         * manual/debug.texi (Debugging Support): Add link to Threads
22958         chapter.
22959         * manual/nptl.texi: New file.
22960
22961         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22962
22963 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22964
22965         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22966         for non-NULL pointer before the memory validity test. Pointed
22967         out by Holger Brunck <holger.brunck@keymile.com>.
22968
22969 2013-03-13  Andreas Schwab  <schwab@suse.de>
22970
22971         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22972         instead of .os.
22973
22974 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22975
22976         * timezone/zic.c: Update from tzcode 2013b.
22977
22978 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22979
22980         * manual/install.texi (Configuring and compiling):
22981         Mention i686 and i586.
22982         * INSTALL: Regenerate.
22983
22984 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22985
22986         * sysdeps/init_array/elf-init.c: New file.
22987         * csu/elf-init.c
22988         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22989         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22990
22991         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22992         __gmon_start__ as global, but as static with a .preinit_array pointer.
22993         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22994         * sysdeps/init_array/crti.S: New file, empty except for comments.
22995         * sysdeps/init_array/crtn.S: Likewise.
22996
22997 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22998
22999         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23000         definining bcopy.
23001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23002         Remove Prefer_SSE_for_memop.
23003         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23004         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23005         HAS_PREFER_SSE_FOR_MEMOP.
23006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23007         memset-x86-64.
23008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23009         Remove bzero, memset ifunc support.
23010         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23011         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23012         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23013         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23014
23015 2013-03-11  Andreas Schwab  <schwab@suse.de>
23016
23017         [BZ #15234]
23018         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23019         by SHLIB_COMPAT.
23020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23021         (GLIBC_2.16): Remove pthread_atfork.
23022
23023 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23024
23025         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23026         (ptestcases.h): Likewise.
23027
23028 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23029
23030         * Makeconfig ($(common-objpfx)config.status): Depend on
23031         sysdeps/*/preconfigure{,.in} too.
23032
23033 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23034
23035         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23036         (__free_hook): Use void * instead of __malloc_ptr_t.
23037         (__malloc_hook): Likewise.
23038         (__realloc_hook): Likewise.
23039         (__memalign_hook): Likewise.
23040         (__after_morecore_hook): Likewise.
23041         * malloc/arena.c (save_malloc_hook): Likewise.
23042         (save_free_hook): Likewise.
23043         * malloc/hooks.c (malloc_hook_ini): Likewise.
23044         (realloc_hook_ini): Likewise.
23045         (memalign_hook_ini): Likewise.
23046         * malloc/malloc.c (malloc_hook_ini): Likewise.
23047         (realloc_hook_ini): Likewise.
23048         (memalign_hook_ini): Likewise.
23049         (__free_hook): Likewise.
23050         (__malloc_hook): Likewise.
23051         (__realloc_hook): Likewise.
23052         (__memalign_hook): Likewise.
23053         (__libc_malloc): Likewise.
23054         (__libc_free): Likewise.
23055         (__libc_realloc): Likewise.
23056         (__libc_memalign): Likewise.
23057         (__libc_valloc): Likewise.
23058         (__libc_pvalloc): Likewise.
23059         (__libc_calloc): Likewise.
23060         (__posix_memalign): Likewise.
23061         * malloc/morecore.c (__sbrk): Likewise.
23062         (__default_morecore): Likewise.
23063
23064         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23065
23066         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23067         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23068         __malloc_ptrdiff_t.
23069
23070         * malloc/malloc.h (__malloc_size_t): Remove macro.
23071         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23072         __malloc_size_t.
23073         (old_memalign_hook): Likewise.
23074         (old_realloc_hook): Likewise.
23075         (struct hdr): Likewise.
23076         (flood): Likewise.
23077         (mallochook): Likewise.
23078         (memalignhook): Likewise.
23079         (reallochook): Likewise.
23080         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23081         (tr_old_realloc_hook): Likewise.
23082         (tr_old_memalign_hook): Likewise.
23083         (tr_mallochook): Likewise.
23084         (tr_reallochook): Likewise.
23085         (tr_memalignhook): Likewise.
23086
23087 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23088
23089         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23090         default_ldbl_pack and using as default implementation.
23091         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23092         implementation.
23093         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23094         redundant definition.
23095         (ldbl_insert_mantissa): Likewise.
23096         (ldbl_canonicalize): Likewise.
23097         (ldbl_nearbyint): Likewise.
23098         (ldbl_pack): Rename to ldbl_pack_ppc.
23099         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23100         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23101         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23102
23103 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23104
23105         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23106         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23107         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23108         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23110         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23111         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23112         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23113
23114 2013-03-07  Andreas Jaeger  <aj@suse.de>
23115
23116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23117         bits/mman-linux.h.
23118
23119 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23120
23121         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23122         Include mpa.h and declare __MPEXP.
23123         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23124         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23125         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23126         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23127         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23128         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23129         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23130
23131         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23132         (__slowpow): Use long double EXPL and LOGL functions to
23133         compute POW.
23134         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23135         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23136         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23137         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23138         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23139         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23140
23141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23142         intermediate variable to calculate exponent.
23143         (__sqr): Likewise.
23144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23145         Likewise.
23146         (__sqr): Likewise.
23147
23148         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23149         [!NO__SQR]: Define __sqr.
23150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23151         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23152         sysdeps/ieee754/dbl-64/mpa.c.
23153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23154
23155         [BZ #12723]
23156         * posix/Makefile (tests): Add tst-pathconf.
23157         * posix/tst-pathconf.c: New test case.
23158         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23159         _PC_PIPE_BUF.
23160         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23161
23162 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23163
23164         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23165
23166 2013-03-06  Andreas Jaeger  <aj@suse.de>
23167
23168         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23169         definition via __MAP_ANONYMOUS.
23170
23171         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23172         it's not part of Linux headers.
23173
23174         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23175         (MAP_HUGE_MASK): Define.
23176
23177         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23178         Define.
23179         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23180         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23181         Define.
23182         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23183         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23184         Define.
23185         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23186         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23187         Define.
23188         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23189
23190         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23191         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23192         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23193         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23194         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23195         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23196
23197         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23198         Handle f2fs.
23199
23200         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23201         Handle f2fs and efivarfs.
23202
23203         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23204         f2fs.
23205
23206         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23207         (EFIVARFS_MAGIC): Add.
23208         (F2FS_LINK_MAX): Add.
23209
23210 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23211
23212         * stdio-common/vfprintf.c: Replace __builtin_expect with
23213         __glibc_unlikely.
23214
23215 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23216
23217         [BZ #13550]
23218         * sysdeps/generic/bp-sym.h: Remove file.
23219         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23220         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23221         <bp-sym.h> and <bp-asm.h>.
23222         (__longjmp): Don't use BP_SYM.
23223         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23224         and <bp-asm.h>.
23225         (memcpy): Don't use BP_SYM.
23226         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23227         <bp-sym.h> and <bp-asm.h>.
23228         (memcpy): Don't use BP_SYM.
23229         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23230         <bp-asm.h>.
23231         (memcpy): Don't use BP_SYM.
23232         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23233         <bp-asm.h>.
23234         (memset): Don't use BP_SYM.
23235         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23236         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23237         (__bzero): Don't use BP_SYM.
23238         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23239         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23240         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23241         <bp-sym.h> and <bp-asm.h>.
23242         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23243         pointers.
23244         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23245         <bp-sym.h> and <bp-asm.h>.
23246         (memcpy): Don't use BP_SYM.
23247         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23248         <bp-sym.h> and <bp-asm.h>.
23249         (memset): Don't use BP_SYM.
23250         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23251         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23252         (__bzero): Don't use BP_SYM.
23253         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23254         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23255         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23256         <bp-sym.h> and <bp-asm.h>.
23257         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23258         pointers.
23259         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23260         <bp-sym.h> and <bp-asm.h>.
23261         (memcpy): Don't use BP_SYM.
23262         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23263         <bp-sym.h> and <bp-asm.h>.
23264         (memset): Don't use BP_SYM.
23265         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23266         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23267         (__bzero): Don't use BP_SYM.
23268         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23269         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23270         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23271         <bp-sym.h> and <bp-asm.h>.
23272         (__memchr): Don't use BP_SYM.
23273         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23274         <bp-sym.h> and <bp-asm.h>.
23275         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23276         pointers.
23277         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23278         <bp-sym.h> and <bp-asm.h>.
23279         (memcpy): Don't use BP_SYM.
23280         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23281         <bp-sym.h> and <bp-asm.h>.
23282         (__mempcpy): Don't use BP_SYM.
23283         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23284         <bp-sym.h> and <bp-asm.h>.
23285         (__memrchr): Don't use BP_SYM.
23286         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23287         <bp-sym.h> and <bp-asm.h>.
23288         (memset): Don't use BP_SYM.
23289         (__bzero): Likewise.
23290         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23291         <bp-sym.h> and <bp-asm.h>.
23292         (__rawmemchr): Don't use BP_SYM.
23293         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23294         <bp-sym.h> and <bp-asm.h>.
23295         (__STRCMP): Don't use BP_SYM.
23296         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23297         <bp-sym.h> and <bp-asm.h>.
23298         (strchr): Don't use BP_SYM.
23299         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23300         <bp-sym.h> and <bp-asm.h>.
23301         (__strchrnul): Don't use BP_SYM.
23302         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23303         <bp-sym.h> and <bp-asm.h>.
23304         (strlen): Don't use BP_SYM.
23305         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23306         <bp-sym.h> and <bp-asm.h>.
23307         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23308         pointers.
23309         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23310         <bp-sym.h> and <bp-asm.h>.
23311         (__strnlen): Don't use BP_SYM.
23312         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23313         <bp-sym.h> and <bp-asm.h>.
23314         (__GI__setjmp): Don't use BP_SYM.
23315         (_setjmp): Likewise.
23316         (__sigsetjmp): Likewise.
23317         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23318         (L(start_addresses)): Don't use BP_SYM.
23319         (_start): Likewise.
23320         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23321         <bp-asm.h>.
23322         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23323         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23324         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23325         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23326         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23327         <bp-asm.h>.
23328         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23329         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23330         about bounded pointers.
23331         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23332         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23333         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23334         <bp-asm.h>.
23335         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23336         about bounded pointers.  Remove GKM FIXME comments.
23337         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23338         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23339         <bp-asm.h>.
23340         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23341         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23342         Remove GKM FIXME comments.
23343         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23344         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23345         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23346         <bp-asm.h>.
23347         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23348         about bounded pointers.  Remove GKM FIXME comment.
23349         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23350         and <bp-asm.h>.
23351         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23352         pointers.
23353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23354         <bp-sym.h> and <bp-asm.h>.
23355         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23357         <bp-sym.h> and <bp-asm.h>.
23358         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23359         comment.
23360
23361 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23362
23363         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23364         call free(NULL).
23365
23366 2013-03-05  David S. Miller  <davem@davemloft.net>
23367
23368         * po/es.po: Update from translation team.
23369
23370 2013-03-05  Andreas Jaeger  <aj@suse.de>
23371
23372         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23373         <bits/mman-linux.h>.
23374         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23375         is fine.
23376         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23377         <bits/mman-linux.h> to end of file.
23378         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23379         is fine.
23380         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23381         <bits/mman-linux.h> to end of file.
23382         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23383         is fine.
23384         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23385         <bits/mman-linux.h> to end of file.
23386
23387         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23388         (MCL_CURRENT, MCL_FUTURE): Define here.
23389
23390 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23391
23392         [BZ #15232]
23393         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23394         attribute_hidden.
23395         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23396
23397 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23398
23399         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23400         fourth parameter needed for rt_sigprocmask syscall.
23401         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23402         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23403         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23404         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23405         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23406         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23407
23408 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23409
23410         [BZ #13550]
23411         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23412         comment about bounded pointers.
23413         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23414         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23415
23416 2013-03-04  Andreas Jaeger  <aj@suse.de>
23417
23418         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23419         common definitions.
23420
23421         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23422         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23423         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23424         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23425         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23426         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23427
23428 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23429
23430         [BZ #15055]
23431         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23432         __ieee754_sqrl instead of __sqrl.
23433
23434 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23435
23436         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23437         * sysdeps/powerpc/fpu_control.h: ... here.
23438         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23439         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23440         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23441         * sysdeps/powerpc/bits/mathinline.h: ... here.
23442
23443 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23444
23445         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23446         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23447         to just [NEED_DL_SYSINFO_DSO].
23448         * elf/dl-support.c: Likewise.
23449         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23450         * elf/rtld.c (dl_main): Likewise.
23451         * elf/setup-vdso.h (setup_vdso): Likewise.
23452         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23453         * sysdeps/unix/sysv/linux/dl-sysdep.c
23454         (_dl_discover_osversion): Likewise.
23455
23456 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23457
23458         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23459         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23460
23461 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23462
23463         * NEWS: Mention libm performance improvements and non-x86 PI
23464         futex support.
23465
23466         * csu/libc-start.c (__pthread_initialize_minimal): Change
23467         function arguments.
23468         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23469
23470 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23471
23472         [BZ #13550]
23473         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23474         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23475         <bp-sym.h> and <bp-asm.h>.
23476         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23477         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23478         and <bp-asm.h>.
23479         (memcpy): Don't use BP_SYM.
23480         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23481         <bp-asm.h>.
23482         (__mpn_add_n): Don't use BP_SYM.
23483         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23484         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23485         and <bp-asm.h>.
23486         (__mpn_addmul_1): Don't use BP_SYM.
23487         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23488         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23489         <bp-sym.h>.
23490         (_setjmp): Don't use BP_SYM.
23491         (__novmx_setjmp): Likewise.
23492         (__GI__setjmp): Likewise.
23493         (__vmx_setjmp): Likewise.
23494         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23495         <bp-sym.h>.
23496         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23497         (__bzero): Don't use BP_SYM.
23498         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23499         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23500         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23501         <bp-sym.h> and <bp-asm.h>.
23502         (memcpy): Don't use BP_SYM.
23503         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23504         <bp-sym.h> and <bp-asm.h>.
23505         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23506         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23507         <bp-sym.h> and <bp-asm.h>.
23508         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23509         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23510         <bp-asm.h>.
23511         (__mpn_lshift): Don't use BP_SYM.
23512         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23513         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23514         <bp-asm.h>.
23515         (memset): Don't use BP_SYM.
23516         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23517         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23518         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23519         <bp-asm.h>.
23520         (__mpn_mul_1): Don't use BP_SYM.
23521         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23522         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23523         <bp-sym.h> and <bp-asm.h>.
23524         (memcmp): Don't use BP_SYM.
23525         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23526         <bp-sym.h> and <bp-asm.h>.
23527         (memcpy): Don't use BP_SYM.
23528         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23529         <bp-sym.h> and <bp-asm.h>.
23530         (memset): Don't use BP_SYM.
23531         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23532         <bp-sym.h> and <bp-asm.h>.
23533         (strncmp): Don't use BP_SYM.
23534         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23535         <bp-sym.h> and <bp-asm.h>.
23536         (memcpy): Don't use BP_SYM.
23537         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23538         <bp-sym.h> and <bp-asm.h>.
23539         (memset): Don't use BP_SYM.
23540         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23541         <bp-sym.h> and <bp-asm.h>.
23542         (__memchr): Don't use BP_SYM.
23543         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23544         <bp-sym.h> and <bp-asm.h>.
23545         (memcmp): Don't use BP_SYM.
23546         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23547         <bp-sym.h> and <bp-asm.h>.
23548         (memcpy): Don't use BP_SYM.
23549         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23550         <bp-sym.h> and <bp-asm.h>.
23551         (__mempcpy): Don't use BP_SYM.
23552         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23553         <bp-sym.h> and <bp-asm.h>.
23554         (__memrchr): Don't use BP_SYM.
23555         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23556         <bp-sym.h> and <bp-asm.h>.
23557         (memset): Don't use BP_SYM.
23558         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23559         <bp-sym.h> and <bp-asm.h>.
23560         (__rawmemchr): Don't use BP_SYM.
23561         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23562         <bp-sym.h> and <bp-asm.h>.
23563         (__STRCMP): Don't use BP_SYM.
23564         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23565         <bp-sym.h> and <bp-asm.h>.
23566         (strchr): Don't use BP_SYM.
23567         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23568         <bp-sym.h> and <bp-asm.h>.
23569         (__strchrnul): Don't use BP_SYM.
23570         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23571         <bp-sym.h> and <bp-asm.h>.
23572         (strlen): Don't use BP_SYM.
23573         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23574         <bp-sym.h> and <bp-asm.h>.
23575         (strncmp): Don't use BP_SYM.
23576         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23577         <bp-sym.h> and <bp-asm.h>.
23578         (__strnlen): Don't use BP_SYM.
23579         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23580         <bp-asm.h>.
23581         (__mpn_rshift): Don't use BP_SYM.
23582         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23583         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23584         <bp-sym.h> and <bp-asm.h>.
23585         (__sigsetjmp): Don't use BP_SYM.
23586         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23587         (L(start_addresses)): Don't use BP_SYM.
23588         (_start): Likewise.
23589         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23590         <bp-asm.h>.
23591         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23592         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23593         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23594         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23595         <bp-asm.h>.
23596         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23597         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23598         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23599         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23600         <bp-asm.h>.
23601         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23602         comments.
23603         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23604         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23605         <bp-asm.h>.
23606         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23607         FIXME comments.
23608         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23609         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23610         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23611         <bp-asm.h>.
23612         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23613         comment.
23614         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23615         and <bp-asm.h>.
23616         (strncmp): Don't use BP_SYM,
23617         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23618         <bp-asm.h>.
23619         (__mpn_sub_n): Don't use BP_SYM.
23620         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23621         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23622         and <bp-asm.h>.
23623         (__mpn_submul_1): Don't use BP_SYM.
23624         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23626         <bp-sym.h> and <bp-asm.h>.
23627         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23629         <bp-sym.h> and <bp-asm.h>.
23630         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23631         comment.
23632
23633 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23634
23635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23636         Use ZK to minimize writes to Z.
23637         (sub_magnitudes): Simplify code a bit.
23638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23639         Use ZK to minimize writes to Z.
23640         (sub_magnitudes): Simplify code a bit.
23641
23642 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23643
23644         * csu/gmon-start.c: Add special exception to license text.
23645
23646 2013-02-27  Richard Henderson  <rth@redhat.com>
23647
23648         * scripts/config.guess: Update from config.git.
23649         * scripts/config.sub: Likewise.
23650
23651 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23652
23653         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23654
23655         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23656
23657         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23658
23659         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23660
23661         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23662
23663 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23664
23665         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23666         [$(build-shared = yes].
23667
23668 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23669
23670         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23671         (__mul): Reduce iterations for calculating mantissa.
23672
23673         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23674         MPTWO.
23675         (__mpranred): Likewise.
23676
23677         [BZ #15160]
23678         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23679         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23680
23681 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23682
23683         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23684         Define __attribute__.
23685
23686 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23687
23688         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23689         unused.
23690         * posix/regex_internal.h (__attribute): Remove.
23691         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23692         (re_string_context_at): Likewise.
23693         (bitset_not): Use __attribute__ and mark function as possibly
23694         unused.
23695         (bitset_merge): Likewise.
23696         (bitset_mask): Likewise.
23697         (re_string_char_size_at): Likewise.
23698         (re_string_wchar_at): Likewise.
23699         (re_string_elem_size_at): Likewise.
23700
23701 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23702
23703         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23704         code.
23705         (cc32): Likewise.
23706
23707         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23708         (__acr): Likewise.
23709         (__cpy): Likewise.
23710         (norm): Likewise.
23711         (denorm): Likewise.
23712         (__dbl_mp): Likewise.
23713         (add_magnitudes): Likewise.
23714         (sub_magnitudes): Likewise.
23715         (__mul): Likewise.
23716         (__inv): Likewise.
23717
23718         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23719         style.
23720
23721         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23722         style.
23723
23724         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23725         code.
23726
23727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23728         up changes with default code.
23729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23730         Likewise.
23731
23732 2013-02-24  Allan McRae  <allan@archlinux.org>
23733
23734         * manual/socket.texi (The Internet Namespace): Order menu items
23735         to match that in the file.
23736
23737         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23738         node listing of the info page menu.
23739
23740 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23741
23742         [BZ #13550]
23743         * sysdeps/i386/bp-asm.h: Remove file.
23744         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23745         (PARMS): Do not use macros from bp-asm.h.
23746         (S1): Likewise.
23747         (S2): Likewise.
23748         (SIZE): Likewise.
23749         (__mpn_add_n): Do not use BP_SYM
23750         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23751         "bp-asm.h".
23752         (PARMS): Do not use macros from bp-asm.h.
23753         (S1): Likewise.
23754         (SIZE): Likewise.
23755         (__mpn_addmul_1): Do not use BP_SYM
23756         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23757         "bp-asm.h".
23758         (PARMS): Do not use macros from bp-asm.h.
23759         (SIGMSK): Likewise.
23760         (_setjmp): Likewise.  Do not use BP_SYM.
23761         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23762         "bp-asm.h".
23763         (PARMS): Do not use macros from bp-asm.h.
23764         (SIGMSK): Likewise.
23765         (setjmp): Likewise.  Do not use BP_SYM.
23766         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23767         "bp-asm.h".
23768         (PARMS): Do not use macros from bp-asm.h.
23769         (__frexp): Do not use BP_SYM.
23770         (frexp): Likewise.
23771         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23772         "bp-asm.h".
23773         (PARMS): Do not use macros from bp-asm.h.
23774         (__frexpf): Do not use BP_SYM.
23775         (frexpf): Likewise.
23776         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23777         "bp-asm.h".
23778         (PARMS): Do not use macros from bp-asm.h.
23779         (__frexpl): Do not use BP_SYM.
23780         (frexpl): Likewise.
23781         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23782         "bp-asm.h".
23783         (PARMS): Do not use macros from bp-asm.h.
23784         (__remquo): Do not use BP_SYM.
23785         (remquo): Likewise.
23786         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23787         "bp-asm.h".
23788         (PARMS): Do not use macros from bp-asm.h.
23789         (__remquof): Do not use BP_SYM.
23790         (remquof): Likewise.
23791         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23792         "bp-asm.h".
23793         (PARMS): Do not use macros from bp-asm.h.
23794         (__remquol): Do not use BP_SYM.
23795         (remquol): Likewise.
23796         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23797         "bp-asm.h".
23798         (PARMS): Do not use macros from bp-asm.h.
23799         (DEST): Likewise.
23800         (SRC): Likewise.
23801         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23802         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23803         "bp-asm.h".
23804         (PARMS): Do not use macros from bp-asm.h.
23805         (strlen): Do not use BP_SYM.
23806         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23807         "bp-asm.h".
23808         (PARMS): Do not use macros from bp-asm.h.
23809         (S1): Likewise.
23810         (S2): Likewise.
23811         (SIZE): Likewise.
23812         (__mpn_add_n): Do not use BP_SYM.
23813         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23814         "bp-asm.h".
23815         (PARMS): Do not use macros from bp-asm.h.
23816         (S1): Likewise.
23817         (SIZE): Likewise.
23818         (__mpn_addmul_1): Do not use BP_SYM.
23819         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23820         weak_alias.
23821         (bzero): Likewise.
23822         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23823         "bp-asm.h".
23824         (PARMS): Do not use macros from bp-asm.h.
23825         (S): Likewise.
23826         (SIZE): Likewise.
23827         (__mpn_lshift): Do not use BP_SYM.
23828         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23829         "bp-asm.h".
23830         (PARMS): Do not use macros from bp-asm.h.
23831         (DEST): Likewise.
23832         (SRC): Likewise.
23833         (LEN): Likewise.
23834         (memcpy): Likewise.  Do not use BP_SYM.
23835         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23836         libc_hidden_def and weak_alias.
23837         (mempcpy): Do not use BP_SYM in weak_alias.
23838         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23839         "bp-asm.h".
23840         (PARMS): Do not use macros from bp-asm.h.
23841         (DEST): Likewise.
23842         (LEN): Likewise.
23843         [!BZERO_P] (CHR): Likewise.
23844         (memset): Likewise.  Do not use BP_SYM.
23845         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23846         "bp-asm.h".
23847         (PARMS): Do not use macros from bp-asm.h.
23848         (S1): Likewise.
23849         (SIZE): Likewise.
23850         (__mpn_mul_1): Do not use BP_SYM.
23851         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23852         "bp-asm.h".
23853         (PARMS): Do not use macros from bp-asm.h.
23854         (S): Likewise.
23855         (SIZE): Likewise.
23856         (__mpn_rshift): Do not use BP_SYM.
23857         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23858         "bp-asm.h".
23859         (PARMS): Do not use macros from bp-asm.h.
23860         (STR): Likewise.
23861         (CHR): Likewise.
23862         (strchr): Likewise.  Do not use BP_SYM.
23863         (index): Do not use BP_SYM in weak_alias.
23864         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23865         "bp-asm.h".
23866         (PARMS): Do not use macros from bp-asm.h.
23867         (DEST): Likewise.
23868         (SRC): Likewise.
23869         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23870         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23871         "bp-asm.h".
23872         (PARMS): Do not use macros from bp-asm.h.
23873         (strlen): Do not use BP_SYM.
23874         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23875         "bp-asm.h".
23876         (PARMS): Do not use macros from bp-asm.h.
23877         (S1): Likewise.
23878         (S2): Likewise.
23879         (SIZE): Likewise.
23880         (__mpn_sub_n): Do not use BP_SYM.
23881         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23882         "bp-asm.h".
23883         (PARMS): Do not use macros from bp-asm.h.
23884         (S1): Likewise.
23885         (SIZE): Likewise.
23886         (__mpn_submul_1): Do not use BP_SYM.
23887         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23888         "bp-asm.h".
23889         (PARMS): Do not use macros from bp-asm.h.
23890         (S1): Likewise.
23891         (S2): Likewise.
23892         (SIZE): Likewise.
23893         (__mpn_add_n): Do not use BP_SYM.
23894         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23895         weak_alias.
23896         (bzero): Likewise.
23897         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23898         "bp-asm.h".
23899         (PARMS): Do not use macros from bp-asm.h.
23900         (BLK2): Likewise.
23901         (LEN): Likewise.
23902         (memcmp): Do not use BP_SYM.
23903         (bcmp): Do not use BP_SYM in weak_alias.
23904         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23905         "bp-asm.h".
23906         (PARMS): Do not use macros from bp-asm.h.
23907         (DEST): Likewise.
23908         (SRC): Likewise.
23909         (LEN): Likewise.
23910         (memcpy): Likewise.  Do not use BP_SYM.
23911         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23912         "bp-asm.h".
23913         (PARMS): Do not use macros from bp-asm.h.
23914         (DEST): Likewise.
23915         (SRC): Likewise.
23916         (LEN): Likewise.
23917         (memmove): Likewise.  Do not use BP_SYM.
23918         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23919         "bp-asm.h".
23920         (PARMS): Do not use macros from bp-asm.h.
23921         (DEST): Likewise.
23922         (SRC): Likewise.
23923         (LEN): Likewise.
23924         (__mempcpy): Likewise.  Do not use BP_SYM.
23925         (mempcpy): Do not use BP_SYM in weak_alias.
23926         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23927         "bp-asm.h".
23928         (PARMS): Do not use macros from bp-asm.h.
23929         (DEST): Likewise.
23930         (LEN): Likewise.
23931         [!BZERO_P] (CHR): Likewise.
23932         (memset): Likewise.  Do not use BP_SYM.
23933         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23934         "bp-asm.h".
23935         (PARMS): Do not use macros from bp-asm.h.
23936         (STR2): Likewise.
23937         (strcmp): Do not use BP_SYM.
23938         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23939         "bp-asm.h".
23940         (PARMS): Do not use macros from bp-asm.h.
23941         (STR): Likewise.
23942         (DELIM): Likewise.
23943         [USE_AS_STRTOK_R] (SAVE): Likewise.
23944         (FUNCTION): Likewise.  Do not use BP_SYM.
23945         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23946         aliases.
23947         (strtok_r): Likewise.
23948         (__GI___strtok_r): Likewise.
23949         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23950         (PARMS): Do not use macros from bp-asm.h.
23951         (S): Likewise.
23952         (SIZE): Likewise.
23953         (__mpn_lshift): Do not use BP_SYM.
23954         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23955         (PARMS): Do not use macros from bp-asm.h.
23956         (STR): Likewise.
23957         (CHR): Likewise.
23958         (__memchr): Do not use BP_SYM.
23959         (memchr): Do not use BP_SYM in weak_alias.
23960         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23961         (PARMS): Do not use macros from bp-asm.h.
23962         (BLK2): Likewise.
23963         (LEN): Likewise.
23964         (memcmp): Do not use BP_SYM.
23965         (bcmp): Do not use BP_SYM in weak_alias.
23966         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23967         (PARMS): Do not use macros from bp-asm.h.
23968         (S1): Likewise.
23969         (SIZE): Likewise.
23970         (__mpn_mul_1): Do not use BP_SYM.
23971         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23972         "bp-asm.h".
23973         (PARMS): Do not use macros from bp-asm.h.
23974         (STR): Likewise.
23975         (CHR): Likewise.
23976         (__rawmemchr): Do not use BP_SYM.
23977         (rawmemchr): Do not use BP_SYM in weak_alias.
23978         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23979         (PARMS): Do not use macros from bp-asm.h.
23980         (S): Likewise.
23981         (SIZE): Likewise.
23982         (__mpn_rshift): Do not use BP_SYM.
23983         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23984         (PARMS): Do not use macros from bp-asm.h.
23985         (SIGMSK): Likewise.
23986         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23987         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23988         (_start): Do not use BP_SYM.
23989         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23990         (PARMS): Do not use macros from bp-asm.h.
23991         (DEST): Likewise.
23992         (SRC): Likewise.
23993         (__stpcpy): Likewise.  Do not use BP_SYM.
23994         (stpcpy): Do not use BP_SYM in weak_alias.
23995         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23996         "bp-asm.h".
23997         (PARMS): Do not use macros from bp-asm.h.
23998         (DEST): Likewise.
23999         (SRC): Likewise.
24000         (LEN): Likewise.
24001         (__stpncpy): Likewise.  Do not use BP_SYM.
24002         (stpncpy): Do not use BP_SYM in weak_alias.
24003         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24004         (PARMS): Do not use macros from bp-asm.h.
24005         (STR): Likewise.
24006         (CHR): Likewise.
24007         (strchr): Likewise.  Do not use BP_SYM.
24008         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24009         "bp-asm.h".
24010         (PARMS): Do not use macros from bp-asm.h.
24011         (STR): Likewise.
24012         (CHR): Likewise.
24013         (__strchrnul): Likewise.  Do not use BP_SYM.
24014         (strchrnul): Do not use BP_SYM in weak_alias.
24015         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24016         "bp-asm.h".
24017         (PARMS): Do not use macros from bp-asm.h.
24018         (STOP): Likewise.
24019         (strcspn): Do not use BP_SYM.
24020         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24021         "bp-asm.h".
24022         (PARMS): Do not use macros from bp-asm.h.
24023         (STR): Likewise.
24024         (STOP): Likewise.
24025         (strpbrk): Likewise.  Do not use BP_SYM.
24026         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24027         "bp-asm.h".
24028         (PARMS): Do not use macros from bp-asm.h.
24029         (STR): Likewise.
24030         (CHR): Likewise.
24031         (strrchr): Likewise.  Do not use BP_SYM.
24032         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24033         (PARMS): Do not use macros from bp-asm.h.
24034         (SKIP): Likewise.
24035         (strspn): Do not use BP_SYM.
24036         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24037         (PARMS): Do not use macros from bp-asm.h.
24038         (STR): Likewise.
24039         (DELIM): Likewise.
24040         (SAVE): Likewise.
24041         (FUNCTION): Likewise.  Do not use BP_SYM.
24042         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24043         aliases.
24044         (strtok_r): Likewise.
24045         (__GI___strtok_r): Likewise.
24046         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24047         (PARMS): Do not use macros from bp-asm.h.
24048         (S1): Likewise.
24049         (S2): Likewise.
24050         (SIZE): Likewise.
24051         (__mpn_sub_n): Do not use BP_SYM.
24052         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24053         "bp-asm.h".
24054         (PARMS): Do not use macros from bp-asm.h.
24055         (S1): Likewise.
24056         (SIZE): Likewise.
24057         (__mpn_submul_1): Do not use BP_SYM.
24058         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24059         <bp-sym.h>.
24060         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24061         and <bp-asm.h>.
24062         (PARMS): Do not use macros from bp-asm.h.
24063         (FLAGS): Likewise.
24064         (PTID): Likewise.
24065         (TLS): Likewise.
24066         (CTID): Likewise.
24067         (__clone): Do not use BP_SYM.
24068         (clone): Do not use BP_SYM in weak_alias.
24069         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24070         and <bp-asm.h>.
24071         (PARMS): Do not use macros from bp-asm.h.
24072         (LEN): Likewise.
24073         (__mmap64): Do not use BP_SYM.
24074         (mmap64): Do not use BP_SYM in weak_alias.
24075         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24076         <bp-sym.h> and <bp-asm.h>.
24077         (PARMS): Do not use macros from bp-asm.h.
24078         (__posix_fadvise64_l64): Do not use BP_SYM.
24079         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24080         (PARMS): Do not use macros from bp-asm.h.
24081         (NSOPS): Likewise.
24082         (semtimedop): Do not use BP_SYM.
24083         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24084         and <bp-asm.h>.
24085
24086 2013-02-21  Allan McRae  <allan@archlinux.org>
24087
24088         * manual/message.texi (Charset conversion in gettext):
24089         Move @end statement to beginning of line.
24090
24091 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24092
24093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24094         static.
24095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24096         Likewise.
24097
24098         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24099         (denorm): Likewise.
24100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24102
24103 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24104
24105         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24106         tail-call to the resolved function if pltexit isn't needed.
24107
24108 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24109
24110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24111         or Y being zero as being unlikely.
24112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24113         Likewise.
24114
24115 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24116
24117         * manual/nss.texi (System Databases and Name Service Switch):
24118         Remove frobnicate @pxref.
24119
24120 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24121
24122         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24123         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24124
24125 2013-02-20  Petr Machata  <pmachata@redhat.com>
24126
24127         * elf/elf.h (R_ARM_TARGET1): New macro.
24128         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24129         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24130         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24131         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24132         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24133         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24134         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24135         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24136         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24137         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24138         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24139         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24140         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24141         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24142         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24143         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24144         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24145         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24146         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24147         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24148         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24149         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24150         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24151         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24152         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24153         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24154         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24155         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24156         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24157         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24158         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24159         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24160         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24161         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24162         (R_ARM_THM_GOT_BREL12): Likewise.
24163         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24164         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24165         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24166         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24167         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24168         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24169         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24170         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24171         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24172
24173 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24174
24175         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24176         __attribute_used__ to __attribute__ ((unused)).
24177
24178 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24179
24180         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24181         powerpc mpa.c.
24182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24183         comment formatting.
24184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24185
24186 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24187
24188         [BZ #13550]
24189         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24190         Remove macro.
24191         (ENTER): Remove both macro definitions.
24192         (LEAVE): Likewise.
24193         (CHECK_BOUNDS_LOW): Likewise.
24194         (CHECK_BOUNDS_HIGH): Likewise.
24195         (CHECK_BOUNDS_BOTH): Likewise.
24196         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24197         (RETURN_BOUNDED_POINTER): Likewise.
24198         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24199         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24200         (POP_ERRNO_LOCATION_RETURN): Likewise.
24201         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24202         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24203         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24204         macros.
24205         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24206         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24207         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24208         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24209         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24210         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24211         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24212         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24213         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24214         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24215         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24216         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24217         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24218         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24219         removed macros.
24220         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24221         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24222         macros.
24223         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24224         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24225         * sysdeps/i386/i586/memset.S (memset): Likewise.
24226         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24227         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24228         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24229         macros.
24230         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24231         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24232         Change uses of L(2) to L(out).
24233         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24234         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24235         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24236         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24237         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24238         removed macros.
24239         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24240         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24241         macros.
24242         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24243         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24244         (RETURN): Do not use macro LEAVE.
24245         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24246         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24247         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24248         * sysdeps/i386/i686/memset.S (memset): Likewise.
24249         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24250         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24251         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24252         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24253         Likewise.
24254         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24255         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24256         L(1_2) and L(1_3) into L(1).
24257         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24258         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24259         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24260         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24261         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24262         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24263         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24264         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24265         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24266         macros.
24267         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24268         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24269         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24270         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24271         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24272         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24273         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24274         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24275         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24276         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24277         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24278         * sysdeps/i386/strspn.S (strspn): Likewise.
24279         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24280         conditional code.
24281         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24282         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24283         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24284         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24285         L(1_3) into L(1_1).
24286         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24287         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24288         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24289         macros.
24290         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24291
24292 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24293
24294         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24295         macro.
24296
24297 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24298
24299         * math/atest-exp.c (exp_mpn): Remove ROUND.
24300         * math/atest-exp2.c (exp_mpn): Likewise.
24301         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24302
24303         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24304         * stdlib/tst-tls-atexit-lib.c: Likewise.
24305         * stdlib/tst-tls-atexit.c: Likewise.
24306
24307 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24308
24309         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24310         and __attribute_alloc_size__.
24311
24312 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24313
24314         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24315         __attribute_alloc_size__.
24316         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24317         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24318
24319 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24320
24321         * include/programs/xmalloc.h: New file.
24322         * catgets/gencat.c: Include it.
24323         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24324         * elf/pldd.c: Likewise.
24325         * iconv/iconv_charmap.c: Likewise.
24326         * iconv/iconvconfig.c: Likewise.
24327         * iconv/strtab.c: Likewise.
24328         * locale/programs/locale.c: Likewise.
24329         * locale/programs/localedef.h: Likewise.
24330         * locale/programs/simple-hash.c: Likewise.
24331         * nscd/nscd.h: Likewise.
24332         * nss/makedb.c: Likewise.
24333         * sysdeps/generic/ldconfig.h: Likewise.
24334
24335 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24336
24337         * Versions.def: Add GLIBC_2.18.
24338         * include/link.h (struct link_map): New member l_tls_dtor_count.
24339         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24340         (__call_tls_dtors): Likewise.
24341         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24342         __cxa_thread_atexit_impl.
24343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24344         Likewise.
24345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24346         Likewise.
24347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24348         Likewise.
24349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24350         Likewise.
24351         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24353         Likewise.
24354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24355         Likewise.
24356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24358         Likewise.
24359         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24360         (tests): Add test case tst-tls-atexit.
24361         (modules-names): Add shared library for tst-tls-atexit.
24362         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24363         (GLIBC_PRIVATE): Add __call_tls_dtors.
24364         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24365         for libstdc++.
24366         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24367         * stdlib/tst-tls-atexit.c: New test case.
24368         * stdlib/tst-tls-atexit-lib.c: New test case.
24369
24370         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24371
24372         * elf/Versions (ld): Add _dl_find_dso_for_object.
24373         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24374         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24375         (dl_open_worker): Use _dl_find_dso_for_object.
24376         * elf/dl-sym.c (do_sym): Likewise.
24377         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24378
24379 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24380
24381         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24382         Syntactic changes only.
24383         (_dl_runtime_profile): Do a tail-call to the resolved function.
24384
24385 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24386
24387         [BZ #13550]
24388         * sysdeps/x86_64/bp-asm.h: Remove file.
24389         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24390         <bp-sym.h> and <bp-asm.h>.
24391         (__clone): Do not use BP_SYM.
24392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24393         <bp-sym.h> and <bp-asm.h>.
24394         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24395         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24396         "bp-asm.h".
24397         (_setjmp): Do not use BP_SYM.
24398         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24399         "bp-asm.h".
24400         (setjmp): Do not use BP_SYM.
24401         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24402         libc_hidden_def.
24403         (mempcpy): Do not use BP_SYM in weak_alias.
24404         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24405         "bp-asm.h".
24406         (strchr): Do not use BP_SYM.
24407         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24408         "bp-asm.h".
24409         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24410         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24411         (_start): Do not use BP_SYM.
24412         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24413         "bp-asm.h".
24414         (strcat): Do not use BP_SYM.
24415         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24416         "bp-asm.h".
24417         (STRCMP): Do not use BP_SYM.
24418         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24419         "bp-asm.h".
24420         (STRCPY): Do not use BP_SYM.
24421         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24422         "bp-asm.h".
24423         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24424         "bp-asm.h".
24425         (FUNCTION): Do not use BP_SYM.
24426         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24427         weak_alias.
24428         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24429
24430 2013-02-17  Andreas Jaeger  <aj@suse.de>
24431
24432         * time/Versions: Sort entries.
24433         * string/Versions: Likewise.
24434         * resolv/Versions: Likewise.
24435         * posix/Versions: Likewise.
24436         * iconv/Versions: Likewise.
24437         * elf/Versions: Likewise.
24438         * wcsmbs/Versions: Likewise.
24439
24440 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24441
24442         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24443         loop termination condition.
24444
24445         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24446         variable to calculate EZ.
24447         (__sqr): Likewise.
24448
24449         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24450         the lower precision input.
24451
24452 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24453
24454         [BZ #13550]
24455         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24456         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24457         (run-via-rtld-prefix): Do not handle %-bp tests.
24458         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24459         (all-object-suffixes): Remove .ob.
24460         (bppfx): Remove variable.
24461         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24462         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24463         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24464         [$(build-bounded) = yes] (libtype.ob): Likewise.
24465         * Makerules (elide-routines.ob): Remove variable.
24466         (do-tests-clean): Do not handle *-bp.out.
24467         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24468         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24469         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24470         (tests): Do not include $(tests-bp.out).
24471         (xtests): Do not include $(xtests-bp.out).
24472         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24473         [$(build-bounded) = yes] ($(addprefix
24474         $(objpfx),$(binaries-bounded))): Remove rule.
24475         ($(objpfx)%-bp.out): Remove rule.
24476         * config.make.in (build-bounded): Remove variable.
24477         * crypt/Makefile [$(build-bounded) = yes]
24478         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24479         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24480         append to variable.
24481         [$(build-bounded) = yes] (install-lib): Likewise.
24482         [$(build-bounded) = yes] (generated): Likewise.
24483         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24484         Remove rule.
24485         * intl/Makefile [$(build-bounded) = yes]
24486         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24487         * math/Makefile [$(build-bounded) = yes]
24488         ($(tests:%=$(objpfx)%-bp): Likewise.
24489         * misc/Makefile [$(build-bounded) = yes]
24490         ($(objpfx)tst-tsearch-bp): Likewise.
24491         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24492         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24493         Remove dependency.
24494         * string/Makefile (o-objects.ob): Remove variable.
24495         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24496         (CFLAGS-.ob): Remove variable.
24497         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24498         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24499         both definitions of variable.
24500         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24501         (ASFLAGS-.ob): Remove variable.
24502
24503 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24504
24505         [BZ #13550]
24506         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24507         Remove __BOUNDED_POINTERS__ from condition.
24508         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24509         * string/bits/string2.h [!__NO_STRING_INLINES &&
24510         !__BOUNDED_POINTERS__]: Likewise.
24511         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24512         Likewise.
24513         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24514         Remove conditional code.
24515         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24516         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24517         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24518         condition.
24519
24520         [BZ #13550]
24521         * csu/libc-start.c: Do not include <bp-sym.h>.
24522         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24523         * elf/dl-open.c: Do not include <bp-sym.h>.
24524         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24525         * math/fegetenv.c: Do not include <bp-sym.h>.
24526         (fegetenv): Do not use BP_SYM in versioned symbols.
24527         * nptl/sysdeps/pthread/bits/libc-lockP.h
24528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24529         <bp-sym.h>.
24530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24531         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24533         (__pthread_mutex_destroy): Likewise.
24534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24535         (__pthread_mutex_lock): Likewise.
24536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24537         (__pthread_mutex_trylock): Likewise.
24538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24539         (__pthread_mutex_unlock): Likewise.
24540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24541         (__pthread_mutexattr_init): Likewise.
24542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24543         (__pthread_mutexattr_destroy): Likewise.
24544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24545         (__pthread_mutexattr_settype): Likewise.
24546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24547         (__pthread_rwlock_init): Likewise.
24548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24549         (__pthread_rwlock_destroy): Likewise.
24550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24551         (__pthread_rwlock_rdlock): Likewise.
24552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24553         (__pthread_rwlock_tryrdlock): Likewise.
24554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24555         (__pthread_rwlock_wrlock): Likewise.
24556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24557         (__pthread_rwlock_trywrlock): Likewise.
24558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24559         (__pthread_rwlock_unlock): Likewise.
24560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24561         (__pthread_key_create): Likewise.
24562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24563         (__pthread_setspecific): Likewise.
24564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24565         (__pthread_getspecific): Likewise.
24566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24567         Likewise.
24568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24569         (_pthread_cleanup_push_defer): Likewise.
24570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24571         (_pthread_cleanup_pop_restore): Likewise.
24572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24573         (pthread_setcancelstate): Likewise.
24574         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24575         <bp-sym.h>.
24576         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24577         (memchr): Do not use BP_SYM in weak_alias.
24578         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24579         (fegetenv): Do not use BP_SYM in versioned symbols.
24580         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24581         (fesetenv): Do not use BP_SYM in versioned symbols.
24582         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24583         (feupdateenv): Do not use BP_SYM in versioned symbols.
24584         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24585         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24586         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24587         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24588         (open64): Do not use BP_SYM in weak_alias.
24589         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24590         (fegetenv): Do not use BP_SYM in versioned symbols.
24591         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24592         (fesetenv): Do not use BP_SYM in versioned symbols.
24593         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24594         (feupdateenv): Do not use BP_SYM in versioned symbols.
24595         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24596         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24597         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24598         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24599         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24600         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24601         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24602         <bp-sym.h>.
24603         (__libc_start_main): Do not use BP_SYM.
24604
24605 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24606
24607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24608         redundant return line.
24609         (norm): Likewise.
24610         (denorm): Likewise.
24611         (dbl_mp): Likewise.
24612         (sub_magnitudes): Likewise.
24613         (__add): Likewise.
24614         (__sub): Likewise.
24615         (__mul): Likewise.
24616         (__inv): Likewise.
24617         (__dvd): Likewise.
24618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24619         (norm): Likewise.
24620         (denorm): Likewise.
24621         (dbl_mp): Likewise.
24622         (sub_magnitudes): Likewise.
24623         (__add): Likewise.
24624         (__sub): Likewise.
24625         (__mul): Likewise.
24626         (__inv): Likewise.
24627         (__dvd): Likewise.
24628
24629         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24630         instead of __mul.
24631         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24632         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24633         (cc32): Likewise.
24634
24635         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24636         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24638         of __mul for squares.
24639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24640         function
24641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24642         Likewise.
24643         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24644         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24645
24646 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24647
24648         [BZ #13550]
24649         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24650         code.
24651         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24652         prototype or function definition.  Rename ubp_* variables and
24653         parameters.  Remove argv definitions conditional on
24654         [__BOUNDED_POINTERS__].
24655         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24656         * elf/dl-runtime.c (_dl_fixup): Likewise.
24657         * include/set-hooks.h (RUN_HOOK): Likewise.
24658         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24659         definition.
24660         * string/strcpy.c (strcpy): Do not use __unbounded.
24661         * sysdeps/generic/frame.h (struct layout): Likewise.
24662         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24663         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24664         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24665         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24666         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24667         (__backtrace): Likewise.
24668         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24669         use __ptrvalue.
24670         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24671         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24672         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24673         Likewise.
24674         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24675         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24676         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24677         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24678         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24679         Do not use __unbounded.
24680         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24681         Rename __unboundedrlimits parameter to rlimits in prototype.
24682         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24683         Do not use __unbounded.
24684         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24685         not use __ptrvalue.
24686         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24687         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24688         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24689         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24690         __ptrvalue or __unbounded.
24691         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24692         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24693         use __unbounded.
24694         (__new_msgctl): Do not use __ptrvalue.
24695         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24696         __unbounded.
24697         (__libc_msgrcv): Do not use __ptrvalue.
24698         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24699         startup_info): Do not use __unbounded.
24700         (__libc_start_main): Likewise.  Rename ubp_* variables and
24701         parameters.  Remove argv definitions conditional on
24702         [__BOUNDED_POINTERS__].
24703         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24704         __ptrvalue.
24705         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24706         use __unbounded.
24707         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24708         or __ptrvalue.
24709         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24710         use __unbounded.
24711         (__new_shmctl): Do not use __ptrvalue.
24712         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24713         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24714         Likewise.
24715         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24716         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24717         (__libc_sigaction): Likewise.
24718         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24719         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24720         Likewise.
24721         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24722
24723 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24724
24725         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24726
24727         * string/mempcpy.c: Implement by calling memcpy.
24728
24729 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24730
24731         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24732
24733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24734         evaluation.
24735
24736         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24737         values in the mantissa.
24738
24739         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24740         minimize writes to Z.
24741         (sub_magnitudes): Simplify code a bit.
24742
24743 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24744
24745         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24746         from the message.  The linker prefixes all warnings with that already.
24747
24748 2013-02-12  Andreas Schwab  <schwab@suse.de>
24749
24750         [BZ #15078]
24751         * posix/regexec.c (extend_buffers): Add parameter min_len.
24752         (check_matching): Pass minimum needed length.
24753         (clean_state_log_if_needed): Likewise.
24754         (get_subexp): Likewise.
24755         * posix/Makefile (tests): Add bug-regex34.
24756         (bug-regex34-ENV): Define.
24757         * posix/bug-regex34.c: New file.
24758
24759         [BZ #11561]
24760         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24761         elements compare against the byte sequence of it, not its name.
24762         * posix/Makefile (tests): Add bug-regex35.
24763         (bug-regex35-ENV): Define.
24764         * posix/bug-regex35.c: New file.
24765
24766 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24767
24768         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24769         comment.
24770         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24771         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24772         (CHECK_EOL): Add undef.
24773
24774 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24775
24776         * bits/stdlib-bsearch.h: New file.
24777         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24778         * stdlib/stdlib.h: Likewise.
24779
24780 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24781
24782         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24783         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24784         declaration.
24785         * manual/search.texi (Array Search Function): Add missing const in
24786         lfind prototype.
24787         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24788         declaration to use rlim_t.
24789         (Basic Scheduling Functions): Remove erroneous const from
24790         sched_getparam prototype.  Remove erroneous * from
24791         sched_get_priority_max and sched_get_priority_min prototypes.
24792         (Resource Usage): Fix summary @comment on vtimes to refer to
24793         sys/vtimes.h rather than vtimes.h.
24794         Add missing *s in vtimes prototype.
24795         (Limits on Resources): Fix ulimit prototype to return long int.
24796         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24797         prototypes to use long int rather than double.
24798         (BSD Random): Fix initstate and setstate to use char *, not void *.
24799         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24800         prototype to make second argument 'struct aiocb64 *const[]'.
24801         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24802         (Status of AIO Operations): Remove erroneous const in aio_return and
24803         aio_return64 prototypes.
24804         (Synchronizing I/O): Fix sync prototype to return void.
24805         * manual/startup.texi (Suboptions): Remove an erroneous const in
24806         getsubopt prototype.
24807         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24808         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24809         use size_t rather than int.
24810         (Scanning All Users): Likewise for getpwent_r.
24811         (Setting Groups): Add missing const to setgroups prototype.
24812         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24813         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24814         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24815         'const void *' rather than 'const char *'.
24816         (Host Address Functions): Likewise for inet_ntop.
24817         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24818         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24819         ssize_t for return value.
24820         (Sending Data): Likewise for send, sendto, sendmsg.
24821         (Socket Option Functions): Add a missing const in setsockopt prototype.
24822         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24823         use wchar_t for the argument.
24824         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24825         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24826         take no arguments.
24827         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24828         double/float/long double for second argument.
24829         Fix return types of significand, significandf, significandl.
24830         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24831         argument in fchmod prototype.
24832         (File Owner): Use uid_t and gid_t in fchown prototype.
24833         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24834         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24835         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24836         use 'const struct dirent **' as argument types to CMP function pointer
24837         argument.
24838         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24839         (File Times): Fix summary magic @comment for struct utimbuf and utime
24840         to refer to utime.h, not time.h.
24841         * manual/string.texi (Argz Functions): Add missing const in
24842         argz_extract and argz_next prototypes.
24843         (Finding Tokens in a String): Likewise for basename.
24844         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24845         (Copying and Concatenation): Fix typo in wmemmove prototype.
24846         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24847         (Signal Stack): Remove erroneous const in sigstack prototype.
24848         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24849         prototype.
24850         (Simple Calendar Time): Likewise for stime.
24851         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24852         prototype.
24853         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24854         say sys/sysctl.h instead.
24855         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24856         and vsyslog prototypes.
24857
24858 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24859
24860         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24861         Remove.
24862
24863 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24864
24865         * misc/sys/mman.h: Fix typo in mremap comment.
24866
24867 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24868
24869         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24870         the '\0' terminator.
24871
24872 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24873
24874         [BZ #13550]
24875         * debug/segfault.c: Don't include <bp-checks.h>.
24876         * sysdeps/generic/bp-checks.h: Remove file.
24877         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24878         (__GETDENTS): Don't use CHECK_N.
24879         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24880         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24881         (__getgroups): Don't use CHECK_N.
24882         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24883         (setgroups): Don't use CHECK_N.
24884         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24885         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24886         (__libc_msgrcv): Don't use CHECK_N.
24887         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24888         (__libc_msgsnd): Don't use CHECK_N.
24889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24890         <bp-checks.h>.
24891         (__libc_pread): Don't use CHECK_N.
24892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24893         include <bp-checks.h>.
24894         (__libc_pread64): Don't use CHECK_N.
24895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24896         include <bp-checks.h>.
24897         (__libc_pwrite): Don't use CHECK_N.
24898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24899         include <bp-checks.h>.
24900         (__libc_pwrite64): Don't use CHECK_N.
24901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24902         <bp-checks.h>.
24903         (__libc_pread): Don't use CHECK_N.
24904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24905         include <bp-checks.h>.
24906         (__libc_pread64): Don't use CHECK_N.
24907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24908         include <bp-checks.h>.
24909         (__libc_pwrite): Don't use CHECK_N.
24910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24911         include <bp-checks.h>.
24912         (__libc_pwrite64): Don't use CHECK_N.
24913         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24914         (do_pread): Don't use CHECK_N.
24915         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24916         (do_pread64): Don't use CHECK_N.
24917         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24918         (do_pwrite): Don't use CHECK_N.
24919         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24920         (do_pwrite64): Don't use CHECK_N.
24921         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24922         (__libc_readv): Don't use CHECK_N.
24923         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24924         (semop): Don't use CHECK_N.
24925         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24926         <bp-checks.h>.
24927         (semtimedop): Don't use CHECK_N.
24928         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24929         (__libc_pread): Don't use CHECK_N.
24930         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24931         <bp-checks.h>.
24932         (__libc_pread64): Don't use CHECK_N.
24933         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24934         <bp-checks.h>.
24935         (__libc_pwrite): Don't use CHECK_N.
24936         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24937         <bp-checks.h>.
24938         (__libc_pwrite64): Don't use CHECK_N.
24939         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24940         <bp-checks.h>.
24941         (__libc_msgrcv): Don't use CHECK_N.
24942         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24943         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24944         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24945         (__libc_writev): Don't use CHECK_N.
24946
24947 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24948
24949         * string/strcpy.c: Removed unused variable.
24950
24951         * Makeconfig (+sysdep-includes): Define with := rather than =.
24952         Use an existing include/ subdir of each sysdeps dir before it.
24953
24954 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24955
24956         * nscd/connection.c (register_traced_file): Comment function.
24957         [HAVE_INOTIFY] (union __inev): Define.
24958         [HAVE_INOTIFY] (inotify_check_files): New function.
24959         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24960         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24961         clear_db_cache.
24962         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24963
24964 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24965
24966         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24967         loaded if not already and that a failure is permanent.
24968
24969 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24970
24971         [BZ #15006]
24972         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24973         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24974
24975 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24976
24977         [BZ #13550]
24978         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24979         (CHECK_1_NULL_OK): Likewise.
24980         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24981         (__fxstat): Do not use CHECK_1.
24982         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24983         <bp-checks.h>.
24984         (___fxstat64): Do not use CHECK_1.
24985         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24986         <bp-checks.h>.
24987         (__fxstatat): Do not use CHECK_1.
24988         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24989         <bp-checks.h>.
24990         (__fxstatat64): Do not use CHECK_1.
24991         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24992         <bp-checks.h>.
24993         (__fxstat): Do not use CHECK_1.
24994         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24995         <bp-checks.h>.
24996         (__fxstatat): Do not use CHECK_1.
24997         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24998         <bp-checks.h>.
24999         (__getresgid): Do not use CHECK_1.
25000         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25001         <bp-checks.h>.
25002         (__getresuid): Do not use CHECK_1.
25003         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25004         <bp-checks.h>.
25005         (__lxstat): Do not use CHECK_1.
25006         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25007         <bp-checks.h>.
25008         (__old_msgctl): Do not use CHECK_1.
25009         (__new_msgctl): Likewise.
25010         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25011         <bp-checks.h>.
25012         (__new_setrlimit): Do not use CHECK_1.
25013         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25014         <bp-checks.h>.
25015         (__old_shmctl): Do not use CHECK_1.
25016         (__new_shmctl): Likewise.
25017         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25018         <bp-checks.h>.
25019         (__xstat): Do not use CHECK_1.
25020         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25021         (__lxstat): Do not use CHECK_1.
25022         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25023         <bp-checks.h>.
25024         (___lxstat64): Do not use CHECK_1.
25025         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25026         (__old_msgctl): Do not use CHECK_1.
25027         (__new_msgctl): Likewise.
25028         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25029         <bp-checks.h>.
25030         (__gettimeofday): Do not use CHECK_1.
25031         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25032         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25033         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25034         <bp-checks.h>.
25035         (__gettimeofday): Do not use CHECK_1.
25036         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25037         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25038         (__new_shmctl): Do not use CHECK_1.
25039         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25040         <bp-checks.h>.
25041         (do_sigtimedwait): Do not use CHECK_1.
25042         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25043         <bp-checks.h>.
25044         (do_sigwaitinfo): Do not use CHECK_1.
25045         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25046         <bp-checks.h>.
25047         (msgctl): Do not use CHECK_1.
25048         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25049         <bp-checks.h>.
25050         (shmctl): Do not use CHECK_1.
25051         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25052         (ustat): Do not use CHECK_1.
25053         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25054         <bp-checks.h>.
25055         (__fxstat): Do not use CHECK_1.
25056         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25057         <bp-checks.h>.
25058         (__fxstatat): Do not use CHECK_1.
25059         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25060         <bp-checks.h>.
25061         (__lxstat): Do not use CHECK_1.
25062         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25063         <bp-checks.h>.
25064         (__xstat): Do not use CHECK_1.
25065         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25066         (__xstat): Do not use CHECK_1.
25067         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25068         (___xstat64): Do not use CHECK_1.
25069
25070         [BZ #13550]
25071         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25072         definitions.
25073         (CHECK_BOUNDS_HIGH): Likewise.
25074         * string/strcpy.c: Do not include <bp-checks.h>.
25075         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25076
25077 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25078
25079         * nscd/nscd-client.h (__nscd_drop_map_ref):
25080         Add __attribute__ ((unused)).
25081         * nis/nss-nisplus.h (niserr2nss): Likewise.
25082
25083         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25084         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25085
25086         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25087         Remove inline keyword.
25088         * include/rounding-mode.h (round_away): Likewise.
25089         * libio/wfileops.c (adjust_wide_data): Likewise.
25090         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25091         (__m128i_strloadu_tolower): Likewise.
25092         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25093         (__m128i_strloadu_tolower): Likewise.
25094         * time/mktime.c (ydhms_diff): Likewise.
25095         * locale/elem-hash.h (elem_hash): Likewise.
25096         * locale/setlocale.c (setdata): Likewise.
25097         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25098         (re_string_wchar_at): Likewise.
25099         (bitset_not, bitset_merge, bitset_mask): Likewise.
25100         [!(__GNUC__ > 3)] (inline): Remove macro.
25101         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25102         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25103         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25104         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25105         * string/memcmp.c (memcmp_bytes): Likewise.
25106         * locale/programs/locarchive.c (compute_hashval): Likewise.
25107         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25108         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25109         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25110         * nss/getent.c (print_rpc, print_protocols): Likewise.
25111         (print_passwd, print_group, print_aliases): Likewise.
25112         * nis/nss-nisplus.h (niserr2nss): Likewise.
25113         * nscd/connections.c (restart_p): Likewise.
25114         Change return type to bool.
25115
25116 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25117
25118         * Makeconfig (all-Depend-files): Add existing
25119         $(sorted-subdirs:=/Depend) files.
25120         (all-subdirs): Remove nss.
25121         * sysdeps/unix/inet/Subdirs: Add it here instead.
25122         * hesiod/Depend: New file.
25123
25124         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25125         instead of calling alloca.
25126
25127         * io/lseek.c (__lseek): Rename to __libc_lseek.
25128         Define __lseek as an alias.
25129
25130         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25131
25132 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25133
25134         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25135         else clause and remove check for non-standard endianness.
25136
25137 2013-02-04  David S. Miller  <davem@davemloft.net>
25138
25139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25140
25141 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25142
25143         [BZ #13550]
25144         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25145         (__ubp_memchr): Remove prototype.
25146         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25147         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25148         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25149         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25150         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25151         Remove alias.
25152         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25153         (__ubp_memchr): Likewise.
25154         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25155         (__ubp_memchr): Likewise.
25156         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25157         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25158         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25159         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25160         CHECK_STRING.
25161         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25162         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25163         (__getcwd): Do not use CHECK_STRING.
25164         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25165         <bp-checks.h>.
25166         (__real_chown): Do not use CHECK_STRING.
25167         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25168         <bp-checks.h>.
25169         (fchownat): Do not use CHECK_STRING.
25170         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25171         CHECK_STRING.
25172         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25173         <bp-checks.h>.
25174         (__lchown): Do not use CHECK_STRING.
25175         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25176         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25177         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25178         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25180         include <bp-checks.h>.
25181         (truncate64): Do not use CHECK_STRING.
25182         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25183         <bp-checks.h>.
25184         (__real_chown): Do not use CHECK_STRING.
25185         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25186         <bp-checks.h>.
25187         (__lchown): Do not use CHECK_STRING.
25188         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25189         <bp-checks.h>.
25190         (__chown): Do not use CHECK_STRING.
25191         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25192         <bp-checks.h>.
25193         (truncate64): Do not use CHECK_STRING.
25194         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25195         Likewise.
25196         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25197         (__xmknod): Do not use CHECK_STRING.
25198         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25199         <bp-checks.h>.
25200         (__xmknodat): Do not use CHECK_STRING.
25201         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25202         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25203
25204 2013-02-04  Andreas Schwab  <schwab@suse.de>
25205
25206         [BZ #14142]
25207         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25208         * include/netdb.h: Likewise for h_errno.
25209         * elf/tst-stackguard1.c: Include <tls.h>.
25210
25211 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25212
25213         * elf/link.h (struct link_map): Extend the l_addr comment.
25214         * include/link.h (struct link_map): Likewise.
25215
25216 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25217
25218         [BZ #13550]
25219         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25220         (BOUNDED_1): Remove macro.
25221         * debug/backtrace.c: Don't include <bp-checks.h>.
25222         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25223         (__backtrace): Likewise.
25224         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25225         <bp-checks.h>.
25226         (__backtrace): Don't use BOUNDED_1.
25227         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25228         <bp-checks.h>.
25229         (__backtrace): Don't use BOUNDED_1.
25230         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25231         (__backtrace): Don't use BOUNDED_1.
25232         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25233         (shmat): Don't use BOUNDED_N.
25234
25235 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25236
25237         [BZ #13550]
25238         * sysdeps/generic/bp-start.h: Remove file.
25239         * csu/libc-start.c: Don't include <bp-start.h>.
25240         (LIBC_START_MAIN): Set up __environ directly instead of using
25241         INIT_ARGV_and_ENVIRON.
25242         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25243         <bp-start.h>.
25244
25245         [BZ #13550]
25246         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25247         definitions.
25248         (CHECK_FCNTL): Likewise.
25249         (CHECK_N_PAGES): Likewise.
25250
25251         [BZ #13550]
25252         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25253         definitions.
25254         (CHECK_SIGSET_NULL_OK): Likewise.
25255         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25256         <bp-checks.h>.
25257         (sigpending): Don't use CHECK_SIGSET.
25258         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25259         <bp-checks.h>.
25260         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25261         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25262         <bp-checks.h>.
25263         (do_sigsuspend): Don't use CHECK_SIGSET.
25264         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25265         use CHECK_SIGSET.
25266         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25267         (do_sigwait): Don't use CHECK_SIGSET.
25268         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25269         use CHECK_SIGSET.
25270         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25271         include <bp-checks.h>.
25272         (sigpending): Don't use CHECK_SIGSET.
25273         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25274         include <bp-checks.h>.
25275         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25276         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25277         <bp-checks.h>.
25278         (sigpending): Don't use CHECK_SIGSET.
25279         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25280         <bp-checks.h>.
25281         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25282
25283         [BZ #13550]
25284         * sysdeps/generic/bp-semctl.h: Remove file.
25285         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25286         <bp-checks.h> and <bp-semctl.h>.
25287         (__old_semctl): Don't use CHECK_SEMCTL.
25288         (__new_semctl): Likewise.
25289         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25290         and <bp-semctl.h>.
25291         (__old_semctl): Don't use CHECK_SEMCTL.
25292         (__new_semctl): Likewise.
25293         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25294         <bp-checks.h> and <bp-semctl.h>.
25295         (__old_semctl): Don't use CHECK_SEMCTL.
25296         (__new_semctl): Likewise.
25297         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25298         <bp-checks.h> and <bp-semctl.h>.
25299         (semctl): Don't use CHECK_SEMCTL.
25300
25301         [BZ #13550]
25302         * Makerules (elide-bp-thunks): Remove variable.
25303         (elide-routines.oS): Don't use $(elide-bp-thunks).
25304         (elide-routines.os): Likewise.
25305         (elide-routines.o): Likewise.
25306         (elide-routines.op): Likewise.
25307         (elide-routines.og): Likewise.
25308         (objects): Don't use $(bp-thunks).
25309         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25310         include.
25311         (common-generated): Do not add s-proto-bp.d.
25312         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25313         (int): Likewise.
25314         (typ): Likewise.
25315         Do not generate makefile rules for bounded-pointer thunks.
25316         * sysdeps/generic/bp-thunks.h: Remove file.
25317         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25318         * sysdeps/unix/s-proto-bp.S: Likewise.
25319
25320         [BZ #15062]
25321         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25322         parts of result separately when argument is not close to line from
25323         -i to i and one part of argument is small.
25324         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25325         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25326         * math/libm-test.inc (cacos_test): Add more tests.
25327         (casin_test): Likewise.
25328         (casinh_test): Likewise.
25329         * sysdeps/i386/fpu/libm-test-ulps: Update.
25330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25331
25332 2013-01-31  David S. Miller  <davem@davemloft.net>
25333
25334         * po/de.po: Update from translation team.
25335
25336 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25337
25338         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25339
25340 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25341
25342         * configure.in (_AC_PROG_CC_C89): New definition.
25343         * configure: Regenerate.
25344
25345         * configure.in (AC_PROG_CPP): New definition.
25346         * configure: Regenerate.
25347
25348 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25349
25350         * debug/tst-backtrace.h: New file.
25351         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25352         (ret): Remove variable.
25353         (x): Likewise.
25354         (FAIL): Remove macro.
25355         (NO_INLINE): Likewise.
25356         (fn1): Use match function instead of strstr.
25357         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25358         (ret): Remove variable.
25359         (x): Likewise.
25360         (FAIL): Remove macro.
25361         (NO_INLINE): Likewise.
25362         (fn): Use match function instead of strstr.
25363         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25364         (ret): Remove variable.
25365         (x): Likewise.
25366         (FAIL): Remove macro.
25367         (NO_INLINE): Likewise.
25368         (handle_signal): Use match function instead of strstr.
25369         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25370         (ret): Remove variable.
25371         (x): Likewise.
25372         (FAIL): Remove macro.
25373         (NO_INLINE): Likewise.
25374         (handle_signal): Use match function instead of strstr.
25375
25376 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25377
25378         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25379
25380 2013-01-23  David S. Miller  <davem@davemloft.net>
25381
25382         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25383         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25384         argument of CAS if possible.
25385         * sysdeps/sparc/sparc64/bits/atomic.h
25386         (__arch_compare_and_exchange_val_32_acq): Likewise.
25387         (__arch_compare_and_exchange_val_64_acq): Likewise.
25388
25389 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25390
25391         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25392         * sysdeps/posix/ulimit.c: ... this.
25393         Include <limits.h>.
25394         * sysdeps/unix/bsd/ulimit.c: Remove file.
25395
25396 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25397
25398         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25399         (LDFLAGS-tst-array5): Likewise.
25400
25401 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25402
25403         [BZ #15036]
25404         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25405         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25406         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25407         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25408
25409 2013-01-21  David S. Miller  <davem@davemloft.net>
25410
25411         * sysdeps/sparc/backtrace.c: New file.
25412         * sysdeps/sparc/sparc32/backtrace.h: New file.
25413         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25414         * sysdeps/sparc/sparc64/backtrace.h: New file.
25415         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25416         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25417         -funwind-tables.
25418
25419 2013-01-21  Andreas Schwab  <schwab@suse.de>
25420
25421         [BZ #15020]
25422         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25423         closed its stdout.
25424
25425 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25426
25427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25428         "mpa2.h".
25429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25430
25431 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25432             Mark Mitchell  <mark@codesourcery.com>
25433             Tom de Vries  <tom@codesourcery.com>
25434             Paul Pluzhnikov  <ppluzhnikov@google.com>
25435
25436         * debug/tst-backtrace2.c: New file.
25437         * debug/tst-backtrace3.c: Likewise.
25438         * debug/tst-backtrace4.c: Likewise.
25439         * debug/tst-backtrace5.c: Likewise.
25440         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25441         (CFLAGS-tst-backtrace3.c): Likewise.
25442         (CFLAGS-tst-backtrace4.c): Likewise.
25443         (CFLAGS-tst-backtrace5.c): Likewise.
25444         (LDFLAGS-tst-backtrace2): Likewise.
25445         (LDFLAGS-tst-backtrace3): Likewise.
25446         (LDFLAGS-tst-backtrace4): Likewise.
25447         (LDFLAGS-tst-backtrace5): Likewise.
25448         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25449         tst-backtrace4 and tst-backtrace5.
25450
25451 2013-01-18  Anton Blanchard  <anton@samba.org>
25452             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25453
25454         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25455         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25456         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25457         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25459         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25460         "+r" and remove output regs list as redundant.  Add explicit inline
25461         asm to specify register of return val to work around compiler codegen
25462         bug.  Remove (int) cast on return value.  Add return type parameter to
25463         use in macro so that this macro does not truncate return value for
25464         64-bit values.
25465         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25466         pass to INTERNAL_VSYSCALL_NCS.
25467         (INLINE_VSYSCALL): Add 'long int' as return type to
25468         INTERNAL_VSYSCALL_NCS macro invocation.
25469         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25470         INTERNAL_VSYSCALL_NCS macro invocation.
25471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25472
25473 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25474
25475         [BZ #14496]
25476         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25477         Fix application of SIMD FP exception mask.
25478
25479         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25480         mp_no from a power of two.
25481         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25482         __mpexp_twomm1.  Use __pow_mp.
25483
25484         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25485         multiplication.
25486
25487 2013-01-17  David S. Miller  <davem@davemloft.net>
25488
25489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25490
25491 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25492
25493         [BZ #15023]
25494         * include/complex.h: Condition contents on [!_COMPLEX_H].
25495         (__kernel_casinhf): New prototype.
25496         (__kernel_casinh): Likewise.
25497         (__kernel_casinhl): Likewise.
25498         * math/Makefile (libm_calls): Add k_casinh.
25499         * math/k_casinh.c: New file.
25500         * math/k_casinhf.c: Likewise.
25501         * math/k_casinhl.c: Likewise.
25502         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25503         finite nonzero arguments.
25504         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25505         finite nonzero arguments.
25506         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25507         finite nonzero arguments.
25508         * math/s_casinh.c: Do not include <float.h>.
25509         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25510         * math/s_casinhf.c: Do not include <float.h>.
25511         (__casinhf): Move code for finite nonzero arguments to
25512         k_casinhf.c.
25513         * math/s_casinhl.c: Do not include <float.h>.
25514         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25515         redefine.
25516         (__casinhl): Move code for finite nonzero arguments to
25517         k_casinhl.c.
25518         * math/libm-test.inc (cacos_test): Add more tests.
25519         * sysdeps/i386/fpu/libm-test-ulps: Update.
25520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25521
25522 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25523
25524         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25525         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25526         [!HAVE_MREMAP]: Remove [defined linux] case.
25527         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25528
25529 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25530
25531         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25532
25533 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25534
25535         * elf/elf.h (R_386_SIZE32): New relocation.
25536         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25537         R_386_SIZE32.
25538         (elf_machine_rela): Likewise.
25539         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25540         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25541
25542 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25543
25544         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25545         (FP_FAST_FMA): Do not define.
25546         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25547         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25548         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25549         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25550         !_SOFT_FLOAT]: Likewise.
25551         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25552         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25553         value.
25554         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25555         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25556         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25557         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25558         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25559         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25560         file.
25561
25562 2013-01-16  Andreas Schwab  <schwab@suse.de>
25563
25564         [BZ #14327]
25565         * include/stdlib.h (__mktemp): Add declaration.
25566         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25567         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25568
25569 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25570
25571         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25572         definitions.
25573         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25574         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25575         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25576         definitions here.
25577         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25578         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25579         definitions.
25580         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25581         and ONE.
25582         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25583         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25584         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25585         definitions.
25586         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25587         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25588         definitions.
25589         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25590
25591         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25592
25593 2013-01-15  David S. Miller  <davem@davemloft.net>
25594
25595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25596         trunc{,f} to libm-sysdep_routes.
25597         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25599         file.
25600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25602         file.
25603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25604         file.
25605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25607         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25608         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25609         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25610         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25611         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25612         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25613
25614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25615         nearbyint{,f} to libm-sysdep_routes.
25616         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25618         New file.
25619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25620         file.
25621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25622         New file.
25623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25624         file.
25625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25627         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25628         file.
25629         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25630         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25631         file.
25632         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25633         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25634         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25635
25636         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25637         libc_feholdexcept and libc_fesetenv.
25638
25639 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25640
25641         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25642
25643 2013-01-14  David S. Miller  <davem@davemloft.net>
25644
25645         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25646         (SPARC_ASM_VIS2_IFUNC): Likewise.
25647         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25649         use of 'siam' instruction.
25650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25651         Likewise.
25652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25653         Likewise.
25654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25655         Likewise.
25656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25661         file.
25662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25663         file.
25664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25665         file.
25666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25667         file.
25668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25673         new VIS2 routines.
25674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25677         Likewise.
25678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25683         routines to libm-sysdep_routines.
25684         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25685
25686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25687         fdim/fdimf to libm-sysdep_routines.
25688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25689         file.
25690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25692         file.
25693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25696         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25697         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25698         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25699         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25700
25701 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25702
25703         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25704         to optimize copies.
25705
25706         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25709
25710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25711         local variable MPTWO.
25712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25713         Likewise.
25714
25715 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25716
25717         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25718         GLOB_NOESCAPE.
25719
25720 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25721
25722         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25723
25724 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25725
25726         * manual/pattern.texi (glob_t): Document gl_flags.
25727         (glob64_t): Likewise.
25728
25729 2013-01-11  David S. Miller  <davem@davemloft.net>
25730
25731         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25732         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25733         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25734         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25735         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25736         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25737         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25738         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25739         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25740         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25741         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25742         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25743         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25744
25745         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25746         sparc V9 rather than using V8 code.
25747         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25748         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25749
25750         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25751         Move to...
25752         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25753         Here.
25754
25755 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25756
25757         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25758         not in the main loop.
25759         * configure: Regenerated.
25760
25761 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25762
25763         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25764         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25765         to just #else.
25766         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25767         [!__GLIBC_HAVE_LONG_LONG] case.
25768         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25769         condition to just #else.
25770         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25771         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25772         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25773         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25774         unconditional.
25775         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25776         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25777         #elif condition to just #else.
25778         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25779         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25780         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25781         #elif condition to just #else.
25782
25783 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25784
25785         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25786         (EF_MIPS_ARCH_64): Fix value.
25787         (EF_MIPS_ARCH_32R2): New.
25788         (EF_MIPS_ARCH_64R2): New.
25789
25790 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25791
25792         * Makeconfig (+link-pie-before-libc): New.
25793         (+link-pie-after-libc): Likewise.
25794         (+link-pie-tests): Likewise.
25795         (+link-pie): Rewritten.
25796         (link-before-libc): Remove $(config-LDFLAGS).
25797         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25798         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25799         (config-LDFLAGS): Renamed to ...
25800         (rtld-LDFLAGS): This.
25801         (rtld-tests-LDFLAGS): New macro.
25802         (link-libc-rpath-link): Likewise.
25803         (link-libc-tests-rpath-link): Likewise.
25804         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25805         (link-libc): Prepand $(link-libc-rpath-link).
25806         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25807         (test-program-prefix): New macro.
25808         (test-via-rtld-prefix): Likewise.
25809         (test-program-cmd): Likewise.
25810         (host-test-program-cmd): Likewise.
25811         * Makefile ($(common-objpfx)testrun.sh): Replace
25812         $(run-program-prefix) with $(test-program-prefix).
25813         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25814         $(rtld-LDFLAGS).
25815         ($(common-objpfx)shlib.lds): Likewise.
25816         (build-module-helper): Likewise.
25817         ($(common-objpfx)format.lds): Likewise.
25818         * Rules (binaries-pie-tests): New.
25819         (binaries-pie-notests): Likewise.
25820         (binaries-pie): Rewritten.
25821         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25822         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25823         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25824         (make-test-out): Replace $(host-built-program-cmd) with
25825         $(host-test-program-cmd).
25826         * config.make.in (build-hardcoded-path-in-tests): New variable.
25827         * configure.in (--enable-hardcoded-path-in-tests): New configure
25828         option.
25829         (hardcoded_path_in_tests): New AC_SUBST.
25830         * configure: Regenerated.
25831         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25832         $(built-program-cmd) with $(test-program-cmd).
25833         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25834         (test_program_cmd): This.
25835         * elf/Makefile ($(objpfx)order.out): Run test with
25836         $(test-program-prefix).
25837         ($(objpfx)order2.out): Likewise.
25838         ($(objpfx)tst-initorder.out): Likewise.
25839         ($(objpfx)tst-initorder2.out): Likewise.
25840         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25841         $(test-program-cmd).
25842         ($(objpfx)tst-array1-static.out): Likewise.
25843         ($(objpfx)tst-array2.out): Likewise.
25844         ($(objpfx)tst-array3.out): Likewise.
25845         ($(objpfx)tst-array4.out): Likewise.
25846         ($(objpfx)tst-array5.out): Likewise.
25847         ($(objpfx)tst-array5-static.out): Likewise.
25848         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25849         $(test-program-cmd).
25850         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25851         $(run-program-prefix) with $(test-program-prefix).
25852         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25853         (test_program_prefix): This.
25854         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25855         $(run-program-prefix) with $(test-program-prefix).
25856         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25857         (test_program_prefix): This.
25858         * iconvdata/tst-tables.sh: Likewise.
25859         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25860         $(run-program-prefix) with $(test-program-prefix).
25861         ($(objpfx)tst-translit.out): Likewise.
25862         ($(objpfx)tst-gettext2.out): Likewise.
25863         ($(objpfx)tst-gettext4.out): Likewise.
25864         ($(objpfx)tst-gettext6.out): Likewise.
25865         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25866         (test_program_prefix): This.
25867         * intl/tst-gettext2.sh: Likewise.
25868         * intl/tst-gettext4.sh  Likewise.
25869         * intl/tst-gettext6.sh: Likewise.
25870         * intl/tst-translit.sh: Likewise.
25871         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25872         with $(test-program-cmd).
25873         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25874         $(run-program-prefix) with $(test-program-prefix).
25875         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25876         (test_program_prefix): This.
25877         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25878         $(run-program-prefix) with $(test-program-prefix).
25879         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25880         (test_program_prefix): This.
25881         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25882         * posix/Makefile ($(objpfx)globtest.out): Replace
25883         $(run-via-rtld-prefix) and $(test-wrapper) with
25884         $(test-program-prefix) and $(test-via-rtld-prefix).
25885         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25886         $(test-program-prefix).
25887         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25888         $(host-test-program-cmd).
25889         (tst-spawn-ARGS): Likewise.
25890         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25891         $(test-program-prefix).
25892         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25893         (test_via_rtld_prefix): This.
25894         (test_wrapper): Renamed to ...
25895         (test_program_prefix): This.
25896         (run_program_prefix): Replaced by test_program_prefix.
25897         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25898         (test_program_prefix): This.
25899         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25900         with $(host-test-program-cmd).
25901         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25902         $(run-program-prefix) with $(test-program-prefix).
25903         ($(objpfx)tst-printf.out): Likewise.
25904         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25905         $(test-program-cmd).
25906         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25907         (test_program_prefix): This.
25908         * stdio-common/tst-unbputc.sh: Likewise.
25909         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25910         $(run-program-prefix) with $(test-program-prefix).
25911         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25912         (test_program_prefix): This.
25913         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25914         $(built-program-cmd) with $(test-program-cmd).
25915
25916 2013-01-11  Andreas Jaeger  <aj@suse.de>
25917
25918         [BZ #15003]
25919         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25920         value. Sync with Linux 3.7.
25921
25922 2013-01-10  David S. Miller  <davem@davemloft.net>
25923
25924         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25925         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25926         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25927
25928 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25929
25930         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25931         never set.
25932         * configure: Regenerated.
25933
25934 2013-01-10  David S. Miller  <davem@davemloft.net>
25935
25936         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25937         sparc V9 rather than using V8 code.
25938         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25939         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25940
25941 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25942
25943         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25944         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25945         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25946         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25947         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25948         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25949         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25950         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25951         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25952         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25953         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25954         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25955         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25956         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25957         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25958         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25959         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25960         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25961         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25962         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25963         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25964         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25965         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25966         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25967         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25968         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25969         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25970
25971 2013-01-10  David S. Miller  <davem@davemloft.net>
25972
25973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25974
25975 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25976
25977         * posix/Makefile (tests-static): New variable.
25978         (tests): Add $(tests-static).
25979         (tst-exec-static-ARGS): New variable.
25980         (tst-spawn-static-ARGS): Likewise.
25981         * posix/tst-exec-static.c: New file.
25982         * posix/tst-spawn-static.c: Likewise.
25983         * posix/tst-exec.c: Support run directly.
25984         * posix/tst-spawn.c: Likewise.
25985
25986 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25987
25988         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25989         long.
25990         * math/bits/mathcalls.h (llrint): Likewise.
25991         (llround): Likewise.
25992         * stdlib/stdlib.h (struct drand48_data): Likewise.
25993         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25994         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25995         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25996         Likewise.
25997         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25998         Likewise.
25999         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26000         (elf_greg_t): Likewise.
26001         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26002         (__jmp_buf): Likewise.
26003         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26004         definitions.
26005         (llrint): Likewise, for all definitions.
26006         (llrintl): Likewise.
26007
26008         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26009         Remove [__GNUC__] condition.
26010         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26011         condition to just [__USE_ISOC99].
26012         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26013
26014 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26015
26016         [BZ #14200]
26017         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26018         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26019         defined.
26020         (_POSIX_V6_ILP32_OFF32): Likewise.
26021         (_XBS5_ILP32_OFF32): Likewise.
26022         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26023         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26024
26025 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26026
26027         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26028
26029         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26030         doubles __mpexp_twomm1.  Adjust usage.
26031         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26032         Remove.
26033
26034 2013-01-10  Andreas Schwab  <schwab@suse.de>
26035
26036         [BZ #14964]
26037         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26038         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26039
26040 2013-01-09  David S. Miller  <davem@davemloft.net>
26041
26042         [BZ #15003]
26043         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26044         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26045         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26046         (TCP_FASTOPEN): Define.
26047         (tcp_repair_opt): New structure.
26048         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26049         enum values.
26050         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26051         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26052         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26053         (tcp_cookie_transactions): New structure.
26054
26055 2013-01-09  Anton Blanchard  <anton@samba.org>
26056
26057         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26058         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26059         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26060         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26061
26062 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26063
26064         * include/features.h (__USE_ANSI): Remove.
26065
26066 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26067
26068         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26069
26070         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26071
26072 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26073
26074         * sysdeps/s390/fpu/libm-test-ulps: Update.
26075
26076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26077
26078         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26079         (__acr): Likewise.
26080         (__cpy): Likewise.
26081         (norm): Likewise.
26082         (denorm): Likewise.
26083         (__mp_dbl): Likewise.
26084         (__dbl_mp): Likewise.
26085         (add_magnitudes): Likewise.
26086         (sub_magnitudes): Likewise.
26087         (__add): Likewise.
26088         (__sub): Likewise.
26089         (__mul): Likewise.
26090         (__inv): Likewise.
26091         (__dvd): Likewise.
26092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26093         (__acr): Likewise.
26094         (__cpy): Likewise.
26095         (norm): Likewise.
26096         (denorm): Likewise.
26097         (__mp_dbl): Likewise.
26098         (__dbl_mp): Likewise.
26099         (add_magnitudes): Likewise.
26100         (sub_magnitudes): Likewise.
26101         (__add): Likewise.
26102         (__sub): Likewise.
26103         (__mul): Likewise.
26104         (__inv): Likewise.
26105         (__dvd): Likewise.
26106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26107         (__acr): Likewise.
26108         (__cpy): Likewise.
26109         (norm): Likewise.
26110         (denorm): Likewise.
26111         (__mp_dbl): Likewise.
26112         (__dbl_mp): Likewise.
26113         (add_magnitudes): Likewise.
26114         (sub_magnitudes): Likewise.
26115         (__add): Likewise.
26116         (__sub): Likewise.
26117         (__mul): Likewise.
26118         (__inv): Likewise.
26119         (__dvd): Likewise.
26120
26121 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26122
26123         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26124         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26125         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26126         2 && __USE_EXTERN_INLINES]: Likewise.
26127
26128 2013-01-08  Andreas Jaeger  <aj@suse.de>
26129
26130         [BZ# 14985]
26131         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26132         Remove.
26133         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26134         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26135
26136 2013-01-07  Anton Blanchard  <anton@samba.org>
26137
26138         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26139         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26140         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26141         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26142         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26143         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26144         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26145         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26147         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26148         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26149         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26150         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26151         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26152         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26153         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26154         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26155         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26156         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26157         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26158         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26159         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26160         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26161         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26162         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26163         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26164         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26165         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26167         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26168         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26170         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26171         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26172         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26173         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26174         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26175         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26176         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26177         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26178         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26179         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26180         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26181
26182 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26183
26184         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26185         (__MALLOC_PMT): Likewise.
26186         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26187         [__GNUC__], only on [_LIBC].
26188         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26189         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26190         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26191         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26192         forward declaration.
26193         (realloc_hook_ini): Likewise.
26194         (memalign_hook_ini): Likewise.
26195         (__libc_memalign): Do not use __MALLOC_PMT in variable
26196         declaration.
26197         (__libc_valloc): Likewise.
26198         (__libc_pvalloc): Likewise.
26199         (__libc_calloc): Likewise.
26200         (__posix_memalign): Likewise.
26201
26202         [BZ #14996]
26203         * math/s_casinh.c: Include <float.h>.
26204         (__casinh): Do not do computation with squaring and square root
26205         for large arguments.
26206         * math/s_casinhf.c: Include <float.h>.
26207         (__casinhf): Do not do computation with squaring and square root
26208         for large arguments.
26209         * math/s_casinhl.c: Include <float.h>.
26210         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26211         (__casinhl): Do not do computation with squaring and square root
26212         for large arguments.
26213         * math/libm-test.inc (casin_test): Add more tests.
26214         (casinh_test): Likewise.
26215         * sysdeps/i386/fpu/libm-test-ulps: Update.
26216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26217
26218 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26219
26220         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26221         (__x86_64_raw_data_cache_size): Likewise.
26222         (__x86_64_data_cache_size_half): Likewise.
26223         (__x86_64_raw_data_cache_size_half): Likewise.
26224         (__x86_64_shared_cache_size): Likewise.
26225         (__x86_64_raw_shared_cache_size): Likewise.
26226         (__x86_64_shared_cache_size_half): Likewise.
26227         (__x86_64_raw_shared_cache_size_half): Likewise.
26228         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26229         to ...
26230         (__x86_data_cache_size): This.
26231         (__x86_64_raw_data_cache_size): Renamed to ...
26232         (__x86_raw_data_cache_size): This.
26233         (__x86_64_data_cache_size_half): Renamed to ...
26234         (__x86_data_cache_size_half): This.
26235         (__x86_64_raw_data_cache_size_half): Renamed to ...
26236         (__x86_raw_data_cache_size_half): This.
26237         (__x86_64_shared_cache_size): Renamed to ...
26238         (__x86_shared_cache_size): This.
26239         (__x86_64_raw_shared_cache_size): Renamed to ...
26240         (__x86_raw_shared_cache_size): This.
26241         (__x86_64_shared_cache_size_half): Renamed to ...
26242         (__x86_shared_cache_size_half): This.
26243         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26244         (__x86_raw_shared_cache_size_half): This.
26245         * sysdeps/x86_64/memcpy.S: Updated.
26246         * sysdeps/x86_64/memset.S: Likewise.
26247         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26250
26251 2013-01-04  David S. Miller  <davem@davemloft.net>
26252
26253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26254
26255 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26256
26257         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26258         1 to avoid redefinition warning.
26259         (__USE_GNU): Don't define.
26260         (init_signaling_nan): Protoize.
26261
26262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26263
26264 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26265
26266         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26268         (__cpymn): Likewise.
26269         (norm): Remove commented code.
26270         (denorm): Likewise.
26271         (__mp_dbl): Likewise.
26272         (__inv): Likewise.
26273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26274         (__cpymn): Likewise.
26275         (norm): Remove commented code.
26276         (denorm): Likewise.
26277         (__mp_dbl): Likewise.
26278         (__inv): Likewise.
26279
26280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26281         mp_no value for 1.0 and 2.0.
26282         (norm): Use RADIXI instead of radixi.d.
26283         (denorm): Likewise.
26284         (__mul): Use 0.0 instead of zero.d.
26285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26286         mp_no value for 1.0 and 2.0.
26287         (norm): Use RADIXI instead of radixi.d.
26288         (denorm): Likewise.
26289         (__mul): Use 0.0 instead of zero.d.
26290
26291 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26292
26293         [BZ #14994]
26294         * math/s_casinh.c (__casinh): Reduce finite argument to first
26295         quadrant then set signs of results at the end.
26296         * math/s_casinhf.c (__casinhf): Likewise.
26297         * math/s_casinhl.c (__casinhl): Likewise.
26298         * math/libm-test.inc (casin_test): Add more tests.
26299         (casinh_test): Likewise.
26300         * sysdeps/i386/fpu/libm-test-ulps: Update.
26301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26302
26303 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26304
26305         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26306
26307         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26308
26309         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26310         declarations.
26311         (denorm): Likewise.
26312         (__mp_dbl): Likewise.
26313         (__inv): Likewise.
26314
26315         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26316         and adjust the header comment.
26317
26318         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26319         variable name from declaration.
26320
26321 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26322
26323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26324         Initialize COMMON_CPUID_INDEX_7 element.
26325         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26326         (CPUID_RTM): Likewise.
26327         (HAS_RTM): Likewise.
26328         (COMMON_CPUID_INDEX_7): New enum.
26329
26330 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26331
26332         [BZ #14981]
26333         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26334         size is zero, record memory as freed.
26335
26336 2013-01-03  Andreas Jaeger  <aj@suse.de>
26337
26338         * po/ia.po: Add new Interlingua translation.
26339
26340 2012-01-03  Allan McRae  <allan@archlinux.org>
26341
26342         * locale/programs/localedef.c: Fix description of '--posix' flag.
26343
26344 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26345
26346         * NEWS: Update dates in second copyright notice.
26347         * README: Update copyright dates in example.
26348         * manual/libc.texinfo: Update copyright dates.
26349         * scripts/test-installation.pl: Update copyright date in --version
26350         output.
26351
26352         * hurd/ctty-input.c: Fix copyright notice formatting.
26353         * hurd/ctty-output.c: Likewise.
26354         * hurd/dtable.c: Likewise.
26355         * hurd/hurd-raise.c: Likewise.
26356         * hurd/hurdprio.c: Likewise.
26357         * hurd/msgportdemux.c: Likewise.
26358         * misc/sys/file.h: Likewise.
26359         * misc/sys/ioctl.h: Likewise.
26360         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26361         * sysdeps/mach/hurd/chdir.c: Likewise.
26362         * sysdeps/mach/hurd/fchdir.c: Likewise.
26363         * sysdeps/mach/hurd/rename.c: Likewise.
26364         * sysdeps/mach/hurd/rmdir.c: Likewise.
26365         * sysdeps/mach/hurd/seekdir.c: Likewise.
26366         * sysdeps/mach/hurd/setsid.c: Likewise.
26367         * sysdeps/posix/wait3.c: Likewise.
26368
26369         * All files with FSF copyright notices: Update copyright dates
26370         using scripts/update-copyrights.
26371         * intl/plural.c: Regenerated.
26372         * locale/programs/charmap-kw.h: Likewise.
26373         * locale/programs/locfile-kw.h: Likewise.
26374
26375 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26376
26377         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26378         four values.
26379
26380         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26381         calculation loop and add branch prediction.
26382
26383         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26384         check access beyond bounds of m1np.
26385
26386         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26387         MPTWO.
26388         (__inv): Remove local variable MPTWO to use the global
26389         constant.
26390         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26391         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26392         variable MPTWO.
26393         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26394         MP3HALFS static const.
26395
26396 2013-01-01  David S. Miller  <davem@davemloft.net>
26397
26398         * po/ca.po: Update from translation team.
26399
26400 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26401
26402         * scripts/update-copyrights: New file.
26403         * Makeconfig: Reformat copyright notice.
26404         * ctype/ctype.h: Likewise.
26405         * debug/swprintf_chk.c: Likewise.
26406         * elf/dl-cache.c: Likewise.
26407         * elf/dl-debug.c: Likewise.
26408         * elf/dl-object.c: Likewise.
26409         * grp/initgroups.c: Likewise.
26410         * hurd/Makefile: Likewise.
26411         * hurd/hurd/signal.h: Likewise.
26412         * hurd/hurdfault.c: Likewise.
26413         * hurd/hurdioctl.c: Likewise.
26414         * hurd/hurdlookup.c: Likewise.
26415         * hurd/intr-msg.c: Likewise.
26416         * iconv/gconv_open.c: Likewise.
26417         * libio/swprintf.c: Likewise.
26418         * locale/lc-ctype.c: Likewise.
26419         * locale/nl_langinfo.c: Likewise.
26420         * mach/Machrules: Likewise.
26421         * mach/Makefile: Likewise.
26422         * malloc/obstack.h: Likewise.
26423         * manual/Makefile: Likewise.
26424         * manual/tsort.awk: Likewise.
26425         * misc/bits/stab.def: Likewise.
26426         * nis/nis_print_group_entry.c: Likewise.
26427         * nis/nis_table.c: Likewise.
26428         * nis/nss_compat/compat-pwd.c: Likewise.
26429         * nis/nss_compat/compat-spwd.c: Likewise.
26430         * po/Makefile: Likewise.
26431         * posix/fnmatch.c: Likewise.
26432         * posix/regex.h: Likewise.
26433         * resolv/Makefile: Likewise.
26434         * resolv/nss_dns/dns-network.c: Likewise.
26435         * resolv/res_hconf.c: Likewise.
26436         * scripts/gen-sorted.awk: Likewise.
26437         * soft-fp/soft-fp.h: Likewise.
26438         * stdio-common/printf.h: Likewise.
26439         * stdlib/monetary.h: Likewise.
26440         * stdlib/random.c: Likewise.
26441         * stdlib/random_r.c: Likewise.
26442         * sysdeps/generic/Makefile: Likewise.
26443         * sysdeps/gnu/Makefile: Likewise.
26444         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26445         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26446         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26447         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26448         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26450         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26451         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26452         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26453         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26454         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26455         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26456         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26457         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26458         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26459         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26460         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26461         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26462         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26463         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26464         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26465         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26466         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26467         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26468         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26469         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26470         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26471         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26472         * sysdeps/mach/hurd/errnos.awk: Likewise.
26473         * sysdeps/mach/hurd/fork.c: Likewise.
26474         * sysdeps/mach/hurd/getcwd.c: Likewise.
26475         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26476         * sysdeps/mach/hurd/mmap.c: Likewise.
26477         * sysdeps/mach/hurd/utimes.c: Likewise.
26478         * sysdeps/mach/hurd/xmknod.c: Likewise.
26479         * sysdeps/posix/profil.c: Likewise.
26480         * sysdeps/posix/readdir_r.c: Likewise.
26481         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26482         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26483         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26484         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26486         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26487         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26488         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26490         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26491         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26492         * sysdeps/pthread/lio_listio.c: Likewise.
26493         * sysdeps/sparc/dl-procinfo.h: Likewise.
26494         * sysdeps/unix/i386/sysdep.S: Likewise.
26495         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26496         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26497         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26498         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26500         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26501         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26502         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26503         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26504         * sysdeps/wordsize-32/divdi3.c: Likewise.
26505         * time/sys/time.h: Likewise.
26506         * wcsmbs/Makefile: Likewise.
26507
26508 2013-01-01  David S. Miller  <davem@davemloft.net>
26509
26510         * po/fr.po: Update from translation team.
26511
26512         * catgets/gencat.c: Update copyright year.
26513         * csu/version.c: Likewise.
26514         * debug/catchsegv.sh: Likewise.
26515         * debug/pcprofiledump.c: Likewise.
26516         * debug/xtrace.sh: Likewise.
26517         * elf/ldconfig.c: Likewise.
26518         * elf/ldd.bash.in: Likewise.
26519         * elf/pldd.c: Likewise.
26520         * elf/sotruss.ksh: Likewise.
26521         * elf/sprof.c: Likewise.
26522         * iconv/iconv_prog.c: Likewise.
26523         * iconv/iconvconfig.c: Likewise.
26524         * locale/programs/locale.c: Likewise.
26525         * locale/programs/localedef.c: Likewise.
26526         * login/programs/pt_chown.c: Likewise.
26527         * malloc/memusage.sh: Likewise.
26528         * malloc/memusagestat.c: Likewise.
26529         * malloc/mtrace.pl: Likewise.
26530         * nscd/nscd.c: Likewise.
26531         * nss/getent.c: Likewise.
26532         * nss/makedb.c: Likewise.
26533         * posix/getconf.c: Likewise.
26534
26535 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26536
26537         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26538         numbers.
26539
26540 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26541
26542         * math/bits/mathcalls.h (modf): Use __nonnull.
26543
26544 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26545
26546         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26547         (split): Use macro CN instead of the bare value.
26548         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26549         could be used.
26550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26551         instead of the bare value.
26552         (power1): Likewise.
26553
26554 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26555
26556         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26557         __ATAN_TWOM.
26558         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26559
26560         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26561         their values.
26562         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26563         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26564         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26565         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26566
26567 2012-12-28  Andreas Jaeger  <aj@suse.de>
26568
26569         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26570         values are from Linux 3.7.
26571
26572         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26573         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26574
26575 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26576
26577         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26578         TRUE case.
26579
26580         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26581         (norm): Likewise.
26582         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26583         variables with preprocessor constants.
26584         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26585         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26586         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26587
26588 2012-12-27  Bruno Haible  <bruno@clisp.org>
26589
26590         [BZ #14317]
26591         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26592         only if needed.
26593
26594 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26595
26596         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26597         and use variable directly.
26598         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26599
26600         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26601         MPONE.
26602         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26603         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26604         variable MPONE.
26605         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26607         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26608         include directive.  Remove local variable MPONE.
26609         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26610         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26611         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26612
26613 2012-12-25  David S. Miller  <davem@davemloft.net>
26614
26615         * version.h (RELEASE): Set to "development".
26616         (VERSION): Set to "2.17.90".
26617         * NEWS: Add 2.18 section.
26618
26619 2012-12-21  David S. Miller  <davem@davemloft.net>
26620
26621         * po/hr.po: Update from translation team.
26622
26623 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26624
26625         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26626
26627 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26628
26629         * NEWS:  Mention new memcpy for MIPS.
26630
26631 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26632
26633         * manual/contrib.texi (Contributors): Spelling correction.
26634
26635 2012-12-15  David S. Miller  <davem@davemloft.net>
26636
26637         * po/ru.po: Update from translation team.
26638
26639 2012-12-13  David S. Miller  <davem@davemloft.net>
26640
26641         * NEWS: Mention IFUNC testsuite enhancements.
26642
26643         * po/pl.po: Update from translation team.
26644         * po/bg.po: Likewise.
26645
26646         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26647         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26648
26649 2012-12-11  David S. Miller  <davem@davemloft.net>
26650
26651         * po/sv.po: Update from translation team.
26652
26653         * po/vi.po: Update from translation team.
26654
26655         * po/cs.po: Update from translation team.
26656
26657         * po/de.po: Update from translation team.
26658         * po/eo.po: Likewise.
26659         * po/nl.po: Likewise.
26660
26661 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26662
26663         [BZ #14246]
26664         * manual/argp.texi (Argp Helper Functions): Move node to follow
26665         Argp Parsing State.
26666
26667         [BZ #14872]
26668         * manual/conf.texi (Limits on File System Capacity): Mention if
26669         terminating null is included in the max size.
26670
26671 2012-12-10  Andreas Jaeger  <aj@suse.de>
26672
26673         * po/cs.po: Update from translation team.
26674
26675 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26676
26677         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26678         void pointer and cast to uintptr_t.
26679         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26680         path.
26681         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26682         * sysdeps/s390/s390-64/memset.S: Likewise.
26683
26684 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26685
26686         [BZ #14833]
26687         * menual/message.texi (Message Translation): Fix typos.
26688         (Helper programs for gettext): Likewise.
26689
26690 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26691
26692         [BZ #14898]
26693         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26694         Change to -1.
26695
26696 2012-12-07  David S. Miller  <davem@davemloft.net>
26697
26698         * po/libc.pot: Update.
26699
26700 2012-12-07  Richard Henderson  <rth@redhat.com>
26701
26702         [BZ #10114]
26703         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26704         normal/normal case to before the switch.
26705         (_FP_DIV): Likewise.
26706
26707 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26708             Mike Frysinger  <vapier@gentoo.org>
26709
26710         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26711         check for __NR_fadvise64_64.
26712
26713 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26714
26715         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26716         0, not just to plain "0" as a statement.
26717         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26718         with cw.
26719
26720 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26721
26722         * NEWS: Use sourceware.org in Bugzilla URL.
26723
26724 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26725
26726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26727         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26728
26729         * stdio-common/tst-put-error.c (do_test): Add newline to the
26730         padded test to ensure flush.
26731
26732 2012-12-05  Jeff Law  <law@redhat.com>
26733
26734         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26735
26736 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26737
26738         * README: Don't refer to ports add-on as distributed separately.
26739         Mention AArch64 in list of systems supported in the ports add-on.
26740
26741         * LICENSES: Add more non-FSF copyright and license notices.
26742
26743         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26744         ((unused)).
26745
26746         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26747
26748         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26749         10000 as width of padded output.
26750
26751 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26752
26753         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26754
26755         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26756         variable LX with __attribute__ ((unused)).
26757         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26758         Likewise.
26759         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26761         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26762         with __attribute__ ((unused)).
26763
26764 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26765
26766         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26767
26768 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26769
26770         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26771         (CFLAGS-nldbl-acos.c): New variable.
26772         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26773         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26774         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26775         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26776         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26777         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26778         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26779         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26780         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26781         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26782         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26783         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26784         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26785         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26786         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26787         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26788         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26789         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26790         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26791         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26792         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26793         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26794         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26795         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26796         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26797         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26798         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26799         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26800         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26801         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26802         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26803         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26804         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26805         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26806         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26807         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26808         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26809         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26810         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26811         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26812         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26813         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26814         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26815         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26816         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26817         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26818         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26819         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26820         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26821         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26822         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26823         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26824         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26825         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26826         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26827         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26828         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26829         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26830         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26831         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26832         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26833         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26834         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26835         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26836         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26837         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26838         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26839         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26840         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26841         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26842         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26843         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26844         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26845         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26846         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26847         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26848         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26849         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26850         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26851         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26852         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26853         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26854         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26855         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26856         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26857         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26858         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26859         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26860         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26861         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26862         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26863         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26864         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26865         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26866         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26867         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26868         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26869
26870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26871         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26872
26873         [BZ #14914]
26874         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26875         whole low double instead of just low 47 bits when splitting values
26876         into two parts.
26877
26878 2012-12-03  Allan McRae  <allan@archlinux.org>
26879
26880         * manual/stdio.texi (Predefined Printf Handlers): Remove
26881         @hsep and @vsep usage.
26882
26883 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26884
26885         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26886         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26887
26888 2012-12-03  Jeff Law  <law@redhat.com>
26889
26890         * time/sys/time.h (settimeofday): Do not mark TV argument
26891         as __nonnull.
26892
26893 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26894
26895         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26896         when currently writing and seek to current position when not.
26897         * libio/Makefile (tests): Remove bug-fclose1.
26898         * libio/bug-fclose1.c: Delete.
26899
26900 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26901
26902         * manual/arith.texi (feenableexcept): Fix typo.
26903         (fedisableexcept): Likewise.
26904
26905 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26906
26907         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26908         second, differently-typed declaration, rather than a cast.
26909
26910 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26911
26912         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26913         * include/rpc/svc.h: ... here.
26914
26915 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26916
26917         [BZ #13013]
26918         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26919         depending n and resplen2 to catch cases where answer
26920         equals answerp2.
26921
26922 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26923
26924         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26925         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26926
26927 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26928
26929         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26930
26931 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26932
26933         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26934
26935 2012-11-28  Jeff Law  <law@redhat.com>
26936
26937         [BZ #13761]
26938         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26939         dataset_temporary.  Track alloca usage into alloca_used.
26940         If dataset is large allocate and release it via malloc/free.
26941
26942 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26943
26944         [BZ #14197]
26945         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26946
26947 2012-11-28  David S. Miller  <davem@davemloft.net>
26948
26949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26950
26951 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26952
26953         [BZ #14803]
26954         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26955         of pi/2 rounded to nearest to 64 bits.
26956         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26957         nearest to 64 bits.
26958         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26959         bits.
26960
26961 2012-11-28  Jeff Law <law@redhat.com>
26962             Martin Osvald <mosvald@redhat.com>
26963
26964         [BZ #14889]
26965         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26966         * sunrpc/svc.c: Include time.h.
26967         (__svc_accept_failed): New function.
26968         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26969         any reason other than EINTR, call __svc_accept_failed.
26970         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26971         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26972
26973 2012-11-28  Andreas Schwab  <schwab@suse.de>
26974
26975         * scripts/abilist.awk: Also handle indirect functions in .opd
26976         section.
26977
26978 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26979
26980         [BZ #13881]
26981         * sysdeps/x86/fpu/powl_helper.c: New file.
26982         * sysdeps/x86/fpu/Makefile: Likewise.
26983         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26984         (p3): New object.
26985         (__ieee754_powl): Use __powl_helper for finite arguments except
26986         integer exponents below 8.
26987         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26988         (p3): New object.
26989         (__ieee754_powl): Use __powl_helper for finite arguments except
26990         integer exponents below 8.
26991         * math/libm-test.inc (pow_test): Add more tests and enable some
26992         previously disabled tests.
26993         * sysdeps/i386/fpu/libm-test-ulps: Update.
26994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26995
26996 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26997             Carlos O'Donell  <carlos_odonell@mentor.com>
26998
26999         * nss/makedb.c (is_prime): Assert that input is odd and greater
27000         than 4.  Note that fact in a comment too.
27001         (next_prime): Add 4 to input.
27002
27003 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27004
27005         [BZ #11741]
27006         * libio/Makefile (tests): Add test case tst-fwrite-error.
27007         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27008         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27009         * libio/tst-fwrite-error.c: New test case.
27010
27011 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27012
27013         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27014         before casting to void *.
27015         * include/libc-internal.h (__pointer_type): New macro.
27016         (__integer_if_pointer_type_sub): Likewise.
27017         (__integer_if_pointer_type): Likewise.
27018         (cast_to_integer): Likewise.
27019         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27020         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27021         before casting to atomic64_t.
27022         (atomic_exchange_acq): Likewise.
27023         (__arch_exchange_and_add_body): Likewise.
27024         (__arch_add_body): Likewise.
27025         (atomic_add_negative): Likewise.
27026         (atomic_add_zero): Likewise.
27027
27028 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27029
27030         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27031         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27032         (add_fdes): Likewise.
27033         (linear_search_fdes): Likewise.
27034         (binary_search_unencoded_fdes): Likewise.
27035
27036 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27037
27038         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27039
27040 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27041
27042         * configure.in: Autodetect C++ header directories.
27043         * configure: Regenerated.
27044
27045 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27046
27047         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27048
27049 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27050
27051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27052
27053 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27054
27055         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27056         LDBL_MANT_DIG == 106]: Disable some tests.
27057         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27058         Likewise.
27059         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27060         Likewise.
27061
27062         [BZ #14871]
27063         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27064         input for small inputs.  Return +/- pi/2 for large inputs.
27065         * math/libm-test.inc (atan_test): Add more tests.
27066
27067         * sysdeps/generic/unwind-dw2-fde-glibc.c
27068         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27069         __attribute__ ((unused)).
27070
27071         [BZ #14645]
27072         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27073         x * y if x and y are nonzero and z is zero.
27074
27075         [BZ #14811]
27076         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27077         nonzero exponents with absolute value below 0x1p-117 to +/-
27078         0x1p-117.
27079
27080         [BZ #14869]
27081         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27082         up arguments below 2**-450, not just those below 2**-500.
27083         * math/libm-test.inc (hypot_test): Add another test.
27084
27085         [BZ #14868]
27086         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27087         Return a+b for ratio over 2**120, not 2**60.
27088         * math/libm-test.inc (hypot_test): Add another test.
27089
27090         * math/libm-test.inc (clog_test): Use
27091         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27092         (clog10_test): Likewise.
27093
27094         [BZ #6778]
27095         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27096
27097 2012-11-22  Andreas Schwab  <schwab@suse.de>
27098
27099         * sysdeps/i386/fpu/libm-test-ulps: Update.
27100
27101 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27102
27103         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27104         printf output with newline.
27105
27106 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27107
27108         [BZ #14865]
27109         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27110         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27111         -z nodlopen, -z initfirst and -z execstack support.
27112         * configure: Regenerated.
27113
27114         * elf/elf.h (DF_1_NODIRECT): New macro.
27115         (DF_1_IGNMULDEF): Likewise.
27116         (DF_1_NOKSYMS): Likewise.
27117         (DF_1_NOHDR): Likewise.
27118         (DF_1_EDITED): Likewise.
27119         (DF_1_NORELOC): Likewise.
27120         (DF_1_SYMINTPOSE): Likewise.
27121         (DF_1_GLOBAUDIT): Likewise.
27122         (DF_1_SINGLETON): Likewise.
27123         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27124         DT_1_SUPPORTED_MASK bits.
27125         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27126
27127 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27128
27129         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27130
27131 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27132
27133         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27134         macro.
27135
27136         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27137         (sendmmsg): Move declarations...
27138         * socket/sys/socket.h: ... here.
27139         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27140         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27141         include it from...
27142         * socket/recvmmsg.c: ... this new file.
27143         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27144         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27145         definition of __sendmmsg hidden.
27146         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27147         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27148         Move ENOSYS stub into and include it from...
27149         * socket/sendmmsg.c: ... this new file.
27150         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27151         (sysdep_routines): Move recvmmsg and sendmmsg...
27152         * socket/Makefile (routines): ... here.
27153         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27154         (GLIBC_PRIVATE): Add __sendmmsg.
27155         * include/sys/socket.h (__sendmmsg): Add declarations.
27156         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27157         sendmmsg.
27158
27159 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27160
27161         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27162         variable I1 with __attribute__ ((unused)).
27163         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27164
27165 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27166
27167         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27168         DUMMY variables with __attribute__ ((unused)).
27169
27170         * bits/byteswap.h: Include <bits/types.h>.
27171         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27172
27173 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27174
27175         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27176         string_t.  Do not manually set errno.
27177         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27178         length with __strnlen.  Make sure to both set errno and return it on
27179         failure.
27180
27181 2012-11-19  David S. Miller  <davem@davemloft.net>
27182
27183         With help from Joseph Myers.
27184         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27185         very large arguments properly.
27186         * math/libm-test.inc (atan_test): New tests.
27187         (atan2_test): New tests.
27188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27190
27191 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27192
27193         [BZ #14856]
27194         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27195         Define to 3.
27196
27197         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27198         [POSIX] (EADDRNOTAVAIL): Likewise.
27199         [POSIX] (EAFNOSUPPORT): Likewise.
27200         [POSIX] (EALREADY): Likewise.
27201         [POSIX] (ECONNABORTED): Likewise.
27202         [POSIX] (ECONNREFUSED): Likewise.
27203         [POSIX] (ECONNRESET): Likewise.
27204         [POSIX] (EDESTADDRREQ): Likewise.
27205         [POSIX] (EDQUOT): Likewise.
27206         [POSIX] (EHOSTUNREACH): Likewise.
27207         [POSIX] (EIDRM): Likewise.
27208         [POSIX] (EISCONN): Likewise.
27209         [POSIX] (ELOOP): Likewise.
27210         [POSIX] (EMULTIHOP): Likewise.
27211         [POSIX] (ENETDOWN): Likewise.
27212         [POSIX] (ENETUNREACH): Likewise.
27213         [POSIX] (ENOBUFS): Likewise.
27214         [POSIX] (ENODATA): Likewise.
27215         [POSIX] (ENOLINK): Likewise.
27216         [POSIX] (ENOMSG): Likewise.
27217         [POSIX] (ENOPROTOOPT): Likewise.
27218         [POSIX] (ENOSR): Likewise.
27219         [POSIX] (ENOSTR): Likewise.
27220         [POSIX] (ENOTCONN): Likewise.
27221         [POSIX] (ENOTSOCK): Likewise.
27222         [POSIX] (EOPNOTSUPP): Likewise.
27223         [POSIX] (EOVERFLOW): Likewise.
27224         [POSIX] (EPROTO): Likewise.
27225         [POSIX] (EPROTONOSUPPORT): Likewise.
27226         [POSIX] (EPROTOTYPE): Likewise.
27227         [POSIX] (ESTALE): Likewise.
27228         [POSIX] (ETIME): Likewise.
27229         [POSIX] (ETXTBSY): Likewise.
27230         [POSIX] (EWOULDBLOCK): Likewise.
27231         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27232         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27233         [POSIX] (SEEK_CUR): Likewise.
27234         [POSIX] (SEEK_END): Likewise.
27235         [POSIX || UNIX98] (mode_t): Do not require.
27236         [POSIX] (off_t): Likewise.
27237         [POSIX] (pid_t): Likewise.
27238         [POSIX] (sys/stat.h): Do not allow header.
27239         [POSIX] (unistd.h): Likewise.
27240         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27241         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27242         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27243         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27244         require.
27245         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27246         sigevent): Specify elements.
27247         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27248         entry.
27249         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27250         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27251
27252         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27253         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27254         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27255         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27256         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27257         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27258         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27259         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27260         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27261         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27262         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27263         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27264         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27265         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27266         Likewise.
27267         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27268         Likewise.
27269         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27270         Likewise.
27271         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27272         Likewise.
27273         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27274         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27275         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27276         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27277         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27278         Specify lower bound on value.
27279         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27280         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27281         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27282         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27283         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27284         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27285         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27286         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27287         value.
27288         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27289         as optional.
27290         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27291         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27292         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27293         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27294         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27295         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27296         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27297         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27298         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27299         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27300         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27301         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27302         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27303         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27304         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27305         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27306         entry.
27307         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27308         optional.
27309         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27310         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27311         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27312         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27313         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27314         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27315         Likewise.
27316         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27317         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27318         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27319         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27320         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27321         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27322         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27323         as optional.
27324         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27325         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27326         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27327         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27328         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27329         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27330         specify as optional.
27331         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27332         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27333         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27334         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27335         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27336         [XPG3] (NL_LANGMAX): Likewise.
27337         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27338         [POSIX || XPG3] (NL_NMAX): Likewise.
27339         [POSIX || XPG3] (NL_SETMAX): Likewise.
27340         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27341         [XPG3] (NZERO): Likewise.
27342         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27343         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27344         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27345         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27346         (REG_ERANGE): Expect.
27347         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27348         optional-constant.
27349         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27350         Use (void) in prototype.
27351         [POSIX] (*_t): Allow.
27352         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27353         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27354         (WRDE_BADVAL): Expect.
27355
27356         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27357         expect.
27358         [XPG3 || XPG4] (O_RSYNC): Likewise.
27359         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27360         Likewise.
27361         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27362         [XPG3 || XPG4] (sigqueue): Likewise.
27363         [XPG3 || XPG4] (sigtimedwait): Likewise.
27364         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27365         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27366         [XPG3 || XPG4] (vsnprintf): Likewise.
27367         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27368         Likewise.
27369         [XPG3 || XPG4] (blksize_t): Likewise.
27370         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27371         Likewise.
27372         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27373         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27374         [XPG3 || XPG4] (struct itimerspec): Likewise.
27375         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27376         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27377         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27378         [XPG3 || XPG4] (clockid_t): Likewise.
27379         [XPG3 || XPG4] (timer_t): Likewise.
27380         [XPG3 || XPG4] (clock_getres): Likewise.
27381         [XPG3 || XPG4] (clock_gettime): Likewise.
27382         [XPG3 || XPG4] (clock_settime): Likewise.
27383         [XPG3 || XPG4] (nanosleep): Likewise.
27384         [XPG3 || XPG4] (timer_create): Likewise.
27385         [XPG3 || XPG4] (timer_delete): Likewise.
27386         [XPG3 || XPG4] (timer_gettime): Likewise.
27387         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27388         [XPG3 || XPG4] (timer_settime): Likewise.
27389         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27390         [XPG3 || XPG4] (getlogin_r): Likewise.
27391         [XPG3 || XPG4] (pread): Likewise.
27392         [XPG3 || XPG4] (pthread_atfork): Likewise.
27393         [XPG3 || XPG4] (pwrite): Likewise.
27394
27395         [BZ #14835]
27396         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27397         <bits/siginfo.h>.
27398
27399 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27400
27401         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27402         finalizing MALLSTREAM.
27403
27404         * sysdeps/mach/hurd/syncfs.c: New file.
27405
27406 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27407
27408         [BZ #14719]
27409         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27410         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27411         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27412         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27413         (_nss_dns_gethostbyname4_r): Likewise.
27414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27415         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27416
27417 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27418
27419         [BZ #13763]
27420         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27421
27422 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27423
27424         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27425         * elf/cache.c (print_entry): Print ",AArch64" for
27426         FLAG_AARCH64_LIB64
27427
27428         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27429         * elf/cache.c (print_entry): Print ",hard-float" for
27430         FLAG_ARM_LIBHF.
27431
27432 2012-11-18  David S. Miller  <davem@davemloft.net>
27433
27434         With help from Joseph Myers.
27435         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27436         cutoff to 2**-13.
27437         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27438         cutoff to 2**-25.
27439         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27440         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27441         small.
27442         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27443         * math/libm-test.inc (y0_test): New tests.
27444         (y1_test): New tests.
27445         * sysdeps/i386/fpu/libm-test-ulps: Update.
27446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27448
27449 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27450
27451         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27452         64-bit targets.
27453         * configure: Regenerated.
27454
27455 2012-11-17  David S. Miller  <davem@davemloft.net>
27456
27457         [BZ #14811]
27458         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27459         nonzero exponents with absolute value below 0x1p-128 to +/-
27460         0x1p-128.
27461
27462 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27463
27464         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27465
27466         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27467
27468         * posix/getconf-speclist.c: New file.
27469         * posix/posix-envs.def: Likewise.
27470         * posix/confstr.c (START_ENV_GROUP): New macro.
27471         (END_ENV_GROUP): Likewise.
27472         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27473         (KNOWN_PRESENT_ENV_STRING): Likewise.
27474         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27475         (UNKNOWN_ENVIRONMENT): Likewise.
27476         (confstr): Include posix-envs.def instead of handling
27477         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27478         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27479         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27480         (END_ENV_GROUP): Likewise.
27481         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27482         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27483         (UNKNOWN_ENVIRONMENT): Likewise.
27484         (__sysconf): Include posix-envs.def instead of handling associated
27485         cases directly here.
27486         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27487         preprocessing getconf-speclist.c rather than running getconf or
27488         generating empty file.
27489
27490 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27491
27492         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27493
27494 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27495
27496         [BZ #14672]
27497         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27498
27499 2012-11-16  David S. Miller  <davem@davemloft.net>
27500
27501         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27502         smaller than LDBL_EPSILON/2.0L, just return xm1.
27503
27504 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27505
27506         * elf/tst-array1.c (init): Set constructor priority to 1000.
27507         (fini): Set destructor priority to 1000.
27508         * elf/tst-array2dep.c: Likewise.
27509
27510 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27511
27512         [BZ #11741]
27513         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27514         (_IO_new_file_xsputn): Also return EOF if none of the input
27515         data was written when overflow failed.
27516         * libio/iopadn.c (_IO_padn): Likewise.
27517         * libio/iowpadn.c (_IO_wpadn): Likewise.
27518         * stdio-common/tst-put-error.c: Add copyright notice.
27519         (do_test): Add case for printing padded string.
27520         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27521         _IO_padn returned error.
27522         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27523         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27524         return EOF.
27525
27526 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27527
27528         * libio/libioP.h: Add comment note that the references to C++
27529         bits are now obsolete.
27530
27531 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27532
27533         * math/libm-test.inc (check_complex): Use asprintf.
27534
27535 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27536
27537         * debug/pcprofiledump.c (print_version): Update copyright year.
27538         * malloc/memusagestat.c (print_version): Likewise.
27539
27540 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27541
27542         [BZ #14831]
27543         * elf/Makefile (tests): Add tst-audit8.
27544         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27545         ($(objpfx)tst-audit8.out): New target.
27546         (tst-audit8-ENV): New variable.
27547         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27548         audit if l_reloc_result is NULL.
27549         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27550         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27551         * elf/tst-audit8.c: New file.
27552
27553 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27554
27555         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27556         * misc/Makefile (CFLAGS-select.c): Define.
27557         * posix/Makefile (CFLAGS-pause.c): Define.
27558
27559 2012-11-13  David S. Miller  <davem@davemloft.net>
27560
27561         * crypt/Makefile: Move test targets after toplevel Rules
27562         inclusion.  Grab any necessary sysdep routines when linking.
27563         * crypt/md5.c (md5_process_block): Remove define, we will always
27564         name it __md5_process_block.
27565         (md5_finish_ctx): Update md5_process_block call.
27566         (md5_stream): Likewise.
27567         (md5_process_bytes): Likewise.
27568         (md5_process_block): Rename to __md5_process_block and move to ...
27569         * crypt/md5-block.c: ... here.
27570         * crypt/sha256.c (sha256_process_block): Move to ...
27571         * crypt/sha256-block.c: ... here.
27572         * crypt/sha512.c (sha512_process_block): Move to ...
27573         * crypt/sha512-block.c: ... here.
27574         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27575         path.
27576         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27577         * sysdeps/sparc/sparc64/multiarch/Makefile
27578         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27579         crypt subdir.
27580         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27581         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27582         multiarch changes.
27583         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27584         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27585         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27586         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27587         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27588         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27589         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27590         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27591         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27592         file.
27593         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27594         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27595         file.
27596         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27597
27598 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27599
27600         * timezone/tzselect.ksh: Update from tzcode git revision
27601         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27602         * timezone/zdump.c: Likewise.
27603         * timezone/zic.c: Likewise.
27604         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27605         in TZVERSION setting, not $(PKGVERSION).
27606         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27607         REPORT_BUGS_TO settings.
27608
27609         [BZ #14838]
27610         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27611         macro.
27612
27613 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27614
27615         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27616         detection to immediately after _FP_ROUND().
27617         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27618         bits are 0.
27619
27620 2012-11-11  David S. Miller  <davem@davemloft.net>
27621
27622         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27623         inttypes.h
27624         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27625         __close rather than their public counterparts.
27626
27627 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27628
27629         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27630         file.
27631         [UNIX98] (sem_timedwait): Do not expect.
27632         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27633         [XPG4 || UNIX98] (sockatmark): Do not expect.
27634         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27635         (clock_getcpuclockid): Do not expect.
27636         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27637         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27638         Do not expect.
27639         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27640         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27641         [UNIX98] (vwscanf): Likewise.
27642         [UNIX98] (vswscanf): Likewise.
27643
27644 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27645
27646         * timezone/version.h: Remove file.
27647         * timezone/README: Do not refer to version.h.
27648         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27649         $(objpfx)version.h.
27650         ($(objpfx)zdump.o): Likewise.
27651         ($(objpfx)version.h): New target.
27652
27653         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27654         2012i.
27655         * timezone/README: Don't mention modification to tzselect.ksh.
27656         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27657         work on unmodified tzselect.ksh.  Substitute version numbers in
27658         tzselect.ksh.
27659
27660         * Makefile (format-me): Remove.
27661         (INSTALL): Adjust indentation.  Use commands directly instead of
27662         using $(format-me).
27663
27664         * aclocal.m4 (ACX_PKGVERSION): New macro.
27665         (ACX_BUGURL): Likewise.
27666         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27667         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27668         (REPORT_BUGS_TO): Likewise.
27669         * configure: Regenerated.
27670         * config.h.in (PKGVERSION): New macro.
27671         (REPORT_BUGS_TO): Likewise.
27672         * config.make.in (PKGVERSION): New variable.
27673         (PKGVERSION_TEXI): Likewise.
27674         (REPORT_BUGS_TO): Likewise.
27675         (REPORT_BUGS_TEXI): Likewise.
27676         * Makefile (format-me): Use -I$(common-objpfx)manual.
27677         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27678         ($(common-objpfx)manual/%): New target.
27679         (manual/%): Remove target.
27680         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27681         (print_version): Use PKGVERSION.
27682         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27683         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27684         and REPORT_BUGS_TO.
27685         ($(objpfx)xtrace): Likewise.
27686         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27687         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27688         (print_version): Use PKGVERSION.
27689         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27690         (do_version): Use PKGVERSION.
27691         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27692         REPORT_BUGS_TO.
27693         (common-ldd-rewrite): Likewise.
27694         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27695         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27696         (print_version): Use PKGVERSION.
27697         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27698         * elf/pldd.c (argp_program_bug_address): Remove variable.
27699         (more_help): New function.
27700         (argp): Use more_help.
27701         (print_version): Use PKGVERSION.
27702         * elf/sln.c (main): Use PKGVERSION.
27703         (usage): Use REPORT_BUGS_TO.
27704         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27705         (top level): Use PKGVERSION.
27706         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27707         (print_version): Use PKGVERSION.
27708         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27709         (print_version): Use PKGVERSION.
27710         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27711         (print_version): Use PKGVERSION.
27712         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27713         (print_version): Use PKGVERSION.
27714         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27715         (print_version): Use PKGVERSION.
27716         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27717         (print_version): Use PKGVERSION.
27718         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27719         and BUGURL.
27720         ($(objpfx)memusage): Likewise.
27721         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27722         (do_version): Use PKGVERSION.
27723         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27724         (print_version): Use PKGVERSION.
27725         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27726         ($PKGVERSION): New variable.
27727         ($REPORT_BUGS_TO): Likewise.
27728         (usage): Use $REPORT_BUGS_TO.
27729         (top level): Use $PKGVERSION.
27730         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27731         ($(objpfx)pkgvers.texi): New rule.
27732         ($(objpfx)stamp-pkgvers): Likewise.
27733         * manual/install.texi: Include pkgvers.texi.
27734         (--with-pkgversion): Document new configure option.
27735         (--with-bugurl): Likewise.
27736         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27737         than necessarily for this particular distribution.  Use
27738         REPORT_BUGS_TO for where to report bugs.
27739         * INSTALL: Regenerated.
27740         * manual/libc.texinfo: Include pkgvers.texi.
27741         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27742         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27743         (print_version): Use PKGVERSION.
27744         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27745         (print_version): Use PKGVERSION.
27746         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27747         (print_version): Use PKGVERSION.
27748         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27749         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27750         macro.
27751         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27752         (print_version): Use PKGVERSION.
27753         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27754         (print_version): Use PKGVERSION.
27755         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27756         and PKGVERSION.
27757
27758         * timezone/checktab.awk: Update from tzcode 2012i.
27759         * timezone/ialloc.c: Likewise.
27760         * timezone/private.h: Likewise.
27761         * timezone/scheck.c: Likewise.
27762         * timezone/tzfile.h: Likewise.
27763         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27764         (TZVERSION): Hardcode tzcode version number.
27765         * timezone/zdump.c: Update from tzcode 2012i.
27766         * timezone/zic.c: Likewise.
27767         * timezone/version.h: New file.
27768         * timezone/README: Describe version.h.  Update upstream location.
27769
27770         [BZ #14824]
27771         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27772         (mktemp): Enable declaration.
27773         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27774         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27775         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27776         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27777         Likewise.
27778         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27779         Likewise.
27780         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27781         Likewise.
27782         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27783         Likewise.
27784         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27785         Likewise.
27786         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27787         Likewise.
27788
27789         [BZ #14821]
27790         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27791         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27792         for copies of such integer values.
27793         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27794         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27795
27796 2012-11-09  Andreas Jaeger  <aj@suse.de>
27797
27798         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27799         definitions and declarations that are provided by
27800         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27801
27802 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27803
27804         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27805         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27806         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27807         definition.
27808
27809 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27810
27811         * elf/elf.h: Update comment before AArch64 relocations.
27812
27813 2012-11-07  David S. Miller  <davem@davemloft.net>
27814
27815         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27816         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27817         (__start_context): Declare.
27818         (__makecontext_ret): Delete.
27819         (__makecontext): Hook up __start_context instead of
27820         __makecontext_ret.
27821         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27822         (sysdep_routines): Add __start_context when in stdlib.
27823
27824 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27825
27826         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27827         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27828         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27829         hardcoded "nm".
27830         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27831         (READELF): New variable.  Use it instead of hardcoded "readelf".
27832
27833 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27834
27835         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27836         * sysdeps/x86/Makefile: Here.
27837         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27838         * sysdeps/x86/tst-xmmymm.sh: This.
27839
27840 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27841
27842         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27843         expectations.
27844         [UNIX98] (pthread_barrier_t): Do not expect.
27845         [UNIX98] (pthread_barrierattr_t): Likewise.
27846         [UNIX98] (pthread_spinlock_t): Likewise.
27847         [UNIX98] (pthread_barrier_destroy): Likewise.
27848         [UNIX98] (pthread_barrier_init): Likewise.
27849         [UNIX98] (pthread_barrier_wait): Likewise.
27850         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27851         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27852         [UNIX98] (pthread_barrierattr_init): Likewise.
27853         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27854         [UNIX98] (pthread_getcpuclockid): Likewise.
27855         [UNIX98] (pthread_mutex_timedlock): Likewise.
27856         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27857         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27858         [UNIX98] (pthread_sigmask): Likewise.
27859         [UNIX98] (pthread_spin_destroy): Likewise.
27860         [UNIX98] (pthread_spin_init): Likewise.
27861         [UNIX98] (pthread_spin_lock): Likewise.
27862         [UNIX98] (pthread_spin_trylock): Likewise.
27863         [UNIX98] (pthread_spin_unlock): Likewise.
27864         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27865         Do not expect.
27866         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27867         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27868         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27869         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27870         [XPG3 || XPG4] (pthread_key_t): Likewise.
27871         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27872         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27873         [XPG3 || XPG4] (pthread_once_t): Likewise.
27874         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27875         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27876         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27877         [XPG3 || XPG4] (pthread_t): Likewise.
27878
27879         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27880         not expect.
27881         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27882
27883         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27884         Change function return type to int.
27885
27886         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27887         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27888         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27889         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27890         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27891         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27892         [!POSIX] (posix_madvise): Likewise.
27893         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27894         && !UNIX98].
27895         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27896         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27897         (mode_t): Likewise.
27898         (posix_mem_offset): Likewise.
27899         (posix_typed_mem_get_info): Likewise.
27900         (posix_typed_mem_open): Likewise.
27901
27902         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27903         Change condition to [XOPEN2K8].
27904
27905         * conform/conformtest.pl: Preprocess allow-header data with -x c
27906         instead of from stdin.
27907         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27908         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27909         [C99-based standards] (cerfc): Likewise.
27910         [C99-based standards] (cexp2): Likewise.
27911         [C99-based standards] (cexpm1): Likewise.
27912         [C99-based standards] (clog10): Likewise.
27913         [C99-based standards] (clog1p): Likewise.
27914         [C99-based standards] (clog2): Likewise.
27915         [C99-based standards] (clgamma): Likewise.
27916         [C99-based standards] (ctgamma): Likewise.
27917         [C99-based standards] (cerff): Likewise.
27918         [C99-based standards] (cerfcf): Likewise.
27919         [C99-based standards] (cexp2f): Likewise.
27920         [C99-based standards] (cexpm1f): Likewise.
27921         [C99-based standards] (clog10f): Likewise.
27922         [C99-based standards] (clog1pf): Likewise.
27923         [C99-based standards] (clog2f): Likewise.
27924         [C99-based standards] (clgammaf): Likewise.
27925         [C99-based standards] (ctgammaf): Likewise.
27926         [C99-based standards] (cerfl): Likewise.
27927         [C99-based standards] (cerfcl): Likewise.
27928         [C99-based standards] (cexp2l): Likewise.
27929         [C99-based standards] (cexpm1l): Likewise.
27930         [C99-based standards] (clog10l): Likewise.
27931         [C99-based standards] (clog1pl): Likewise.
27932         [C99-based standards] (clog2l): Likewise.
27933         [C99-based standards] (clgammal): Likewise.
27934         [C99-based standards] (ctgammal): Likewise.
27935         * conform/data/inttypes.h-data [C99-based standards]: Include
27936         stdint.h-data.  Remove all expectations for stdint.h contents.
27937         [C99-based standards] (PRI*): Do not allow.
27938         [C99-based standards] (SCN*): Likewise.
27939         [C99-based standards] (*_t): Likewise.
27940         [C99-based-standards] (PRId8): Expect macro.
27941         [C99-based-standards] (PRIi8): Likewise.
27942         [C99-based-standards] (PRIo8): Likewise.
27943         [C99-based-standards] (PRIu8): Likewise.
27944         [C99-based-standards] (PRIx8): Likewise.
27945         [C99-based-standards] (PRIX8): Likewise.
27946         [C99-based-standards] (SCNd8): Likewise.
27947         [C99-based-standards] (SCNi8): Likewise.
27948         [C99-based-standards] (SCNo8): Likewise.
27949         [C99-based-standards] (SCNu8): Likewise.
27950         [C99-based-standards] (SCNx8): Likewise.
27951         [C99-based-standards] (PRIdLEAST8): Likewise.
27952         [C99-based-standards] (PRIiLEAST8): Likewise.
27953         [C99-based-standards] (PRIoLEAST8): Likewise.
27954         [C99-based-standards] (PRIuLEAST8): Likewise.
27955         [C99-based-standards] (PRIxLEAST8): Likewise.
27956         [C99-based-standards] (PRIXLEAST8): Likewise.
27957         [C99-based-standards] (SCNdLEAST8): Likewise.
27958         [C99-based-standards] (SCNiLEAST8): Likewise.
27959         [C99-based-standards] (SCNoLEAST8): Likewise.
27960         [C99-based-standards] (SCNuLEAST8): Likewise.
27961         [C99-based-standards] (SCNxLEAST8): Likewise.
27962         [C99-based-standards] (PRIdFAST8): Likewise.
27963         [C99-based-standards] (PRIiFAST8): Likewise.
27964         [C99-based-standards] (PRIoFAST8): Likewise.
27965         [C99-based-standards] (PRIuFAST8): Likewise.
27966         [C99-based-standards] (PRIxFAST8): Likewise.
27967         [C99-based-standards] (PRIXFAST8): Likewise.
27968         [C99-based-standards] (SCNdFAST8): Likewise.
27969         [C99-based-standards] (SCNiFAST8): Likewise.
27970         [C99-based-standards] (SCNoFAST8): Likewise.
27971         [C99-based-standards] (SCNuFAST8): Likewise.
27972         [C99-based-standards] (SCNxFAST8): Likewise.
27973         [C99-based-standards] (PRId16): Likewise.
27974         [C99-based-standards] (PRIi16): Likewise.
27975         [C99-based-standards] (PRIo16): Likewise.
27976         [C99-based-standards] (PRIu16): Likewise.
27977         [C99-based-standards] (PRIx16): Likewise.
27978         [C99-based-standards] (PRIX16): Likewise.
27979         [C99-based-standards] (SCNd16): Likewise.
27980         [C99-based-standards] (SCNi16): Likewise.
27981         [C99-based-standards] (SCNo16): Likewise.
27982         [C99-based-standards] (SCNu16): Likewise.
27983         [C99-based-standards] (SCNx16): Likewise.
27984         [C99-based-standards] (PRIdLEAST16): Likewise.
27985         [C99-based-standards] (PRIiLEAST16): Likewise.
27986         [C99-based-standards] (PRIoLEAST16): Likewise.
27987         [C99-based-standards] (PRIuLEAST16): Likewise.
27988         [C99-based-standards] (PRIxLEAST16): Likewise.
27989         [C99-based-standards] (PRIXLEAST16): Likewise.
27990         [C99-based-standards] (SCNdLEAST16): Likewise.
27991         [C99-based-standards] (SCNiLEAST16): Likewise.
27992         [C99-based-standards] (SCNoLEAST16): Likewise.
27993         [C99-based-standards] (SCNuLEAST16): Likewise.
27994         [C99-based-standards] (SCNxLEAST16): Likewise.
27995         [C99-based-standards] (PRIdFAST16): Likewise.
27996         [C99-based-standards] (PRIiFAST16): Likewise.
27997         [C99-based-standards] (PRIoFAST16): Likewise.
27998         [C99-based-standards] (PRIuFAST16): Likewise.
27999         [C99-based-standards] (PRIxFAST16): Likewise.
28000         [C99-based-standards] (PRIXFAST16): Likewise.
28001         [C99-based-standards] (SCNdFAST16): Likewise.
28002         [C99-based-standards] (SCNiFAST16): Likewise.
28003         [C99-based-standards] (SCNoFAST16): Likewise.
28004         [C99-based-standards] (SCNuFAST16): Likewise.
28005         [C99-based-standards] (SCNxFAST16): Likewise.
28006         [C99-based-standards] (PRId32): Likewise.
28007         [C99-based-standards] (PRIi32): Likewise.
28008         [C99-based-standards] (PRIo32): Likewise.
28009         [C99-based-standards] (PRIu32): Likewise.
28010         [C99-based-standards] (PRIx32): Likewise.
28011         [C99-based-standards] (PRIX32): Likewise.
28012         [C99-based-standards] (SCNd32): Likewise.
28013         [C99-based-standards] (SCNi32): Likewise.
28014         [C99-based-standards] (SCNo32): Likewise.
28015         [C99-based-standards] (SCNu32): Likewise.
28016         [C99-based-standards] (SCNx32): Likewise.
28017         [C99-based-standards] (PRIdLEAST32): Likewise.
28018         [C99-based-standards] (PRIiLEAST32): Likewise.
28019         [C99-based-standards] (PRIoLEAST32): Likewise.
28020         [C99-based-standards] (PRIuLEAST32): Likewise.
28021         [C99-based-standards] (PRIxLEAST32): Likewise.
28022         [C99-based-standards] (PRIXLEAST32): Likewise.
28023         [C99-based-standards] (SCNdLEAST32): Likewise.
28024         [C99-based-standards] (SCNiLEAST32): Likewise.
28025         [C99-based-standards] (SCNoLEAST32): Likewise.
28026         [C99-based-standards] (SCNuLEAST32): Likewise.
28027         [C99-based-standards] (SCNxLEAST32): Likewise.
28028         [C99-based-standards] (PRIdFAST32): Likewise.
28029         [C99-based-standards] (PRIiFAST32): Likewise.
28030         [C99-based-standards] (PRIoFAST32): Likewise.
28031         [C99-based-standards] (PRIuFAST32): Likewise.
28032         [C99-based-standards] (PRIxFAST32): Likewise.
28033         [C99-based-standards] (PRIXFAST32): Likewise.
28034         [C99-based-standards] (SCNdFAST32): Likewise.
28035         [C99-based-standards] (SCNiFAST32): Likewise.
28036         [C99-based-standards] (SCNoFAST32): Likewise.
28037         [C99-based-standards] (SCNuFAST32): Likewise.
28038         [C99-based-standards] (SCNxFAST32): Likewise.
28039         [C99-based-standards] (PRId64): Likewise.
28040         [C99-based-standards] (PRIi64): Likewise.
28041         [C99-based-standards] (PRIo64): Likewise.
28042         [C99-based-standards] (PRIu64): Likewise.
28043         [C99-based-standards] (PRIx64): Likewise.
28044         [C99-based-standards] (PRIX64): Likewise.
28045         [C99-based-standards] (SCNd64): Likewise.
28046         [C99-based-standards] (SCNi64): Likewise.
28047         [C99-based-standards] (SCNo64): Likewise.
28048         [C99-based-standards] (SCNu64): Likewise.
28049         [C99-based-standards] (SCNx64): Likewise.
28050         [C99-based-standards] (PRIdLEAST64): Likewise.
28051         [C99-based-standards] (PRIiLEAST64): Likewise.
28052         [C99-based-standards] (PRIoLEAST64): Likewise.
28053         [C99-based-standards] (PRIuLEAST64): Likewise.
28054         [C99-based-standards] (PRIxLEAST64): Likewise.
28055         [C99-based-standards] (PRIXLEAST64): Likewise.
28056         [C99-based-standards] (SCNdLEAST64): Likewise.
28057         [C99-based-standards] (SCNiLEAST64): Likewise.
28058         [C99-based-standards] (SCNoLEAST64): Likewise.
28059         [C99-based-standards] (SCNuLEAST64): Likewise.
28060         [C99-based-standards] (SCNxLEAST64): Likewise.
28061         [C99-based-standards] (PRIdFAST64): Likewise.
28062         [C99-based-standards] (PRIiFAST64): Likewise.
28063         [C99-based-standards] (PRIoFAST64): Likewise.
28064         [C99-based-standards] (PRIuFAST64): Likewise.
28065         [C99-based-standards] (PRIxFAST64): Likewise.
28066         [C99-based-standards] (PRIXFAST64): Likewise.
28067         [C99-based-standards] (SCNdFAST64): Likewise.
28068         [C99-based-standards] (SCNiFAST64): Likewise.
28069         [C99-based-standards] (SCNoFAST64): Likewise.
28070         [C99-based-standards] (SCNuFAST64): Likewise.
28071         [C99-based-standards] (SCNxFAST64): Likewise.
28072         [C99-based-standards] (PRIdMAX): Likewise.
28073         [C99-based-standards] (PRIiMAX): Likewise.
28074         [C99-based-standards] (PRIoMAX): Likewise.
28075         [C99-based-standards] (PRIuMAX): Likewise.
28076         [C99-based-standards] (PRIxMAX): Likewise.
28077         [C99-based-standards] (PRIXMAX): Likewise.
28078         [C99-based-standards] (SCNdMAX): Likewise.
28079         [C99-based-standards] (SCNiMAX): Likewise.
28080         [C99-based-standards] (SCNoMAX): Likewise.
28081         [C99-based-standards] (SCNuMAX): Likewise.
28082         [C99-based-standards] (SCNxMAX): Likewise.
28083         [C99-based-standards] (PRIdPTR): Likewise.
28084         [C99-based-standards] (PRIiPTR): Likewise.
28085         [C99-based-standards] (PRIoPTR): Likewise.
28086         [C99-based-standards] (PRIuPTR): Likewise.
28087         [C99-based-standards] (PRIxPTR): Likewise.
28088         [C99-based-standards] (PRIXPTR): Likewise.
28089         [C99-based-standards] (SCNdPTR): Likewise.
28090         [C99-based-standards] (SCNiPTR): Likewise.
28091         [C99-based-standards] (SCNoPTR): Likewise.
28092         [C99-based-standards] (SCNuPTR): Likewise.
28093         [C99-based-standards] (SCNxPTR): Likewise.
28094         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28095         allow.
28096         * conform/data/stdint.h-data: Update comments to clarify
28097         requirements.
28098         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28099         type.
28100         [C99-based standards] (INT8_MAX): Likewise.
28101         [C99-based standards] (INT16_MIN): Likewise.
28102         [C99-based standards] (INT16_MAX): Likewise.
28103         [C99-based standards] (INT32_MIN): Likewise.
28104         [C99-based standards] (INT32_MAX): Likewise.
28105         [C99-based standards] (INT64_MIN): Likewise.
28106         [C99-based standards] (INT64_MAX): Likewise.
28107         [C99-based standards] (UINT8_MAX): Likewise.
28108         [C99-based standards] (UINT16_MAX): Likewise.
28109         [C99-based standards] (UINT32_MAX): Likewise.
28110         [C99-based standards] (UINT64_MAX): Likewise.
28111         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28112         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28113         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28114         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28115         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28116         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28117         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28118         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28119         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28120         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28121         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28122         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28123         [C99-based standards] (INT_FAST8_MIN): Likewise.
28124         [C99-based standards] (INT_FAST8_MAX): Likewise.
28125         [C99-based standards] (INT_FAST16_MIN): Likewise.
28126         [C99-based standards] (INT_FAST16_MAX): Likewise.
28127         [C99-based standards] (INT_FAST32_MIN): Likewise.
28128         [C99-based standards] (INT_FAST32_MAX): Likewise.
28129         [C99-based standards] (INT_FAST64_MIN): Likewise.
28130         [C99-based standards] (INT_FAST64_MAX): Likewise.
28131         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28132         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28133         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28134         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28135         [C99-based standards] (INTPTR_MIN): Likewise.
28136         [C99-based standards] (INTPTR_MAX): Likewise.
28137         [C99-based standards] (UINTPTR_MAX): Likewise.
28138         [C99-based standards] (INTMAX_MIN): Likewise.
28139         [C99-based standards] (INTMAX_MAX): Likewise.
28140         [C99-based standards] (UINTMAX_MAX): Likewise.
28141         [C99-based standards] (PTRDIFF_MIN): Likewise.
28142         [C99-based standards] (PTRDIFF_MAX): Likewise.
28143         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28144         [C99-based standards] (SIZE_MAX): Likewise.
28145         [C99-based standards] (WCHAR_MAX): Likewise.
28146         [C99-based standards] (WINT_MAX): Likewise.
28147         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28148         constraint on value.
28149         [C99-based standards] (WCHAR_MIN): Likewise.
28150         [C99-based standards] (WINT_MIN): Likewise.
28151         [C99-based standards] (*_t): Allow.
28152         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28153         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28154         Include math.h-data and complex.h-data.  Remove all expectations
28155         of math.h and complex.h contents.
28156         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28157         at end of line.
28158         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28159         (struct tm): Expect tag.
28160         [C99-based-standards] (wcstof): Expect function.
28161         [C99-based-standards] (wcstold): Likewise.
28162         [C99-based-standards] (wcstoll): Likewise.
28163         [C99-based-standards] (wcstoull): Likewise.
28164         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28165         macro-int-constant.  Specify type.
28166         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28167         constraint on value.
28168         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28169         Specify type.
28170         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28171         Specify value.
28172         [ISO C standards]: Do not allow headers.
28173         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28174         wcs[abcdefghijklmnopqrstuvwxyz]*.
28175         [ISO C standards] (*_t): Do not allow.
28176         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28177         Expect function.
28178         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28179         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28180         Specify type.
28181         [ISO C standards]: Do not allow headers.
28182         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28183         is[abcdefghijklmnopqrstuvwxyz]*.
28184         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28185         to[abcdefghijklmnopqrstuvwxyz]*.
28186         [ISO C standards] (*_t): Do not allow.
28187         * conform/data/stdalign.h-data: New file.
28188         * conform/data/stdbool.h-data: Likewise.
28189         * conform/data/stdnoreturn.h-data: Likewise.
28190
28191 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28192
28193         [BZ #14815]
28194         * manual/filesys.texi (Directory Entries): Typo fix.
28195         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28196
28197 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28198
28199         * elf/elf.h (EM_AARCH64): New macro.
28200         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28201         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28202         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28203         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28204         (R_AARCH64_TLSDESC): Likewise.
28205         (NT_ARM_TLS): Likewise.
28206         (NT_ARM_HW_BREAK): Likewise.
28207         (NT_ARM_HW_WATCH): Likewise.
28208
28209 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28210
28211         [BZ #14811]
28212         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28213         (__ieee754_powl): Saturate nonzero exponents with absolute value
28214         below 0x1p-79 to +/- 0x1p-79.
28215         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28216         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28217         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28218         nonzero exponents with absolute value below 0x1p-32 to +/-
28219         0x1p-32.
28220         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28221         (__ieee754_powl): Saturate nonzero exponents with absolute value
28222         below 0x1p-79 to +/- 0x1p-79.
28223         * math/libm-test.inc (pow_test): Add more tests.
28224
28225 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28226
28227         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28228         _dl_s390_cap_flags with kernel. Increase string length.
28229         (_dl_s390_platforms): Add z196 and zEC12.
28230
28231 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28232
28233         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28234         Change XOPEN21K to XOPEN2K.
28235
28236 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28237
28238         * string/memmove.c: Use memcpy when possible.
28239
28240 2012-11-06  Andreas Jaeger  <aj@suse.de>
28241
28242         * po/eo.po: Update from translation team.
28243
28244 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28245
28246         [BZ #14793]
28247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28248         exponent and small x and y exponents, scale x or y up.  Increase
28249         by 2 the exponent used in scaling up.
28250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28251         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28252         * math/libm-test.inc (fma_test): Add more tests.
28253         (fma_test_towardzero): Likewise.
28254         (fma_test_downward): Likewise.
28255         (fma_test_upward): Likewise.
28256
28257 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28258
28259         [BZ #14805]
28260         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28261         fenv_t *.
28262
28263         [BZ #14801]
28264         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28265         namespace for names of struct fields.
28266         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28267         fenv_t fields.
28268         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28269         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28270
28271 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28272
28273         [BZ #3665]
28274         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28275
28276 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28277
28278         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28279         PTR_DEMANGLE.
28280
28281         [BZ #5246]
28282         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28283         PTR_DEMANGLE.
28284
28285 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28286
28287         [BZ #14797]
28288         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28289         definitely overflow as x * y not x * y + z.
28290         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28291         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28292         * math/libm-test.inc (fma_test): Add more tests.
28293         (fma_test_towardzero): Likewise.
28294         (fma_test_downward): Likewise.
28295         (fma_test_upward): Likewise.
28296
28297 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28298
28299         [BZ #157]
28300
28301         * include/stub-tag.h: Remove file.
28302         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28303         '#include' of it.
28304         * manual/maint.texi (Porting): Don't reference it.
28305         * Makerules ($(objpfx)stubs): Likewise.
28306         * dirent/closedir.c: Don't include <stub-tag.h>.
28307         * dirent/dirfd.c: Likewise.
28308         * dirent/fdopendir.c: Likewise.
28309         * dirent/getdents.c: Likewise.
28310         * dirent/getdents64.c: Likewise.
28311         * dirent/opendir.c: Likewise.
28312         * dirent/readdir.c: Likewise.
28313         * dirent/readdir64.c: Likewise.
28314         * dirent/readdir64_r.c: Likewise.
28315         * dirent/readdir_r.c: Likewise.
28316         * dirent/rewinddir.c: Likewise.
28317         * dirent/seekdir.c: Likewise.
28318         * dirent/telldir.c: Likewise.
28319         * gmon/profil.c: Likewise.
28320         * grp/setgroups.c: Likewise.
28321         * inet/if_index.c: Likewise.
28322         * io/access.c: Likewise.
28323         * io/chdir.c: Likewise.
28324         * io/chmod.c: Likewise.
28325         * io/chown.c: Likewise.
28326         * io/close.c: Likewise.
28327         * io/dup.c: Likewise.
28328         * io/dup2.c: Likewise.
28329         * io/dup3.c: Likewise.
28330         * io/euidaccess.c: Likewise.
28331         * io/faccessat.c: Likewise.
28332         * io/fchdir.c: Likewise.
28333         * io/fchmod.c: Likewise.
28334         * io/fchmodat.c: Likewise.
28335         * io/fchown.c: Likewise.
28336         * io/fchownat.c: Likewise.
28337         * io/fcntl.c: Likewise.
28338         * io/flock.c: Likewise.
28339         * io/fstatfs.c: Likewise.
28340         * io/fstatfs64.c: Likewise.
28341         * io/fstatvfs.c: Likewise.
28342         * io/fstatvfs64.c: Likewise.
28343         * io/futimens.c: Likewise.
28344         * io/fxstat.c: Likewise.
28345         * io/fxstat64.c: Likewise.
28346         * io/fxstatat.c: Likewise.
28347         * io/fxstatat64.c: Likewise.
28348         * io/getcwd.c: Likewise.
28349         * io/isatty.c: Likewise.
28350         * io/lchmod.c: Likewise.
28351         * io/lchown.c: Likewise.
28352         * io/link.c: Likewise.
28353         * io/linkat.c: Likewise.
28354         * io/lseek.c: Likewise.
28355         * io/lseek64.c: Likewise.
28356         * io/lxstat64.c: Likewise.
28357         * io/mkdir.c: Likewise.
28358         * io/mkdirat.c: Likewise.
28359         * io/mkfifo.c: Likewise.
28360         * io/mkfifoat.c: Likewise.
28361         * io/open.c: Likewise.
28362         * io/open64.c: Likewise.
28363         * io/openat.c: Likewise.
28364         * io/openat64.c: Likewise.
28365         * io/pipe.c: Likewise.
28366         * io/pipe2.c: Likewise.
28367         * io/poll.c: Likewise.
28368         * io/posix_fadvise.c: Likewise.
28369         * io/posix_fadvise64.c: Likewise.
28370         * io/posix_fallocate.c: Likewise.
28371         * io/posix_fallocate64.c: Likewise.
28372         * io/read.c: Likewise.
28373         * io/readlink.c: Likewise.
28374         * io/readlinkat.c: Likewise.
28375         * io/rmdir.c: Likewise.
28376         * io/sendfile.c: Likewise.
28377         * io/sendfile64.c: Likewise.
28378         * io/statfs.c: Likewise.
28379         * io/statfs64.c: Likewise.
28380         * io/statvfs.c: Likewise.
28381         * io/statvfs64.c: Likewise.
28382         * io/symlink.c: Likewise.
28383         * io/symlinkat.c: Likewise.
28384         * io/ttyname.c: Likewise.
28385         * io/ttyname_r.c: Likewise.
28386         * io/umask.c: Likewise.
28387         * io/unlink.c: Likewise.
28388         * io/unlinkat.c: Likewise.
28389         * io/utime.c: Likewise.
28390         * io/utimensat.c: Likewise.
28391         * io/write.c: Likewise.
28392         * io/xmknod.c: Likewise.
28393         * io/xmknodat.c: Likewise.
28394         * io/xstat.c: Likewise.
28395         * io/xstat64.c: Likewise.
28396         * login/getpt.c: Likewise.
28397         * login/grantpt.c: Likewise.
28398         * login/unlockpt.c: Likewise.
28399         * math/e_acoshl.c: Likewise.
28400         * math/e_acosl.c: Likewise.
28401         * math/e_asinl.c: Likewise.
28402         * math/e_atan2l.c: Likewise.
28403         * math/e_atanhl.c: Likewise.
28404         * math/e_coshl.c: Likewise.
28405         * math/e_expl.c: Likewise.
28406         * math/e_fmodl.c: Likewise.
28407         * math/e_gammal_r.c: Likewise.
28408         * math/e_hypotl.c: Likewise.
28409         * math/e_j0l.c: Likewise.
28410         * math/e_j1l.c: Likewise.
28411         * math/e_jnl.c: Likewise.
28412         * math/e_lgammal_r.c: Likewise.
28413         * math/e_log10l.c: Likewise.
28414         * math/e_log2l.c: Likewise.
28415         * math/e_logl.c: Likewise.
28416         * math/e_powl.c: Likewise.
28417         * math/e_rem_pio2l.c: Likewise.
28418         * math/e_sinhl.c: Likewise.
28419         * math/e_sqrtl.c: Likewise.
28420         * math/fclrexcpt.c: Likewise.
28421         * math/fedisblxcpt.c: Likewise.
28422         * math/feenablxcpt.c: Likewise.
28423         * math/fegetenv.c: Likewise.
28424         * math/fegetexcept.c: Likewise.
28425         * math/fegetround.c: Likewise.
28426         * math/feholdexcpt.c: Likewise.
28427         * math/fesetenv.c: Likewise.
28428         * math/fesetround.c: Likewise.
28429         * math/feupdateenv.c: Likewise.
28430         * math/fgetexcptflg.c: Likewise.
28431         * math/fraiseexcpt.c: Likewise.
28432         * math/fsetexcptflg.c: Likewise.
28433         * math/ftestexcept.c: Likewise.
28434         * math/k_cosl.c: Likewise.
28435         * math/k_rem_pio2l.c: Likewise.
28436         * math/k_sinl.c: Likewise.
28437         * math/k_tanl.c: Likewise.
28438         * math/s_asinhl.c: Likewise.
28439         * math/s_atanl.c: Likewise.
28440         * math/s_cbrtl.c: Likewise.
28441         * math/s_erfl.c: Likewise.
28442         * math/s_expm1l.c: Likewise.
28443         * math/s_log1pl.c: Likewise.
28444         * math/s_tanhl.c: Likewise.
28445         * misc/acct.c: Likewise.
28446         * misc/brk.c: Likewise.
28447         * misc/chflags.c: Likewise.
28448         * misc/chroot.c: Likewise.
28449         * misc/fchflags.c: Likewise.
28450         * misc/fgetxattr.c: Likewise.
28451         * misc/flistxattr.c: Likewise.
28452         * misc/fremovexattr.c: Likewise.
28453         * misc/fsetxattr.c: Likewise.
28454         * misc/fsync.c: Likewise.
28455         * misc/ftruncate.c: Likewise.
28456         * misc/futimes.c: Likewise.
28457         * misc/futimesat.c: Likewise.
28458         * misc/getdomain.c: Likewise.
28459         * misc/getdtsz.c: Likewise.
28460         * misc/gethostid.c: Likewise.
28461         * misc/gethostname.c: Likewise.
28462         * misc/getloadavg.c: Likewise.
28463         * misc/getpagesize.c: Likewise.
28464         * misc/getsysstats.c: Likewise.
28465         * misc/getxattr.c: Likewise.
28466         * misc/gtty.c: Likewise.
28467         * misc/ioctl.c: Likewise.
28468         * misc/lgetxattr.c: Likewise.
28469         * misc/listxattr.c: Likewise.
28470         * misc/llistxattr.c: Likewise.
28471         * misc/lremovexattr.c: Likewise.
28472         * misc/lsetxattr.c: Likewise.
28473         * misc/lutimes.c: Likewise.
28474         * misc/madvise.c: Likewise.
28475         * misc/mincore.c: Likewise.
28476         * misc/mlock.c: Likewise.
28477         * misc/mlockall.c: Likewise.
28478         * misc/mmap.c: Likewise.
28479         * misc/mprotect.c: Likewise.
28480         * misc/msync.c: Likewise.
28481         * misc/munlock.c: Likewise.
28482         * misc/munlockall.c: Likewise.
28483         * misc/munmap.c: Likewise.
28484         * misc/preadv.c: Likewise.
28485         * misc/preadv64.c: Likewise.
28486         * misc/ptrace.c: Likewise.
28487         * misc/pwritev.c: Likewise.
28488         * misc/pwritev64.c: Likewise.
28489         * misc/readv.c: Likewise.
28490         * misc/reboot.c: Likewise.
28491         * misc/remap_file_pages.c: Likewise.
28492         * misc/removexattr.c: Likewise.
28493         * misc/revoke.c: Likewise.
28494         * misc/select.c: Likewise.
28495         * misc/setdomain.c: Likewise.
28496         * misc/setegid.c: Likewise.
28497         * misc/seteuid.c: Likewise.
28498         * misc/sethostid.c: Likewise.
28499         * misc/sethostname.c: Likewise.
28500         * misc/setregid.c: Likewise.
28501         * misc/setreuid.c: Likewise.
28502         * misc/setxattr.c: Likewise.
28503         * misc/sstk.c: Likewise.
28504         * misc/stty.c: Likewise.
28505         * misc/swapoff.c: Likewise.
28506         * misc/swapon.c: Likewise.
28507         * misc/sync.c: Likewise.
28508         * misc/syncfs.c: Likewise.
28509         * misc/syscall.c: Likewise.
28510         * misc/truncate.c: Likewise.
28511         * misc/ualarm.c: Likewise.
28512         * misc/usleep.c: Likewise.
28513         * misc/ustat.c: Likewise.
28514         * misc/utimes.c: Likewise.
28515         * misc/vhangup.c: Likewise.
28516         * misc/writev.c: Likewise.
28517         * posix/_exit.c: Likewise.
28518         * posix/alarm.c: Likewise.
28519         * posix/execve.c: Likewise.
28520         * posix/fexecve.c: Likewise.
28521         * posix/fork.c: Likewise.
28522         * posix/fpathconf.c: Likewise.
28523         * posix/getaddrinfo.c: Likewise.
28524         * posix/getegid.c: Likewise.
28525         * posix/geteuid.c: Likewise.
28526         * posix/getgid.c: Likewise.
28527         * posix/getgroups.c: Likewise.
28528         * posix/getlogin.c: Likewise.
28529         * posix/getlogin_r.c: Likewise.
28530         * posix/getpgid.c: Likewise.
28531         * posix/getpid.c: Likewise.
28532         * posix/getppid.c: Likewise.
28533         * posix/getresgid.c: Likewise.
28534         * posix/getresuid.c: Likewise.
28535         * posix/getsid.c: Likewise.
28536         * posix/getuid.c: Likewise.
28537         * posix/glob64.c: Likewise.
28538         * posix/nanosleep.c: Likewise.
28539         * posix/pathconf.c: Likewise.
28540         * posix/pause.c: Likewise.
28541         * posix/posix_madvise.c: Likewise.
28542         * posix/pread.c: Likewise.
28543         * posix/pread64.c: Likewise.
28544         * posix/pwrite.c: Likewise.
28545         * posix/pwrite64.c: Likewise.
28546         * posix/sched_getaffinity.c: Likewise.
28547         * posix/sched_getp.c: Likewise.
28548         * posix/sched_gets.c: Likewise.
28549         * posix/sched_primax.c: Likewise.
28550         * posix/sched_primin.c: Likewise.
28551         * posix/sched_rr_gi.c: Likewise.
28552         * posix/sched_setaffinity.c: Likewise.
28553         * posix/sched_setp.c: Likewise.
28554         * posix/sched_sets.c: Likewise.
28555         * posix/sched_yield.c: Likewise.
28556         * posix/setgid.c: Likewise.
28557         * posix/setlogin.c: Likewise.
28558         * posix/setpgid.c: Likewise.
28559         * posix/setresgid.c: Likewise.
28560         * posix/setresuid.c: Likewise.
28561         * posix/setsid.c: Likewise.
28562         * posix/setuid.c: Likewise.
28563         * posix/sleep.c: Likewise.
28564         * posix/spawni.c: Likewise.
28565         * posix/sysconf.c: Likewise.
28566         * posix/times.c: Likewise.
28567         * posix/wait.c: Likewise.
28568         * posix/wait3.c: Likewise.
28569         * posix/wait4.c: Likewise.
28570         * posix/waitpid.c: Likewise.
28571         * resolv/gai_sigqueue.c: Likewise.
28572         * resource/getpriority.c: Likewise.
28573         * resource/getrlimit.c: Likewise.
28574         * resource/getrusage.c: Likewise.
28575         * resource/nice.c: Likewise.
28576         * resource/setpriority.c: Likewise.
28577         * resource/setrlimit.c: Likewise.
28578         * resource/ulimit.c: Likewise.
28579         * rt/aio_cancel.c: Likewise.
28580         * rt/aio_fsync.c: Likewise.
28581         * rt/aio_read.c: Likewise.
28582         * rt/aio_sigqueue.c: Likewise.
28583         * rt/aio_suspend.c: Likewise.
28584         * rt/aio_write.c: Likewise.
28585         * rt/clock_getres.c: Likewise.
28586         * rt/clock_gettime.c: Likewise.
28587         * rt/clock_nanosleep.c: Likewise.
28588         * rt/clock_settime.c: Likewise.
28589         * rt/lio_listio.c: Likewise.
28590         * rt/mq_close.c: Likewise.
28591         * rt/mq_getattr.c: Likewise.
28592         * rt/mq_notify.c: Likewise.
28593         * rt/mq_open.c: Likewise.
28594         * rt/mq_receive.c: Likewise.
28595         * rt/mq_send.c: Likewise.
28596         * rt/mq_setattr.c: Likewise.
28597         * rt/mq_timedreceive.c: Likewise.
28598         * rt/mq_timedsend.c: Likewise.
28599         * rt/mq_unlink.c: Likewise.
28600         * rt/shm_open.c: Likewise.
28601         * rt/shm_unlink.c: Likewise.
28602         * rt/timer_create.c: Likewise.
28603         * rt/timer_delete.c: Likewise.
28604         * rt/timer_getoverr.c: Likewise.
28605         * rt/timer_gettime.c: Likewise.
28606         * rt/timer_settime.c: Likewise.
28607         * setjmp/__longjmp.c: Likewise.
28608         * setjmp/setjmp.c: Likewise.
28609         * signal/kill.c: Likewise.
28610         * signal/killpg.c: Likewise.
28611         * signal/raise.c: Likewise.
28612         * signal/sigaction.c: Likewise.
28613         * signal/sigaltstack.c: Likewise.
28614         * signal/sigblock.c: Likewise.
28615         * signal/sigignore.c: Likewise.
28616         * signal/sigintr.c: Likewise.
28617         * signal/signal.c: Likewise.
28618         * signal/sigpause.c: Likewise.
28619         * signal/sigpending.c: Likewise.
28620         * signal/sigqueue.c: Likewise.
28621         * signal/sigreturn.c: Likewise.
28622         * signal/sigset.c: Likewise.
28623         * signal/sigsetmask.c: Likewise.
28624         * signal/sigstack.c: Likewise.
28625         * signal/sigsuspend.c: Likewise.
28626         * signal/sigtimedwait.c: Likewise.
28627         * signal/sigvec.c: Likewise.
28628         * signal/sigwait.c: Likewise.
28629         * signal/sigwaitinfo.c: Likewise.
28630         * signal/sysv_signal.c: Likewise.
28631         * socket/accept.c: Likewise.
28632         * socket/accept4.c: Likewise.
28633         * socket/bind.c: Likewise.
28634         * socket/connect.c: Likewise.
28635         * socket/getpeername.c: Likewise.
28636         * socket/getsockname.c: Likewise.
28637         * socket/getsockopt.c: Likewise.
28638         * socket/isfdtype.c: Likewise.
28639         * socket/listen.c: Likewise.
28640         * socket/recv.c: Likewise.
28641         * socket/recvfrom.c: Likewise.
28642         * socket/recvmsg.c: Likewise.
28643         * socket/send.c: Likewise.
28644         * socket/sendmsg.c: Likewise.
28645         * socket/sendto.c: Likewise.
28646         * socket/setsockopt.c: Likewise.
28647         * socket/shutdown.c: Likewise.
28648         * socket/sockatmark.c: Likewise.
28649         * socket/socket.c: Likewise.
28650         * socket/socketpair.c: Likewise.
28651         * stdio-common/ctermid.c: Likewise.
28652         * stdio-common/cuserid.c: Likewise.
28653         * stdio-common/remove.c: Likewise.
28654         * stdio-common/rename.c: Likewise.
28655         * stdio-common/renameat.c: Likewise.
28656         * stdio-common/tempname.c: Likewise.
28657         * stdlib/getcontext.c: Likewise.
28658         * stdlib/makecontext.c: Likewise.
28659         * stdlib/setcontext.c: Likewise.
28660         * stdlib/swapcontext.c: Likewise.
28661         * stdlib/system.c: Likewise.
28662         * streams/fattach.c: Likewise.
28663         * streams/fdetach.c: Likewise.
28664         * streams/getmsg.c: Likewise.
28665         * streams/getpmsg.c: Likewise.
28666         * streams/putmsg.c: Likewise.
28667         * streams/putpmsg.c: Likewise.
28668         * sysdeps/unix/bsd/getpt.c: Likewise.
28669         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28670         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28671         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28673         Likewise.
28674         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28675         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28676         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28677         * sysvipc/msgctl.c: Likewise.
28678         * sysvipc/msgget.c: Likewise.
28679         * sysvipc/msgrcv.c: Likewise.
28680         * sysvipc/msgsnd.c: Likewise.
28681         * sysvipc/semctl.c: Likewise.
28682         * sysvipc/semget.c: Likewise.
28683         * sysvipc/semop.c: Likewise.
28684         * sysvipc/semtimedop.c: Likewise.
28685         * sysvipc/shmat.c: Likewise.
28686         * sysvipc/shmctl.c: Likewise.
28687         * sysvipc/shmdt.c: Likewise.
28688         * sysvipc/shmget.c: Likewise.
28689         * termios/tcdrain.c: Likewise.
28690         * termios/tcflow.c: Likewise.
28691         * termios/tcflush.c: Likewise.
28692         * termios/tcgetattr.c: Likewise.
28693         * termios/tcgetpgrp.c: Likewise.
28694         * termios/tcsendbrk.c: Likewise.
28695         * termios/tcsetattr.c: Likewise.
28696         * termios/tcsetpgrp.c: Likewise.
28697         * time/adjtime.c: Likewise.
28698         * time/clock.c: Likewise.
28699         * time/getitimer.c: Likewise.
28700         * time/gettimeofday.c: Likewise.
28701         * time/setitimer.c: Likewise.
28702         * time/settimeofday.c: Likewise.
28703         * time/stime.c: Likewise.
28704         * time/time.c: Likewise.
28705
28706 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28707
28708         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28709         /usr/old/bin.
28710
28711         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28712         instead of spaces.
28713         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28714
28715 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28716
28717         [BZ #14796]
28718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28719         FE_TONEAREST before applying Dekker multiplication and Knuth
28720         addition.  Clear inexact exceptions and check for exact zero
28721         results afterwards.
28722         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28723         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28724         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28725         * math/libm-test.inc (fma_test): Add more tests.
28726         (fma_test_towardzero): Likewise.
28727         (fma_test_downward): Likewise.
28728         (fma_test_upward): Likewise.
28729         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28730         function.
28731         (libc_fesetround): New macro.
28732         (libc_fesetroundf): Likewise.
28733         (libc_fesetroundl): Likewise.
28734         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28735         function.
28736         (libc_fesetround_387): Likewise.
28737         (libc_fesetroundf): New macro.
28738         (libc_fesetround): Likewise.
28739         (libc_fesetroundl): Likewise.
28740         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28741         function.
28742         (libc_fesetroundf): New macro.
28743         (libc_fesetround): Likewise.
28744         (libc_fesetroundl): Likewise.
28745         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28746         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28747         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28748         libm_hidden_ver.
28749         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28750         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28751         libm_hidden_def.
28752         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28753         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28754         libm_hidden_ver.
28755         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28756         libm_hidden_def.
28757
28758         [BZ #3439]
28759         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28760         integer constant usable in #if and use that to give value to enum
28761         constant.
28762         (FE_DIVBYZERO): Likewise.
28763         (FE_UNDERFLOW): Likewise.
28764         (FE_OVERFLOW): Likewise.
28765         (FE_INVALID): Likewise.
28766         (FE_INVALID_SNAN): Likewise.
28767         (FE_INVALID_ISI): Likewise.
28768         (FE_INVALID_IDI): Likewise.
28769         (FE_INVALID_ZDZ): Likewise.
28770         (FE_INVALID_IMZ): Likewise.
28771         (FE_INVALID_COMPARE): Likewise.
28772         (FE_INVALID_SOFTWARE): Likewise.
28773         (FE_INVALID_SQRT): Likewise.
28774         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28775         (FE_TONEAREST): Likewise.
28776         (FE_TOWARDZERO): Likewise.
28777         (FE_UPWARD): Likewise.
28778         (FE_DOWNWARD): Likewise.
28779         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28780         (FE_DIVBYZERO): Likewise.
28781         (FE_OVERFLOW): Likewise.
28782         (FE_UNDERFLOW): Likewise.
28783         (FE_INEXACT): Likewise.
28784         (FE_TONEAREST): Likewise.
28785         (FE_DOWNWARD): Likewise.
28786         (FE_UPWARD): Likewise.
28787         (FE_TOWARDZERO): Likewise.
28788         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28789         (FE_UNDERFLOW): Likewise.
28790         (FE_OVERFLOW): Likewise.
28791         (FE_DIVBYZERO): Likewise.
28792         (FE_INVALID): Likewise.
28793         (FE_TONEAREST): Likewise.
28794         (FE_TOWARDZERO): Likewise.
28795         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28796         (FE_OVERFLOW): Likewise.
28797         (FE_UNDERFLOW): Likewise.
28798         (FE_DIVBYZERO): Likewise.
28799         (FE_INEXACT): Likewise.
28800         (FE_TONEAREST): Likewise.
28801         (FE_TOWARDZERO): Likewise.
28802         (FE_UPWARD): Likewise.
28803         (FE_DOWNWARD): Likewise.
28804         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28805         (FE_DIVBYZERO): Likewise.
28806         (FE_OVERFLOW): Likewise.
28807         (FE_UNDERFLOW): Likewise.
28808         (FE_INEXACT): Likewise.
28809         (FE_TONEAREST): Likewise.
28810         (FE_DOWNWARD): Likewise.
28811         (FE_UPWARD): Likewise.
28812         (FE_TOWARDZERO): Likewise.
28813
28814 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28815
28816         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28817
28818 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28819
28820         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28821         commands.  Quote $PWD.
28822         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28823         -x" by "export".
28824         (remove_newlines): Remove.
28825
28826 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28827
28828         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28829         * stdlib/stdlib.h (atof): Moved to ...
28830         * include/bits/stdlib-float.h: Here.  New file.
28831         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28832         * stdlib/bits/stdlib-float.h: New file.
28833         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28834         -mno-sse -mno-mmx.
28835         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28836         <xmmintrin.h>.
28837
28838 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28839
28840         * conform/conformtest.pl (@headers): Add fenv.h.
28841         * conform/data/fenv.h-data: New file.
28842         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28843         include of <math/fenv.h>.
28844
28845         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28846         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28847         && !UNIX98].  Enables tests for XOPEN2K8.
28848         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28849         POSIX2008]: Likewise.
28850
28851         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28852         (struct rusage): Do not expect type or its members.
28853
28854         [BZ #3439]
28855         * math/math.h (FP_NAN): Define macro to integer constant usable in
28856         #if and use that to give value to enum constant.
28857         (FP_INFINITE): Likewise.
28858         (FP_ZERO): Likewise.
28859         (FP_SUBNORMAL): Likewise.
28860         (FP_NORMAL): Likewise.
28861
28862 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28863
28864         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28865         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28866         arguments.
28867
28868 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28869
28870         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28871         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28872         autoconf-time if not.
28873         * configure.in: Remove AC_PREREQ.
28874
28875 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28876
28877         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28878         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28879         of the internal implementation.
28880
28881 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28882
28883         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28884         except include of <misc/sys/syslog.h>.
28885
28886 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28887
28888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28889         function returns with a NULL context exit with zero.
28890
28891 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28892
28893         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28894
28895 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28896
28897         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28898         (run_program_cmd): This.
28899         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28900         (tst_langinfo): New variable.  Use it.
28901
28902 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28903
28904         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28905         floating point opcodes.
28906
28907 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28908
28909         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28910         variable.
28911
28912         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28913
28914         * sysdeps/mach/hurd/powerpc: Remove directory.
28915         * sysdeps/mach/powerpc: Likewise.
28916
28917 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28918
28919         * scripts/check-local-headers.sh: Ignore c++ headers.
28920
28921 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28922
28923         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28924         __libc_cleanup_region_start argument.
28925
28926 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28927
28928         [BZ #14784]
28929         [BZ #14785]
28930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28931         x * y using scaling, not as x * y + z.
28932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28934         * math/libm-test.inc (fma_test): Add more tests.
28935         (fma_test_towardzero): Likewise.
28936         (fma_test_downward): Likewise.
28937         (fma_test_upward): Likewise.
28938
28939 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28940
28941         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28942
28943 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28944
28945         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28946         New variable.
28947
28948 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28949
28950         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28951
28952 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28953
28954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28955         Fix sort order.
28956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28957         Likewise.
28958
28959 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28960
28961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28962         Fix the order of the list for glibc 2.17.
28963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28964         Likewise.
28965
28966 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28967
28968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28969
28970 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28971
28972         [BZ #14610]
28973         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28974         for low part of x being zero before using __atanl (y).
28975         * math/libm-test.inc (atan2_test): Add another test.
28976
28977         * manual/install.texi (Configuring and compiling): Document
28978         general use of test-wrapper and test-wrapper-env.
28979         * INSTALL: Regenerated.
28980
28981         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28982         (__fma): Do not extract and scale down low bits on after-rounding
28983         systems when result rounded to normal precision would have normal
28984         exponent.
28985         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28986         (__fmal): Do not extract and scale down low bits on after-rounding
28987         systems when result rounded to normal precision would have normal
28988         exponent.
28989         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28990         (__fmal): Do not extract and scale down low bits on after-rounding
28991         systems when result rounded to normal precision would have normal
28992         exponent.
28993         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28994         macro.
28995         (fma_test): Add more tests.
28996         (fma_test_towardzero): Likewise.
28997         (fma_test_downward): Likewise.
28998         (fma_test_upward): Likewise.
28999
29000 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29001
29002         * sysdeps/i386/tininess.h: Renamed to ...
29003         * sysdeps/x86/tininess.h: This.
29004         * sysdeps/x86_64/tininess.h: Removed.
29005
29006 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29007
29008         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29009         input.  Use $(build-program-cmd).
29010         ($(objpfx)tst-array1-static.out): Likewise.
29011         ($(objpfx)tst-array2.out): Likewise.
29012         ($(objpfx)tst-array3.out): Likewise.
29013         ($(objpfx)tst-array4.out): Likewise.
29014         ($(objpfx)tst-array5.out): Likewise.
29015         ($(objpfx)tst-array5-static.out): Likewise.
29016
29017 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29018
29019         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29020         if defined.
29021
29022         * nss/nsswitch.h (nss_interface_function): Provide new
29023         macro for use with NSS functions.
29024         * grp/initgroups.c: Use new macro.
29025         * nss/getXXbyYY.c: Likewise.
29026         * nss/getXXbyYY_r.c: Likewise.
29027         * nss/getXXent.c: Likewise.
29028         * nss/getXXent_r.c: Likewise.
29029         * sysdeps/posix/getaddrinfo.c: Likewise.
29030
29031 2012-10-30  Andreas Jaeger  <aj@suse.de>
29032
29033         * po/ru.po: Update Russion translation from translation project.
29034
29035 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29036
29037         [BZ #14152]
29038         [BZ #14783]
29039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29040         result and shift together with sticky bit instead of replicating
29041         round-to-nearest rounding.
29042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29043         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29044         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29045         missing underflow exceptions.
29046         (fma_test_towardzero): Add more tests.
29047         (fma_test_downward): Likewise.
29048         (fma_test_upward): Likewise.
29049
29050         [BZ #14047]
29051         * sysdeps/generic/tininess.h: New file.
29052         * sysdeps/i386/tininess.h: Likewise.
29053         * sysdeps/sh/tininess.h: Likewise.
29054         * sysdeps/x86_64/tininess.h: Likewise.
29055         * stdlib/tst-strtod-underflow.c: Likewise.
29056         * stdlib/tst-tininess.c: Likewise.
29057         * stdlib/strtod_l.c: Include <tininess.h>.
29058         (round_and_return): Do not set errno for exact underflow cases.
29059         Force an underflow exception when setting errno for underflow.
29060         Determine underflow based on rounding to normal precision if
29061         TININESS_AFTER_ROUNDING.
29062         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29063         ERANGE for exact underflow cases.
29064         * stdlib/Makefile (tests): Add tst-tininess and
29065         tst-strtod-underflow.
29066         ($(objpfx)tst-tininess): Use $(link-libm).
29067         ($(objpfx)tst-strtod-underflow): Likewise.
29068
29069 2012-10-30  Andreas Jaeger  <aj@suse.de>
29070
29071         [BZ#14767]
29072         * elf/Makefile (tests): Remove conditional for have-initfini-array
29073         since this is now always required and the variable does not exist
29074         anymore.
29075         (tests-static): Likewise.
29076         (modules-names): Likewise.
29077
29078         * po/eo.po: Add Esperanto translation from translation project.
29079
29080         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29081         merged with constructor/destructor.
29082         (init_array): Likewise.
29083         * elf/tst-array2dep.c (fini_array): Likewise.
29084         (init_array): Likewise.
29085
29086 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29087
29088         * manual/message.texi: Delete @cartouche tags.
29089
29090 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29091
29092         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29093         EOPNOTSUPP.
29094         * sysdeps/mach/hurd/fsync.c: Likewise.
29095
29096         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29097         [_POSIX_REALTIME_SIGNALS]: Change condition to
29098         [_POSIX_REALTIME_SIGNALS > 0].
29099
29100 2012-10-27  Andreas Jaeger  <aj@suse.de>
29101
29102         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29103         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29104         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29105         [__WORDSIZE != 64]: Likewise.
29106
29107 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29108
29109         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29110         *  iconvdata/tst-tables.sh: Likewise.
29111
29112 2012-10-25  David S. Miller  <davem@davemloft.net>
29113
29114         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29115         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29116         of strtoull.
29117
29118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29119         ifunc-impl-list.c
29120         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29121         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29122         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29123         file.
29124
29125 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29126
29127         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29128         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29129         __getdirentries.
29130
29131 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29132             Jim Blandy  <jimb@codesourcery.com>
29133
29134         * scripts/cross-test-ssh.sh: New file.
29135         * manual/install.texi (Configuring and compiling): Document use of
29136         cross-test-ssh.sh.
29137         * INSTALL: Regenerated.
29138
29139 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29140
29141         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29142         EOPNOTSUPP.
29143
29144 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29145
29146         * Makeconfig (run-program-prefix): Fix comment.
29147
29148 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29149             Jim Blandy  <jimb@codesourcery.com>
29150
29151         * Makeconfig (test-wrapper): New variable,
29152         (test-wrapper-env): Likewise.
29153         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29154         (run-built-tests): Define to yes.
29155         (run-program-prefix): Use $(test-wrapper).
29156         (built-program-cmd): Likewise.
29157         * Rules (make-test-out): Use $(test-wrapper-env) and
29158         $(host-built-program-cmd).
29159         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29160         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29161         tst-pathopt.sh.
29162         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29163         $(test-wrapper-env) to tst-rtld-load-self.sh.
29164         ($(objpfx)order2.out): Use $(test-wrapper).
29165         ($(objpfx)tst-initorder.out): Likewise.
29166         ($(objpfx)tst-initorder2.out): Likewise.
29167         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29168         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29169         (test_wrapper_env): New variable.  Use it to run ld.so.
29170         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29171         Use it to run ld.so.
29172         (test_wrapper_env): Likewise.
29173         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29174         $(test-wrapper) to run-iconv-test.sh.
29175         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29176         (ICONV): Use $test_wrapper.
29177         * posix/Makefile ($(objpfx)globtest.out): Pass
29178         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29179         globtest.sh, not $(run-program-prefix).
29180         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29181         (test_wrapper): Likewise.
29182         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29183         set together with run_via_rtld_prefix.
29184         (run_program_prefix): Define in terms of test_wrapper and
29185         run_via_rtld_prefix.
29186
29187 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29188
29189         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29190         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29191         Targets removed.
29192
29193         [BZ #14743]
29194         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29195         Declare __clock_getres, __clock_gettime, __clock_settime,
29196         __clock_nanosleep, and __clock_getcpuclockid.
29197         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29198         Remove librt_hidden_def (clock_gettime).
29199         * sysdeps/unix/clock_gettime.c: Likewise.
29200         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29201         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29202         * rt/clock_getres.c: Define __clock_getres as an alias.
29203         * sysdeps/posix/clock_getres.c: Likewise.
29204         * rt/clock_settime.c: Define __clock_settime as an alias.
29205         * sysdeps/unix/clock_settime.c: Likewise.
29206         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29207         * sysdeps/unix/clock_nanosleep.c: Likewise.
29208         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29209         * rt/clock-compat.c: New file.
29210         * rt/Makefile (librt-routines): Add clock-compat and move
29211         $(clock-routines) to ...
29212         (routines): ... here, new variable.
29213         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29214         Don't add get_clockfreq here.
29215         * rt/Versions (libc: GLIBC_2.17): New version set.
29216         Add clock_* symbols here.
29217         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29218         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29219         (GLIBC_2.17): Add clock_* symbols.
29220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29222         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29224         Likewise.
29225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29226         Likewise.
29227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29231         * NEWS: Mention the move.
29232
29233         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29234         Use __open, __read, __close rather than their public counterparts.
29235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29236         (__get_clockfreq_via_cpuinfo): Likewise.
29237         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29238         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29239
29240         * config.h.in (HAVE_IFUNC): New #undef.
29241         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29242         was successful.
29243         * configure: Regenerated.
29244
29245 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29246
29247         * configure.in: Move READELF check to start of file.
29248         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29249         libc_cv_asm_gnu_indirect_function in the process.
29250         * configure: Regenerated.
29251
29252 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29253
29254         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29255         send the output to /dev/null.
29256         (libc_cv_cc_with_libunwind): Likewise.
29257         (libc_cv_as_noexecstack): Likewise.
29258         * configure: Regenerate.
29259
29260 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29261
29262         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29263
29264         * posix/globtest.sh (TMPDIR): Do not set.
29265         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29266         (testout): Likewise.
29267
29268 2012-10-24  Andreas Jaeger  <aj@suse.de>
29269
29270         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29271         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29272         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29273         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29274         posix_fadvise64, posix_fallocate64.
29275
29276         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29277         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29278         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29279         Likewise.
29280         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29281         Likewise.
29282         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29283
29284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29285         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29286         <bits/fcntl-linux.h>.
29287         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29288
29289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29290         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29291         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29292         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29293         [__WORDSIZE != 64]: Likewise.
29294
29295 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29296
29297         * Makeconfig (run-built-tests): New variable.
29298         * Rules [$(cross-compiling) = yes]: Change condition to
29299         [$(run-built-tests) = no].
29300         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29301         to [$(run-built-tests) = yes].
29302         * elf/Makefile [$(cross-compiling) = no]: Likewise
29303         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29304         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29305         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29306         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29307         * io/Makefile [$(cross-compiling) = no]: Likewise.
29308         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29309         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29310         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29311         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29312         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29313         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29314         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29315         * string/Makefile [$(cross-compiling) = no]: Likewise.
29316
29317         * posix/Makefile ($(objpfx)globtest.out): Pass
29318         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29319         $(rtld-installed-name).
29320         * posix/globtest.sh (elf_objpfx): Remove variable.
29321         (rtld_installed_name): Likewise.
29322         (library_path): Likewise.
29323         (run_program_prefix): New variable.  Use for running globtest
29324         binary.
29325
29326 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29327             Joseph Myers  <joseph@codesourcery.com>
29328
29329         * Makeconfig (host-built-program-cmd): New variable.
29330         * elf/Makefile (tst-stackguard1-ARGS): Use
29331         $(host-built-program-cmd).
29332         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29333         (tst-spawn-ARGS): Likewise.
29334         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29335
29336 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29337             Jim Blandy  <jimb@codesourcery.com>
29338
29339         * Makeconfig (run-via-rtld-prefix): New variable.
29340         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29341         (built-program-cmd): Likewise.
29342
29343 2012-10-22  Andreas Jaeger  <aj@suse.de>
29344
29345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29346         __O_RSYNC if it exists, otherwise to O_SYNC.
29347
29348 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29349             Joseph Myers  <joseph@codesourcery.com>
29350
29351         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29352         /dev/null.
29353         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29354         from /dev/null
29355         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29356         /dev/null.
29357
29358 2012-10-22  Andreas Jaeger  <aj@suse.de>
29359
29360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29361         Define always.
29362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29363
29364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29365         bits/fcntl-linux.h.
29366
29367         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29368         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29369
29370         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29371         to __O_LARGEFILE.
29372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29373         to __O_LARGEFILE.
29374
29375 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29376             Joseph Myers  <joseph@codesourcery.com>
29377
29378         * config.make.in (NM): New variable.
29379
29380 2012-10-21  Andreas Jaeger  <aj@suse.de>
29381
29382         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29383         definitions and declarations that are provided by
29384         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29385
29386 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29387
29388         [BZ #14683]
29389         * elf/Makefile (tests-static): Add tst-leaks1-static.
29390         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29391         ($(objpfx)tst-leaks1-static): New rule.
29392         ($(objpfx)tst-leaks1-static-mem): Likewise.
29393         (tst-leaks1-static-ENV): New macro.
29394         * elf/dl-open.c (dl_open_worker): Check the main application
29395         only if SHARED is defined.
29396         * elf/tst-leaks1-static.c: New file.
29397
29398 2012-10-20  Andreas Jaeger  <aj@suse.de>
29399
29400         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29401         generic values for Linux.
29402         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29403         and declarations that are provided by <bits/fcntl-linux.h> and
29404         include <bits/fcntl-linux.h>.
29405         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29406         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29407
29408 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29409
29410         * io/fcntl.h: Move include of <bits/types.h> to the top and
29411         include it unconditionally.
29412
29413 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29414
29415         * wcsmbs/Makefile (tests-ifunc): New variable.
29416         (tests): Add $(tests-ifunc).
29417         * wcsmbs/test-wcschr-ifunc.c: New file.
29418         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29419         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29420         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29421         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29422         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29423
29424         * string/Makefile (tests-ifunc): New variable.
29425         (tests): Add $(tests-ifunc).
29426         * string/test-memccpy.c (TEST_NAME): New macro.
29427         * string/test-memchr.c (TEST_NAME): Likewise.
29428         * string/test-memcmp.c (TEST_NAME): Likewise.
29429         * string/test-memcpy.c (TEST_NAME): Likewise.
29430         * string/test-memmem.c (TEST_NAME): Likewise.
29431         * string/test-memmove.c (TEST_NAME): Likewise.
29432         * string/test-memset.c (TEST_NAME): Likewise.
29433         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29434         * string/test-stpcpy.c (TEST_NAME): Likewise.
29435         * string/test-stpncpy.c (TEST_NAME): Likewise.
29436         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29437         * string/test-strcasestr.c (TEST_NAME): Likewise.
29438         * string/test-strcat.c (TEST_NAME): Likewise.
29439         * string/test-strchr.c (TEST_NAME): Likewise.
29440         * string/test-strcmp.c(TEST_NAME): Likewise.
29441         * string/test-strcpy.c (TEST_NAME): Likewise.
29442         * string/test-strcspn.c (TEST_NAME): Likewise.
29443         * string/test-strlen.c (TEST_NAME): Likewise.
29444         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29445         * string/test-strncmp.c (TEST_NAME): Likewise.
29446         * string/test-strncpy.c (TEST_NAME): Likewise.
29447         * string/test-strnlen.c (TEST_NAME): Likewise.
29448         * string/test-strpbrk.c (TEST_NAME): Likewise.
29449         * string/test-strrchr.c (TEST_NAME): Likewise.
29450         * string/test-strspn.c (TEST_NAME): Likewise.
29451         * string/test-strstr.c (TEST_NAME): Likewise.
29452         * string/test-bcopy-ifunc.c: New file.
29453         * string/test-bzero-ifunc.c: Likewise.
29454         * string/test-memccpy-ifunc.c: Likewise.
29455         * string/test-memchr-ifunc.c: Likewise.
29456         * string/test-memcmp-ifunc.c: Likewise.
29457         * string/test-memcpy-ifunc.c: Likewise.
29458         * string/test-memmem-ifunc.c: Likewise.
29459         * string/test-memmove-ifunc.c: Likewise.
29460         * string/test-mempcpy-ifunc.c: Likewise.
29461         * string/test-memset-ifunc.c: Likewise.
29462         * string/test-rawmemchr-ifunc.c: Likewise.
29463         * string/test-stpcpy-ifunc.c: Likewise.
29464         * string/test-stpncpy-ifunc.c: Likewise.
29465         * string/test-strcasecmp-ifunc.c: Likewise.
29466         * string/test-strcasestr-ifunc.c: Likewise.
29467         * string/test-strcat-ifunc.c: Likewise.
29468         * string/test-strchr-ifunc.c: Likewise.
29469         * string/test-strchrnul-ifunc.c: Likewise.
29470         * string/test-strcmp-ifunc.c: Likewise.
29471         * string/test-strcpy-ifunc.c: Likewise.
29472         * string/test-strcspn-ifunc.c: Likewise.
29473         * string/test-strlen-ifunc.c: Likewise.
29474         * string/test-strncasecmp-ifunc.c: Likewise.
29475         * string/test-strncat-ifunc.c: Likewise.
29476         * string/test-strncmp-ifunc.c: Likewise.
29477         * string/test-strncpy-ifunc.c: Likewise.
29478         * string/test-strnlen-ifunc.c: Likewise.
29479         * string/test-strpbrk-ifunc.c: Likewise.
29480         * string/test-strrchr-ifunc.c: Likewise.
29481         * string/test-strspn-ifunc.c: Likewise.
29482         * string/test-strstr-ifunc.c: Likewise.
29483
29484         * debug/Makefile (tests-ifunc): New variable.
29485         (tests): Add $(tests-ifunc).
29486         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29487         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29488         * debug/test-stpcpy_chk-ifunc.c: New file.
29489         * debug/test-strcpy_chk-ifunc.c: Likewise.
29490
29491 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29492
29493         [BZ #13601]
29494         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29495         header is not read in.
29496
29497 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29498
29499         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29500         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29501         directly.  Pass built executable to script as
29502         $(built-program-cmd).
29503         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29504         $testprogram without using LD_LIBRARY_PATH and $ldso.
29505
29506         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29507         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29508         $(rtld-installed-name).
29509         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29510         (rtld_installed_name): Likewise.
29511         (library_path): Likewise.
29512         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29513         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29514         $(run-program-prefix) to tst-tables.sh.
29515         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29516         it to run tst-table-from and tst-table-to.
29517         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29518         Pass it to tst-table.sh.
29519         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29520         $(run-program-prefix) to tst-gettext.sh.
29521         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29522         tst-translit.sh.
29523         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29524         tst-gettext2.sh.
29525         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29526         to run tst-gettext.
29527         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29528         to run tst-gettext2.
29529         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29530         to run tst-translit.
29531         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29532         $(run-program-prefix) to tst-mtrace.sh.
29533         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29534         to run tst-mtrace.
29535         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29536         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29537         $(rtld-installed-name).
29538         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29539         (rtld_installed_name): Likewise.
29540         (run_program_prefix): New variable.  Use it to run wordexp-test.
29541
29542         * Makeconfig (ARCH): Remove all definitions.
29543         (machine): Likewise.
29544         [ARCH]: Remove conditional code.
29545         [!objdir]: Give error.
29546         [!objdir] (objpfx): Remove.
29547         [!objdir] (common-objpfx): Likewise.
29548         [!objdir] (common-objdir): Likewise.
29549         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29550         AC_CONFIG_FILES call.
29551         * configure: Regenerated.
29552
29553         [BZ #13888]
29554         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29555         or TMPDIR.
29556         (testout): Likewise.
29557
29558         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29559         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29560         $(rtld-installed-name).
29561         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29562         (rtld_installed_name): Likwise.
29563         (runit): Remove function.
29564         (run_getconf): New variable,  Use it for running getconf binary.
29565
29566 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29567
29568         [BZ #14716]
29569         * string/test-memmem.c (check_result): New function.
29570         (do_one_test): Use it.
29571         (check1): New function.
29572         (test_main): Use it.
29573
29574 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29575
29576         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29577
29578 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29579
29580         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29581         (_G_LSEEK64): Likewise.
29582         (_G_MMAP64): Likewise.
29583         (_G_FSTAT64): Likewise.
29584         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29585         (_G_LSEEK64): Likewise.
29586         (_G_MMAP64): Likewise.
29587         (_G_FSTAT64): Likewise.
29588         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29589         unconditional.  Call __mmap64 directly.
29590         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29591         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29592         __lseek64 directly.
29593         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29594         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29595         __mmap64 directly.
29596         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29597         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29598         __lseek64 directly.
29599         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29600         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29601         __lseek64 directly.
29602         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29603         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29604         __lseek64 directly.
29605         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29606         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29607         __fxstat64 directly.
29608         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29609         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29610         unconditional.
29611         (freopen64) [!_G_OPEN64]: Remove conditional code.
29612         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29613         unconditional.
29614         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29615         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29616         unconditional.
29617         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29618         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29619         unconditional.
29620         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29621         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29622         unconditional.
29623         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29624         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29625         unconditional.
29626         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29627         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29628         unconditional.
29629         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29630         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29631         unconditional.
29632         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29633
29634 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29635
29636         [BZ #12140]
29637         * manual/memory.texi (Malloc Tunable Parameters): Add note
29638         about free list pointers overwriting some perturb bytes.
29639         Wording suggested by Roland McGrath.
29640
29641 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29642
29643         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29644         (lgamma_test): Likewise.
29645         (tgamma_test): Likewise.
29646
29647 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29648
29649         [BZ #14700]
29650         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29651         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29652
29653 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29654
29655         * NEWS: Mention BZ #14716.
29656         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29657         when removing AVAILABLE1_USES_J macro.
29658
29659 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29660
29661         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29662         (__bswap_64): __uint64_t for unsigned 64-bit int.
29663
29664 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29665
29666         * include/string.h (memmem): Declare libc hidden alias.
29667         * string/memmem.c (memmem): Define libc hidden alias.
29668         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29669         __read, __close instead of open, read, close.
29670
29671 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29672
29673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29674         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29675         global and hidden.
29676         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29677         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29678         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29679         Likewise.
29680         (__rawmemchr_sse2): Likewise.
29681         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29682         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29683         (__strchr_sse2): Likewise.
29684         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29685         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29686         (__strcasecmp_sse2): Likewise.
29687         (__strncasecmp_sse2): Likewise.
29688         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29689         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29690         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29691         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29692         (__strrchr_sse2): Likewise.
29693         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29694         ifunc-impl-list.c.
29695         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29696         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29697         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29698         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29699         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29700         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29701         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29702         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29703         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29704         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29705         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29706         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29707         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29708         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29709         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29710         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29711         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29712         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29713         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29714         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29715         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29716         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29717         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29718         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29719         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29720         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29721         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29722         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29723         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29724         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29725
29726         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29727         global and hidden.
29728         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29729         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29730         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29731         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29732         Likewise.
29733         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29734         Likewise.
29735         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29736         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29737         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29738         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29739         ifunc-impl-list.c.
29740         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29741         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29742         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29743         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29744         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29745         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29746         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29747         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29748         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29749         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29750         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29751         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29752         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29753         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29754         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29755         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29756         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29757         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29758         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29759         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29760         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29761         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29762         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29763         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29764         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29765         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29766         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29767         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29768         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29769         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29770         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29771         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29772         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29773         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29774         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29775         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29776         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29777         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29778         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29779         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29780         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29781
29782         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29783         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29784         * include/ifunc-impl-list.h: New file.
29785         * misc/ifunc-impl-list.c: Likewise.
29786         * misc/Makefile (routines): Add ifunc-impl-list.
29787         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29788         * string/test-string.h: Include <ifunc-impl-list.h>.
29789         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29790         TEST_NAME]: New variables.
29791         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29792         are defined.
29793         (test_init): Call __libc_ifunc_impl_list to initialize
29794         func_list if TEST_IFUNC and TEST_NAME are defined.
29795
29796         * string/Makefile (strop-tests): Add bcopy and bzero.
29797         * string/test-bcopy.c: New file.
29798         * string/test-bzero.c: Likewise.
29799         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29800         defined.
29801         * string/test-memset.c: Support bzero test if TEST_BZERO is
29802         defined.
29803         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29804         __libc_memmove.
29805         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29806         __libc_memset.
29807         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29808         of memset.
29809
29810 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29811
29812         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29813         * configure: Regenerated.
29814
29815         * Makeconfig (+link-static-before-libc): Don't include
29816         $(link-static-libc).
29817
29818         * libio/libio.h (_IO_pos_t): Remove.
29819
29820 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29821
29822         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29823         McGrath.
29824
29825 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29826
29827         * crypt/crypt-entry.c: Include fips-private.h.
29828         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29829         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29830         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29831         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29832
29833 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29834
29835         * crypt/crypt-private.h: Include stdbool.h.
29836         (_ufc_setup_salt_r): Return bool.
29837         * crypt/crypt-entry.c: Include errno.h.
29838         (__crypt_r): Return NULL with EINVAL for bad salt.
29839         * crypt/crypt_util.c (bad_for_salt): New.
29840         (_ufc_setup_salt_r): Check that salt is long enough and within
29841         the specified alphabet.
29842         * crypt/badsalttest.c: New file.
29843         * crypt/Makefile (tests): Add it.
29844         ($(objpfx)badsalttest): New.
29845
29846 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29847
29848         * NEWS: Add entry for BZ #14602.
29849
29850 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29851
29852         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29853         type-generic.
29854         * math/libm-test.inc: Update comment listing what functions and
29855         macros are tested.
29856         (isgreater_test): New function.
29857         (isgreaterequal_test): Likewise.
29858         (isless_test): Likewise.
29859         (islessequal_test): Likewise.
29860         (islessgreater_test): Likewise.
29861         (isunordered_test): Likewise.
29862         (main): Call the new functions.
29863
29864 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29865
29866         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29867         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29868         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29869         * sysdeps/i386/configure: Regenerated.
29870         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29871         * sysdeps/mach/configure: Regenerated.
29872         * sysdeps/mach/hurd/configure: Regenerated.
29873         * sysdeps/powerpc/configure: Regenerated.
29874         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29875         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29876         * sysdeps/s390/s390-32/configure: Regenerated.
29877         * sysdeps/s390/s390-64/configure: Regenerated.
29878         * sysdeps/sh/configure: Regenerated.
29879         * sysdeps/sparc/configure: Regenerated.
29880         * sysdeps/unix/sysv/linux/configure: Regenerated.
29881         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29882         * sysdeps/x86_64/configure: Regenerated.
29883
29884         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29885         defined.  Don't check if MAP is NULL.
29886
29887 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29888
29889         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29890         (_G_stat64): Likewise.
29891         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29892         (_G_stat64): Likewise.
29893         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29894         instead of struct _G_stat64.
29895         * libio/fileops.c (mmap_remap_check): Likewise.
29896         (decide_maybe_mmap): Likewise.
29897         (_IO_new_file_seekoff): Likewise.
29898         (_IO_file_stat): Likewise.
29899         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29900         _G_off64_t.
29901         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29902         instead of struct _G_stat64.
29903         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29904
29905 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29906
29907         [BZ #14602]
29908         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29909         Replace with ...
29910         (CHECK_EOL): New macro.
29911         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29912         CHECK_EOL.
29913         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29914         Replace with CHECK_EOL.
29915         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29916         Replace with CHECK_EOL.
29917
29918 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29919
29920         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29921         type-generic.
29922         * math/libm-test.inc: Update comment listing what functions and
29923         macros are tested.
29924         (finite_test): New function.
29925         (isinf_test): Likewise.
29926         (isnan_test): Likewise.
29927         (fpclassify_test): Test subnormal input.
29928         (isfinite_test): Likewise.
29929         (isnormal_test): Likewise.
29930         (main): Call the new functions.
29931
29932 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29933
29934         [BZ #14660]
29935         * Makerules (%.dynsym): Force C locale when running
29936         $(OBJDUMP) --dynamic-syms.
29937
29938 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29939
29940         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29941         <stdint.h>.
29942
29943 2012-10-06  David S. Miller  <davem@davemloft.net>
29944
29945         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29946         upper 32-bits of the length value in %o2 since we use branch-on-register
29947         tests which consider the entire 64-bit register.
29948
29949 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29950
29951         * string/test-strstr.c (check2): Add a test for page boundary.
29952
29953 2012-10-05  David S. Miller  <davem@davemloft.net>
29954
29955         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29956         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29957         file.
29958         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29959         sysdep_routines.
29960         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29961         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29962         and bzero when HWCAP_SPARC_CRYPTO is present.
29963
29964 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29965
29966         [BZ #14602]
29967         * string/test-strstr.c (check2): New function.
29968         (test_main): Call check2.
29969
29970         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29971         and bug-strchr1.
29972         * string/bug-strcasestr1.c (do_test): Moved to ...
29973         * string/test-strcasestr.c (check1): Here.  New function.
29974         (do_one_test): Break out result checking code into ...
29975         (check_result): This.  New function.
29976         (do_one_test): Call check_result.
29977         (test_main): Call check1.
29978         * string/bug-strchr1.c (do_test): Moved to ...
29979         * string/test-strchr.c (check1): Here.  New function.
29980         (do_one_test): Break out result checking code into ...
29981         (check_result): This.  New function.
29982         (do_one_test): Call check_result.
29983         (test_main): Call check1.
29984         * string/bug-strstr1.c (main): Moved to ...
29985         * string/test-strstr.c (check1): Here.  New function.
29986         (do_one_test): Break out result checking code into ...
29987         (check_result): This.  New function.
29988         (do_one_test): Call check_result.
29989         (test_main): Call check1.
29990         * string/bug-strcasestr1.c: Removed.
29991         * string/bug-strchr1.c: Likewise.
29992         * string/bug-strstr1.c: Likewise.
29993
29994         * elf/Makefile (dl-routines): Add hwcaps.
29995         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29996         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29997         (_dl_important_hwcaps): Moved to ...
29998         * elf/dl-hwcaps.c: Here.  New file.
29999         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30000
30001         [BZ #14557]
30002         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30003         if IS_IN_rtld isn't defined.
30004
30005         * elf/dl-support.c (_dl_sysinfo_map): New.
30006         Include "get-dynamic-info.h" and "setup-vdso.h".
30007         (_dl_non_dynamic_init): Call setup_vdso.
30008         * elf/dynamic-link.h: Don't include <assert.h>.
30009         (elf_get_dynamic_info): Moved to ...
30010         * elf/get-dynamic-info.h: Here.  New file.
30011         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30012         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30013         * elf/setup-vdso.h: Here.  New file.
30014         * elf/rtld.c: Include "setup-vdso.h".
30015         (dl_main): Call setup_vdso.
30016
30017 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30018
30019         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30020         creal in comment listing functions tested.  List finite, isinf,
30021         isnan, isless, islessequal, isgreater, isgreaterequal,
30022         islessgreater, isunordered, lgamma_r and pow10 as functions and
30023         macros not tested.  Mention which functions not tested are aliases
30024         for other functions.  Fix typo.  Note that signs of NaNs are not
30025         tested.
30026
30027         * scripts/config.guess: Update from config.git.
30028         * scripts/config.sub: Likewise.
30029
30030 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30031
30032         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30033         * misc/madvise.c (madvise): Renamed to __madvise.
30034         Make madvise a weak alias.
30035         * include/sys/mman.h: Declare __madvise.
30036         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30037         * sysdeps/unix/syscalls.list
30038         (madvise): Make __madvise the strong name, and madvise a weak alias.
30039         * sysdeps/unix/sysv/linux/syscalls.list
30040         (madvise, mmap): Remove redundant entries.
30041         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30042         * malloc/malloc.c (mtrim): Likewise.
30043         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30044
30045 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30046
30047         * sysdeps/mach/hurd/dl-cache.c: File removed.
30048         * config.h.in (USE_LDCONFIG): New #undef.
30049         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30050         * configure: Regenerated.
30051         * elf/Makefile (dl-routines): Add dl-cache only under
30052         [$(use-ldconfig) = yes].
30053         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30054         cache on [USE_LDCONFIG].
30055         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30056         [USE_LDCONFIG].
30057         * elf/rtld.c (dl_main): Likewise.
30058
30059 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30060
30061         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30062         _SC_LEVEL4_CACHE_LINESIZE.
30063
30064 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30065
30066         * sysdeps/unix/bsd/confstr.h: File removed.
30067
30068 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30069
30070         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30071         sys/sdt-config.h.
30072
30073 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30074
30075         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30076         Make 'mapoff' field ElfW(Off) rather than off_t.
30077
30078 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30079
30080         * nscd/Makefile: Remove nscd-cflags and all its users.
30081         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30082         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30083
30084         [BZ #10631]
30085         * malloc.c (malloc_printerr): Clarify error message.
30086
30087 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30088
30089         [BZ #14648]
30090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30091         Set bit_FMA_Usable if FMA is supported.
30092         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30093         macro.
30094         (bit_FMA4_Usable): Updated.
30095         (index_FMA_Usable): New macro.
30096         (CPUID_FMA): Likewise
30097         (HAS_FMA): Defined with bit_FMA_Usable.
30098
30099 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30100
30101         * bits/types.h (__swblk_t): Type removed.
30102         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30103         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30104         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30105         (__SWBLK_T_TYPE): Likewise.
30106         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30107         (__SWBLK_T_TYPE): Likewise.
30108         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30109         (__SWBLK_T_TYPE): Likewise.
30110         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30111         (__SWBLK_T_TYPE): Likewise.
30112
30113 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30114             Honza Horak <hhorak@redhat.com>
30115
30116         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30117         (xdr_mapname): Use YPMAXMAP as maxsize.
30118         (xdr_peername): Use YPMAXPEER as maxsize.
30119         (xdr_keydat): Use YPAXRECORD as maxsize.
30120         (xdr_valdat): Use YPMAXRECORD as maxsize.
30121
30122 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30123
30124         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30125
30126         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30127         * csu/init-first.c: ... here.
30128         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30129         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30130         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30131         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30132         * sysdeps/i386/init-first.c: File removed.
30133         * sysdeps/sh/init-first.c: File removed.
30134
30135 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30136
30137         [BZ #14645]
30138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30139         if x * y might underflow to zero and z is zero.
30140         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30141         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30142         * math/libm-test.inc (min_subnorm_value): New variable.
30143         (fma_test): Add more tests.
30144         (fma_test_towardzero): Likewise.
30145         (fma_test_downward): Likewise
30146         (fma_test_upward): Likewise.
30147         (initialize): Set min_subnorm_value.
30148
30149 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30150
30151         [BZ #14638]
30152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30153         0 + 0.
30154         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30155         mode for addition resulting in exact zero.
30156         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30158         exact 0 + 0.
30159         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30161         * math/libm-test.inc (fma_test): Add more tests.
30162         (fma_test_towardzero): New function.
30163         (fma_test_downward): Likewise.
30164         (fma_test_upward): Likewise.
30165         (main): Call the new functions.
30166
30167 2012-09-28  David S. Miller  <davem@davemloft.net>
30168
30169         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30170
30171 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30172
30173         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30174         instead of SIGALRM.
30175
30176         * sysdeps/gnu/_G_config.h: Moved to ...
30177         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30178         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30179         * sysdeps/generic/_G_config.h: ... here.
30180
30181         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30182
30183         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30184
30185         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30186         Conditionalize target on [libnss_test1.so-version].
30187
30188         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30189
30190         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30191         (elfobjdir): Move out of conditionals.
30192
30193         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30194         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30195         (__nss_lookup_function): Conditionalize label remove_from_tree on
30196         [!DO_STATIC_NSS || SHARED], matching its only use.
30197
30198 2012-09-28  David S. Miller  <davem@davemloft.net>
30199
30200         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30201         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30202         file.
30203         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30204         sysdep_routines.
30205         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30207         when HWCAP_SPARC_CRYPTO is present.
30208
30209 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30210
30211         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30212
30213 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30214
30215         [BZ #6530]
30216         * stdio-common/vfprintf.c (process_string_arg): Revert
30217         2000-07-22 change.
30218
30219 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30220
30221         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30222         for testcase.
30223         * stdio-common/tst-sprintf.c: Include <locale.h>
30224         (main): Test sprintf's handling of incomplete multibyte
30225         characters.
30226
30227 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30228
30229         * elf/dl-runtime.c (VERSYMIDX): Removed.
30230         * elf/dl-version.c (VERSYMIDX): Likewise.
30231         * elf/do-rel.h (VERSYMIDX): Likewise.
30232         (VALIDX): Likewise.
30233         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30234         * elf/rtld.c (VALIDX): Likewise.
30235         (ADDRIDX): Likewise.
30236         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30237         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30238         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30239         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30240         (VALIDX): Likewise.
30241         (ADDRIDX): Likewise.
30242
30243 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30244
30245         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30246
30247 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30248
30249         [BZ #11438]
30250         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30251         to global scope.
30252         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30253         addresses are in the same scope as 192.0.2/24.
30254         * posix/gai.conf: Document new scope table defaults.
30255
30256 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30257
30258         [BZ #5298]
30259         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30260         for ftell.  Compute offsets from write pointers instead.
30261         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30262
30263 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30264
30265         [BZ #14543]
30266         * libio/Makefile (tests): New test case tst-fseek.
30267         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30268         combination works in wide mode.
30269         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30270         state when the external buffer state changes.
30271
30272 2012-09-27  David S. Miller  <davem@davemloft.net>
30273
30274         [BZ #14376]
30275         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30276         pass reloc->r_addend in as the 'high' argument to
30277         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30278
30279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30280
30281 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30282
30283         * rt/tst-aio2.c: Include <pthread.h>.
30284         * rt/tst-aio3.c: Likewise.
30285
30286 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30287
30288         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30289
30290 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30291
30292         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30293         contents on [SHARED].
30294
30295 2012-09-26  Marek Polacek  <polacek@redhat.com>
30296
30297         [BZ #14530]
30298         [BZ #13741]
30299         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30300         for C++ and GCC <4.3 as well as for non GCC compilers.
30301
30302 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30303
30304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30305
30306 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30307
30308         * Makefile.in (all, install): Declare with .PHONY.
30309         Reported by Michael Hope <michael.hope@linaro.org>.
30310
30311 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30312
30313         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30314         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30315         system header.
30316         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30317         Likewise.
30318         (sydep_routines): Add the new and the internal functions.
30319         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30320         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30322         (GLIBC_2.17): Add the new function.
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30324         (GLIBC_2.17): Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30326         (GLIBC_2.17): Likewise.
30327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30328         (GLIBC_2.17): Likewise.
30329         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30330
30331 2012-09-25  Alan Modra  <amodra@gmail.com>
30332
30333         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30334         Add release barrier before setting once_control to say
30335         initialisation is done.  Add hints on lwarx.  Use macro in
30336         place of isync.
30337         (clear_once_control): Add release barrier.
30338
30339 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30340
30341         [BZ #13629]
30342         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30343         specially.
30344         * math/s_clog10.c (__clog10): Likewise.
30345         * math/s_clog10f.c (__clog10f): Likewise.
30346         * math/s_clog10l.c (__clog10l): Likewise.
30347         * math/s_clogf.c (__clogf): Likewise.
30348         * math/s_clogl.c (__clogl): Likewise.
30349         * math/Makefile (libm-calls): Add x2y2m1.
30350         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30351         (__x2y2m1): Likewise.
30352         (__x2y2m1l): Likewise.
30353         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30354         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30355         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30356         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30357         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30358         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30359         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30360         * sysdeps/i386/fpu/libm-test-ulps: Update.
30361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30362
30363         [BZ #14621]
30364         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30365         int as type of variable DEPTH.
30366         (glob): Use size_t instead of int as type of variables NEWCOUNT
30367         and OLD_PATHC.
30368
30369 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30370
30371         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30372         Add s_sincosf-sse2.
30373         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30374         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30375         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30376         macros for using routine as __sincosf_ia32.
30377         Use macro for function declaration and weak_alias.
30378         * sysdeps/i386/fpu/libm-test-ulps: Update.
30379
30380         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30382
30383         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30384         subnormal argument.
30385         * math/s_cexpf.c (__cexpf): Likewise.
30386         * math/s_csinf.c (__csinf): Likewise.
30387         * math/s_csinhf.c (__csinhf): Likewise.
30388         * math/s_ctanf.c (__ctanf): Likewise.
30389         * math/s_ctanhf.c (__ctanhf): Likewise.
30390         * math/s_ccosh.c (__ccoshf): Likewise.
30391         * math/s_cexp.c (__cexpl): Likewise.
30392         * math/s_csin.c (__csin): Likewise.
30393         * math/s_csinh.c (__csinh): Likewise.
30394         * math/s_ctan.c (__ctan): Likewise.
30395         * math/s_ctanh.c (ctanh): Likewise.
30396         * math/s_ccoshl.c (__ccoshl): Likewise.
30397         * math/s_cexpl.c (__cexpl): Likewise.
30398         * math/s_csinl.c (__csinl): Likewise.
30399         * math/s_csinhl.c (__csinhl): Likewise.
30400         * math/s_ctanl.c (__ctanl): Likewise.
30401         * math/s_ctanhl.c (__ctanhl): Likewise.
30402
30403 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30404
30405         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30406         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30407         (_IO_off_t): Define to __off_t, not _G_off_t.
30408         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30409         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30410         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30411         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30412         type of __dummy and __dummy2 fields.
30413         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30414         (_G_ssize_t): Likewise.
30415         (_G_off_t): Likewise.
30416         (_G_pid_t): Likewise.
30417         (_G_uid_t): Likewise.
30418         (_G_wchar_t): Likewise.
30419         (_G_wint_t): Likewise.
30420         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30421         (_G_ssize_t): Likewise.
30422         (_G_off_t): Likewise.
30423         (_G_pid_t): Likewise.
30424         (_G_uid_t): Likewise.
30425         (_G_wchar_t): Likewise.
30426         (_G_wint_t): Likewise.
30427         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30428         (_G_ssize_t): Likewise.
30429         (_G_off_t): Likewise.
30430         (_G_pid_t): Likewise.
30431         (_G_uid_t): Likewise.
30432         (_G_wchar_t): Likewise.
30433         (_G_wint_t): Likewise.
30434
30435 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30436
30437         * malloc/arena.c: Include malloc-sysdep.h.
30438         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30439         is sufficient to shrink the heap or an unmap is needed.
30440         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30441         new function check_may_shrink_heap.
30442         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30443         new function check_may_shrink_heap.
30444
30445 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30446
30447         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30448         comments.
30449
30450 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30451
30452         * catgets/test-gencat.sh: Add "set -e".
30453         * elf/tst-pathopt.sh: Likewise.
30454         * grp/tst_fgetgrent.sh: Likewise.
30455         * iconvdata/run-iconv-test.sh: Likewise.
30456         * intl/tst-gettext.sh: Likewise.
30457         * intl/tst-gettext2.sh: Likewise.
30458         * intl/tst-gettext4.sh: Likewise.
30459         * intl/tst-gettext6.sh: Likewise.
30460         * intl/tst-translit.sh: Likewise.
30461         * io/ftwtest-sh: Likewise.
30462         * libio/test-freopen.sh: Likewise.
30463         * malloc/tst-mtrace.sh: Likewise.
30464         * posix/globtest.sh: Likewise.
30465         * posix/tst-getconf.sh: Likewise.
30466         * posix/wordexp-tst.sh: Likewise.
30467         * stdio-common/tst-printf.sh: Likewise.
30468         * stdio-common/tst-unbputc.sh: Likewise.
30469         * stdlib/tst-fmtmsg.sh: Likewise.
30470         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30471         * catgets/Makefile: Do not specify -e option when running
30472         testsuite shell scripts.
30473         * elf/Makefile: Likewise.
30474         * grp/Makefile: Likewise.
30475         * iconvdata/Makefile: Likewise.
30476         * intl/Makefile: Likewise.
30477         * io/Makefile: Likewise.
30478         * libio/Makefile: Likewise.
30479         * malloc/Makefile: Likewise.
30480         * posix/Makefile: Likewise.
30481         * stdio-common/Makefile: Likewise.
30482         * stdlib/Makefile: Likewise.
30483         * sysdeps/x86_64/Makefile: Likewise.
30484
30485         * io/ftwtest-sh: Add copyright header.
30486         * posix/globtest.sh: Likewise.
30487         * posix/tst-getconf.sh: Likewise.
30488         * posix/wordexp-tst.sh: Likewise.
30489         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30490
30491 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30492
30493         [BZ #13679]
30494         * Makeconfig (+link): Defined as $(+link-static) if
30495         $(build-shared) isn't yes.
30496         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30497         isn't yes.
30498         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30499
30500         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30501
30502         [BZ #14562]
30503         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30504         new chunk size with MALLOC_ALIGN_MASK.
30505
30506 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30507
30508         [BZ #5044]
30509         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30510         <rounding-mode.h>.
30511         (__printf_fphex): Determine rounding using get_rounding_mode and
30512         round_away.
30513         * stdio-common/tst-printf-round.c (struct hex_test): New
30514         structure.
30515         (hex_tests): New variable.
30516         (test_hex_in_one_mode): New function.
30517         (do_test): Also run tests for hex float output.
30518
30519 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30520
30521         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30522         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30523         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30524         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30525         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30526         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30527         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30528         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30529
30530 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30531
30532         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30533         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30534         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30535         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30536
30537 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30538
30539         [BZ #14579]
30540         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30541         mode only.
30542         * elf/tst-rtld-load-self.sh: New test.
30543         * elf/Makefile: Run it.
30544
30545 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30546
30547         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30548         (tst-writev-ENV): Remove.
30549         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30550
30551 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30552
30553         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30554
30555 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30556
30557         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30558         unconditional.
30559         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30560         Likewise.
30561         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30562         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30563         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30564         Likewise.
30565
30566 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30567
30568         [BZ #14587]
30569         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30570         * config.make.in (have-cpp-asm-debuginfo): Removed.
30571         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30572         * configure: Regenerated.
30573
30574 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30575
30576         [BZ #5044]
30577         * stdio-common/printf_fp.c: Include <stdbool.h> and
30578         <rounding-mode.h>.
30579         (___printf_fp): Determine rounding using get_rounding_mode and
30580         round_away.
30581         * stdio-common/tst-printf-round.c: New file.
30582         * stdio-common/Makefile (tests): Add tst-printf-round.
30583         (link-libm): New variable.
30584         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30585
30586 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30587
30588         [BZ #14576]
30589         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30590         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30591         Likewise.
30592         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30593         Likewise.
30594
30595 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30596
30597         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30598         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30599         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30600         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30601
30602 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30603
30604         [BZ #14518]
30605         * include/rounding-mode.h: New file.
30606         * sysdeps/generic/get-rounding-mode.h: Likewise.
30607         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30608         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30609         (MAX_VALUE): New macro.
30610         (MIN_VALUE): Likewise.
30611         (overflow_value): New function.
30612         (underflow_value): Likewise.
30613         (round_and_return): Use overflow_value and underflow_value to
30614         determine return values in overflow and underflow cases.  Use
30615         round_away to determine rounding depending on rounding mode.
30616         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30617         determine return values in overflow and underflow cases.
30618         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30619         (struct test_results): New structure.
30620         (struct test): Use struct test_results to store expected results
30621         for all rounding modes.
30622         (TEST): Include expected results for all rounding modes.
30623         (test_in_one_mode): New function.
30624         (do_test): Use test_in_one_mode to compute and check results.
30625         Check results for all rounding modes.
30626         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30627         $(link-libm).
30628
30629 2012-12-09  Allan McRae  <allan@archlinux.org>
30630
30631         * sysdeps/i386/fpu/libm-test-ulps: Update
30632
30633 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30634
30635         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30636         (_G_int32_t): Likewise.
30637         (_G_uint16_t): Likewise.
30638         (_G_uint32_t): Likewise.
30639         (_G_HAVE_BOOL): Likewise.
30640         (_G_HAVE_ATEXIT): Likewise.
30641         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30642         (_G_HAVE_IO_FILE_OPEN): Likewise.
30643         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30644         (_G_int32_t): Likewise.
30645         (_G_uint16_t): Likewise.
30646         (_G_uint32_t): Likewise.
30647         (_G_HAVE_BOOL): Likewise.
30648         (_G_HAVE_ATEXIT): Likewise.
30649         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30650         (_G_HAVE_IO_FILE_OPEN): Likewise.
30651         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30652         (_G_int32_t): Likewise.
30653         (_G_uint16_t): Likewise.
30654         (_G_uint32_t): Likewise.
30655         (_G_HAVE_BOOL): Likewise.
30656         (_G_HAVE_ATEXIT): Likewise.
30657         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30658         (_G_HAVE_IO_FILE_OPEN): Likewise.
30659
30660 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30661
30662         * csu/libc-tls.c: Update copyright years.
30663
30664 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30665
30666         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30667         [!_G_USING_THUNKS]: Remove conditional code.
30668         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30669         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30670
30671         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30672         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30673         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30674         (_G_VTABLE_LABEL_PREFIX): Likewise.
30675         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30676         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30677         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30678         (_G_VTABLE_LABEL_PREFIX): Likewise.
30679         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30680         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30681         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30682         (_G_VTABLE_LABEL_PREFIX): Likewise.
30683         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30684
30685 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30686
30687         * libio/Makefile: Include ../Makeconfig before tests.
30688         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30689         only if $(build-shared) is yes.
30690
30691         * iconv/gconv_db.c: Update copyright years.
30692
30693 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30694
30695         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30696         unwind info if defined PIC. Fix special cases description.
30697         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30698
30699         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30700         DP_HI_MASK entry.
30701         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30702
30703 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30704
30705         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30706
30707         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30708         is NULL.
30709
30710         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30711         (LDLIBS-tst-chk4): This.
30712         (LDFLAGS-tst-chk5): Renamed to ...
30713         (LDLIBS-tst-chk5): This.
30714         (LDFLAGS-tst-chk6): Renamed to ...
30715         (LDLIBS-tst-chk6): This.
30716         (LDFLAGS-tst-lfschk4): Renamed to ...
30717         (LDLIBS-tst-lfschk4): This.
30718         (LDFLAGS-tst-lfschk5): Renamed to ...
30719         (LDLIBS-tst-lfschk5): This.
30720         (LDFLAGS-tst-lfschk6): Renamed to ...
30721         (LDLIBS-tst-lfschk6): This.
30722
30723         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30724         on $(common-objpfx)soversions.mk.
30725
30726 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30727
30728         [BZ #10014]
30729         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30730         example host name.
30731
30732 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30733
30734         * malloc/arena.c (arena_get_retry): New function that gets
30735         another arena for the caller to try its request on.
30736         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30737         current arena cannot fulfill the request.
30738         (__libc_memalign): Likewise.
30739         (__libc_memalign): Likewise.
30740         (__libc_pvalloc): Likewise.
30741         (__libc_calloc): Likewise.
30742
30743 2012-09-05  John Tobey  <john.tobey@gmail.com>
30744
30745         [BZ #13542]
30746         * manual/arith.texi (Operations on Complex): Fix description
30747         of carg branch cut.
30748
30749 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30750
30751         [BZ #10014]
30752         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30753         host name.
30754
30755         [BZ #10038]
30756         * manual/memory.texi (Memory): Make order of menu items match
30757         order of sections.
30758
30759 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30760
30761         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30762         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30763         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30764
30765 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30766
30767         * csu/libc-tls.c (static_dtv): Renamed to ...
30768         (_dl_static_dtv): This.  Make it global.
30769         (_dl_initial_dtv): Removed.
30770         (__libc_setup_tls): Updated.
30771         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30772         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30773         DL_INITIAL_DTV.
30774
30775 2012-09-06  Petr Machata  <pmachata@redhat.com>
30776
30777         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30778         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30779         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30780         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30781
30782 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30783
30784         [BZ #14545]
30785         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30786         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30787         freeing dtv[-1].
30788
30789 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30790
30791         [BZ #14544]
30792         * Makeconfig (link-static-before-libc): Replace $(+prector)
30793         with $(+prectorT).
30794         (link-static-after-libc): Replace $(+postctor) with
30795         $(+postctorT).
30796         (link-bounded): Replace $(+prector)/$(+postctor) with
30797         $(+prectorT)/$(+postctorT).
30798         (+prectorT): New macro.
30799         (+postctorT): Likewise.
30800
30801 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30802
30803         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30804         (round_str): Handle values above the maximum for IBM long double
30805         as inexact.
30806         * stdlib/tst-strtod-round.c (tests): Regenerated.
30807
30808 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30809
30810         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30811         assembler flag.
30812         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30813         zarch_nohighgprs around the zarch optimized routines.
30814         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30815         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30816         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30817         for zarch.
30818
30819 2012-09-05  David S. Miller  <davem@davemloft.net>
30820
30821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30822
30823         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30824         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30825         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30826         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30827         entries.
30828
30829 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30830
30831         * malloc/arena.c: Fold copyright years.
30832         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30833
30834 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30835
30836         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30837
30838 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30839
30840         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30841
30842 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30843
30844         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30845         change internal state upon failure.
30846
30847 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30848
30849         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30850         * malloc/memusage.c (mmap): Likewise.
30851         (mmap64, mremap): Likewise.  Adjust name in comment.
30852
30853 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30854
30855         * libio/fileops.c: Fix typos in comments.
30856         * libio/oldfileops.c: Likewise.
30857         * libio/wfileops.c: Likewise.
30858
30859 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30860
30861         [BZ #1349]
30862         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30863         (tst-malloc-usable-ENV): Set environment for test case.
30864         * malloc/hooks.c (malloc_check_get_size): New function to get
30865         requested size.
30866         * malloc/malloc.c (musable): Use malloc_check_get_size.
30867         * malloc/tst-malloc-usable.c: New test case.
30868
30869 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30870
30871         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30872
30873 2012-09-05  Allan McRae  <allan@archlinux.org>
30874
30875         [BZ #13966]
30876         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30877         determine header location.
30878         * configure: Regenerated.
30879
30880 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30881
30882         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30883         float format.
30884         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30885         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30886         format.
30887         (test): Regenerate.
30888
30889 2012-09-04  David S. Miller  <davem@davemloft.net>
30890
30891         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30892         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30893         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30894
30895 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30896
30897         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30898         failures.
30899
30900         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30901
30902 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30903
30904         [BZ #9914]
30905         * libio/iogetdelim.c: Include <limits.h>.
30906         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30907         + len + 1 would overflow.
30908
30909 2012-09-03  Andreas Jaeger  <aj@suse.de>
30910
30911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30912         * sysdeps/i386/fpu/libm-test-ulps: Update.
30913
30914 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30915
30916         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30917         Add s_sinf-sse2, s_conf-sse2.
30918
30919         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30920         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30921         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30922         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30923
30924         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30925         for using routine as __sinf_ia32.
30926         Use macro for function declaration and weak_alias.
30927         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30928         for using routine as __cosf_ia32.
30929         Use macro for function declaration and weak_alias.
30930
30931         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30932         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30933
30934         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30935         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30936         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30937
30938         * math/libm-test.inc (cos_test): Add more test cases.
30939         (sin_test): Likewise.
30940         (sincos_test): Likewise.
30941
30942 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30943
30944         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30945         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30946         hidden.
30947         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30948
30949 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30950
30951         [BZ #14538]
30952         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30953         first element of the GOT.
30954         (elf_machine_load_address): Return the difference between
30955         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30956
30957 2012-09-01  Allan McRae  <allan@archlinux.org>
30958
30959         [BZ #13412]
30960         * configure.in (AWK): Require gawk version 3.0 or later.
30961         * configure: Regenerated.
30962
30963 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30964
30965         * sysdeps/unix/sysv/linux/kernel-features.h
30966         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30967         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30968         [__NR_clock_getres]: Make code unconditional.
30969         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30970         (clock_getcpuclockid): Remove code left unreachable by removal of
30971         conditionals.
30972         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30973         code unconditional.
30974         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30975         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30976         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30977         Make code unconditional.
30978         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30979         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30980         * sysdeps/unix/sysv/linux/clock_settime.c
30981         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30982         conditional code.
30983         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30984         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30985
30986 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30987
30988         [BZ #14476]
30989         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30990         scripts/test-installation.pl.
30991
30992         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30993         and $ld_so_version if it is set.
30994
30995 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30996
30997         [BZ #14516]
30998         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30999         failure if reading from procfs failed.
31000         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31001
31002 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31003
31004         * sysdeps/unix/sysv/linux/kernel-features.h
31005         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31006         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31007         Remove conditional code.
31008         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31009         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31010         Remove conditional code.
31011         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31012         * sysdeps/unix/sysv/linux/i386/fxstat.c
31013         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31014         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31015         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31016         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31017         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31018         * sysdeps/unix/sysv/linux/i386/lxstat.c
31019         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31020         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31021         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31022         Remove conditional code.
31023         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31024         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31025         Remove conditional code.
31026         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31027         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31028         <kernel-features.h>.
31029         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31030         Remove.
31031         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31032         Remove conditional code.
31033         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31034         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31035         Remove conditional.
31036
31037 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31038
31039         [BZ #5400]
31040         * NEWS: Add fixed bug number.
31041
31042 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31043
31044         [BZ #14519]
31045         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31046         underflowing exponent in case of negative sign.
31047         * stdlib/tst-strtod-round-data: Add more tests.
31048         * stdlib/tst-strtod-round.c (tests): Regenerated.
31049
31050         [BZ #3479]
31051         * stdlib/strtod_l.c (NDIG): Remove.
31052         (HEXNDIG): Likewise.
31053         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31054         smallest representable value.
31055         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31056         lie within an exact representation of 1/2 ulp of the result.
31057         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31058         unconditionally.
31059         (TENS_P9_IDX): Define unconditionally.
31060         (TENS_P9_SIZE): Likewise.
31061         (TENS_P10_IDX): Likewise.
31062         (TENS_P10_SIZE): Likewise.
31063         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31064         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31065         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31066         entries for 10^2^13 and 10^2^14.
31067         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31068         (TENS_P13_IDX): Define.
31069         (TENS_P13_SIZE): Likewise.
31070         (TENS_P14_IDX): Likewise.
31071         (TENS_P14_SIZE): Likewise.
31072         (_fpioconst_pow10): Change array size to
31073         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31074         unconditional.
31075         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31076         1024]: Add entries for 10^2^13 and 10^2^14.
31077         [LAST_POW10 > _LAST_POW10]: Remove #error.
31078         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31079         (_fpioconst_pow10): Change array size to
31080         FPIOCONST_POW10_ARRAY_SIZE.
31081         * stdlib/gen-fpioconst.c: New file.
31082         * stdlib/gen-tst-strtod-round.c: Likewise.
31083         * stdlib/tst-strtod-round-data: Likewise.
31084         * stdlib/tst-strtod-round.c: Likewise.
31085         * stdlib/Makefile (tests): Add tst-strtod-round.
31086
31087         [BZ #14459]
31088         * stdlib/strtod_l.c: Include <stdint.h>.
31089         (NDEBUG): Do not define.
31090         (round_and_return): Change EXPONENT parameter to type intmax_t.
31091         Rearrange calculations to avoid internal overflow possibilities.
31092         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31093         Rearrange calculations to avoid internal overflow possibilities.
31094         Assert that number fits inside MPNSIZE limbs.
31095         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31096         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31097         calculations and add assertions to avoid internal overflow
31098         possibilities.  Add casts to avoid signed/unsigned operations.
31099         * stdlib/tst-strtod-overflow.c: New file.
31100         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31101
31102 2012-08-25  Marek Polacek  <polacek@redhat.com>
31103
31104         * time/time.h: Fix some typos in comments.
31105
31106 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31107
31108         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31109         * posix/tst-rfc3484-2.c: Likewise.
31110         * posix/tst-rfc3484-3.c: Likewise.
31111
31112 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31113
31114         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31115         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31116
31117 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31118
31119         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31120         #include of fxstatat64.c.
31121
31122 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31123
31124         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31125         * shadow/getspent_r.c: Likewise.
31126         * shadow/getspnam.c: Likewise.
31127         * shadow/getspnam_r.c: Likewise.
31128         * gshadow/getsgent.c: Likewise.
31129         * gshadow/getsgent_r.c: Likewise.
31130         * gshadow/getsgnam.c: Likewise.
31131         * gshadow/getsgnam_r.c: Likewise.
31132         * inet/getnetbyad.c: Likewise.
31133         * inet/getnetbyad_r.c: Likewise.
31134         * inet/getnetbynm.c: Likewise.
31135         * inet/getnetbynm_r.c: Likewise.
31136         * inet/getnetent.c: Likewise.
31137         * inet/getnetent_r.c: Likewise.
31138         * inet/getproto.c: Likewise.
31139         * inet/getproto_r.c: Likewise.
31140         * inet/getprtent.c: Likewise.
31141         * inet/getprtent_r.c: Likewise.
31142         * inet/getprtname.c: Likewise.
31143         * inet/getprtname_r.c: Likewise.
31144         * inet/getrpcbyname.c: Likewise.
31145         * inet/getrpcbyname_r.c: Likewise.
31146         * inet/getrpcbynumber.c: Likewise.
31147         * inet/getrpcbynumber_r.c: Likewise.
31148         * inet/getrpcent.c: Likewise.
31149         * inet/getrpcent_r.c: Likewise.
31150         * inet/getaliasent.c: Likewise.
31151         * inet/getaliasent_r.c: Likewise.
31152         * inet/getaliasname.c: Likewise.
31153         * inet/getaliasname_r.c: Likewise.
31154         * nscd/getgrgid_r.c: Likewise.
31155         * nscd/getgrnam_r.c: Likewise.
31156         * nscd/gethstbyad_r.c: Likewise.
31157         * nscd/gethstbynm3_r.c: Likewise.
31158         * nscd/getpwnam_r.c: Likewise.
31159         * nscd/getpwuid_r.c: Likewise.
31160         * nscd/getsrvbynm_r.c: Likewise.
31161         * nscd/getsrvbypt_r.c: Likewise.
31162         * nscd/gai.c: Likewise.
31163
31164         * configure.in (build_nscd): New substituted variable, set
31165         by --disable-build-nscd and defaults to $use_nscd.
31166         * configure: Regenerated.
31167         * config.make.in (build-nscd): New substituted variable.
31168         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31169         Change conditional to require [$(build-nscd) = yes] as well.
31170         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31171
31172         [BZ# 13696]
31173         * configure.in (use_nscd): New substituted variable, set by
31174         --disable-nscd.  If enabled, define USE_NSCD.
31175         * configure: Regenerated.
31176         * config.h.in: Add USE_NSCD.
31177         * config.make.in (use-nscd): New substituted variable.
31178         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31179         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31180         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31181         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31182         (CFLAGS-getgrnam_r.c): Likewise.
31183         (CFLAGS-initgroups.c): Likewise.
31184         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31185         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31186         Variables removed.
31187         * inet/getnetgrent_r.c
31188         (nscd_setnetgrent): New function, broken out of ...
31189         (setnetgrent): ... here.  Call it.
31190         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31191         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31192         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31193         * nscd/Makefile (routines, aux): Move definitions after include of
31194         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31195         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31196         Conditionalize on [USE_NSCD].
31197         (is_nscd, nscd_init_cb): Likewise.
31198         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31199         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31200         * nss/nss_db/db-init.c: Likewise.
31201         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31202         [USE_NSCD].
31203         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31204         (make_request): Use it.
31205         (cache_valid_p): New function.
31206         (__check_pf): Use it.
31207         * NEWS: Add item for --disable-nscd.
31208
31209 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31210
31211         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31212         to support sed >= 4.2.1-20-ga9bf076.
31213         * configure: Regenerated.
31214
31215 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31216
31217         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31218         Conditionalize whole body on [IREL].
31219
31220 2012-08-22  Jeff Law <law@redhat.com>
31221
31222         [BZ #14505]
31223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31224         if the family is PF_UNSPEC.
31225
31226 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31227
31228         * Makerules (lib-version): Rename from V.
31229         (install-lib-nosubdir): Change V to lib-version.
31230
31231 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31232
31233         [BZ #14252]
31234         * powerpc32/power6/wcschr.c: New file.
31235         * powerpc32/power6/wcscpy.c: New file.
31236         * powerpc32/power6/wcsrchr.c: New file.
31237         * powerpc64/power6/wcschr.c: New file.
31238         * powerpc64/power6/wcscpy.c: New file.
31239         * powerpc64/power6/wcsrchr.c: New file.
31240
31241 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31242
31243         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31244         (two_way_short_needle): Use it.
31245         * string/strstr.c (AVAILABLE1_USES_J): Define.
31246         * string/strcasestr.c: Likewise.
31247
31248         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31249         array references.
31250         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31251
31252         [BZ #11607]
31253         * NEWS: Add an entry.
31254         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31255         define their defaults.
31256         (two_way_short_needle): Detect end-of-string on-the-fly.
31257         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31258         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31259         * string/bug-strcasestr1.c: New test.
31260         * string/Makefile: Run it.
31261
31262 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31263
31264         [BZ #11607]
31265         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31266         the first character.
31267
31268 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31269
31270         * csu/elf-init.c (__libc_csu_irel): Function removed.
31271         * csu/libc-start.c (apply_irel): New function.
31272         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31273
31274 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31275
31276         * sysdeps/unix/sysv/linux/kernel-features.h
31277         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31278         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31279         <kernel-features.h>.
31280         [__NR_fadvise64_64]: Make code unconditional.
31281         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31282         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31283         !__NR_fadvise64_64)]: Likewise.
31284         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31285         !__NR_fadvise64_64))]: Likewise.
31286         [__NR_fadvise64]: Make code unconditional.
31287         [!__NR_fadvise64]: Remove conditional code.
31288         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31289         <kernel-features.h>.
31290         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31291         unconditional.
31292         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31293         conditional code.
31294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31295         not include <kernel-features.h>.
31296         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31297         unconditional.
31298         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31299         conditional code.
31300         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31301         include <kernel-features.h>.
31302         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31303         unconditional.
31304         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31305         conditional code.
31306
31307 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31308
31309         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31310         slight instruction rearrangements per scrollpipe analysis.
31311         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31312
31313 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31314
31315         * manual/syslog.texi (syslog; vsyslog, closelog):
31316         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31317         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31318
31319         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31320         DSOCAPS to match condition on defining it.
31321
31322 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31323
31324         * sysdeps/unix/sysv/linux/kernel-features.h
31325         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31327         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31328         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31330         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31331         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31333         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31334         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31335
31336         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31337         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31338
31339         * sysdeps/unix/sysv/linux/kernel-features.h
31340         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31341         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31342         unconditional.
31343         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31344         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31345         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31346         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31347         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31348         Make code unconditional.
31349         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31350         (__mmap64) [!__NR_mmap2]: Likewise.
31351         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31352         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31353         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31354         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31355         [__NR_mmap2]: Make code unconditional.
31356         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31357         (__mmap64) [!__NR_mmap2]: Likewise.
31358
31359 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31360
31361         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31362
31363 2012-08-18  Andreas Jaeger  <aj@suse.de>
31364
31365         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31366
31367 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31368
31369         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31370         * include/unistd.h (__have_sock_cloexec): Likewise.
31371         (__have_pipe2): Likewise.
31372         (__have_dup3): Likewise.
31373
31374 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31375
31376         [BZ #9685]
31377         * include/unistd.h (__have_pipe2): Change define into an extern int.
31378         (__have_dup3): Likewise.
31379         * socket/have_sock_cloexec.c: Include fcntl.h.
31380         (__have_pipe2): New variable.
31381         (__have_dup3): Likewise.
31382
31383 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31384
31385         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31386
31387 2012-08-17  Marek Polacek  <polacek@redhat.com>
31388
31389         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31390         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31391
31392 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31393
31394         * configure.in: Add AC_SUBST for sysheaders.
31395         * configure: Regenerated.
31396         * config.make.in (sysheaders): New substituted variable.
31397
31398         * sysdeps/unix/mkfifo.c: Moved ...
31399         * sysdeps/posix/mkfifo.c: ... here.
31400         * sysdeps/unix/mkfifoat.c: Moved ...
31401         * sysdeps/posix/mkfifoat.c: ... here.
31402
31403         * sysdeps/unix/utime.c: Moved ...
31404         * sysdeps/posix/utime.c: ... here.
31405
31406         * sysdeps/unix/time.c: Moved ...
31407         * sysdeps/posix/time.c: ... here.
31408         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31409         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31410
31411         * sysdeps/unix/nice.c: Moved ...
31412         * sysdeps/posix/nice.c: ... here.
31413
31414         * sysdeps/unix/alarm.c: Moved ...
31415         * sysdeps/posix/alarm.c: ... here.
31416
31417         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31418
31419 2012-08-17  Jeff Law <law@redhat.com>
31420
31421         * intl/Makefile (codeset_mo): New variable.
31422         ($(codeset_mo)): New target.
31423         (tst-codeset.out): Depend on that.  Remove explicit rule.
31424         (tst-gettext3.out, tst-gettext5.out): Likewise.
31425         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31426         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31427         * intl/tst-codeset.sh: Remove.
31428         * intl/tst-gettext3.sh: Likewise.
31429         * intl/tst-gettext5.sh: Likewise.
31430
31431 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31432
31433         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31434         * sysdeps/unix/syscalls.list: ... here.
31435
31436         * sysdeps/posix/getaddrinfo.c
31437         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31438         (gaiconf_init, gaiconf_reload): Use them.
31439         [!_STATBUF_ST_NSEC]
31440         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31441         Define using time_t rather than struct timespec.
31442
31443         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31444         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31445         Macros removed.
31446         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31447         [!NO_THREADS].
31448         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31449         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31450         Likewise.
31451
31452         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31453         __libc_cleanup_push argument.
31454
31455         * bits/param.h: New file.
31456         * misc/sys/param.h: New file.
31457         * include/sys/param.h: New file.
31458         * misc/Makefile (headers): Add bits/param.h.
31459         * sysdeps/generic/sys/param.h: File removed.
31460         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31461         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31462         * sysdeps/mach/hurd/bits/param.h: New file.
31463         * sysdeps/mach/hurd/sys/param.h: File removed.
31464
31465         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31466         last change.
31467
31468         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31469         [_IO_MTSAFE_IO].
31470         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31471         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31472         New macros.
31473
31474         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31475         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31476         rather than -D_IO_MTSAFE_IO conditionally.
31477         * stdio-common/Makefile (CPPFLAGS): Likewise.
31478         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31479         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31480         Use $(libio-mtsafe).
31481         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31482         of -D_IO_MTSAFE_IO.
31483         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31484         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31485         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31486         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31487         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31488         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31489         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31490         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31491         (CFLAGS-fread_u_chk.c): Likewise.
31492         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31493         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31494         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31495         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31496         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31497         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31498         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31499         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31500         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31501
31502         * libio/Makefile: Test [$(libc-reentrant) = yes]
31503         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31504
31505         * Makeconfig
31506         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31507         * sysdeps/pthread/configure: File removed.
31508         * sysdeps/pthread/Makeconfig: New file.
31509         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31510         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31511
31512 2012-08-16  Gary Benson  <gbenson@redhat.com>
31513
31514         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31515         unmapping the first object in a namespace.
31516
31517 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31518
31519         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31520         (__internal_setnetgrent): ... this.  Add internal_function to
31521         definition.  Add libc_hidden_def.
31522         (setnetgrent): Update caller.
31523         (internal_endnetgrent): Renamed to ...
31524         (__internal_endnetgrent): ... this.  Add internal_function to
31525         definition.  Add libc_hidden_def.
31526         (endnetgrent): Update caller.
31527         (internal_getnetgrent_r): Renamed to ...
31528         (__internal_getnetgrent_r): ... this.  Add internal_function to
31529         definition.  Add libc_hidden_def.
31530         (__getnetgrent_r): Update caller.
31531         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31532
31533 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31534
31535         * stdlib/longlong.h: Update from GCC.
31536
31537 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31538
31539         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31540         on _QL, which is set by umul_ppmm but never used.
31541         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31542         variables, which are set by GMP macros but never used.
31543         * stdio-common/_itowa.c (_itowa): Likewise.
31544         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31545         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31546
31547 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31548
31549         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31550         struct La_sh_regs is not constant.
31551         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31552         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31553         and struct La_sparc64_regs are not constant.
31554
31555 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31556
31557         * sysdeps/unix/sysv/linux/kernel-features.h
31558         (__ASSUME_POSIX_TIMERS): Remove.
31559         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31560         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31561         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31562         Make code unconditional.
31563         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31564         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31565         Make code unconditional.
31566         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31567         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31568         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31569         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31570         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31571         Make code unconditional.
31572         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31573         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31574         (__libc_missing_posix_timers): Remove.
31575
31576 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31577
31578         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31579         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31580
31581         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31582
31583         * elf/dl-sym.c: Include <stdlib.h>.
31584
31585         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31586         constants, which avoids warnings in 32-bit builds.
31587
31588         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31589         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31590
31591         * misc/lseek.c: File moved to ...
31592         * io/lseek.c: ... here.
31593
31594         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31595
31596         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31597         shifting LEN more than 31 bits at once.
31598
31599 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31600
31601         [BZ #14195]
31602         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31603         segmentation fault for a case of two empty input strings.
31604         * string/test-strncasecmp.c (check1): Renamed to...
31605         (bz12205): ...this.
31606         (bz14195): Add new testcase for two empty input strings and N > 0.
31607         (test_main): Call new testcase, adapt for renamed function.
31608
31609 2012-08-15  Andreas Jaeger  <aj@suse.de>
31610
31611         [BZ #14090]
31612         * crypt/md5test2.c: New test, based on test supplied by Serge
31613         Belyshev <belyshev@depni.sinp.msu.ru>.
31614         * crypt/Makefile (xtests): Add md5test-giant..
31615         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31616
31617 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31618
31619         [BZ #14090]
31620         * crypt/md5.c (md5_process_block): Don't assume the buffer
31621         length is less than 2**32.
31622         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31623         length is less than 2**64.
31624
31625 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31626
31627         * string/str-two-way.h: Include <sys/param.h>.
31628         (MAX): Macro removed.
31629
31630         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31631         Move #define and #undef of memmove to just before and after
31632         including <string.h>.
31633
31634         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31635         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31636         and after including <string.h>.  Move declarations of
31637         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31638         to before #include "string/memmove.c".
31639
31640         * include/dirent.h: Declare __getdirentries.
31641
31642         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31643         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31644
31645 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31646
31647         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31648         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31649         * sysdeps/i386/configure: Regenerated.
31650         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31651         STABS_CURRENT_FILE, and STABS_FUN.
31652         (END): Remove call to STABS_FUN_END.
31653         (STABS_CURRENT_FILE1): Delete.
31654         (STABS_CURRENT_FILE): Likewise.
31655         (STABS_FUN): Likewise.
31656         (STABS_FUN_END): Likewise.
31657         (STABS_FUN2): Likewise.
31658         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31659         * sysdeps/x86_64/configure: Regenerated.
31660
31661 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31662
31663         * elf/dl-open.c: Include <atomic.h>.
31664         * elf/dl-lookup.c: Likewise.
31665
31666 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31667
31668         * sysdeps/unix/sysv/linux/kernel-features.h
31669         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31670         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31671         unconditionally.
31672         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31673         unconditionally.
31674         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31675         condition on __ASSUME_CLONE_THREAD_FLAGS.
31676
31677 2012-08-14  Andreas Jaeger  <aj@suse.de>
31678
31679         * sysdeps/i386/fpu/libm-test-ulps: Update.
31680
31681 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31682
31683         * include/atomic.h (atomic_exchange_and_add): Split into ...
31684         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31685         New atomic macros.
31686
31687 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31688
31689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31690
31691 2012-08-13  Jeff Law <law@redhat.com>
31692
31693         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31694         null byte in the output string.
31695
31696 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31697
31698         * sysdeps/unix/sysv/linux/kernel-features.h
31699         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31700         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31701         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31702         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31703         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31704         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31705         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31706
31707 2012-08-09  Jeff Law <law@redhat.com>
31708
31709         [BZ #13939]
31710         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31711         When avoid_arena is set, don't retry in the that arena.  Pick the
31712         next one, whatever it might be.
31713         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31714         (arena_lock): Pass in new parameter to arena_get2.
31715         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31716         arena_get2.
31717         (__libc_malloc): Unify retrying after main arena failure with
31718         __libc_memalign version.
31719         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31720
31721 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31722
31723         [BZ #14166]
31724         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31725         to __redirect_strstr.
31726         (__strstr_sse42): Use typeof __redirect_strstr.
31727         (__strstr_ia32): Likewise.
31728         (__libc_strstr): New prototype.
31729         (strstr): Renamed to ...
31730         (__libc_strstr): This.
31731         (strstr): New strong alias of __libc_strstr.
31732         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31733         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31734         __redirect_time.
31735         Include <time.h>.
31736         (__libc_time): New prototype.
31737         (time_ifunc): Replace time with __libc_time.
31738         (time): New strong alias and hidden definition of __libc_time.
31739         (__GI_time): Remove strong alias.
31740         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31741         Include <stddef.h>.
31742         (memmove): Redefined to __redirect_memmove.
31743         (__memmove_sse2): Use typeof __redirect_memmove.
31744         (__memmove_ssse3): Likewise.
31745         (__memmove_ssse3_back): Likewise.
31746         (__libc_memmove): New prototype.
31747         (memmove): Renamed to ...
31748         (__libc_memmove): This.
31749         (memmove): New strong alias of __libc_memmove.
31750
31751 2012-08-08  Mark Salter  <msalter@redhat.com>
31752
31753         * elf/elf.h
31754         (R_MN10300_TLS_GD): Define.
31755         (R_MN10300_TLS_LD): Likewise.
31756         (R_MN10300_TLS_LDO): Likewise.
31757         (R_MN10300_TLS_GOTIE): Likewise.
31758         (R_MN10300_TLS_IE): Likewise.
31759         (R_MN10300_TLS_LE): Likewise.
31760         (R_MN10300_TLS_DTPMOD): Likewise.
31761         (R_MN10300_TLS_DTPOFF): Likewise.
31762         (R_MN10300_TLS_TPOFF): Likewise.
31763         (R_MN10300_SYM_DIFF): Likewise.
31764         (R_MN10300_ALIGN): Likewise.
31765         (R_MN10300_NUM): Update.
31766
31767 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31768
31769         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31770         Remove.
31771
31772 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31773
31774         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31775
31776         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31777         sysdeps/unix -> sysdeps/posix move.
31778         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31779
31780 2012-08-07      Allan McRae     <allan@archlinux.org>
31781
31782         [BZ #14303]
31783         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31784         (SUNOS_CPP): Likewise.
31785         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31786         not found.
31787         (open_input): Call CPP using execvp.
31788
31789 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31790
31791         * sysdeps/unix/sysv/linux/kernel-features.h
31792         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31793         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31794         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31795         (__ASSUME_WAITID_SYSCALL): Likewise.
31796         * sysdeps/unix/sysv/linux/dl-execstack.c
31797         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31798         code unconditional.
31799         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31800         conditional code.
31801         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31802         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31803         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31804         code.
31805         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31806         unconditional.
31807         [__ASSUME_WAITID_SYSCALL]: Likewise.
31808         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31809
31810 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31811
31812         * sysdeps/unix/closedir.c: Renamed to ...
31813         * sysdeps/posix/closedir.c: ... here.
31814         * sysdeps/unix/dirfd.c: Renamed to ...
31815         * sysdeps/posix/dirfd.c: ... here.
31816         * sysdeps/unix/dirstream.h: Renamed to ...
31817         * sysdeps/posix/dirstream.h: ... here.
31818         * sysdeps/unix/fdopendir.c: Renamed to ...
31819         * sysdeps/posix/fdopendir.c: ... here.
31820         * sysdeps/unix/opendir.c: Renamed to ...
31821         * sysdeps/posix/opendir.c: ... here.
31822         * sysdeps/unix/readdir.c: Renamed to ...
31823         * sysdeps/posix/readdir.c: ... here.
31824         * sysdeps/unix/readdir_r.c: Renamed to ...
31825         * sysdeps/posix/readdir_r.c: ... here.
31826         * sysdeps/unix/rewinddir.c: Renamed to ...
31827         * sysdeps/posix/rewinddir.c: ... here.
31828         * sysdeps/unix/seekdir.c: Renamed to ...
31829         * sysdeps/posix/seekdir.c: ... here.
31830         * sysdeps/unix/telldir.c: Renamed to ...
31831         * sysdeps/posix/telldir.c: ... here.
31832         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31833         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31834         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31835         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31836
31837         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31838         * bits/fcntl.h: ... here.
31839
31840         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31841         not 0.
31842         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31843         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31844         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31845         (struct flock): Move l_start, l_len to the beginning.
31846         Use __pid_t for l_pid.
31847         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31848         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31849         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31850         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31851         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31852         [__USE_LARGEFILE64] (struct flock64): New type.
31853         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31854
31855         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31856         * bits/dirent.h: ... here.
31857
31858         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31859         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31860
31861 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31862
31863         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31864         Change from 2.6.0 to 2.6.16.
31865         * sysdeps/unix/sysv/linux/configure: Regenerated.
31866         * sysdeps/unix/sysv/linux/kernel-features.h
31867         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31868         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31869         version.
31870         (__ASSUME_UTIMES): Likewise.
31871         (__ASSUME_CLONE_STOPPED): Remove.
31872         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31873         architectures, not kernel version.
31874         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31875         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31876         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31877         (__ASSUME_WAITID_SYSCALL): Likewise.
31878         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31879         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31880         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31881         refer to older versions.
31882
31883 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31884
31885         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31886         Define alphasort64 as an alias.
31887         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31888         Define versionsort64 as an alias.
31889         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31890         Define scandir64 as an alias.
31891         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31892         Define scandirat64 as an alias.
31893         * dirent/alphasort64.c (alphasort64):
31894         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31895         * dirent/versionsort64.c: Likewise.
31896         * dirent/scandir64.c: Likewise.
31897         * dirent/scandirat64.c: Likewise.
31898         * sysdeps/wordsize-64/alphasort.c: File removed.
31899         * sysdeps/wordsize-64/alphasort64.c: File removed.
31900         * sysdeps/wordsize-64/scandir.c: File removed.
31901         * sysdeps/wordsize-64/scandir64.c: File removed.
31902         * sysdeps/wordsize-64/scandirat.c: File removed.
31903         * sysdeps/wordsize-64/scandirat64.c: File removed.
31904         * sysdeps/wordsize-64/versionsort.c: File removed.
31905         * sysdeps/wordsize-64/versionsort64.c: File removed.
31906         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31907         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31908         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31909         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31911         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31912         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31913         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31914
31915         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31917         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31919         [defined __arch64__ || defined __sparcv9]
31920         (__INO_T_MATCHES_INO64_T): New macro.
31921         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31922         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31923         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31924         * sysdeps/unix/sysv/linux/bits/dirent.h
31925         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31926         (_DIRENT_MATCHES_DIRENT64): New macro.
31927
31928         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31929         Define lockf64 as an alias.
31930         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31931         Define fseeko64 as an alias.
31932         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31933         Define ftello64 as an alias.
31934         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31935         Define _IO_fgetpos64 and fgetpos64 as aliases.
31936         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31937         Define _IO_fsetpos64 and fsetpos64 as aliases.
31938         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31939         Conditionalize body on this.
31940         * libio/fseeko64.c: Likewise.
31941         * libio/ftello64.c: Likewise.
31942         * libio/iofgetpos64.c: Likewise.
31943         * libio/iofsetpos64.c: Likewise.
31944         * sysdeps/wordsize-64/lockf.c: File removed.
31945         * sysdeps/wordsize-64/lockf64.c: File removed.
31946         * sysdeps/wordsize-64/fseeko.c: File removed.
31947         * sysdeps/wordsize-64/fseeko64.c: File removed.
31948         * sysdeps/wordsize-64/ftello.c: File removed.
31949         * sysdeps/wordsize-64/ftello64.c: File removed.
31950         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31951         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31952         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31953         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31954         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31955         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31956         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31957         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31958         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31959         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31960         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31961         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31962         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31963         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31964
31965         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31967         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31969         [defined __arch64__ || defined __sparcv9]
31970         (__OFF_T_MATCHES_OFF64_T): New macro.
31971         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31972         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31973         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31974         (__OFF_T_MATCHES_OFF64_T): New macro.
31975
31976 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31977
31978         * stdlib/secure-getenv.c (__secure_getenv): Replace
31979         GLIBC_2_16 with GLIBC_2_17.
31980
31981 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31982
31983         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31984         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31985
31986 2012-08-03  David S. Miller  <davem@davemloft.net>
31987
31988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31989
31990 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31991
31992         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31993         Remove.
31994         (__ASSUME_CORRECT_SI_PID): Likewise.
31995         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31996         (__ASSUME_TMPFS_NAME): Likewise.
31997         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31998         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31999         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32000         (HAVE_AUX_SECURE): Make definition unconditional.
32001         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32002         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32003
32004 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32005
32006         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32007         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32008         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32009         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32010         __eloop_threshold instead of SYMLOOP_MAX.
32011
32012         * sysdeps/generic/eloop-threshold.h: New file.
32013         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32014         of MAXSYMLINKS.
32015         * elf/chroot_canon.c (chroot_canon): Likewise.
32016
32017 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32018
32019         [BZ #13717]
32020         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32021         Change to 2.6.0 everywhere.
32022         * sysdeps/unix/sysv/linux/configure: Regenerated.
32023         * sysdeps/unix/sysv/linux/kernel-features.h
32024         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32025         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32026         kernel versions.
32027         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32028         (__ASSUME_FUTEX_REQUEUE): Remove.
32029         (__ASSUME_STATFS64): Define unconditionally.
32030         (__ASSUME_AT_SECURE): Likewise.
32031         (__ASSUME_CORRECT_SI_PID): Likewise.
32032         (__ASSUME_TGKILL): Define without depending on kernel version for
32033         i386.
32034         (__ASSUME_UTIMES): Likewise.
32035         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32036         kernel version.
32037         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32038         (__ASSUME_TMPFS_NAME): Likewise.
32039         * README: Update reference to Linux kernel versions.
32040
32041 2012-08-02  Marek Polacek  <polacek@redhat.com>
32042
32043         [BZ# 14150]
32044         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32045         libc_cv_asm_type_prefix with %.
32046         * configure: Regenerated.
32047         * include/libc-symbols.h: Remove comment about
32048         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32049         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32050         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32051         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32052         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32053         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32054         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32055         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32056         * elf/tst-unique2mod1.c: Likewise.
32057         * elf/tst-unique1mod2.c: Likewise.
32058         * elf/tst-unique1mod1.c: Likewise.
32059         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32060         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32061         Replace ASM_TYPE_DIRECTIVE with .type.
32062         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32063         * sysdeps/i386/sysdep.h: Likewise.
32064         * sysdeps/x86_64/sysdep.h: Likewise.
32065         * sysdeps/sh/sysdep.h: Likewise.
32066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32067         Do not define ASM_TYPE_DIRECTIVE.
32068         * sysdeps/powerpc/sysdep.h: Likewise.
32069         * sysdeps/powerpc/powerpc32/sysdep.h:
32070         Replace ASM_TYPE_DIRECTIVE with .type.
32071         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32072         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32073         * sysdeps/i386/fpu/e_powf.S: Likewise.
32074         * sysdeps/i386/fpu/e_expl.S: Likewise.
32075         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32076         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32077         * sysdeps/i386/fpu/e_pow.S: Likewise.
32078         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32079         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32080         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32081         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32082         * sysdeps/i386/fpu/e_log2.S: Likewise.
32083         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32084         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32085         * sysdeps/i386/fpu/e_powl.S: Likewise.
32086         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32087         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32088         * sysdeps/i386/fpu/e_logl.S: Likewise.
32089         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32090         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32091         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32092         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32093         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32094         * sysdeps/i386/fpu/e_log.S: Likewise.
32095         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32096         * sysdeps/i386/fpu/e_logf.S: Likewise.
32097         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32098         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32099         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32100         * sysdeps/i386/fpu/e_log10.S: Likewise.
32101         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32102         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32103         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32104         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32105         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32106         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32107         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32108         * sysdeps/i386/i686/strtok.S: Likewise.
32109         * sysdeps/i386/i386-mcount.S: Likewise.
32110         * sysdeps/i386/strtok.S: Likewise.
32111         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32112         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32113         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32114         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32115         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32116         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32117         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32118         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32119         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32120         * sysdeps/x86_64/_mcount.S: Likewise.
32121         * sysdeps/x86_64/strtok.S: Likewise.
32122         * sysdeps/sh/_mcount.S: Likewise.
32123
32124 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32125
32126         * libio/iofopen.c: Include <fcntl.h>.
32127         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32128         (_IO_fopen64, fopen64): Define as aliases.
32129         * libio/iofopen64.c: Include <fcntl.h>.
32130         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32131         Conditionalize body on this.
32132         * sysdeps/wordsize-64/iofopen.c: File removed.
32133         * sysdeps/wordsize-64/iofopen64.c: File removed.
32134
32135 2012-08-01  Marek Polacek  <polacek@redhat.com>
32136
32137         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32138         Use dlfcn directly instead of a variable.
32139         (binfmt-subdir): Do not define.
32140         (dlfcn): Likewise.
32141
32142 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32143
32144         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32145         Remove all definitions.
32146         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32147         <kernel-features.h>.
32148         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32149         (miss_F_GETOWN_EX): Remove all definitions.
32150         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32151         macro definition.
32152         [!__ASSUME_FCNTL64]: Remove conditional code.
32153         [__ASSUME_FCNTL64]: Make code unconditional.
32154         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32155         <kernel-features.h>.
32156         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32157         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32158         (lockf64) [__NR_fcntl64]: Make code unconditional.
32159         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32160
32161         * sysdeps/unix/sysv/linux/kernel-features.h
32162         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32163         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32164         Make code unconditional.
32165         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32166         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32168         [__NR_vfork]: Make code unconditional.
32169         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32170         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32172         [__NR_vfork]: Make code unconditional.
32173         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32174         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32175
32176 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32177
32178         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32179         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32180
32181         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32182         Define mkstemp64 as an alias.
32183         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32184         Define mkstemps64 as an alias.
32185         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32186         Define mkostemp64 as an alias.
32187         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32188         Define mkostemps64 as an alias.
32189         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32190         Conditionalize body on this.
32191         * misc/mkostemp64.c: Likewise.
32192         * misc/mkostemps64.c: Likewise.
32193         * misc/mkstemps64.c: Likewise.
32194         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32195         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32196         * sysdeps/wordsize-64/mkostemp.c: File removed.
32197         * sysdeps/wordsize-64/mkstemp.c: File removed.
32198         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32199         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32200         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32201         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32202
32203         [BZ #14138]
32204         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32205         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32206         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32207         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32208
32209         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32210         compat_symbol macros from <shlib-compat.h> rather than the underlying
32211         default_symbol_version and symbol_version macros, so that DEFAULT
32212         lines in shlib-versions are respected.
32213         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32214
32215 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32216
32217         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32218         Declare with warn_unused_result.
32219         (setgid, setregid, setegid, setresgid): Likewise.
32220         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32221         Likewise.
32222         * WUR-REPORT: Remove set*id functions.
32223
32224 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32225
32226         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32227
32228 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32229
32230         [BZ #10191]
32231         * include/sys/socket.h (__libc_accept, __libc_accept4):
32232         Add attribute_hidden.
32233         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32234
32235         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32236         use of PTR_MANGLE.
32237         * inet/getnetgrent_r.c (setup): Likewise.
32238
32239         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32240
32241 2012-07-31  David S. Miller  <davem@davemloft.net>
32242
32243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32244
32245 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32246
32247         [BZ #13629]
32248         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32249         value between 1.0 and 2.0 and smaller part has absolute value less
32250         than 1.0.
32251         * math/s_clog10.c (__clog10): Likewise.
32252         * math/s_clog10f.c (__clog10f): Likewise.
32253         * math/s_clog10l.c (__clog10l): Likewise.
32254         * math/s_clogf.c (__clogf): Likewise.
32255         * math/s_clogl.c (__clogl): Likewise.
32256         * math/libm-test.inc (clog_test): Add more tests.
32257         (clog10_test): Likewise.
32258         * sysdeps/i386/fpu/libm-test-ulps: Update.
32259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32260
32261 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32262
32263         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32264         Exit with zero in case no suitable GID is found, and write a
32265         message to standard error.
32266
32267 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32268
32269         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32270         rather than to 1.
32271         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32272         (MAXPATHLEN): Removed.
32273         (NOGROUP, NODEV): New macros.
32274         (setbit, clrbit, isset, isclr): New macros.
32275         (howmany, roundup, powerof2): New macros.
32276         (DEV_BSIZE): New macro.
32277
32278         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32279         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32280
32281         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32282         definition on [!__NO_LONG_DOUBLE_MATH].
32283
32284         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32285         PTR_MANGLE and PTR_DEMANGLE.
32286
32287         * socket/accept4.c (accept4): Rename to __libc_accept4.
32288         Define accept4 as a weak alias.
32289
32290         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32291         on [_DIRENT_HAVE_D_TYPE].
32292         * io/ftw.c (ftw_dir): Likewise.
32293
32294         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32295
32296         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32297
32298         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32299         Use the BSD numbers rather than the arbitrary ones we had.
32300         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32301         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32302         (SIGXCPU, SIGXFSZ): New macros.
32303         (_NSIG): Now 32.
32304
32305         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32306         initializer on [_LIBC_REENTRANT].
32307
32308         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32309         definitions inside [_POSIX_MAPPED_FILES].
32310
32311         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32312
32313         * dirent/opendir.c: Include <fcntl.h>.
32314
32315         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32316         (__libc_getspecific): Likewise.
32317         (__libc_key_create): Likewise.
32318
32319         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32320         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32321         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32322         (tmpfile64): Define as alias.
32323         * sysdeps/wordsize-64/tmpfile.c: File removed.
32324         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32325         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32326         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32327
32328         * stdio-common/vfscanf.c: Include <stdbool.h>.
32329         * nss/makedb.c: Likewise.
32330         * stdio-common/_i18n_number.h: Likewise.
32331         * argp/argp-help.c: Likewise.
32332         * posix/wordexp.c: Likewise.
32333         * sysdeps/posix/spawni.c: Likewise.
32334         * nss/nss_files/files-initgroups.c: Likewise.
32335         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32336         * nss/nss_files/files-initgroups.c: Likewise.
32337         * nss/nss_db/db-netgrp.c: Likewise.
32338         * nss/nss_db/db-initgroups.c: Likewise.
32339         * io/fchmodat.c: Include <sys/stat.h>.
32340
32341         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32342         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32343
32344         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32345         [HAVE_MMAP].
32346
32347         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32348         Add multiple inclusion protection.
32349
32350 2012-07-27  David S. Miller  <davem@davemloft.net>
32351
32352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32353
32354 2012-07-27  Gary Benson  <gbenson@redhat.com>
32355
32356         [BZ #14298]
32357         * elf/rtld.c: Include <stap-probe.h>.
32358         (dl_main): Added static probes "init_start" and "init_complete".
32359         * elf/dl-load.c: Include <stap-probe.h>.
32360         (lose): Take new parameter "nsid".
32361         Added static probe "map_failed".
32362         (_dl_map_object_from_fd): Pass namespace id to lose.
32363         Added static probe "map_start".
32364         (open_verify): Pass namespace id to lose.
32365         * elf/dl-open.c: Include <stap-probe.h>.
32366         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32367         and "reloc_complete".
32368         * elf/dl-close.c: Include <stap-probe.h>.
32369         (_dl_close_worker): Added static probes "unmap_start" and
32370         "unmap_complete".
32371         * elf/rtld-debugger-interface.txt: New file documenting the above.
32372
32373 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32374
32375         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32376         rather than a string variable.
32377         * sunrpc/rpc_main.c (h_output): Likewise.
32378         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32379
32380 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32381
32382         * inet/check_native.c: New file.
32383
32384 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32385
32386         [BZ #13629]
32387         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32388         if larger part has absolute value 1.0.
32389         * math/s_clog10.c (__clog10): Likewise.
32390         * math/s_clog10f.c (__clog10f): Likewise.
32391         * math/s_clog10l.c (__clog10l): Likewise.
32392         * math/s_clogf.c (__clogf): Likewise.
32393         * math/s_clogl.c (__clogl): Likewise.
32394         * math/libm-test.inc (clog_test): Add more tests.
32395         (clog10_test): Likewise.
32396         * sysdeps/i386/fpu/libm-test-ulps: Update.
32397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32398
32399         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32400         (pltexit): Likewise.
32401         (La_regs): Likewise.
32402         (La_retval): Likewise.
32403         (int_retval): Likewise.
32404         Update #error for removed macros to refer only to definitions in
32405         tst-audit.h.
32406         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32407         macro.
32408         (pltexit): Likewise.
32409         (La_regs): Likewise.
32410         (La_retval): Likewise.
32411         (int_retval): Likewise.
32412         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32413         macro.
32414         (pltexit): Likewise.
32415         (La_regs): Likewise.
32416         (La_retval): Likewise.
32417         (int_retval): Likewise.
32418         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32419         macro.
32420         (pltexit): Likewise.
32421         (La_regs): Likewise.
32422         (La_retval): Likewise.
32423         (int_retval): Likewise.
32424         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32425         macro.
32426         (pltexit): Likewise.
32427         (La_regs): Likewise.
32428         (La_retval): Likewise.
32429         (int_retval): Likewise.
32430         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32431         macro.
32432         (pltexit): Likewise.
32433         (La_regs): Likewise.
32434         (La_retval): Likewise.
32435         (int_retval): Likewise.
32436         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32437         macro.
32438         (pltexit): Likewise.
32439         (La_regs): Likewise.
32440         (La_retval): Likewise.
32441         (int_retval): Likewise.
32442         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32443         macro definitions in tst-audit.h.
32444         * sysdeps/i386/tst-audit.h: New file.
32445         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32446         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32447         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32448         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32449         * sysdeps/sh/tst-audit.h: Likewise.
32450         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32451         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32452         * sysdeps/x86_64/tst-audit.h: Likewise.
32453
32454 2012-07-26  Andreas Jaeger  <aj@suse.de>
32455
32456         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32457         ptrace.
32458
32459         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32460         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32461         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32462         PTRACE_O_MASK.
32463         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32464         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32465         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32466
32467         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32468         value.
32469
32470         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32471         _sigsys.
32472         (si_call_addr, si_syscall, si_arch): Define new macro.
32473         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32474         _sigsys.
32475         (si_call_addr, si_syscall, si_arch): Define new marcro.
32476         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32477         _sigsys.
32478         (si_call_addr, si_syscall, si_arch): Define new macro.
32479         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32480         _sigsys.
32481         (si_call_addr, si_syscall, si_arch): Define new macro.
32482
32483 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32484
32485         [BZ #13717]
32486         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32487         Change to 2.4.21 where previously 2.4.1.
32488         * sysdeps/unix/sysv/linux/configure: Regenerated.
32489         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32490         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32491         Linux kernel version.
32492         (__ASSUME_STD_AUXV): Remove.
32493         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32494         kernel version.
32495         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32496         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32497         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32498         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32499         (__ASSUME_NETLINK_SUPPORT): Likewise.
32500         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32501         (__no_netlink_support): Remove conditional definition.
32502         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32503         Remove.
32504         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32505         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32506         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32507         (if_nameindex_ioctl): Remove.
32508         (if_nameindex_netlink): Do not handle __no_netlink_support.
32509         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32510         code.
32511         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32512         Remove conditional code.
32513         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32514         code.
32515         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32516         unconditional.
32517         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32518         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32519         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32520         Remove.
32521         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32522         [!__ASSUME_STD_AUXV]: Remove conditional code.
32523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32524         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32525         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32527         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32528         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32529         code.
32530         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32532         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32533         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32534         conditional code.
32535         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32537         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32538         code.
32539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32540         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32541         conditional code.
32542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32543         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32544         code unconditional.
32545         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32546         conditional code.
32547         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32548         unconditional.
32549         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32550         conditional code.
32551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32552         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32553         unconditional.
32554         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32555         conditional code.
32556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32557         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32558         code unconditional.
32559         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32560         conditional code.
32561         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32562         unconditional.
32563         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32564         conditional code.
32565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32566         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32567         code unconditional.
32568         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32569         conditional code.
32570         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32571         unconditional.
32572         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32573         conditional code.
32574
32575 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32576
32577         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32578         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32579         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32580         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32581         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32582         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32583         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32584         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32585         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32586         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32587         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32588         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32589         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32590         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32591         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32592         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32593         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32594         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32595         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32597         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32598         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32599         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32600
32601 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32602
32603         * Versions.def: Add GLIBC_2.17.
32604         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32605         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32606         Introduce __libc_secure_getenv.
32607         * stdlib/Versions (2.17): Add secure_getenv
32608         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32609         * stdlib/secure-getenv.c: Rename __secure_getenv to
32610         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32611         symbol __secure_getenv for GLIBC_2.0.
32612         * stdlib/tst-secure-getenv.c: New.
32613         * stdlib/Makefile (tests): Add testcase.
32614         * manual/startup.texi (Environment Access): Document
32615         secure_getenv.
32616         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32617         __libc_secure_getenv.
32618         * inet/ruserpass.c (ruserpass): Likewise.
32619         * malloc/mtrace.c (mtrace): Likewise.
32620         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32621         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32622         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32623         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32624         HAVE_SECURE_GETENV.
32625         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32626         __secure_getenv to __libc_secure_getenv.
32627         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32629         Likewise.
32630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32631         Likewise.
32632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32639
32640 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32641
32642         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32643         (struct La_i86_retval): Likewise.
32644         (struct La_x86_64_regs): Likewise.
32645         (struct La_x86_64_retval): Likewise.
32646         (struct La_x32_regs): Likewise.
32647         (struct La_x32_retval): Likewise.
32648         (struct La_ppc32_regs): Likewise.
32649         (struct La_ppc32_retval): Likewise.
32650         (struct La_ppc64_regs): Likewise.
32651         (struct La_ppc64_retval): Likewise.
32652         (struct La_sh_regs): Likewise.
32653         (struct La_sh_retval): Likewise.
32654         (struct La_s390_32_regs): Likewise.
32655         (struct La_s390_32_retval): Likewise.
32656         (struct La_s390_64_regs): Likewise.
32657         (struct La_s390_64_retval): Likewise.
32658         (struct La_sparc32_regs): Likewise.
32659         (struct La_sparc32_retval): Likewise.
32660         (struct La_sparc64_regs): Likewise.
32661         (struct La_sparc64_retval): Likewise.
32662         (struct audit_ifaces): Remove architecture-specific pltenter and
32663         pltexit members.
32664         * sysdeps/i386/ldsodefs.h: New file.
32665         * sysdeps/powerpc/ldsodefs.h: Likewise.
32666         * sysdeps/s390/ldsodefs.h: Likewise.
32667         * sysdeps/sh/ldsodefs.h: Likewise.
32668         * sysdeps/sparc/ldsodefs.h: Likewise.
32669         * sysdeps/x86_64/ldsodefs.h: Likewise.
32670
32671 2012-07-25  Marek Polacek  <polacek@redhat.com>
32672
32673         [BZ #6808]
32674         * math/libm-test.inc (yn_test): Add another test.
32675         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32676         to ERANGE when the result is +-Inf.
32677         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32678         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32679         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32680         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32681
32682 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32683
32684         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32685         equal to 0.
32686         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32687         clock_t.
32688         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32689
32690 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32691
32692         * configure.in <sysdeps resolving>: Correct printing
32693         Implies_before.
32694         * configure: Regenerate.
32695
32696 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32697
32698         * math/w_ilogb.c: Include <limits.h>.
32699         * math/w_ilogbl.c: Likewise.
32700
32701 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32702
32703         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32704         va_copy.  Document allowing for unavailable va_copy only as
32705         pre-C99 compatibility.
32706         * manual/string.texi (Copying and Concatenation): Use va_copy
32707         instead of __va_copy in concat example.
32708
32709 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32710
32711         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32712         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32713         it if not null.
32714
32715         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32716         with O_NOLINK passed to __file_name_lookup.
32717
32718         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32719         with O_NOLINK passed to __file_name_lookup.
32720
32721         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32722         negative N or less than NGIDS.
32723
32724         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32725         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32726         enough.  Use memcpy instead of strncpy.
32727
32728 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32729
32730         * elf/Makefile (check-data): Remove.
32731         (localplt.data): New vpath directive.
32732         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32733         instead of $(check-data).
32734         * scripts/data/localplt-generic.data: Move to ...
32735         * sysdeps/generic/localplt.data: ... here.
32736         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32737         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32738         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32740         ... here.
32741         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32743         ... here.
32744         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32746         ... here.
32747         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32749         ... here.
32750         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32752         ... here.
32753         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32755         ... here.
32756
32757 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32758
32759         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32760         PPC32 and PPC64 files.
32761         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32762         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32763
32764 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32765
32766         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32767         __makecontext_ret to ...
32768         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32769         ... here and call exit if uc_link is NULL.  New file.
32770         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32771         __makecontext_ret.S.
32772         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32773         __makecontext_ret to ...
32774         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32775         ... here and call exit if uc_link is NULL.  New file.
32776         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32777         __makecontext_ret.S.
32778
32779 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32780
32781         * elf/elf.h (R_390_IRELATIVE): New definition.
32782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32783         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32784         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32785         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32786         (elf_machine_lazy_rel): Likewise.
32787         * sysdeps/s390/dl-irel.h: New file.
32788         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32789         * sysdeps/s390/s390-64/memset.S: New asm code.
32790         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32791         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32792         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32793         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32794         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32795         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32796         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32797         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32798         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32799         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32800         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32801         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32802         * sysdeps/s390/s390-32/memset.S: New asm code.
32803         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32804
32805 2012-07-17  Marek Polacek  <polacek@redhat.com>
32806
32807         [BZ #14349]
32808         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32809         * sysdeps/s390/s390-64/configure.in: Likewise.
32810         * sysdeps/sparc/configure.in: Likewise.
32811         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32812         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32813         * sysdeps/i386/configure.in: Likewise.
32814         * sysdeps/x86_64/configure.in: Likewise.
32815         * sysdeps/sh/configure.in: Likewise.
32816         * sysdeps/s390/s390-32/configure: Regenerated.
32817         * sysdeps/s390/s390-64/configure: Likewise.
32818         * sysdeps/x86_64/configure: Likewise.
32819         * sysdeps/sh/configure: Likewise.
32820         * sysdeps/powerpc/powerpc64/configure: Likewise.
32821         * sysdeps/powerpc/powerpc32/configure: Likewise.
32822         * sysdeps/sparc/configure: Likwise.
32823         * sysdeps/i386/configure: Likewise.
32824
32825         * elf/dl-open.c: Comment fixes.
32826
32827 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32828
32829         * Makefile [CXX] (check-data): Remove.
32830         [CXX] (c++-types.data): New vpath directive.
32831         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32832         vpath.  Do not allow for C++ type data being missing.
32833         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32834         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32835         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32836         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32837         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32838         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32839         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32841         ... here.
32842         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32844         ... here.
32845         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32847         ... here.
32848         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32850         ... here.
32851         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32853         ... here.
32854         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32856         ... here.
32857         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32859         ... here.
32860         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32862
32863         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32864         definitions to architecture-specific files.
32865         (TLS_IE): Likewise.
32866         (TLS_LD): Likewise.
32867         (TLS_GD): Likewise.
32868         * sysdeps/i386/tls-macros.h: New file.
32869         * sysdeps/powerpc/tls-macros.h: Likewise.
32870         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32871         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32872         * sysdeps/sh/tls-macros.h: Likewise.
32873         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32874         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32875         * sysdeps/x86_64/tls-macros.h: Likewise.
32876
32877 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32878
32879         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32880         zero value for regular exit case.
32881
32882         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32883         (__start_context): Preserve zero value for regular exit case.
32884
32885 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32886             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32887
32888         * manual/setjmp.texi (setcontext): Clarify normal process
32889         termination when uc_link is the null pointer.
32890         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32891         exit call.
32892
32893 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32894
32895         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32896         preprocessor.  Test for each exception mask separately.
32897
32898 2012-07-16  Andreas Jaeger  <aj@suse.de>
32899
32900         * po/ru.po: Update from translation team.
32901
32902 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32903
32904         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32905         equal to 0.
32906         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32907         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32908         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32909         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32910         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32911
32912 2012-07-13  Andreas Jaeger  <aj@suse.de>
32913
32914         * po/fr.po: Update from translation team.
32915
32916 2012-07-12  Marek Polacek  <polacek@redhat.com>
32917
32918         [BZ #14173]
32919         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32920         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32921         loop condition.
32922
32923 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32924
32925         [BZ #13717]
32926         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32927         Change to 2.4.1 where previously 2.4.0.
32928         * sysdeps/unix/sysv/linux/configure: Regenerated.
32929         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32930         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32931         version.
32932         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32933         (__ASSUME_AT_CLKTCK): Remove.
32934         (__ASSUME_AT_PAGESIZE): Likewise.
32935         (__ASSUME_AT_XID): Likewise.
32936         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32937         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32938         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32939         unconditionally.
32940         (HAVE_AUX_PAGESIZE): Likewise.
32941         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32942         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32943         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32944
32945 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32946
32947         [BZ #14307]
32948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32949         the temporary buffer used to invoke __gethostbyname2_r,
32950         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32951         host_data / struct gaih_addrtuple.
32952         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32953         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32954         header file nss/nsswitch.h.
32955         * nss/nsswitch.h (global scope): Add definition of implementation
32956         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32957         resolv/nss_dns/dns-host.c).
32958
32959 2012-07-11  Andreas Jaeger  <aj@suse.de>
32960
32961         * po/fr.po: Update from translation team.
32962
32963         * po/sv.po: Update from translation team
32964         * po/fr.po: Another update from translation team.
32965
32966 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32967
32968         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32969         for subnormals or multiply small sinh result by itself.
32970         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32972
32973 2012-07-11  David S. Miller  <davem@davemloft.net>
32974
32975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32976
32977 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32978
32979         [BZ #14347]
32980         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32981         (INTERNAL_MARK): Shift it here.
32982
32983 2012-07-10  Marek Polacek  <polacek@redhat.com>
32984
32985         [BZ #14151]
32986         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32987         libc_cv_asm_global_directive with .globl.
32988         * configure: Regenerated.
32989         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32990         with .globl.
32991         * sysdeps/i386/configure: Regenerated.
32992         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32993         with .globl.
32994         * sysdeps/x86_64/configure: Regenerated.
32995         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32996         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32997         * elf/tst-unique2mod2.c: Likewise.
32998         * elf/tst-unique2mod1.c: Likewise.
32999         * elf/tst-unique1mod2.c: Likewise.
33000         * elf/tst-unique1mod1.c: Likewise.
33001         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33002         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33003         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33004         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33005         * sysdeps/mach/sysdep.h: Likewise.
33006         * sysdeps/i386/sysdep.h: Likewise.
33007         * sysdeps/i386/i386-mcount.S: Likewise.
33008         * sysdeps/x86_64/_mcount.S: Likewise.
33009         * sysdeps/x86_64/sysdep.h: Likewise.
33010         * sysdeps/sh/_mcount.S: Likewise.
33011         * sysdeps/sh/sysdep.h: Likewise.
33012         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33013         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33014         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33015         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33016         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33017         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33018         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33019         * locale/localeinfo.h: Likewise.
33020         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33021         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33022
33023 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33024
33025         [BZ #14336]
33026         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33027         system".
33028         * manual/message.texi (The Uniforum approach): Likewise.
33029         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33030         (glibc iconv Implementation): Likewise.
33031
33032 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33033
33034         [BZ #14337]
33035         * math/s_clog.c (__clog): Avoid scaling a value down where that
33036         could result in underflow.
33037         * math/s_clog10.c (__clog10): Likewise.
33038         * math/s_clog10f.c (__clog10f): Likewise.
33039         * math/s_clog10l.c (__clog10l): Likewise.
33040         * math/s_clogf.c (__clogf): Likewise.
33041         * math/s_clogl.c (__clogl): Likewise.
33042         * math/libm-test.inc (clog_test): Add more tests.
33043         (clog10_test): Likewise.
33044         * sysdeps/i386/fpu/libm-test-ulps: Update.
33045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33046
33047 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33048
33049         [BZ #14283]
33050         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33051         by 7 not 8 to examine high bit of fractional part.
33052
33053         [BZ #14042]
33054         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33055         for call to __mcount_internal.
33056         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33057         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33058         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33059
33060 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33061
33062         [BZ #14154]
33063         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33064         approximation for values within 0x1p-13f of an odd multiple of
33065         pi/4.
33066         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33067         exception.  Add more tests.
33068         * sysdeps/i386/fpu/libm-test-ulps: Update.
33069
33070         [BZ #6778]
33071         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33072         inputs and return -1 for them.  Do not check for +Inf in case not
33073         reachable for +Inf.
33074         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33075         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33076         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33077         and return -1 for them.  Do not check for +Inf in case not
33078         reachable for +Inf.
33079         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33080         define.
33081         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33082         and return -1 for them.  Do not check for +Inf in case not
33083         reachable for +Inf.
33084         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33085         spurious underflow.
33086         * sysdeps/i386/fpu/libm-test-ulps: Update.
33087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33088
33089 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33090
33091         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33092
33093 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33094
33095         [BZ #14157]
33096         [BZ #14331]
33097         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33098         could result in spurious underflow.  Scale down values above
33099         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33100         * math/s_csqrtf.c (__csqrtf): Likewise.
33101         * math/s_csqrtl.c (__csqrtl): Likewise.
33102         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33103         spurious underflow.
33104         * sysdeps/i386/fpu/libm-test-ulps: Update.
33105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33106
33107 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33108
33109         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33110         xopen-msg.sed.
33111         * catgets/xopen-msg.awk: New file.
33112         * catgets/xopen-msg.sed: Removed.
33113
33114         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33115         po2text.sed.
33116         * intl/po2test.awk: New file.
33117         * intl/po2test.sed: Removed.
33118
33119 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33120
33121         [BZ #14328]
33122         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33123         or multiply small sinh result by itself.
33124         * math/s_ctanf.c (__ctanf): Likewise.
33125         * math/s_ctanh.c (__ctanh): Likewise.
33126         * math/s_ctanhf.c (__ctanhf): Likewise.
33127         * math/s_ctanhl.c (__ctanhl): Likewise.
33128         * math/s_ctanl.c (__ctanl): Likewise.
33129         * math/libm-test.inc (ctan_test_tonearest): New function.
33130         (ctan_test_towardzero): Likewise.
33131         (ctan_test_downward): Likewise.
33132         (ctan_test_upward): Likewise.
33133         (ctanh_test_tonearest): Likewise.
33134         (ctanh_test_towardzero): Likewise.
33135         (ctanh_test_downward): Likewise.
33136         (ctanh_test_upward): Likewise.
33137         (main): Call these new functions.
33138         * sysdeps/i386/fpu/libm-test-ulps: Update.
33139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33140
33141 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33142
33143         * .gitignore: Delete /ports entry.
33144
33145 2012-07-03  Andreas Jaeger  <aj@suse.de>
33146
33147         * po/bg.po: Update from translation team.
33148         * po/cs.po: Likewise.
33149         * po/de.po: Likewise.
33150         * po/hr.po: Likewise.
33151         * po/nl.pl: Likewise.
33152         * po/pl.po: Likewise.
33153         * po/vi.po: Likewise.
33154
33155 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33156
33157         * Makeconfig [!+link] (+link-before-libc): New variable.
33158         [!+link] (+link-after-libc): Likewise.
33159         [!+link] (+link-tests): Likewise.
33160         [!+link] (+link): Define in terms of $(+link-before-libc) and
33161         $(+link-after-libc).
33162         [!+link-static] (+link-static-before-libc): New variable.
33163         [!+link-static] (+link-static-after-libc): Likewise.
33164         [!+link-static] (+link-static-tests): Likewise.
33165         [!+link-static] (+link-static): Define in terms of
33166         $(+link-static-before-libc) and $(+link-static-after-libc).
33167         [build-shared] (link-libc-before-gnulib): New variable.
33168         [build-shared] (link-libc-tests): Likewise.
33169         [build-shared] (link-libc): Define in terms of
33170         $(link-libc-before-gnulib).
33171         [!build-shared] (link-libc-tests): New variable.
33172         (link-libc-static-tests): New variable.
33173         [!gnulib] (gnulib-arch): New variable.
33174         [!gnulib] (gnulib-tests): Likewise.
33175         [!gnulib] (static-gnulib-arch): Likewise.
33176         [!gnulib] (static-gnulib-tests): Likewise.
33177         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33178         Define with "=" instead of ":=".
33179         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33180         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33181         * Rules (binaries-all-notests): New variable.
33182         (binaries-all-tests): Likewise.
33183         (binaries-static-notests): Likewise.
33184         (binaries-static-tests): Likewise.
33185         (binaries-all): Define using $(binaries-all-notests) and
33186         $(binaries-all-tests).
33187         (binaries-static): Define using $(binaries-static-notests) and
33188         $(binaries-static-tests).
33189         (binaries-shared-tests): New variable.
33190         (binaries-shared-notests): Likewise.
33191         (binaries-shared): Remove variable.
33192         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33193         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33194         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33195         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33196         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33197         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33198         * elf/Makefile (sln-modules): New variable.
33199         (extra-objs): Add $(sln-modules:=.o).
33200         (ldconfig-modules): Add static-stubs.
33201         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33202         * elf/static-stubs.c: New file.
33203
33204         [BZ #14283]
33205         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33206         by 7 not 8 to examine high bit of fractional part.  Use volatile
33207         variables when splitting into final array of floats if
33208         __FLT_EVAL_METHOD__ != 0.
33209         * math/libm-test.inc (cos_test): Add another test.
33210         (sin_test): Likewise.
33211         * sysdeps/i386/fpu/libm-test-ulps: Update.
33212
33213         [BZ #14273]
33214         * math/libm-test.inc (cosh_test): Add more tests.
33215
33216         * version.h (RELEASE): Set to "development".
33217         (VERSION): Set to "2.16.90".
33218
33219 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33220
33221         * NEWS: Update copyright. Remove last-updated date.
33222         Mention math library bug fixes and timezone data changes.
33223         * README: Mention GNU/Hurd, x32, and HPPA support status.
33224
33225 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33226
33227         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33228
33229 2012-06-27  Andreas Jaeger  <aj@suse.de>
33230
33231         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33232
33233 2012-06-25  Andreas Jaeger  <aj@suse.de>
33234
33235         * sysdeps/s390/fpu/libm-test-ulps: Update.
33236
33237 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33238             Thomas Schwinge  <thomas@codesourcery.com>
33239
33240         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33241         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33242         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33243         fanotify_mark.
33244
33245 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33246
33247         * sysdeps/mach/start.c: Remove file.
33248         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33249         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33250         * sysdeps/sh/init-first.c: Likewise.
33251
33252         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33253         registers for frame unwinding purposes, add CFI directives.
33254         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33255         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33256         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33257         Likewise.
33258
33259         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33260         __fortify_fail returning.
33261         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33262
33263         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33264         sysdeps/sh/____longjmp_chk.S.
33265         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33266         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33267         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33268         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33269
33270         * sysdeps/sh/abort-instr.h: New file.
33271         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33272         process in case exit returns.
33273
33274         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33275         initialize the GOT register before use.
33276
33277         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33278         calculation of ARGC > 4.
33279
33280         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33281         meaningful names to some local labels.
33282
33283 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33284             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33285
33286         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33287         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33288         (__arch_compare_and_exchange_val_16_acq): Likewise.
33289         (__arch_compare_and_exchange_val_32_acq): Likewise.
33290         (atomic_exchange_and_add): Fix gUSA sequence.
33291         (atomic_add): Likewise.
33292         (atomic_add_negative): Likewise.
33293         (atomic_add_zero): Likewise.
33294         (atomic_bit_test_set): Likewise.
33295
33296 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33297
33298         [BZ #13579]
33299         * include/link.h (struct link_map): Add l_free_initfini.
33300         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33301         l_initfini.
33302         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33303         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33304         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33305         set.
33306
33307 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33308
33309         * configure.in: Use AC_LANG_SOURCE.
33310         * configure: Regenerate.
33311
33312 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33313
33314         * configure.in (libc_cv_localstatedir): New substituted variable.
33315         * configure: Regenerated.
33316         * config.make.in (localstatedir): New variable, substituted from
33317         libc_cv_localstatedir.
33318         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33319         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33320         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33321         * sysdeps/gnu/configure: Regenerated.
33322
33323 2012-06-21  Jeff Law  <law@redhat.com>
33324
33325         [BZ #14277]
33326         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33327         free.  Simplify list management for _LIBC case.
33328
33329 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33330
33331         [BZ #14273]
33332         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33333         Clear sign bit of 64-bit integer value before comparing against
33334         overflow value.
33335
33336         * sysdeps/mach/configure: Regenerated.
33337
33338 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33339
33340         [BZ #14278]
33341         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33342
33343 2012-06-21  Jeff Law  <law@redhat.com>
33344
33345         [BZ #13882]
33346         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33347         uint16_t for elements in the "seen" array to avoid char overflows.
33348         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33349         * elf/dl-open.c (dl_open_worker): Likewise.
33350
33351 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33352
33353         * scripts/list-sources.sh: Scan PORTS for translations.
33354         * po/libc.pot: Regenerated.
33355
33356 2012-06-21  Andreas Jaeger  <aj@suse.de>
33357
33358         [BZ #12194]
33359         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33360         warning.
33361         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33362         * bits/byteswap-16.h (__bswap_16): Likewise.
33363         * bits/byteswap.h (__bswap_constant_16): Likewise.
33364
33365 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33366
33367         [BZ #14117]
33368         * sysdeps/i386/fpu_control.h: Removed.
33369         * sysdeps/x86_64/fpu_control.h: Moved to ...
33370         * sysdeps/x86/fpu_control.h: Here.
33371
33372         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33373         (_FPU_SETCW): Likewise.
33374
33375 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33376
33377         [BZ #14117]
33378         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33379         * sysdeps/x86/fpu/bits/mathinline.h: This.
33380         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33381
33382         [BZ #14050]
33383         [BZ #14117]
33384         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33385         functions if __x86_64__ is defined.
33386
33387 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33388
33389         * string/endian.h: Add !__ASSEMBLER__ condition for including
33390         conversion interfaces.
33391
33392 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33393
33394         [BZ #14241]
33395         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33396         of ABS(x) in calculating zero to negative powers other than odd
33397         integers.
33398         * math/libm-test.inc (pow_test): Add more tests.
33399
33400 2012-06-15  Andreas Jaeger  <aj@suse.de>
33401
33402         * manual/contrib.texi (Contributors): Update entry of Liubov
33403         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33404         Machado Filho.
33405
33406 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33407
33408         * string/string.h: Add __wur to GNU version of strerror_r.
33409
33410 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33411
33412         [BZ #14229]
33413         * string/Makefile (tests): Add tst-strtok_r.
33414         * string/tst-strtok_r.c: New file.
33415         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33416         RAX_LP/RDX_LP on SAVE_PTR.
33417
33418 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33419
33420         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33421
33422 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33423
33424         * libm_test.inc (csqrt_test): Allow more spurious underflow
33425         exceptions.
33426         (j0_test): Likewise.
33427         (j1_test): Likewise.
33428         (y0_test): Likewise.
33429         (y1_test): Likewise.
33430
33431 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33432
33433         * po/Makefile (libc.pot): Use UTF-8 charset.
33434
33435 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33436
33437         [BZ #14210]
33438         Suppress sign-conversion warning from FD_SET.
33439         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33440         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33441         not unsigned long int.
33442         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33443
33444 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33445
33446         [BZ #14050]
33447         [BZ #14117]
33448         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33449         __extern_always_inline instead of __extern_inline.
33450         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33451         (__signbit): Likewise.
33452         (__signbitl): Support C++ namespace.
33453         (lrintf): New inline function.
33454         (lrint): Likewise.
33455         (llrintf): Likewise.
33456         (llrint): Likewise.
33457         (fmaxf): Likewise.
33458         (fmax): Likewise.
33459         (fminf): Likewise.
33460         (fmin): Likewise.
33461         (rint): Likewise.
33462         (rintf): Likewise.
33463         (ceil): Likewise.
33464         (ceilf): Likewise.
33465         (floor): Likewise.
33466         (floorf): Likewise.
33467         (nearbyint): Likewise.
33468         (nearbyintf): Likewise.
33469
33470 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33471
33472         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33473         non-default versions.
33474
33475 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33476
33477         [BZ #14218]
33478         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33479
33480 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33481
33482         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33483         (FE_UPWARD, FE_DOWNWARD): Don't define.
33484         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33485         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33486
33487         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33488         reading it.
33489         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33490         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33491
33492 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33493
33494         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33495         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33496         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33497         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33498
33499 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33500
33501         [BZ #14117]
33502         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33503         * sysdeps/i386/fpu/Implies: New file.
33504         * sysdeps/x86_64/fpu/Implies: Likewise.
33505         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33506         * sysdeps/x86/fpu/bits/fenv.h: This.
33507
33508         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33509         __SSE_MATH__.
33510
33511 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33512
33513         [BZ #14134]
33514         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33515         character 0xffff that matches the last element of the
33516         conversion table.
33517
33518 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33519
33520         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33521         fmodl commit.
33522
33523 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33524
33525         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33526         values higher than 25.6283.
33527
33528 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33529
33530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33531         subnormal exponent extraction and add some __builtin_expect.
33532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33533         Fix for subnormal mantissa calculation.
33534
33535 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33536
33537         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33538         cpu2 is -1 and errno is not ENOSYS.
33539
33540 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33541
33542         [BZ #14117]
33543         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33544         * sysdeps/x86/bits/string.h: This.
33545         * sysdeps/x86_64/bits/string.h: Removed.
33546
33547         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33548         if not compiling for x86-64, but compiling for >= i486.
33549
33550         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33551         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33552
33553         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33554         New macro from Linux kernel 3.4.0.
33555         (FP_XSTATE_MAGIC2): Likewise.
33556         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33557         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33558         (struct _fpx_sw_bytes): New struct.
33559         (struct _xsave_hdr): Likewise.
33560         (struct _ymmh_state): Likewise.
33561         (struct _xstate): Likewise.
33562
33563         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33564         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33565         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33566         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33567         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33568         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33569
33570         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33571         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33572         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33573         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33574         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33575         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33576
33577 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33578
33579         [BZ #13743]
33580         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33581         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33582         (sysdep_headers): Include sys/platform/ppc.h.
33583         * sysdeps/powerpc/test-gettimebase.c: Test for
33584         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33585         * manual/Makefile (appendices): Include platform.texi.
33586         * manual/contrib.texi (Contributors): Update @node pointers.
33587         * manual/maint.texi (Maintenance): Likewise.
33588         (Platform): New node.
33589         * manual/platform.texi: New file.  Document the new features.
33590
33591 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33592             Jakub Jelinek  <jakub@redhat.com>
33593
33594         [BZ #14188]
33595         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33596         where __builtin_expect is unavailable.
33597
33598 2012-06-03  David S. Miller  <davem@davemloft.net>
33599
33600         * stdlib/longlong.h: Updated from GCC.
33601
33602 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33603
33604         [BZ #14042]
33605         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33606         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33607         __mcount_internal.
33608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33609         (GLIBC_2.16): Likewise.
33610
33611 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33612
33613         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33614
33615 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33616
33617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33618         (default-abi): New variable.
33619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33620         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33621         variable.
33622         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33623         Likewise.
33624         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33625         Likewise.
33626         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33627         Likewise.
33628
33629         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33630         definition.  Document in comment.
33631
33632 2012-06-01  David S. Miller  <davem@davemloft.net>
33633
33634         * stdlib/longlong.h: Updated from GCC.
33635
33636 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33637
33638         [BZ #14117]
33639         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33640         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33641         sys/debugreg.h sys/io.h here.
33642         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33643         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33644         sys/io.h.
33645         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33646         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33647         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33648         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33649         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33650         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33651
33652         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33653         Define only if __x86_64__ is defined.
33654
33655 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33656
33657         [BZ #14048]
33658         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33659         Use int64_t for variable i.
33660         * math/libm-test.inc (fmod_test): Add more tests.
33661
33662         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33663         z computation is not scheduled after fetestexcept.
33664         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33665         Use math_force_eval instead of asm to ensure calculation scheduled
33666         before exception test.
33667         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33668         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33669
33670 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33671
33672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33673         computation is not scheduled after fetestexcept.
33674
33675 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33676
33677         [BZ #14117]
33678         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33679         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33680
33681 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33682
33683         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33684         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33685
33686 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33687
33688         [BZ #14117]
33689         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33690         <bits/wordsize.h>.
33691         (__WCHAR_MIN): Support __WORDSIZE == 64.
33692         (__WCHAR_MAX): Likewise.
33693
33694         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33695         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33696
33697         [BZ #14183]
33698         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33699         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33700
33701         [BZ #14117]
33702         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33703         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33704
33705         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33706         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33707
33708         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33709         Defined to 1 if __x86_64__ isn't defined.
33710         (_STAT_VER_LINUX_OLD): New.
33711         (st_atime): Remove duplicate.
33712         (st_mtime): Likewise.
33713         (st_ctime): Likewise.
33714
33715 2012-05-31  David S. Miller  <davem@davemloft.net>
33716
33717         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33718         entries.
33719
33720 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33721
33722         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33723         gen-libm-test.pl.
33724
33725         [BZ #14132]
33726         * elf/dl-reloc.c: Include <_itoa.h>.
33727         (_dl_reloc_bad_type): Remove use of INTUSE.
33728         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33729         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33730         * stdio-common/psiginfo.c (psiginfo): Likewise.
33731         * stdio-common/psignal.c (psignal): Likewise.
33732         * string/strsignal.c (strsignal): Likewise.
33733         * include/signal.h (_sys_siglist): Declare hidden proto.
33734         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33735         INTVARDEF with libc_hidden_data_def.
33736         * stdio-common/itoa-udigits.c: Likewise.
33737         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33738         (_itoa_lower_digits_internal): Remove declaration.
33739         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33740         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33741         (_sys_sigabbrev_internal): Remove aliases.
33742         (_sys_siglist): Define hidden alias.
33743
33744 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33745
33746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33747         bits/sysctl.h.
33748
33749 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33750
33751         [BZ #14117]
33752         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33753         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33754
33755         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33756         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33757         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33758         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33759         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33760         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33761
33762         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33763         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33764         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33765
33766         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33767         with __addr.
33768         (insw): Likewise.
33769         (insl): Likewise.
33770         (outsb): Likewise.
33771         (outsw): Likewise.
33772         (outsl): Likewise.
33773
33774         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33775         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33776         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33777
33778         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33779         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33780         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33781         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33782         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33783         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33784
33785         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33786         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33787
33788         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33789         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33790
33791         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33792         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33793         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33794
33795         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33796         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33797         to ...
33798         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33799
33800         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33801         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33802         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33803
33804         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33805         for x86-64.
33806         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33807
33808 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33809
33810         * math/math.h (M_El): Use two more decimal places.
33811         (M_LOG2El): Likewise.
33812         (M_LOG10El): Likewise.
33813         (M_LN2l): Likewise.
33814         (M_LN10l): Likewise.
33815         (M_PIl): Likewise.
33816         (M_PI_2l): Likewise.
33817         (M_PI_4l): Likewise.
33818         (M_1_PIl): Likewise.
33819         (M_2_PIl): Likewise.
33820         (M_2_SQRTPIl): Likewise.
33821         (M_SQRT2l): Likewise.
33822         (M_SQRT1_2l): Likewise.
33823
33824 2012-05-31  David S. Miller  <davem@davemloft.net>
33825
33826         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33827         values between float registers.
33828         * sysdeps/sparc/sparc64/memset.S: Likewise.
33829         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33830
33831 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33832
33833         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33834         -D_FORTIFY_SOURCE=1.
33835         (CPPFLAGS-tst-longjmp_chk.c): Define.
33836         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33837         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33838         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33839         CFLAGS-tst-wchar-h.c.
33840
33841 2012-05-31  Marek Polacek  <polacek@redhat.com>
33842
33843         [BZ #14132]
33844         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33845         __endmntent_internal): Remove declaration.
33846         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33847         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33848         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33849
33850 2012-05-30  David S. Miller  <davem@davemloft.net>
33851
33852         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33853         (___Q_simulate_exceptions): Use real FP ops rather than writing
33854         into the %fsr.
33855         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33856         Likewise.
33857
33858 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33859
33860         [BZ #14117]
33861         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33862         * sysdeps/x86/bits/xtitypes.h: This.
33863
33864         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33865         * sysdeps/x86/bits/wordsize.h: This.
33866
33867         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33868         * sysdeps/x86/bits/huge_vall.h: This.
33869
33870         * sysdeps/i386/bits/select.h: Removed.
33871         * sysdeps/x86_64/bits/select.h: Renamed to ...
33872         * sysdeps/x86/bits/select.h: This.
33873
33874         * sysdeps/i386/bits/setjmp.h: Removed.
33875         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33876         * sysdeps/x86/bits/setjmp.h: This.
33877
33878         * sysdeps/i386/bits/mathdef.h: Removed.
33879         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33880         * sysdeps/x86/bits/mathdef.h: This.
33881
33882 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33883
33884         [BZ #14132]
33885         * include/sys/socket.h (__connect_internal)
33886         (__libc_sa_len_internal): Remove declaration.
33887         (__connect, __libc_sa_len): Declare hidden_proto.
33888         (SA_LEN): Remove use of INTUSE.
33889         * socket/connect.c: Add libc_hidden_def.
33890         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33891         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33892         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33893         alias.
33894         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33895         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33896         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33897         of adding _internal alias.
33898
33899 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33900
33901         [BZ #14117]
33902         * sysdeps/i386/bits/link.h: Removed.
33903         * sysdeps/i386/bits/linkmap.h: Likewise.
33904         * sysdeps/x86_64/bits/link.h: Renamed to ...
33905         * sysdeps/x86/bits/link.h: This.
33906         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33907         * sysdeps/x86/bits/linkmap.h: This.
33908
33909         * sysdeps/i386/bits/endian.h: Removed.
33910         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33911         * sysdeps/x86/bits/endian.h: This.
33912
33913         * sysdeps/i386/bits/byteswap.h: Removed.
33914         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33915         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33916         * sysdeps/x86/bits/byteswap.h: This.
33917         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33918         * sysdeps/x86/bits/byteswap-16.h: This.
33919         * sysdeps/i386/Implies: Add x86.
33920         * sysdeps/x86_64/Implies: Likewise.
33921
33922 2012-05-30  David S. Miller  <davem@davemloft.net>
33923
33924         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33925         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33926         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33927         (FP_TRAPPING_EXCEPTIONS): Define.
33928         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33929         (FP_TRAPPING_EXCEPTIONS): Define.
33930         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33931         subnormals only when inexact has been signalled or underflow
33932         exceptions are enabled.
33933         (_FP_PACK_CANONICAL): Likewise.
33934
33935 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33936
33937         [BZ #14183]
33938         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33939         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33940
33941 2012-05-30  Richard Henderson  <rth@twiddle.net>
33942
33943         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33944         with #ifndef NOT_IN_libc.
33945
33946         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33947         marked to avoid plt entry.
33948
33949 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33950
33951         [BZ #14112]
33952         * Makeconfig (default-abi): New macro.
33953         (abi-includes): Likewise.
33954         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33955         $(abi-$(default-abi)-lib-soname) for soname if defined.
33956         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33957         abi-variants.
33958         * Makefile (installed-stubs): Likewise.
33959         * include/stubs-biarch.h: Removed.
33960         * scripts/lib-names.awk: Only handle one library at a time.
33961         * scripts/soversions.awk: Remove WORDSIZE support.
33962         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33963         entries.
33964         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33965         Removed.
33966         (syscall-list-default-condition): Likewise.
33967         (syscall-list-default-condition): Likewise.
33968         (syscall-list-includes): Likewise.
33969         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33970         syscall-list-* with abi-*.  Handle undefined abi-variants.
33971         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33972         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33973         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33974         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33975         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33976         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33977         Removed.
33978         (syscall-list-32-options): Likewise.
33979         (syscall-list-32-condition): Likewise.
33980         (syscall-list-64-options): Likewise.
33981         (syscall-list-64-condition): Likewise.
33982         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33983         macro.
33984         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33985         Renamed to ...
33986         (abi-*): This.
33987         (abi-64-ld-soname): New macro.
33988         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33989         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33990         Renamed to ...
33991         (abi-*): This.
33992         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33993         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33994
33995 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33996
33997         * sysdeps/unix/sysv/linux/kernel-features.h
33998         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33999         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34000         include <kernel-features.h>.
34001         [!__NR_ftruncate64]: Remove conditional code.
34002         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34003         [__NR_ftruncate64]: Make code unconditional.
34004         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34005         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34006         include <kernel-features.h>.
34007         [!__NR_ftruncate64]: Remove conditional code.
34008         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34009         [__NR_ftruncate64]: Make code unconditional.
34010         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34012         include <kernel-features.h>.
34013         [!__NR_ftruncate64]: Remove conditional code.
34014         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34015         [__NR_ftruncate64]: Make code unconditional.
34016         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34018         include <kernel-features.h>.
34019         [!__NR_ftruncate64]: Remove conditional code.
34020         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34021         [__NR_ftruncate64]: Make code unconditional.
34022         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34023
34024         * configure.in (libc_cv_fpie): Weaken to a compile test using
34025         LIBC_TRY_CC_OPTION.
34026         * configure: Regenerated.
34027
34028 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34029
34030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34034         Refreshed.
34035         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34041         Refreshed.
34042
34043 2012-05-27  David S. Miller  <davem@davemloft.net>
34044
34045         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34046         (___Q_zero): New.
34047         (__Q_simulate_exceptions): Return void.  Change to simulate
34048         exceptions by writing into the %fsr.
34049         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34050         (__Qp_handle_exceptions): Likewise.
34051         (numbers): Delete.
34052         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34053         __Qp_handle_exceptions.
34054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34055         __Qp_handle_exceptions.
34056         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34057         as unused and give dummy FP_RND_NEAREST initializer.
34058         (FP_INHIBIT_RESULTS): Define.
34059         (___Q_simulate_exceptions): Update declaration.
34060         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34061         formatting.
34062         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34063         as unused and give dummy FP_RND_NEAREST initializer.
34064         (__Qp_handle_exceptions): Update declaration.
34065         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34066         formatting.
34067
34068 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34069
34070         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34071         the temporary FPU control word.
34072         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34073         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34074         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34075         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34076         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34077         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34078         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34079         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34080         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34081         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34082         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34083
34084 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34085
34086         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34087         fields.
34088
34089 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34090
34091         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34092         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34093         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34094         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34095         Likewise.
34096         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34097         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34098         Likewise.
34099
34100 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34101
34102         * po/h.po: Update from translation team.
34103
34104 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34105
34106         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34107
34108         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34109         handling of denormals.
34110         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34111         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34112         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34113         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34114         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34115         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34116         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34117         Likewise.
34118
34119 2012-05-26  Marek Polacek  <polacek@redhat.com>
34120
34121         [BZ #14152]
34122         * math/libm-test.inc (fma_test): Don't always expect underflow
34123         exception.
34124
34125 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34126
34127         [BZ #12416]
34128         * elf/tst-execstack.c: Include stackinfo.h.
34129         (do_test): Adjust test case to ensure that pthread_getattr_np
34130         behaviour remains the same after marking stack executable.
34131
34132 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34133
34134         * sysdeps/unix/sysv/linux/kernel-features.h
34135         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34136         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34137         kernel-features.h.
34138         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34139         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34140         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34141         kernel-features.h.
34142         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34143         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34144
34145 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34146
34147         * configure.in: Define the default includes to being none.
34148         * configure: Regenerated.
34149
34150 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34151
34152         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34153         * sysdeps/x86_64/setjmp.S: Likewise.
34154         * sysdeps/i386/bsd-setjmp.S: Likewise.
34155         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34156         * sysdeps/i386/setjmp.S: Likewise.
34157         * sysdeps/i386/__longjmp.S: Likewise.
34158         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34159         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34160
34161         * include/stap-probe.h: New file.
34162         * configure.in: Handle --enable-systemtap.
34163         * configure: Regenerated.
34164         * config.h.in (USE_STAP_PROBE): New #undef.
34165         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34166         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34167         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34168
34169 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34170
34171         [BZ #13717]
34172         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34173         to 2.4.0 where earlier.
34174         * sysdeps/unix/sysv/linux/configure: Regenerated.
34175         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34176         <kernel-features.h>.
34177         [__ASSUME_32BITUIDS]: Make code unconditional.
34178         [!__ASSUME_32BITUIDS]: Remove conditional code.
34179         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34180         <kernel-features.h>.
34181         [__ASSUME_32BITUIDS]: Make code unconditional.
34182         [!__ASSUME_32BITUIDS]: Remove conditional code.
34183         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34184         [__ASSUME_32BITUIDS]: Make code unconditional.
34185         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34186         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34187         <kernel-features.h>.
34188         [__ASSUME_32BITUIDS]: Make code unconditional.
34189         [!__ASSUME_32BITUIDS]: Remove conditional code.
34190         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34191         <kernel-features.h>.
34192         [__ASSUME_32BITUIDS]: Make code unconditional.
34193         [!__ASSUME_32BITUIDS]: Remove conditional code.
34194         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34195         <kernel-features.h>.
34196         [__ASSUME_32BITUIDS]: Make code unconditional.
34197         [!__ASSUME_32BITUIDS]: Remove conditional code.
34198         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34199         <kernel-features.h>.
34200         [__ASSUME_32BITUIDS]: Make code unconditional.
34201         [!__ASSUME_32BITUIDS]: Remove conditional code.
34202         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34203         <kernel-features.h>.
34204         [__ASSUME_32BITUIDS]: Make code unconditional.
34205         [!__ASSUME_32BITUIDS]: Remove conditional code.
34206         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34207         <kernel-features.h>.
34208         [__ASSUME_32BITUIDS]: Make code unconditional.
34209         [!__ASSUME_32BITUIDS]: Remove conditional code.
34210         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34211         <kernel-features.h>.
34212         [__ASSUME_32BITUIDS]: Make code unconditional.
34213         [!__ASSUME_32BITUIDS]: Remove conditional code.
34214         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34215         <kernel-features.h>.
34216         [__ASSUME_32BITUIDS]: Make code unconditional.
34217         [!__ASSUME_32BITUIDS]: Remove conditional code.
34218         * sysdeps/unix/sysv/linux/i386/msgctl.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/i386/semctl.c: Do not include
34223         <kernel-features.h>.
34224         [__ASSUME_32BITUIDS]: Make code unconditional.
34225         [!__ASSUME_32BITUIDS]: Remove conditional code.
34226         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34227         <kernel-features.h>.
34228         [__NR_setresgid] (__setresgid): Do not declare.
34229         [__ASSUME_32BITUIDS]: Make code unconditional.
34230         [!__ASSUME_32BITUIDS]: Remove conditional code.
34231         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34232         <kernel-features.h>.
34233         [__NR_setresuid] (__setresuid): Do not declare.
34234         [__ASSUME_32BITUIDS]: Make code unconditional.
34235         [!__ASSUME_32BITUIDS]: Remove conditional code.
34236         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34237         <kernel-features.h>.
34238         [__ASSUME_32BITUIDS]: Make code unconditional.
34239         [!__ASSUME_32BITUIDS]: Remove conditional code.
34240         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34241         <kernel-features.h>.
34242         [__ASSUME_32BITUIDS]: Make code unconditional.
34243         [!__ASSUME_32BITUIDS]: Remove conditional code.
34244         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34245         <kernel-features.h>.
34246         [__ASSUME_32BITUIDS]: Make code unconditional.
34247         [!__ASSUME_32BITUIDS]: Remove conditional code.
34248         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34249         <kernel-features.h>.
34250         [__ASSUME_32BITUIDS]: Make code unconditional.
34251         [!__ASSUME_32BITUIDS]: Remove conditional code.
34252         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34253         <kernel-features.h>.
34254         [__ASSUME_32BITUIDS]: Make code unconditional.
34255         [!__ASSUME_32BITUIDS]: Remove conditional code.
34256         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34257         <kernel-features.h>.
34258         [__ASSUME_32BITUIDS]: Make code unconditional.
34259         [!__ASSUME_32BITUIDS]: Remove conditional code.
34260         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34261         <kernel-features.h>.
34262         [__ASSUME_32BITUIDS]: Make code unconditional.
34263         [!__ASSUME_32BITUIDS]: Remove conditional code.
34264         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34265         <kernel-features.h>.
34266         [__ASSUME_32BITUIDS]: Make code unconditional.
34267         [!__ASSUME_32BITUIDS]: Remove conditional code.
34268         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34269         <kernel-features.h>.
34270         [__ASSUME_32BITUIDS]: Make code unconditional.
34271         [!__ASSUME_32BITUIDS]: Remove conditional code.
34272         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34273         <kernel-features.h>.
34274         [__ASSUME_32BITUIDS]: Make code unconditional.
34275         [!__ASSUME_32BITUIDS]: Remove conditional code.
34276         * sysdeps/unix/sysv/linux/kernel-features.h
34277         (__ASSUME_SETRESUID_SYSCALL): Remove.
34278         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34279         (__ASSUME_32BITUIDS): Likewise.
34280         (__ASSUME_LDT_WORKS): Likewise.
34281         (__ASSUME_O_DIRECTORY): Likewise.
34282         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34283         architecture but not kernel version.
34284         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34285         (__ASSUME_MMAP2_SYSCALL): Likewise.
34286         (__ASSUME_STAT64_SYSCALL): Likewise.
34287         (__ASSUME_IPC64): Likewise.
34288         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34289         <kernel-features.h>.
34290         [__ASSUME_32BITUIDS]: Make code unconditional.
34291         [!__ASSUME_32BITUIDS]: Remove conditional code.
34292         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34293         <kernel-features.h>.
34294         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34295         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34296         132096]: Remove conditional code.
34297         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34298         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34299         <kernel-features.h>.
34300         [__ASSUME_32BITUIDS]: Make code unconditional.
34301         [!__ASSUME_32BITUIDS]: Remove conditional code.
34302         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34303         <kernel-features.h>.
34304         [__ASSUME_32BITUIDS]: Make code unconditional.
34305         [!__ASSUME_32BITUIDS]: Remove conditional code.
34306         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34307         <kernel-features.h>.
34308         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34309         unconditional.
34310         (__setresgid): Do not declare.
34311         [__ASSUME_32BITUIDS]: Make code unconditional.
34312         [!__ASSUME_32BITUIDS]: Remove conditional code.
34313         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34314         <kernel-features.h>.
34315         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34316         unconditional.
34317         (__setresuid): Do not declare.
34318         [__ASSUME_32BITUIDS]: Make code unconditional.
34319         [!__ASSUME_32BITUIDS]: Remove conditional code.
34320         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34321         <kernel-features.h>.
34322         [__ASSUME_32BITUIDS]: Make code unconditional.
34323         [!__ASSUME_32BITUIDS]: Remove conditional code.
34324         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34325         <kernel-features.h>.
34326         [__ASSUME_32BITUIDS]: Make code unconditional.
34327         [!__ASSUME_32BITUIDS]: Remove conditional code.
34328
34329 2012-05-25  Richard Henderson  <rth@twiddle.net>
34330
34331         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34332         dl_hwcap to ifunc resolver.
34333         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34334         elf_ifunc_invoke.
34335         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34336         dl_hwcap to ifunc resolver.
34337         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34338
34339 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34340
34341         [BZ #14153]
34342         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34343         for |x| <= 2**-26, not 2**-57.
34344         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34345         exception.
34346
34347 2012-05-24  Jeff Law  <law@redhat.com>
34348
34349         * stdio-common/Makefile (tests): Add bug25.
34350         * stdio-common/bug25.c: New test.
34351
34352 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34353
34354         [BZ #13576]
34355         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34356         multiple of MALLOC_ALIGNMENT in size.
34357         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34358
34359 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34360
34361         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34362         Require >= 256.
34363         (FILENAME_MAX): Use macro-int-constant.
34364         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34365         (_IOFBF): Use macro-int-constant.
34366         (_IOLBF): Likewise.
34367         (_IONBF): Likewise.
34368         (SEEK_CUR): Likewise.
34369         (SEEK_END): Likewise.
34370         (SEEK_SET): Likewise.
34371         (TMP_MAX): Likewise.
34372         (EOF): Use macro-int-constant.  Require < 0.
34373         (NULL): Use macro-constant.  Require == 0.
34374         (stdin): Require type to be FILE *.
34375         (stdout): Likewise.
34376         (stderr): Likewise.
34377         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34378         macro-int-constant.
34379         (EXIT_SUCCESS): Likewise.
34380         (NULL): Use macro-constant.  Require == 0.
34381         (RAND_MAX): Use macro-int-constant.
34382         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34383         [C99-based standards] (strtof): Require function.
34384         [C99-based standards] (strtold): Likewise.
34385         [C99-based standards] (strtoll): Likewise.
34386         [C99-based standards] (strtoull): Likewise.
34387         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34388         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34389         [ISO || ISO99 || ISO11] (math.h): Likewise.
34390         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34391         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34393
34394 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34395
34396         [BZ #14132]
34397         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34398         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34399         * intl/dgettext.c (DCGETTEXT): Likewise.
34400         * intl/gettext.c (DCGETTEXT): Likewise.
34401         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34402         * posix/regex_internal.h (gettext): Likewise.
34403         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34404         Remove declaration.
34405         * include/argz.h (__argz_count_internal)
34406         (__argz_stringify_internal): Remove declaration.
34407         (__argz_count, __argz_stringify): Declare hidden proto.
34408         * intl/dcgettext.c: Remove use of INTDEF.
34409         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34410         * string/argz-stringify.c: Likewise.
34411         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34412         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34413         Declare hidden proto.
34414         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34415         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34416         Declare hidden proto.
34417         * include/stdio.h (__asprintf_internal): Don't declare.
34418         (__asprintf): Don't define as macro.  Declare hidden proto.
34419         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34420         (__fsetlocking): Declare hidden proto.
34421         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34422         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34423         hidden proto.
34424         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34425         (_IO_setlinebuf): Remove use of INTUSE.
34426         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34427         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34428         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34429         Remove declaration.
34430         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34431         (_IO_do_flush): Remove use of INTUSE.
34432         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34433         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34434         (_IO_adjust_column, _IO_least_wmarker)
34435         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34436         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34437         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34438         (_IO_default_doallocate, _IO_wdefault_doallocate)
34439         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34440         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34441         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34442         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34443         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34444         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34445         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34446         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34447         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34448         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34449         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34450         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34451         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34452         proto.
34453         (_IO_flush_all_internal, _IO_adjust_column_internal)
34454         (_IO_default_uflow_internal, _IO_default_finish_internal)
34455         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34456         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34457         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34458         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34459         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34460         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34461         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34462         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34463         (_IO_file_close_internal, _IO_file_close_it_internal)
34464         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34465         (_IO_file_init_internal, _IO_file_attach_internal)
34466         (_IO_file_fopen_internal, _IO_file_read_internal)
34467         (_IO_file_sync_internal, _IO_file_seek_internal)
34468         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34469         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34470         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34471         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34472         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34473         (_IO_list_all_internal, _IO_link_in_internal)
34474         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34475         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34476         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34477         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34478         (_IO_do_write_internal, _IO_padn_internal)
34479         (_IO_getline_info_internal, _IO_getline_internal)
34480         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34481         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34482         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34483         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34484         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34485         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34486         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34487         with libc_hidden_ver, remove use of INTUSE.
34488         * libio/genops.c: Likewise.
34489         * libio/freopen.c: Likewise.
34490         * libio/freopen64.c: Likewise.
34491         * libio/iofclose.c: Likewise.
34492         * libio/iofdopen.c: Likewise.
34493         * libio/iofflush.c: Likewise.
34494         * libio/iofflush_u.c: Likewise.
34495         * libio/iofgets.c: Likewise.
34496         * libio/iofgets_u.c: Likewise.
34497         * libio/iofopen.c: Likewise.
34498         * libio/iofopncook.c: Likewise.
34499         * libio/iofread.c: Likewise.
34500         * libio/iofread_u.c: Likewise.
34501         * libio/ioftell.c: Likewise.
34502         * libio/iofwrite.c: Likewise.
34503         * libio/iogetline.c: Likewise.
34504         * libio/iogets.c: Likewise.
34505         * libio/iogetwline.c: Likewise.
34506         * libio/iopadn.c: Likewise.
34507         * libio/iopopen.c: Likewise.
34508         * libio/ioseekoff.c: Likewise.
34509         * libio/ioseekpos.c: Likewise.
34510         * libio/iosetbuffer.c: Likewise.
34511         * libio/iosetvbuf.c: Likewise.
34512         * libio/ioungetc.c: Likewise.
34513         * libio/ioungetwc.c: Likewise.
34514         * libio/iovdprintf.c: Likewise.
34515         * libio/iovsprintf.c: Likewise.
34516         * libio/iovsscanf.c: Likewise.
34517         * libio/memstream.c: Likewise.
34518         * libio/obprintf.c: Likewise.
34519         * libio/oldfileops.c: Likewise.
34520         * libio/oldiofclose.c: Likewise.
34521         * libio/oldiofdopen.c: Likewise.
34522         * libio/oldiofopen.c: Likewise.
34523         * libio/oldiopopen.c: Likewise.
34524         * libio/oldstdfiles.c: Likewise.
34525         * libio/putc.c: Likewise.
34526         * libio/setbuf.c: Likewise.
34527         * libio/setlinebuf.c: Likewise.
34528         * libio/stdfiles.c: Likewise.
34529         * libio/strops.c: Likewise.
34530         * libio/vasprintf.c: Likewise.
34531         * libio/vscanf.c: Likewise.
34532         * libio/vsnprintf.c: Likewise.
34533         * libio/vswprintf.c: Likewise.
34534         * libio/wfiledoalloc.c: Likewise.
34535         * libio/wfileops.c: Likewise.
34536         * libio/wgenops.c: Likewise.
34537         * libio/wmemstream.c: Likewise.
34538         * libio/wstrops.c: Likewise.
34539         * libio/__fpurge.c: Likewise.
34540         * libio/__fsetlocking.c: Likewise.
34541         * assert/assert.c: Likewise.
34542         * debug/fgets_chk.c: Likewise.
34543         * debug/fgets_u_chk.c: Likewise.
34544         * debug/fread_chk.c: Likewise.
34545         * debug/fread_u_chk.c: Likewise.
34546         * debug/gets_chk.c: Likewise.
34547         * debug/obprintf_chk.c: Likewise.
34548         * debug/vasprintf_chk.c: Likewise.
34549         * debug/vdprintf_chk.c: Likewise.
34550         * debug/vsnprintf_chk.c: Likewise.
34551         * debug/vsprintf_chk.c: Likewise.
34552         * malloc/mtrace.c: Likewise.
34553         * misc/error.c: Likewise.
34554         * misc/syslog.c: Likewise.
34555         * stdio-common/asprintf.c: Likewise.
34556         * stdio-common/fxprintf.c: Likewise.
34557         * stdio-common/getw.c: Likewise.
34558         * stdio-common/isoc99_fscanf.c: Likewise.
34559         * stdio-common/isoc99_scanf.c: Likewise.
34560         * stdio-common/isoc99_vfscanf.c: Likewise.
34561         * stdio-common/isoc99_vscanf.c: Likewise.
34562         * stdio-common/isoc99_vsscanf.c: Likewise.
34563         * stdio-common/printf-prs.c: Likewise.
34564         * stdio-common/printf_fp.c: Likewise.
34565         * stdio-common/printf_fphex.c: Likewise.
34566         * stdio-common/printf_size.c: Likewise.
34567         * stdio-common/putw.c: Likewise.
34568         * stdio-common/scanf.c: Likewise.
34569         * stdio-common/sprintf.c: Likewise.
34570         * stdio-common/tmpfile.c: Likewise.
34571         * stdio-common/vfprintf.c: Likewise.
34572         * stdio-common/vfscanf.c: Likewise.
34573         * stdlib/strfmon_l.c: Likewise.
34574         * sunrpc/openchild.c: Likewise.
34575         * sunrpc/xdr_stdio.c: Likewise.
34576         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34577         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34578
34579 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34580
34581         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34582
34583         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34584         in the third column, to generate for the shared library an IFUNC
34585         that uses _dl_vdso_vsym.
34586         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34587         * Makeconfig (object-suffixes-noshared): New variable.
34588
34589         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34590         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34591         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34592         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34593
34594         [BZ #14132]
34595         * include/sys/time.h (__gettimeofday): Remove macro.
34596         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34597         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34598         Remove INTDEF.
34599         (__gettimeofday): Add libc_hidden_def.
34600         (gettimeofday): Add libc_hidden_weak.
34601         * sysdeps/mach/gettimeofday.c: Likewise.
34602         * sysdeps/posix/gettimeofday.c: Likewise.
34603         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34604         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34605         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34606         (__gettimeofday_internal): Remove strong_alias.
34607         (__gettimeofday): Add libc_hidden_def.
34608         (gettimeofday): Add libc_hidden_weak.
34609         * sysdeps/unix/syscalls.list (gettimeofday):
34610         Remove __gettimeofday_internal alias.
34611
34612 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34613             H.J. Lu  <hongjiu.lu@intel.com>
34614
34615         [BZ #12495]
34616         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34617         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34618         (largebin_index_32_big): New.
34619         (largebin_index): Use it for 16-byte alignment.
34620         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34621         correction with front_misalign.
34622
34623 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34624
34625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34627         Likewise.
34628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34629         Likewise.
34630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34631         Likewise.
34632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34633         Likewise.
34634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34635         Likewise.
34636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34637         Likewise.
34638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34639         Likewise.
34640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34641         Likewise.
34642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34643         Likewise.
34644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34645         Likewise.
34646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34647         Likewise.
34648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34649         Likewise.
34650
34651         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34652         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34653
34654 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34655
34656         [BZ #10846]
34657         [BZ #14036]
34658         * math/libm-test.inc (exp_test): Add test from bug 14036.
34659         (pow_test): Add test from bug 10846.
34660
34661         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34662         and other flags.
34663         (special_function): Do not include flags in test name.
34664         (parse_args): Likewise.
34665         * sysdeps/i386/fpu/libm-test-ulps: Update.
34666         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34667         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34668         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34670
34671         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34672         exceptions.
34673         * math/libm-test.inc ("Philosophy"): Update comment about
34674         exception testing.
34675         (UNDERFLOW_EXCEPTION): New macro.
34676         (UNDERFLOW_EXCEPTION_OK): Likewise.
34677         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34678         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34679         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34680         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34681         (INVALID_EXCEPTION_OK): Update value.
34682         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34683         (OVERFLOW_EXCEPTION_OK): Likewise.
34684         (IGNORE_ZERO_INF_SIGN): Likewise.
34685         (test_exceptions): Handle underflow exceptions.
34686         (acos_test): Update for underflow exception expectations.
34687         (cexp_test): Likewise.
34688         (clog_test): Likewise.
34689         (clog10_test): Likewise.
34690         (csqrt_test): Likewise.
34691         (ctan_test): Likewise.
34692         (ctanh_test): Likewise.
34693         (exp_test): Likewise.
34694         (exp10_test): Likewise.
34695         (exp2_test): Likewise.
34696         (expm1_test): Likewise.
34697         (fma_test): Likewise.
34698         (j0_test): Likewise.
34699         (jn_test): Likewise.
34700         (nexttoward_test): Likewise.
34701         (pow_test): Likewise.
34702         (scalbn_test): Likewise.
34703         (scalbln_test): Likewise.
34704         (tan_test): Likewise.
34705         (y1_test): Likewise.
34706         * sysdeps/i386/fpu/libm-test-ulps: Update.
34707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34708
34709 2012-05-23  David S. Miller  <davem@davemloft.net>
34710
34711         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34712         (__libc_sigaction): Remove unused local variables.
34713
34714 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34715
34716         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34717
34718 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34719
34720         mktime: avoid signed integer overflow
34721         * time/mktime.c (__mktime_internal): Do not mishandle the case
34722         where diff == INT_MIN.
34723
34724         mktime: simplify computation of average
34725         * time/mktime.c (ranged_convert): Use new time_t_avg function
34726         instead of rolling our own (probably-slower) code.
34727
34728         mktime: do not assume signed right shift propagates sign bit
34729         * time/mktime.c (isdst_differ): New static function.
34730         (__mktime_internal): No need to normalize tm_isdst now.
34731         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34732         tm_isdst values.
34733
34734         mktime: merge another wrapv change from gnulib
34735         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34736         from some compilers.
34737
34738         mktime: remove incorrect attempt at unusual arithmetics
34739         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34740         The code didn't really work on such machines anyway.
34741         (TYPE_MINIMUM): Assume two's complement.
34742         (twos_complement_arithmetic): Verify that long_int and time_t
34743         are two's complement (or unsigned, in the latter case).
34744
34745         mktime: check signed shifts on long_int and time_t, too
34746         * time/mktime.c (SHR): Check that shifts work as desired
34747         on the types long_int and time_t too, as SHR is used on
34748         such types.
34749
34750         mktime: do not assume 'long' is wide enough
34751         * time/mktime.c (verify): Move decl up.
34752         (long_int): New type.
34753         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34754         to remove assumption in the code that 'long' is wide enough to
34755         store year values.  This assumption is not true on x32 and on
34756         some non-glibc platforms.
34757
34758         mktime: merge wrapv change from gnulib
34759         * time/mktime.c (WRAPV): New macro.
34760         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34761         (guess_time_tm, __mktime_internal): Do not assume that signed
34762         integer overflow wraps around; modern compilers generate code
34763         where this assumption is no longer valid.
34764
34765 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34766
34767         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34768         Replace "jmp L(pseudo_end)" with "ret".
34769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34770         Likewise.
34771
34772 2012-05-23  Andreas Jaeger  <aj@suse.de>
34773
34774         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34775         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34776
34777 2012-05-23  Andreas Jaeger  <aj@suse.de>
34778             Maximilian Attems  <max@stro.at>
34779
34780         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34781         New macros.
34782
34783 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34784
34785         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34786         code so that pseudo_end is just ret and the stack pointer is
34787         correct also for static library in error case.
34788
34789 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34790
34791         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34792         move to syscalls.list.
34793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34797
34798         * manual/install.texi (Running make install): Do not mention Linux
34799         kernel version for which pt_chown is not needed.
34800         (Linux): Do not mention problems with nscd with 2.0 kernels.
34801         * INSTALL: Regenerated.
34802
34803 2012-05-23  Andreas Jaeger  <aj@suse.de>
34804
34805         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34806         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34807         macro.
34808         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34809         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34810         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34811         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34812         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34813         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34814         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34815         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34816         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34817         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34818         * sysdeps/unix/sysv/linux/bits/in.h
34819         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34820
34821 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34822
34823         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34824         (PREPARE_VERSION): Just use assert instead, it will be elided
34825         under [NDEBUG] anyway.
34826
34827 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34828
34829         * sysdeps/unix/sysv/linux/Makefile: Include
34830         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34831         (sysdep_routines): Remove sysctl.
34832         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34833         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34834         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34835         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34836         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34837
34838 2012-05-22  Andreas Jaeger  <aj@suse.de>
34839
34840         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34841         that pseudo_end is just ret and the stack pointer is correct also
34842         for static library in error case.
34843
34844 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34845
34846         [BZ #14122]
34847         * nss/nsswitch.c (defconfig_entries): New variable.
34848         (__nss_database_lookup): Don't leak defconfig entries.
34849         (nss_parse_service_list): Don't leak on error paths.
34850         (free_database_entries): New function.
34851         (free_defconfig): New function.
34852         (free_mem): Move common code to free_database_entries.
34853
34854 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34855
34856         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34857         Add arch_prctl.
34858         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34859
34860         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34861         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34863         New macro.
34864         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34865         (INTERNAL_SYSCALL_TYPES): Likewise.
34866         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34867         (LOAD_REGS_TYPES_[1-6]): Likewise.
34868         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34869         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34870
34871 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34872
34873         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34874         copysignl for GLIBC_2_0.
34875         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34876         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34878         logbl for GLIBC_2_0.
34879         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34880         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34881
34882 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34883
34884         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34885         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34886
34887         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34888         Use "neg %eax".
34889
34890         * time/mktime.c: Update copyright years.
34891
34892 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34893
34894         mktime: merge comment-quoting-style change from gnulib
34895         * time/mktime.c: Quote 'like this' in comments.
34896         The GNU coding standards suggest that we no longer quote `like this',
34897         as "`" and "'" are typically rendered asymmetrically nowadays.
34898         The typical gnulib style is to quote 'like this' when quoting
34899         code, and "like this" when quoting English.
34900
34901         * time/mktime.c (compile-command): Add "-I.".
34902
34903         mktime: merge mktime-internal.h change from gnulib
34904         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34905
34906         mktime: merge time_r change from gnulib
34907         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34908
34909         mktime: merge DEBUG change from gnulib
34910         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34911         case system <time.h> has a #define.
34912
34913         mktime: merge <sys/types.h> change from gnulib
34914         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34915         since <time.t> is now guaranteed to define time_t.
34916
34917         mktime: merge HAVE_CONFIG_H change from gnulib
34918         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34919
34920 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34921
34922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34923         Use "neg %eax".
34924
34925         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34926         __rlim_t cast.
34927         (struct rusage): Use anonymous union to pad each field to
34928         __syscall_slong_t.
34929
34930 2012-05-21  David S. Miller  <davem@davemloft.net>
34931
34932         * Makefules (o-iterator): Remove .s cases.
34933         (compile-command.s): Delete.
34934         (COMPILE.s): Delete.
34935         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34936
34937 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34938
34939         * configure.in (libc_cv_predef_stack_protector): Only consider
34940         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34941         * configure: Regenerated.
34942
34943 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34944
34945         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34946         New macro.  Use R*LP on int and pointer.
34947         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34948         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34949         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34950         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34951
34952         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34953         [__WORDSIZE_TIME64_COMPAT32] instead of
34954         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34955         (struct utmp): Likewise.
34956         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34957         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34958         Renamed to ...
34959         (__WORDSIZE_TIME64_COMPAT32): This.
34960         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34961         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34962         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34963         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34964         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34965         (__WORDSIZE_TIME64_COMPAT32): New macro.
34966
34967 2012-05-21  Andreas Jaeger  <aj@suse.de>
34968
34969         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34970         only if [SHARED]. Add prototype for __wcschr_ia32.
34971
34972 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34973
34974         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34975         of %rbp unmolested in the jmp_buf while mangling the low bits.
34976         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34977         unmolested high bits of %rbp while demangling the low bits.
34978         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34979
34980 2012-05-21  Andreas Jaeger  <aj@suse.de>
34981
34982         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34983         * sunrpc/svc_simple.c: Use it for registerrpc.
34984         * sunrpc/xcrypt.c: Use it for passwd2des.
34985
34986         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34987
34988 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34989
34990         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34991         Don't define if [__SYSCALL_WORDSIZE != 32].
34992         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34993         New macro.
34994
34995 2012-05-21  Bruno Haible  <bruno@clisp.org>
34996             Andreas Jaeger  <aj@suse.de>
34997
34998         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34999         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35000         inptr and inend for must_buffer_ch.
35001         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35002         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35003         * stdio-common/Makefile (tests): Remove bug15.
35004         (bug15-ENV): Remove macro.
35005         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35006         anymore.
35007
35008 2012-05-19  Andreas Jaeger  <aj@suse.de>
35009             Roland McGrath  <roland@hack.frob.com>
35010
35011         * manual/contrib.texi: Completely rewritten. It contains now an
35012         alphabetical list of contributors and their contributions.
35013
35014 2012-05-21  Richard Henderson  <rth@twiddle.net>
35015
35016         * misc/getauxval.c (__getauxval): Use unsigned long int.
35017         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35018         (getauxval): Use unsigned long int.
35019
35020 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35021
35022         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35023
35024 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35025
35026         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35027         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35028         __alignof__ (long double).
35029
35030 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35031
35032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35033
35034 2012-05-20  Richard Henderson  <rth@twiddle.net>
35035
35036         * misc/getauxval.c: New file.
35037         * misc/sys/auxv.h: New file.
35038         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35039         (routines): Add getauxval.
35040         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35041         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35042         * elf/dl-sysdep.c (_dl_auxv): Remove.
35043         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35044         * elf/dl-support.c (_dl_auxv): New variable.
35045         (_dl_aux_init): Initialize it.
35046         * manual/startup.texi (Auxiliary Vector): New node.
35047         * sysdeps/generic/bits/hwcap.h: New file.
35048         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35049         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35050         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35051         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35052         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35053         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35055         Update.
35056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35059         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35064
35065 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35066
35067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35068
35069 2012-05-19  David S. Miller  <davem@davemloft.net>
35070
35071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35072
35073 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35074
35075         [BZ #14123]
35076         * math/s_ccosh.c: Include <float.h>
35077         (__ccosh): Avoid internal overflow calculating sinh and cosh
35078         values before multiplying by sin and cos values.
35079         * math/s_ccoshf.c: Likewise.
35080         * math/s_ccoshl.c: Likewise.
35081         * math/s_csin.c: Likewise.
35082         * math/s_csinf.c: Likewise.
35083         * math/s_csinl.c: Likewise.
35084         * math/s_csinh.c: Likewise.
35085         * math/s_csinhf.c: Likewise.
35086         * math/s_csinhl.c: Likewise.
35087         * math/libm-test.inc (ccos_test): Add more tests.
35088         (ccosh_test): Likewise.
35089         (csin_test): Likewise.
35090         (csinh_test): Likewise.
35091         * sysdeps/i386/fpu/libm-test-ulps: Update.
35092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35093
35094 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35095
35096         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35097         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35098
35099         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35100
35101 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35102
35103         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35104         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35105         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35106         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35107         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35108         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35109         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35110         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35111         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35112         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35113         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35114         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35115         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35116         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35117         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35118         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35119         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35120         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35121         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35122         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35123         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35124         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35125         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35126         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35127         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35128         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35129         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35130         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35131         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35132         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35133         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35134
35135 2012-05-18  Andreas Jaeger  <aj@suse.de>
35136
35137         * csu/.gitignore: Delete.
35138
35139 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35140
35141         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35142         (timex): Use __syscall_slong_t.
35143
35144 2012-05-18  Andreas Jaeger  <aj@suse.de>
35145             Carlos O'Donell  <carlos_odonell@mentor.com>
35146
35147         * manual/install.texi (Configuring and compiling): Update
35148         description about files modified in the source directory.
35149         * INSTALL: Regenerated.
35150
35151 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35152
35153         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35154         value.  Use "or" to set return value to -1.
35155         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35156         negate return value.
35157
35158 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35159
35160         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35161         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35162         failure if the compiler has Graphite support disabled.
35163         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35164         Likewise.
35165         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35166         (CFLAGS-memmove.c): Likewise.
35167         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35168         Likewise.
35169
35170 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35171
35172         * sysdeps/x86_64/x32/_itoa.h: New file.
35173
35174         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35175         getdents system call only if kernel and user dirents have the
35176         same d_ino and d_off.
35177
35178         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35179         LLONG_MAX != LONG_MAX.
35180         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35181         (_fitoa_word): Likewise.
35182
35183         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35184         years.
35185         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35186         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35187         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35188
35189         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35190         include <bits/wordsize.h>.  Check __x86_64__ instead of
35191         __WORDSIZE.
35192         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35193         if __x86_64__ is defined.  Use anonymous union on fpstate.
35194
35195         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35196         anonymous union.
35197
35198 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35199
35200         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35201         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35202         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35203         Refer to _rtld_local_ro instead of _rtld_global_ro.
35204         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35205         Likewise.
35206         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35207         Likewise.
35208         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35209         Likewise.
35210         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35211         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35212         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35213
35214         * sysdeps/powerpc/powerpc32/dl-machine.c
35215         (__elf_machine_runtime_setup) [PROF]: Don't reference
35216         _dl_prof_resolve.
35217
35218 2012-05-18  Andreas Jaeger  <aj@suse.de>
35219
35220         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35221         function only available for GCCs before 3.4 since GCC 3.4
35222         introduced a builtin.
35223         (lrint): Likewise.
35224         (llrintf): Likewise.
35225         (llrint): Likewise.
35226         (fmaxf): Likewise.
35227         (fmax): Likewise.
35228         (fminf): Likewise.
35229         (fmin): Likewise.
35230         (rint): Likewise.
35231         (rintf): Likewise.
35232         (nearbyint): Likewise.
35233         (nearbyintf): Likewise.
35234         (ceil): Likewise.
35235         (ceilf): Likewise.
35236         (floor): Likewise.
35237         (floorf): Likewise.
35238
35239 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35240
35241         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35242         on both fields and cast pointer to __syscall_ulong_t.
35243
35244         * bits/types.h (__fsword_t): New type.
35245         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35246         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35247         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35248         (__FSWORD_T_TYPE): Likewise.
35249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35250         (__FSWORD_T_TYPE): Likewise.
35251         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35252         (__FSWORD_T_TYPE): Likewise.
35253         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35254         (__FSWORD_T_TYPE): Likewise.
35255         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35256         __SWORD_TYPE with __fsword_t.
35257         (statfs64): Likewise.
35258
35259 2012-05-17  David S. Miller  <davem@davemloft.net>
35260
35261         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35262
35263 2012-05-17  Andreas Jaeger  <aj@suse.de>
35264
35265         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35266         warning.
35267
35268 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35269
35270         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35271
35272 2012-05-17  Andreas Jaeger  <aj@suse.de>
35273
35274         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35275         when it is used.
35276
35277 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35278
35279         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35280
35281 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35282
35283         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35284         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35285
35286 2012-05-17  Andreas Jaeger  <aj@suse.de>
35287             Carlos O'Donell  <carlos_odonell@mentor.com>
35288
35289         [BZ #14059]
35290         * sysdeps/x86_64/multiarch/init-arch.h
35291         (bit_YMM_Usable): Rename to...
35292         (bit_AVX_Usable): ... this.
35293         (bit_FMA4_Usable): New macro.
35294         (bit_XMM_state): New macro.
35295         (bit_YMM_state): New macro.
35296         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35297         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35298         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35299         (CPUID_OSXSAVE): New macro.
35300         (CPUID_AVX): New macro.
35301         (CPUID_FMA4): New macro.
35302         (index_YMM_Usable): Rename to...
35303         (index_AVX_Usable): ... this.
35304         (HAS_AVX): Use HAS_ARCH_FEATURE.
35305         (HAS_FMA4): Likewise.
35306         (HAS_YMM_USABLE): Remove.
35307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35308         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35309         are present.
35310         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35311         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35312         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35313         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35314         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35315
35316 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35317
35318         * math/libm-test.c: Support platforms without multiple rounding modes.
35319         * math/bug-nextafter.c: Support platforms without FP exceptions.
35320         * math/bug-nexttoward.c: Likewise.
35321         * math/test-fenv.c: Likewise.
35322         * math/test-misc.c: Likewise.
35323         * stdlib/bug-getcontext.c: Likewise.
35324
35325 2012-05-17  Andreas Jaeger  <aj@suse.de>
35326
35327         * manual/examples/search.c (critter_cmp): Change signature to
35328         avoid warnings.
35329         * manual/string.texi (Collation Functions): Likewise.
35330
35331 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35332
35333         * bits/types.h: Fold copyright years.
35334         * bits/typesizes.h: Likewise.
35335         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35339         * time/time.h: Likewise.
35340
35341 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35342
35343         [BZ #208]
35344         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35345         in instead of returning them.  Return void.
35346         (__libc_mallinfo): Accumulate over all arenas.
35347         (__malloc_stats): Adjust for change in int_mallinfo interface.
35348
35349 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35350
35351         [BZ #10375]
35352         * configure.in (NM): Add AC_CHECK_TOOL for it.
35353         (libc_extra_cflags): New substituted variable.
35354         Check for -fstack-protector being used implicitly.
35355         * configure: Regenerated.
35356         * config.make.in (config-extra-cflags): New variable,
35357         gets @libc_extra_cflags@.
35358         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35359
35360         [BZ #10375]
35361         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35362         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35363         * configure: Regenerated.
35364         * config.make.in (CPPUNDEFS): New substituted variable.
35365         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35366         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35367         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35368
35369 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35370
35371         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35372         (mq_attr): Use __syscall_slong_t.
35373
35374 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35375
35376         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35377         Check __x86_64__ instead of __WORDSIZE.
35378         (_STAT_VER_LINUX): Likewise.
35379         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35380         __syscall_ulong_t and __syscall_slong_t.
35381         (stat64): Likewise.
35382
35383 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35384
35385         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35386
35387 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35388
35389         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35390
35391 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35392
35393         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35394         __syscall_ulong_t.
35395
35396         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35397         include <bits/wordsize.h>.  Check __x86_64__ instead of
35398         __WORDSIZE.
35399         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35400         defined.
35401         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35402
35403         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35404         include <bits/wordsize.h>.  Check __x86_64__ instead of
35405         __WORDSIZE.
35406         (user_regs_struct): Use "__extension__ unsigned long long"
35407         instead of "unsigned long" if __x86_64__ is defined.
35408         (user): Likewise.  Pad after pointer field if __ILP32__ is
35409         defined.
35410
35411 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35412
35413         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35414         versions 5 to 9.
35415         * configure: Regenerated.
35416         * manual/install.texi (texinfo): Increase version requirement to
35417         4.5 or later.
35418         * INSTALL: Regenerated.
35419
35420         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35421
35422 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35423
35424         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35425
35426         * sysdeps/x86_64/x32/ffs.c: New file.
35427
35428         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35429         __syscall_ulong_t.
35430         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35431         defined.  Use __syscall_ulong_t.
35432         (shminfo): Use __syscall_ulong_t.
35433         (shm_info): Likewise.
35434
35435         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35436         __syscall_ulong_t.
35437
35438         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35439         <bits/wordsize.h>.
35440         (msgqnum_t): Use __syscall_ulong_t.
35441         (msglen_t): Likewise.
35442         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35443         __syscall_ulong_t.
35444
35445         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35446         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35447
35448         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35449
35450         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35451         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35452
35453         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35454         __syscall_slong_t.
35455
35456         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35457         include <bits/wordsize.h>.  Check __x86_64__ instead of
35458         __WORDSIZE.
35459
35460         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35461         "unsigned long long int" if __x86_64__ is defined.
35462         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35463
35464         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35465         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35466         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35467
35468         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35469         <stdint.h>.
35470         (GET_PC): Cast to uintptr_t first.
35471         (GET_FRAME): Likewise.
35472         (GET_STACK): Likewise.
35473
35474         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35475         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35476         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35477         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35478         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35479         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35480         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35481         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35482         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35483         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35484         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35485         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35486         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35487         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35488         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35489         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35490         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35491         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35492         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35493         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35494         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35495         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35496         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35497         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35498         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35499         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35500         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35501         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35502         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35503
35504 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35505
35506         * Makerules (+depfiles): Also collect depfiles from .oS in
35507         $(extra-objs).
35508         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35509         .oS, $(libnldbl-routines)).
35510
35511         * Makerules (native-compile-mkdep-flags): Define.
35512         * sunrpc/Makefile (extra-objs): Add $(addprefix
35513         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35514         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35515         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35516         calling $(make-target-directory).
35517
35518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35519
35520         * bits/types.h (__snseconds_t): Removed.
35521         * time/time.h (struct timespec): Replace __snseconds_t with
35522         __syscall_slong_t.
35523         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35524         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35525         Likewise.
35526         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35527         (__SNSECONDS_T_TYPE): Likewise.
35528         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35529         (__SNSECONDS_T_TYPE): Likewise.
35530         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35531         (__SNSECONDS_T_TYPE): Likewise.
35532
35533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35534
35535         * sysdeps/mach/hurd/bits/typesizes.h
35536         (__SYSCALL_SLONG_TYPE): New macro.
35537         (__SYSCALL_ULONG_TYPE): Likewise.
35538
35539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35540
35541         * bits/types.h (__syscall_slong_t): New type.
35542         (__syscall_ulong_t): Likewise.
35543
35544         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35545         (__SYSCALL_ULONG_TYPE): Likewise.
35546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35547         (__SYSCALL_SLONG_TYPE): Likewise.
35548         (__SYSCALL_ULONG_TYPE): Likewise.
35549         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35550         (__SYSCALL_SLONG_TYPE): Likewise.
35551         (__SYSCALL_ULONG_TYPE): Likewise.
35552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35553         (__SYSCALL_SLONG_TYPE): Likewise.
35554         (__SYSCALL_ULONG_TYPE): Likewise.
35555
35556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35557
35558         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35559         Add sigaltstack-offsets.sym.
35560         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35561         <sigaltstack-offsets.h>.
35562         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35563         longjmp_msg pointer.
35564         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35565         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35566         signal stack.
35567         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35568
35569 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35570
35571         * elf/stackguard-macros.h: Remove file.
35572         * sysdeps/generic/stackguard-macros.h: New file.
35573         * sysdeps/i386/stackguard-macros.h: Likewise.
35574         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35575         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35576         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35577         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35578         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35579         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35580         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35581         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35582         <elf/stackguard-macros.h>.
35583
35584         [BZ #14109]
35585         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35586         __aligned__ in attribute.
35587         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35588         (gregset_t): Likewise.
35589
35590 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35591
35592         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35593         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35594         * sysdeps/x86_64/x32/Implies-after: New file.
35595
35596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35597
35598         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35599         and access return value for _dl_profile_fixup.  Use R10_LP to
35600         load frame size.
35601
35602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35603
35604         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35605
35606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35607
35608         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35609         * sysdeps/x86_64/x32/sysdep.h: New file.
35610
35611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35612
35613         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35614         * sysdeps/x86_64/setjmp.S: Likewise.
35615
35616 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35617
35618         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35619         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35620         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35621         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35622         remove unused global constant.
35623
35624 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35625
35626         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35627         include of <not-cancel.h>.
35628
35629 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35630
35631         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35632
35633 2012-05-15  Jeff Law  <law@redhat.com>
35634             Andreas Jaeger  <aj@suse.de>
35635
35636         [BZ #13594]
35637         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35638         out from...
35639         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35640         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35641         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35642         code changing __hst_map_handle.map.
35643
35644 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35645
35646         * configure.in (sysnames): Look for Implies-before and Implies-after
35647         files.
35648         * configure: Regenerated.
35649
35650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35651
35652         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35653         8-byte data alignment with LP_SIZE alignment.
35654
35655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35656
35657         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35658         into R10_LP.
35659
35660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35661
35662         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35663
35664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35665
35666         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35667         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35668         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35669         Likewise.
35670         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35671
35672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35673
35674         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35675         (stackinfo_sub_sp): Likewise.
35676
35677 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35678
35679         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35680         RAX_LP.
35681
35682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35683
35684         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35685         into R*_LP.
35686
35687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35688
35689         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35690         sizes into R*_LP.
35691
35692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35693
35694         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35695
35696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35697
35698         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35699         into R11_LP and load __x86_64_shared_cache_size_half into
35700         R8_LP.
35701
35702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35703
35704         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35705         R8_LP.
35706
35707 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35708
35709         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35710         logb for POWER7.
35711         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35712         logbf for POWER7.
35713         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35714         logbl for POWER7.
35715         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35716         powerpc32/power7/fpu/s_logb.c via #include.
35717         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35718         powerpc32/power7/fpu/s_logbf.c via #include.
35719         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35720         powerpc32/power7/fpu/s_logbl.c via #include.
35721
35722 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35723
35724         * README.libm: Remove file.
35725
35726 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35727
35728         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35729         count for x32.  Use R*_LP and omit operand-size suffix.
35730
35731 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35732
35733         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35734         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35735         * sysdeps/x86_64/x32/shlib-versions: New file.
35736
35737 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35738
35739         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35740         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35741         Use _dl_fatal_printf instead.
35742
35743 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35744
35745         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35746         set if not set by the user.  Do not allow for being unset.
35747         * sysdeps/unix/sysv/linux/configure: Regenerated.
35748
35749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35750
35751         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35752         the `q' suffix from lea and replace .quad with ASM_ADDR.
35753
35754 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35755
35756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35757         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35758         instead of $17.
35759         (PTR_DEMANGLE): Likewise.
35760
35761 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35762
35763         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35764         (LP_OP): Likewise.
35765         (ASM_ADDR): Likewise.
35766         (RAX_LP): Likewise.
35767         (RBP_LP): Likewise.
35768         (RBX_LP): Likewise.
35769         (RCX_LP): Likewise.
35770         (RDI_LP): Likewise.
35771         (RSI_LP): Likewise.
35772         (RSP_LP): Likewise.
35773         (R8_LP): Likewise.
35774         (R9_LP): Likewise.
35775         (R10_LP): Likewise.
35776         (R10_LP): Likewise.
35777         (R11_LP): Likewise.
35778         (R12_LP): Likewise.
35779         (R13_LP): Likewise.
35780         (R14_LP): Likewise.
35781         (R15_LP): Likewise.
35782
35783 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35784
35785         * sysdeps/x86_64/x32/dl-machine.h: New file.
35786
35787 2012-05-14  Andreas Jaeger  <aj@suse.de>
35788
35789         * manual/Makefile (subdir): Remove export of subdir.
35790         (all): Remove target.
35791         (.PHONY): Remove all from list.
35792         (mkinstalldirs): Remove.
35793         (.PHONY): Remove installdirs from list.
35794         ($(inst_infodir)/libc.info): Use make-target-directory.
35795         (installdirs): Remove.
35796         (subdir_%): Remove.
35797         (glibc-targets): Remove.
35798         (lib): Remove.
35799         (stubs): Remove.
35800         ($(objpfx)stubs ../po/manual.pot): Remove.
35801         ($(objpfx)stamp%): Remove.
35802         (make-target-directory): Remove.
35803         (subdir_install): Remove.
35804         (routines): Remove.
35805         (aux): Remove.
35806         (sources): Remove.
35807         (objects): Remove.
35808         (headers): Remove.
35809
35810         [BZ #13750]
35811         * manual/.gitignore: Remove, it's not needed anymore.
35812         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35813         all files in it.
35814         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35815         directory.
35816         (texis): Renamed to $(objpfx)texis.
35817         (texis-path): New, contains path to generated files.
35818         (chapters.%): Use texis-path for complete path, add extra argument
35819         libc-texinfo.sh.
35820         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35821         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35822         (summary,texi, stamp-summary): Use complete path of
35823         files. Generate files in build dir.
35824         (dir-add.texi): Build in build dir.
35825         (libm-err.texi,stamp-libm-err): Likewise.
35826         (version.texi, stamp-version): Likewise.
35827         (.%c.texi): Likewise.
35828         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35829         (mostlyclean): Remove target.
35830         (realclean): Remove target.
35831         (generated): Add new variable with contents from mostlyclean and
35832         realclean, remove entries duplicated in common-mostlyclean, add
35833         stamp-libm-err and stamp-version.
35834         (generated-dirs): Add libc directory.
35835         ($(inst_infodir)/libc.info): Install files from build dir.
35836
35837         * manual/install.texi (Configuring and compiling): Adjust since
35838         the info files are not part of the tar ball anymore.
35839
35840 2012-05-14  Andreas Jaeger  <aj@suse.de>
35841
35842         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35843         variable.
35844
35845 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35846
35847         [BZ #13717]
35848         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35849         to 2.2.0 where earlier.
35850         * sysdeps/unix/sysv/linux/configure: Regenerated.
35851         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35852         Remove conditional code.
35853         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35854         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35855         Remove conditional code.
35856         [!__NR_lchown]: Likewise.
35857         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35858         [__NR_lchown]: Likewise.
35859         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35860         comment referencing __ASSUME_LCHOWN_SYSCALL.
35861         * sysdeps/unix/sysv/linux/i386/sigaction.c
35862         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35863         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35864         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35865         Remove conditional code.
35866         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35867         (__protocol_available): Remove #if 0 code.
35868         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35869         conditional code.
35870         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35871         * sysdeps/unix/sysv/linux/kernel-features.h
35872         (__ASSUME_GETCWD_SYSCALL): Don't define.
35873         (__ASSUME_REALTIME_SIGNALS): Likewise.
35874         (__ASSUME_PREAD_SYSCALL): Likewise.
35875         (__ASSUME_PWRITE_SYSCALL): Likewise.
35876         (__ASSUME_POLL_SYSCALL): Likewise.
35877         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35878         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35879         non-SPARC.
35880         (__ASSUME_SIOCGIFNAME): Don't define.
35881         (__ASSUME_MSG_NOSIGNAL): Likewise.
35882         (__ASSUME_SENDFILE): Define unconditionally.
35883         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35884         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35885         conditional code.
35886         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35887         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35888         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35889         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35890         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35891         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35892         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35894         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35895         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35897         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35898         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35900         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35901         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35903         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35904         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35906         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35907         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35909         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35910         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35912         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35913         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35915         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35916         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35917         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35918         Remove conditional code.
35919         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35920         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35921         Remove conditional code.
35922         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35923         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35924         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35925         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35926         Remove conditional code.
35927         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35928         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35929         Remove conditional code.
35930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35931         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35932         Remove conditional code.
35933         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35934         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35935         Remove conditional code.
35936         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35937         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35938         Remove conditional code.
35939         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35940         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35941         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35942         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35943         * sysdeps/unix/sysv/linux/sigaction.c
35944         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35945         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35946         * sysdeps/unix/sysv/linux/sigpending.c
35947         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35948         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35949         * sysdeps/unix/sysv/linux/sigprocmask.c
35950         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35951         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35952         * sysdeps/unix/sysv/linux/sigsuspend.c
35953         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35954         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35955         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35956         (__libc_missing_rt_sigs): Remove.
35957         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35958         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35959         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35960         Remove conditional code.
35961         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35962         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35963         return 1.
35964         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35965         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35966         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35967         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35968
35969 2012-05-14  Andreas Jaeger  <aj@suse.de>
35970
35971         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35972         it's not used in glibc.
35973         (__coshm1): Likewise.
35974         (__acosh1p): Likewise.
35975         (__sgn): Likewise.
35976
35977         * manual/string.texi (Copying and Concatenation): Add missing
35978         variable in concat example.
35979         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35980
35981 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35982
35983         [BZ #14103]
35984         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35985         __builtin_clzl with __builtin_clzll.
35986
35987 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35988
35989         [BZ #14104]
35990         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35991         libc_freeres_ptr.
35992
35993 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35994
35995         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35996         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35997         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35998         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35999
36000 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36001
36002         * NEWS: Update ia64 info.
36003
36004 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36005
36006         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36007         used as bcopy.
36008
36009 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36010
36011         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36012         * sysdeps/unix/syscalls.list (dup3): Likewise.
36013         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36014         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36015
36016 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36017
36018         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36019         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36020
36021 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36022
36023         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36024         thread pointer.
36025         (TLS_IE): Use mov/add instead of movq/addq to load thread
36026         pointer.
36027         (TLS_GD_PREFIX): New.
36028         (TLS_GD): Use it.
36029
36030 2012-05-11  David S. Miller  <davem@davemloft.net>
36031
36032         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36033         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36034         (_FPU_SETCW): Likewise.
36035
36036 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36037
36038         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36039         is 32-byte aligned.
36040
36041 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36042
36043         [BZ #11837]
36044         * iconvdata/gb18030.c: Update tables.
36045         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36046         characters specially.
36047         (BODY for TO_LOOP): Add encoding of missing ranges.
36048
36049 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36050
36051         [BZ #13673]
36052         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36053         * sysdeps/mach/hurd/dup3.c: Likewise.
36054         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36055         * sysdeps/powerpc/memmove.c:: Likewise.
36056
36057 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36058
36059         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36060         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36061
36062 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36063
36064         * elf/elf.h (R_X86_64_RELATIVE64): New.
36065         (R_X86_64_NUM): Updated.
36066         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36067         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36068         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36069         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36070         tst-quad1pie tst-quad2pie
36071         (modules-names): Add tst-quadmod1 tst-quadmod2.
36072         ($(objpfx)tst-quad1): New dependency.
36073         ($(objpfx)tst-quad2): Likewise.
36074         ($(objpfx)tst-quad1pie): Likewise.
36075         ($(objpfx)tst-quad2pie): Likewise.
36076         * sysdeps/x86_64/tst-quad1.c: New file.
36077         * sysdeps/x86_64/tst-quad1pie.c: New file.
36078         * sysdeps/x86_64/tst-quad2.c: Likewise.
36079         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36080         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36081         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36082         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36083         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36084
36085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36086
36087         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36088         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36089         * streams/stropts.h (t_scalar_t): Define type.
36090
36091         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36092         (_PATH_PRESERVE): Set to "/var/lib".
36093         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36094
36095         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36096         instead of int.
36097
36098         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36099         if __dir_mkfile succeeded.
36100
36101         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36102         checking for _hurd_dtablesize.  Unlock it right after having
36103         finished _hurd_dtable allocation.
36104
36105 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36106
36107         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36108         * sysdeps/mach/hurd/configure: Regenerated.
36109         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36110         special-casing to...
36111         * sysdeps/gnu/configure.in: ... this new file.
36112         * sysdeps/unix/sysv/linux/configure: Regenerated.
36113         * sysdeps/gnu/configure: New generated file.
36114
36115         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36116         for Linux: use nsec instead of usec, as well as:
36117         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36118         members of type struct timespec.
36119         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36120         New macros.
36121         (struct stat64): Likewise.
36122         (_STATBUF_ST_NSEC): New macro.
36123         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36124
36125         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36126         __strtoul_internal rather than strtoul.
36127
36128 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36129
36130         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36131         and reject them.
36132
36133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36134
36135         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36136         which preserves existing values.
36137         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36138
36139 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36140
36141         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36142         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36143         greater than FD_SETSIZE.
36144
36145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36146
36147         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36148         allocated, call __vm_protect to finish enabling the existing space, and
36149         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36150         allocate the remainder.
36151
36152 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36153
36154         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36155         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36156
36157 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36158
36159         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36160         sysdeps/mach/hurd/readlink.c.
36161
36162         * posix/tst-sysconf.c (posix_options): Only use
36163         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36164         _POSIX_SYNCHRONIZED_IO when they are defined
36165         * sysdeps/mach/hurd/bits/posix_opt.h:
36166         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36167         (_XOPEN_REALTIME): Undefine macro.
36168         (_XOPEN_REALTIME_THREADS): Undefine macro.
36169         (_XOPEN_SHM): Undefine macro.
36170         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36171         macro to -1.
36172         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36173         macro to -1.
36174         (_POSIX_ASYNC_IO): Undefine macro.
36175         (_POSIX_PRIORITIZED_IO): Undefine macro.
36176         (_POSIX_SPIN_LOCKS): Define macro to -1.
36177
36178         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36179         SA_NODEFER, SA_RESETHAND.
36180         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36181         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36182         F_DUPFD_CLOEXEC.
36183
36184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36185
36186         * elf/Makefile (pldd-modules): Define unconditionally.
36187
36188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36189
36190         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36191
36192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36193
36194         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36195         Return ENOENT when name is empty.
36196         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36197
36198 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36199
36200         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36201
36202         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36203
36204 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36205
36206         Fix mlock in all cases except non-readable pages.
36207         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36208         instead of VM_PROT_ALL as parameter to __vm_wire function.
36209
36210         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36211         (__mkdir): When path is `/', just fail with EEXIST.
36212         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36213
36214 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36215
36216         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36217         <sys/uio.h> (for writev).
36218         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36219         and <sys/param.h> (for MIN).
36220
36221 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36222
36223         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36224         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36225         if interrupted.
36226
36227 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36228
36229         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36230         Depend on against $(link-rpcuserlibs).
36231
36232 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36233
36234         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36235         (__libc_stack_end): Do not use attribute_relro.
36236         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36237         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36238         to libthread-provided value.
36239         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36240         attribute_relro.
36241
36242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36243
36244         [BZ #3748]
36245         * bits/libc-lock.h (__libc_once_get): New macro.
36246         * sysdeps/mach/bits/libc-lock.h: Likewise.
36247         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36248         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36249         instead of using implementation details.
36250
36251         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36252         * libio/freopen.c: Likewise.
36253         * libio/freopen64.c: Likewise.
36254         * misc/syslog.c: Likewise.
36255         * nscd/connections.c: Likewise.
36256         * nscd/netgroupcache.c: Likewise.
36257         * sysdeps/posix/getcwd.c: Likewise.
36258
36259 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36260
36261         * math/w_ilogbf.c: Add #include <limits.h>.
36262
36263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36264
36265         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36266         path instead of returning without unlocking.
36267
36268         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36269         immediate-write ioctls.
36270         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36271
36272 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36273
36274         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36275         __builtin_frame_address instead of making assumptions about the
36276         location of the return address relative to DATA.  Force early load of
36277         the return address.
36278         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36279         __builtin_frame_address.
36280
36281         dup3 for GNU Hurd.
36282         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36283         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36284         implement dup3 and do some further code clean-ups.
36285         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36286         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36287
36288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36289
36290         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36291
36292         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36293         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36294         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36295         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36296         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36297         d->port.lock.
36298
36299         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36300         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36301         when handler == SIG_ERR, not when handler != SIG_ERR.
36302
36303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36304
36305         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36306         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36307         definitions.
36308
36309         accept4 for GNU Hurd.
36310         * include/sys/socket.h (__libc_accept4): New prototype.
36311         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36312         to implement __libc_accept4.
36313         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36314         __libc_accept4.
36315         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36316
36317         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36318         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36319         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36320         signal-defines.sym.
36321
36322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36323
36324         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36325
36326 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36327
36328         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36329         assertion on O_CLOEXEC flag.
36330         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36331         * hurd/intern-fd.c: Likewise.
36332         * hurd/port2fd.c: Likewise.
36333
36334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36335
36336         [BZ #3906]
36337         * bits/in.h (IPV6_PKTINFO): Define new macro.
36338         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36339
36340 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36341
36342         [BZ #13954]
36343         [BZ #13955]
36344         [BZ #13956]
36345         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36346         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36347         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36348         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36350         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36351         * math/libm-test.inc (logb_test) : Additional logb tests.
36352
36353 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36354             Andreas Jaeger  <aj@suse.de>
36355
36356         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36357         * configure: Regenerated.
36358         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36359         * config.make.in (link-obsolete-rpc): New substituted variable.
36360         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36361         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36362         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36363         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36364         so that libc.a contains the symbols.
36365         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36366         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36367         * sunrpc/auth_none.c: Likewise.
36368         * sunrpc/auth_unix.c: Likewise.
36369         * sunrpc/authdes_prot.c: Likewise.
36370         * sunrpc/authuxprot.c: Likewise.
36371         * sunrpc/clnt_gen.c: Likewise.
36372         * sunrpc/clnt_perr.c: Likewise.
36373         * sunrpc/clnt_raw.c: Likewise.
36374         * sunrpc/clnt_simp.c: Likewise.
36375         * sunrpc/clnt_tcp.c: Likewise.
36376         * sunrpc/clnt_udp.c: Likewise.
36377         * sunrpc/clnt_unix.c: Likewise.
36378         * sunrpc/des_crypt.c: Likewise.
36379         * sunrpc/des_soft.c: Likewise.
36380         * sunrpc/get_myaddr.c: Likewise.
36381         * sunrpc/key_call.c: Likewise.
36382         * sunrpc/key_prot.c: Likewise.
36383         * sunrpc/netname.c: Likewise.
36384         * sunrpc/pm_getmaps.c: Likewise.
36385         * sunrpc/pm_getport.c: Likewise.
36386         * sunrpc/pmap_clnt.c: Likewise.
36387         * sunrpc/pmap_prot.c: Likewise.
36388         * sunrpc/pmap_prot2.c: Likewise.
36389         * sunrpc/pmap_rmt.c: Likewise.
36390         * sunrpc/publickey.c: Likewise.
36391         * sunrpc/rpc_cmsg.c: Likewise.
36392         * sunrpc/rpc_common.c: Likewise.
36393         * sunrpc/rpc_dtable.c: Likewise.
36394         * sunrpc/rpc_prot.c: Likewise.
36395         * sunrpc/rpc_thread.c: Likewise.
36396         * sunrpc/rtime.c: Likewise.
36397         * sunrpc/svc.c: Likewise.
36398         * sunrpc/svc_auth.c: Likewise.
36399         * sunrpc/svc_raw.c: Likewise.
36400         * sunrpc/svc_run.c: Likewise.
36401         * sunrpc/svc_tcp.c: Likewise.
36402         * sunrpc/svc_udp.c: Likewise.
36403         * sunrpc/svc_unix.c: Likewise.
36404         * sunrpc/svcauth_des.c: Likewise.
36405         * sunrpc/xcrypt.c: Likewise.
36406         * sunrpc/xdr.c: Likewise.
36407         * sunrpc/xdr_array.c: Likewise.
36408         * sunrpc/xdr_float.c: Likewise.
36409         * sunrpc/xdr_intXX_t.c: Likewise.
36410         * sunrpc/xdr_mem.c: Likewise.
36411         * sunrpc/xdr_rec.c: Likewise.
36412         * sunrpc/xdr_ref.c: Likewise.
36413         * sunrpc/xdr_sizeof.c: Likewise.
36414         * sunrpc/xdr_stdio.c: Likewise.
36415
36416 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36417
36418         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36419         change.  Update copyright years.
36420
36421 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36422
36423         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36424
36425 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36426             Joseph Myers  <joseph@codesourcery.com>
36427             Paul Pluzhnikov  <ppluzhnikov@google.com>
36428
36429         [BZ #14012]
36430         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36431         requiring rpcgen.
36432         [cross-compiling] (extra-libs): Likewise.
36433         [cross-compiling] (extra-libs-others): Likewise.
36434         [cross-compiling] (librpcsvc-routines): Likewise.
36435         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36436         [cross-compiling] (omit-deps): Likewise.
36437         (sunrpc-CPPFLAGS): New variable.
36438         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36439         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36440         (cross-rpcgen-objs): New variable.
36441         (extra-objs): Append $(cross-rpcgen-objs).
36442         ($(cross-rpcgen-objs)): New rule.
36443         ($(objpfx)cross-rpcgen): Likewise.
36444         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36445         comment.
36446         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36447         ($(objpfx)x%.stmp): Likewise.
36448         * sunrpc/proto.h [IS_IN_build] (_): Define.
36449         [IS_IN_build] (_libc_intl_domainname): Likewise.
36450
36451 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36452
36453         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36454         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36455         and R_X86_64_TPOFF64.
36456
36457 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36458
36459         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36460         sysdeps/unix/sysv/syscalls.list.
36461         (stime): Likewise.
36462         (utime): Likewise.
36463         * sysdeps/unix/sysv/syscalls.list: Remove file.
36464
36465 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36466
36467         [BZ #3440]
36468         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36469         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36470         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36471         (__LC_IDENTIFICATION): Make these macros useful in #if
36472         expressions, as required by C99.
36473
36474 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36475
36476         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36477         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36478         after this.
36479
36480 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36481
36482         * stdlib/longlong.h: Updated from GCC.
36483
36484 2012-05-09  Andreas Jaeger  <aj@suse.de>
36485
36486         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36487         default is first entry.
36488         (run_mode): Set type.
36489         (main): Remove informal message about syslog.
36490         (options): Fix typo.
36491
36492         [BZ #14053]
36493         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36494         to asm.
36495         (lrint): Likewise.
36496         (llrintf): Likewise.
36497         (llrint): Likewise.
36498         (rint): Likewise.
36499         (rintf): Likewise.
36500         (nearbyint): Likewise.
36501         (nearbyintf): Likewise.
36502
36503 2012-05-09  Andreas Jaeger  <aj@suse.de>
36504             Pedro Alves  <palves@redhat.com>
36505
36506         * nscd/nscd.c (run_mode): Use enum.
36507         (main): Cleanup coding style issue.
36508
36509 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36510             Andreas Jaeger  <aj@suse.de>
36511
36512         * nscd/nscd.c (go_background): Replaced with...
36513         (run_mode): ... this.
36514         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36515         (options): Add -F --foreground.
36516         (main): Implement it.
36517         (parse_opt): Parse it.
36518
36519 2012-05-09  Andreas Jaeger  <aj@suse.de>
36520
36521         [BZ #14083]
36522         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36523         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36524         -Wconversion warning.
36525         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36526         Likewise.
36527
36528 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36529
36530         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36531         == 0.
36532         (LC_ALL): Use macro-int-constant.
36533         (LC_COLLATE): Likewise.
36534         (LC_CTYPE): Likewise.
36535         (LC_MESSAGES): Likewise.
36536         (LC_MONETARY): Likewise.
36537         (LC_NUMERIC): Likewise.
36538         (LC_TIME): Likewise.
36539         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36540         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36541         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36542         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36543         Specify type.
36544         [C99-based standards] (float_t): Expect type.
36545         [C99-based standards] (double_t): Expect type.
36546         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36547         type.
36548         [C99-based standards] (HUGE_VALL): Likewise.
36549         [C99-based standards] (INFINITY): Likewise.
36550         [C99-based standards] (NAN): Likewise.
36551         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36552         [C99-based standards] (FP_NAN): Likewise.
36553         [C99-based standards] (FP_NORMAL): Likewise.
36554         [C99-based standards] (FP_SUBNORMAL): Likewise.
36555         [C99-based standards] (FP_ZERO): Likewise.
36556         [C99-based standards] (FP_FAST_FMA): Use
36557         optional-macro-int-constant.  Specify type.  Require == 1.
36558         [C99-based standards] (FP_FAST_FMAF): Likewise.
36559         [C99-based standards] (FP_FAST_FMAL): Likewise.
36560         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36561         [C99-based standards] (FP_ILOGBNAN): Likewise.
36562         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36563         Specify type.
36564         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36565         [C99-based standards] (math_errhandling): Specify type.
36566         [ISO99 || ISO11] (signgam): Do not allow.
36567         [non-C99-based standards] (copysignf): Do not allow.
36568         [non-C99-based standards] (exp2f): Likewise.
36569         [non-C99-based standards] (log2f): Likewise.
36570         [non-C99-based standards] (modff): Allow.
36571         [non-C99-based standards] (erff): Do not allow.
36572         [non-C99-based standards] (erfcf): Likewise.
36573         [non-C99-based standards] (gammaf): Likewise.
36574         [non-C99-based standards] (hypotf): Likewise.
36575         [non-C99-based standards] (j0f): Likewise.
36576         [non-C99-based standards] (j1f): Likewise.
36577         [non-C99-based standards] (jnf): Likewise.
36578         [non-C99-based standards] (lgammaf): Likewise.
36579         [non-C99-based standards] (tgammaf): Likewise.
36580         [non-C99-based standards] (y0f): Likewise.
36581         [non-C99-based standards] (y1f): Likewise.
36582         [non-C99-based standards] (ynf): Likewise.
36583         [non-C99-based standards] (isnanf): Likewise.
36584         [non-C99-based standards] (acoshf): Likewise.
36585         [non-C99-based standards] (asinhf): Likewise.
36586         [non-C99-based standards] (atanhf): Likewise.
36587         [non-C99-based standards] (cbrtf): Likewise.
36588         [non-C99-based standards] (expm1f): Likewise.
36589         [non-C99-based standards] (ilogbf): Likewise.
36590         [non-C99-based standards] (log1pf): Likewise.
36591         [non-C99-based standards] (logbf): Likewise.
36592         [non-C99-based standards] (nextafterf): Likewise.
36593         [non-C99-based standards] (remainderf): Likewise.
36594         [non-C99-based standards] (rintf): Likewise.
36595         [non-C99-based standards] (scalbf): Likewise.
36596         [non-C99-based standards] (copysignl): Likewise.
36597         [non-C99-based standards] (exp2l): Likewise.
36598         [non-C99-based standards] (log2l): Likewise.
36599         [non-C99-based standards] (modfl): Allow.
36600         [non-C99-based standards] (erfl): Do not allow.
36601         [non-C99-based standards] (erfcl): Likewise.
36602         [non-C99-based standards] (gammal): Likewise.
36603         [non-C99-based standards] (hypotl): Likewise.
36604         [non-C99-based standards] (j0l): Likewise.
36605         [non-C99-based standards] (j1l): Likewise.
36606         [non-C99-based standards] (jnl): Likewise.
36607         [non-C99-based standards] (lgammal): Likewise.
36608         [non-C99-based standards] (tgammal): Likewise.
36609         [non-C99-based standards] (y0l): Likewise.
36610         [non-C99-based standards] (y1l): Likewise.
36611         [non-C99-based standards] (ynl): Likewise.
36612         [non-C99-based standards] (isnanl): Likewise.
36613         [non-C99-based standards] (acoshl): Likewise.
36614         [non-C99-based standards] (asinhl): Likewise.
36615         [non-C99-based standards] (atanhl): Likewise.
36616         [non-C99-based standards] (cbrtl): Likewise.
36617         [non-C99-based standards] (expm1l): Likewise.
36618         [non-C99-based standards] (ilogbl): Likewise.
36619         [non-C99-based standards] (log1pl): Likewise.
36620         [non-C99-based standards] (logbl): Likewise.
36621         [non-C99-based standards] (nextafterl): Likewise.
36622         [non-C99-based standards] (remainderl): Likewise.
36623         [non-C99-based standards] (rintl): Likewise.
36624         [non-C99-based standards] (scalbl): Likewise.
36625         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36626         [non-C99-based standards] (FP_*): Do not allow.
36627         [C99-based standards] (FP_*): Change to
36628         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36629         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36630         allow.
36631         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36632         (SIG_ERR): Likewise.
36633         [X/Open-based standards] (SIG_HOLD): Likewise.
36634         (SIG_IGN): Likewise.
36635         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36636         positive value.
36637         (SIGFPE): Likewise.
36638         (SIGILL): Likewise.
36639         (SIGINT): Likewise.
36640         (SIGSEGV): Likewise.
36641         (SIGTER): Likewise.
36642         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36643         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36644         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36645         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36646         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36647         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36648         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36649         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36650         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36651         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36652         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36653         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36654         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36655         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36656         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36657         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36658         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36659         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36660         [X/Open-based standards] (SIGTRAP): Likewise.
36661         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36662         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36663         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36664         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36665         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36666         allow.
36667
36668 2012-05-08  Ian Wienand  <ianw@vmware.com>
36669
36670         [BZ #14080]
36671         * time/tzset.c (__tzset_parse_tz): Update default rules for
36672         daylight time changes in the Energy Policy Act of 2005.
36673
36674 2012-05-09  Andreas Jaeger  <aj@suse.de>
36675
36676         [BZ #13983]
36677         * elf/ldconfig.c (parse_conf): Change string to make clear that
36678         ldconfig only issued a warning if ld.so.conf does not exist.
36679
36680 2012-05-08  David S. Miller  <davem@davemloft.net>
36681
36682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36683         movxtod instead of popping the value on the stack.
36684
36685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36686
36687 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36688
36689         * config.h.in: Add HAVE_ARM_PCS_VFP.
36690
36691 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36692
36693         [BZ #13979]
36694         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36695         checking but the checks are disabled for any reason.
36696
36697 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36698
36699         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36700         and ELF64_R_TYPE with ELFW(R_TYPE).
36701
36702 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36703
36704         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36705         (ulimit): Likewise.
36706
36707         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36708         (settimeofday): Likewise.
36709
36710 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36711
36712         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36713         a struct th_u2 inside the union, and move tu_block/tu_code into
36714         a new th_u3 union of tu_block/tu_code inside of that.  Move
36715         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36716         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36717         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36718         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36719         (th_stuff): Change to th_u1.tu_stuff.
36720         (th_data): Define.
36721         (th_msg): Change to th_u1.th_u2.tu_data.
36722
36723 2012-05-07  David S. Miller  <davem@davemloft.net>
36724
36725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36726
36727         [BZ #14074]
36728         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36729         (SETUP_PIC_REG): Use it.
36730         (SETUP_PIC_REG_LEAF): Use it.
36731
36732 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36733
36734         [BZ #13885]
36735         [BZ #13923]
36736         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36737         USE_AS_EXPM1L.
36738         (EXPL_FINITE): Likewise.
36739         (FLDLOG): Likewise.
36740         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36741         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36742         e_expl.S.
36743         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36744         USE_AS_EXPM1L.
36745         (EXPL_FINITE): Likewise.
36746         (FLDLOG): Likewise.
36747         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36748         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36749         e_expl.S.
36750         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36751         test of -max_value argument for long double.
36752         * sysdeps/i386/fpu/libm-test-ulps: Update.
36753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36754
36755 2012-05-06  David S. Miller  <davem@davemloft.net>
36756
36757         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36758         quad soft-float symbols whose references which are compiler
36759         generated.
36760         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36761
36762 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36763
36764         [BZ #13884]
36765         [BZ #13914]
36766         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36767         USE_AS_EXP10L.
36768         (EXPL_FINITE): Likewise.
36769         (FLDLOG): Likewise.
36770         (c0): Likewise.
36771         (c1): Likewise.
36772         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36773         Adjust comments for base varying.
36774         (__expl_finite): Change alias to EXPL_FINITE.
36775         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36776         e_expl.S.
36777         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36778         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36779         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36780         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36781         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36782         USE_AS_EXP10L.
36783         (EXPL_FINITE): Likewise.
36784         (FLDLOG): Likewise.
36785         (c0): Likewise.
36786         (c1): Likewise.
36787         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36788         Adjust comments for base varying.
36789         (__expl_finite): Change alias to EXPL_FINITE.
36790         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36791         tests for bugs.
36792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36793
36794         [BZ #14064]
36795         * math/libm-test.inc (check_float_internal): Correct ulp
36796         calculation for subnormal expected results.
36797
36798 2012-05-06  Andreas Jaeger  <aj@suse.de>
36799
36800         * Makeconfig (+math-flags): New, set to -frounding-math.
36801         (+cflags): Add +math-flags so that all of glibc gets compiled with
36802         it.
36803
36804         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36805
36806 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36807
36808         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36809         Disable one test.
36810
36811         [BZ #13787]
36812         [BZ #13922]
36813         [BZ #14036]
36814         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36815         (__ieee754_expl): Allow for and saturate large arguments.
36816         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36817         (u_threshold): Likewise.
36818         (__exp): Call __ieee754_exp before checking for overflow and
36819         underflow.
36820         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36821         (u_threshold): Likewise.
36822         (__expf): Call __ieee754_expf before checking for overflow and
36823         underflow.
36824         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36825         (u_threshold): Likewise.
36826         (__expl): Call __ieee754_expl before checking for overflow and
36827         underflow.
36828         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36829         (__ieee754_expl): Allow for and saturate large arguments.
36830         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36831         missing overflow exception on overflow.
36832         (expm1_test): Do not allow missing overflow exception on overflow.
36833
36834         * sysdeps/i386/fpu/e_expl.c: Move to ...
36835         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36836         rather than using inline asm.
36837         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36838         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36839         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36840
36841         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36842         (nice): Likewise.
36843         (poll): Likewise.
36844         (signal): Likewise.
36845         (time): Likewise.
36846         (times): Likewise.
36847
36848 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36849
36850         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36851         sysdeps/unix/common/syscalls.list.
36852         (fchmod): Likewise.
36853         (fchown): Likewise.
36854         (ftruncate): Likewise.
36855         (getrusage): Likewise.
36856         (gettimeofday): Likewise.
36857         (setpgid): Likewise.
36858         (setregid): Likewise.
36859         (setreuid): Likewise.
36860         (sigaction): Likewise.
36861         (truncate): Likewise.
36862         (vhangup): Likewise.
36863         * sysdeps/unix/common/syscalls.list: Remove file.
36864         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36865         * sysdeps/unix/sysv/linux/Implies: Likewise.
36866
36867 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36868
36869         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36871         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36872         Moved to ...
36873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36874         Here.
36875         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36876         to ...
36877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36878         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36879         to ...
36880         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36881         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36882         to ...
36883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36884         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36885         to ...
36886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36887         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36888         to ...
36889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36890         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36891         to ...
36892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36893         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36894         to ...
36895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36896         Here.
36897         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36898         to ...
36899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36900         Here.
36901         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36902         to ...
36903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36904         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36905         Moved to ...
36906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36907         Here.
36908         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36909         to ...
36910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36911
36912 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36913
36914         * sysdeps/unix/common/bits/dirent.h: Remove file.
36915         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36916
36917         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36918         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36919         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36920         * sysdeps/unix/bsd/isatty.c: Likewise.
36921         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36922         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36923         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36924
36925 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36926
36927         [BZ #13563]
36928         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36929         long double comparison inaccuracies.
36930         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36932
36933 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36934
36935         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36937
36938 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36939
36940         [BZ #14049]
36941         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36942         nonzero digits before rounding a hex value.
36943         * stdlib/tst-strtod.c (tests): Add another test.
36944
36945 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36946
36947         * sysdeps/s390/fpu/libm-test-ulps: Update.
36948
36949 2012-05-03  Andreas Jaeger  <aj@suse.de>
36950
36951         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36952         does not get optimized out.
36953         (malloc_opt_barrier): New.
36954
36955 2012-05-03  Andreas Jaeger  <aj@suse.de>
36956             Roland McGrath  <roland@hack.frob.com>
36957
36958         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36959         intermediate file deletion.
36960         (generated): Add .symlist files.
36961
36962 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36963
36964         [BZ #13775]
36965         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36966         Redirect under this condition.
36967         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36968         [__USE_GNU] (__dprintf_chk): Not under this condition.
36969         [__USE_GNU] (__vdprintf_chk): Likewise.
36970         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36971         under this condition.
36972         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36973         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36974         [__USE_XOPEN2K8] (vdprintf): Likewise.
36975         [__USE_GNU] (__dprintf_chk): Not under this condition.
36976         [__USE_GNU] (__vdprintf_chk): Likewise.
36977         [__USE_GNU] (dprintf): Likewise.
36978         [__USE_GNU] (vdprintf): Likewise.
36979
36980 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36981
36982         * elf/Makefile (common-generated): Set this instead of generated for
36983         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36984         $(all-built-dso)-derived lists.
36985
36986 2012-05-03  Andreas Jaeger  <aj@suse.de>
36987
36988         * sysdeps/i386/fpu/libm-test-ulps: Update.
36989
36990         * FAQ: Removed.
36991         * FAQ.in: Likewise.
36992         * scripts/gen-FAQ.pl: Likewise.
36993         * manual/install.texi (Installation): Point to online location of
36994         FAQ.
36995         * Makefile (files-for-dist): Remove FAQ.
36996         (FAQ): Remove.
36997
36998 2012-05-02  Allan McRae  <allan@archlinux.org>
36999
37000         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37001         (LDFLAGS-reldepmod5.so): Likewise.
37002         (LDFLAGS-reldep6mod1.so): Likewise.
37003         (LDFLAGS-reldep6mod4.so): Likewise.
37004         (LDFLAGS-reldep8mod3.so): Likewise.
37005         (LDFLAGS-unload4mod1.so): Likewise.
37006         (LDFLAGS-unload4mod2.so): Likewise.
37007         (LDFLAGS-tst-initorder): Likewise.
37008         (LDFLAGS-tst-initordera2.so): Likewise.
37009         (LDFLAGS-tst-initordera3.so): Likewise.
37010         (LDFLAGS-tst-initordera4.so): Likewise.
37011         (LDFLAGS-tst-initorderb2.so): Likewise.
37012         (LDFLAGS-noload): Likewise.
37013         (LDFLAGS-next): Likewise.
37014         (LDFLAGS-order2mod1.so): Likewise.
37015         (LDFLAGS-order2mod2.so): Likewise.
37016         (LDFLAGS-tst-initorder2): Likewise.
37017         (LDFLAGS-tst-initorder2a.so): Likewise.
37018         (LDFLAGS-tst-initorder2b.so): Likewise.
37019         (LDFLAGS-tst-initorder2c.so): Likewise.
37020         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37021
37022 2012-05-02  David S. Miller  <davem@davemloft.net>
37023
37024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37025
37026 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37027
37028         [BZ #14055]
37029         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37030
37031 2012-05-02  Andreas Jaeger  <aj@suse.de>
37032
37033         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37034         since we manipulate rounding mode.
37035         (CPPFLAGS-test-idouble.c): Likewise.
37036         (CPPFLAGS-test-ifloat.c): Likewise.
37037         (CFLAGS-test-ldouble.c): Likewise.
37038         (CFLAGS-test-double.c): Likewise.
37039         (CFLAGS-test-float.c): Likewise.
37040         (CFLAGS-test-misc.c): Likewise.
37041         (CFLAGS-test-test-fenv.c): Likewise.
37042
37043 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37044
37045         [BZ #2550]
37046         [BZ #2570]
37047         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37048         comparisons to determine direction to adjust input.
37049
37050 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37051
37052         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37053         output to the target.
37054
37055         * scripts/localplt.awk: New file.
37056         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37057         (check-localplt-CFLAGS): Variable removed.
37058         ($(all-built-dso:=.jmprel)): New static pattern rule.
37059         (generated): Add those targets.
37060         (localplt-built-dso): New variable.
37061         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37062
37063         * elf/check-localplt.c: File removed.
37064
37065         * scripts/check-execstack.awk: New file.
37066         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37067         (check-execstack-CFLAGS): Variable removed.
37068         ($(objpfx)check-execstack.h): Target removed.
37069         ($(objpfx)execstack-default): New target.
37070         (generated): Add that instead of check-execstack.h.
37071         ($(all-built-dso:=.phdr)): New static pattern rule.
37072         (generated): Add those targets.
37073         * elf/check-execstack.c: File removed.
37074
37075         * scripts/check-textrel.awk: New file.
37076         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37077         (check-textrel-CFLAGS): Variable removed.
37078         (all-built-dso): Use := to define.o
37079         ($(all-built-dso:=.dyn)): New static pattern rule.
37080         (generated): Add those targets.
37081         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37082         * config.make.in (READELF): New substituted variable.
37083         * elf/check-textrel.c: File removed.
37084
37085 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37086
37087         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37088         allow.
37089         * conform/data/ctype.h-data [C99-based standards] (isblank):
37090         Expect function.
37091         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37092         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37093         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37094         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37095         Specify type.  Require positive value.
37096         (EILSEQ): Likewise.
37097         (ERANGE): Likewise.
37098         [ISO || POSIX] (EILSEQ): Do not expect.
37099         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37100         Specify type.  Require positive value.
37101         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37102         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37103         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37104         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37105         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37106         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37107         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37108         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37109         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37110         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37111         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37112         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37113         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37114         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37115         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37116         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37117         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37118         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37119         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37120         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37121         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37122         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37123         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37124         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37125         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37126         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37127         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37128         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37129         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37130         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37131         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37132         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37133         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37134         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37135         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37136         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37137         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37138         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37139         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37140         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37141         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37142         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37143         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37144         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37145         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37146         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37147         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37148         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37149         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37150         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37151         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37152         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37153         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37154         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37155         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37156         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37157         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37158         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37159         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37160         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37161         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37162         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37163         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37164         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37165         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37166         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37167         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37168         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37169         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37170         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37171         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37172         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37173         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37174         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37175         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37176         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37177         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37178         Require >= 2.
37179         (FLT_ROUNDS): Expect as macro, not constant.
37180         (FLT_MANT_DIG): Use macro-int-constant.
37181         (DBL_MANT_DIG): Likewise.
37182         (LDBL_MANT_DIG): Likewise.
37183         (FLT_DIG): Likewise.
37184         (DBL_DIG): Likewise.
37185         (LDBL_DIG): Likewise.
37186         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37187         (DBL_MIN_EXP): Likewise.
37188         (LDBL_MIN_EXP): Likewise.
37189         (FLT_MAX_EXP): Use macro-int-constant.
37190         (DBL_MAX_EXP): Likewise.
37191         (LDBL_MAX_EXP): Likewise.
37192         (FLT_MAX_10_EXP): Likewise.
37193         (DBL_MAX_10_EXP): Likewise.
37194         (LDBL_MAX_10_EXP): Likewise.
37195         (FLT_MAX): Use macro-constant.
37196         (DBL_MAX): Likewise.
37197         (LDBL_MAX): Likewise.
37198         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37199         (DBL_EPSILON): Likewise.
37200         (LDBL_EPSILON): Likewise.
37201         (FLT_MIN): Likewise.
37202         (DBL_MIN): Likewise.
37203         (LDBL_MIN): Likewise.
37204         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37205         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37206         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37207         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37208         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37209         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37210         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37211         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37212         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37213         [ISO11] (FLT_TRUE_MIN): Likewise.
37214         [ISO11] (LDBL_TRUE_MIN): Likewise.
37215         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37216         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37217         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37218         (SCHAR_MAX): Likewise.
37219         (UCHAR_MAX): Likewise.
37220         (CHAR_MIN): Likewise.
37221         (CHAR_MAX): Likewise.
37222         (MB_LEN_MAX): Use macro-int-constant.
37223         (SHRT_MIN): Use macro-int-constant.  Specify type.
37224         (SHRT_MAX): Likewise.
37225         (USHRT_MAX): Likewise.
37226         (INT_MAX): Likewise.
37227         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37228         bound negative.
37229         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37230         bound with "U".
37231         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37232         bound with "L".
37233         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37234         bound negative.  Suffix upper bound with "L".
37235         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37236         bound with "UL".
37237         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37238         Specify type.
37239         [C99-based standards] (LLONG_MAX): Likewise.
37240         [C99-based standards] (ULLONG_MAX): Likewise.
37241         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37242         == 0.
37243         [ISO11] (max_align_t): Require type.
37244         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37245
37246         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37247         from $CFLAGS, without defining away __attribute__ calls.
37248         (checknamespace): Use $CFLAGS_namespace.
37249
37250         * conform/conformtest.pl (@keywords): Only include C99 keywords
37251         for standards based on C99 or C11.
37252
37253         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37254         Disable tests.
37255         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37256         UNIX98]: Likewise.
37257
37258         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37259         usability of symbols in #if.
37260
37261         * conform/conformtest.pl: If macro or constant types start
37262         "promoted:", expect the symbol to be of the following type
37263         promoted by the integer promotions.
37264
37265         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37266         in one place.  Also handle "macro-constant".
37267
37268         * conform/conformtest.pl: Only accept expected macro values with
37269         "==".  Parse all "macro" lines in one place.
37270         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37271
37272         * conform/conformtest.pl: Handle braced types on "constant" lines
37273         instead of handling "typed-constant".
37274         * conform/data/signal.h-data: Use "constant" instead of
37275         "typed-constant".
37276
37277         * conform/conformtest.pl: Handle "optional-" at start of lines in
37278         one place rather than duplicating several cases.  Handle each
37279         format of "macro" line with initial "optional-".
37280
37281         * conform/conformtest.pl: Only accept expected constant or
37282         optional-constant values with "==".  Parse all "constant" lines in
37283         one place.  Parse all "optional-constant" lines in one place.
37284         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37285         * conform/data/fmtmsg.h-data: Likewise.
37286         * conform/data/netinet/in.h-data: Likewise.
37287         * conform/data/tar.h-data: Likewise.
37288         * conform/data/limits.h-data: Use "==" form on "constant" and
37289         "optional-constant" lines.
37290
37291         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37292         Use -std=c99 for XOPEN2K.
37293         (@knownproblems): Remove.
37294         (newtoken): Don't check %isknown.
37295
37296         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37297         Do not expect macro.
37298         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37299         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37300         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37301         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37302         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37303         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37304         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37305         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37306         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37307         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37308         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37309         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37310         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37311         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37312         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37313         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37314         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37315         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37316         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37317         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37318         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37319         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37320         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37321         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37322         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37323         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37324         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37325         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37326         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37327         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37328         [XPG3] (acosh): Likewise.
37329         [XPG3] (asinh): Likewise.
37330         [XPG3] (atanh): Likewise.
37331         [XPG3] (cbrt): Likewise.
37332         [XPG3] (expm1): Likewise.
37333         [XPG3] (ilogb): Likewise.
37334         [XPG3] (log1p): Likewise.
37335         [XPG3] (logb): Likewise.
37336         [XPG3] (nextafter): Likewise.
37337         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37338         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37339         [XPG3] (remainder): Likewise.
37340         [XPG3] (rint): Likewise.
37341         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37342         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37343         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37344         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37345         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37346         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37347         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37348         [UNIX98 || XOPEN2K] (scalb): Expect.
37349         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37350         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37351         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37352         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37353         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37354         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37355         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37356         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37357         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37358         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37359         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37360         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37361         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37362         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37363         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37364         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37365         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37366         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37367         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37368         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37369         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37370         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37371         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37372         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37373         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37374         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37375         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37376         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37377         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37378         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37379         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37380         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37381         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37382         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37383         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37384         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37385         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37386         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37387         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37388         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37389         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37390         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37391         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37392         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37393         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37394         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37395         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37396         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37397         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37398         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37399         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37400         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37401         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37402         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37403         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37404         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37405         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37406         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37407         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37408         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37409         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37410         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37411         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37412         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37413         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37414         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37415         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37416         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37417         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37418         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37419         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37420         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37421         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37422         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37423         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37424         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37425         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37426         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37427         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37428         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37429         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37430         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37431         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37432         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37433         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37434         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37435         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37436         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37437         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37438         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37439         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37440         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37441         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37442         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37443         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37444         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37445         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37446         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37447         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37448         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37449         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37450         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37451         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37452         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37453         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37454         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37455         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37456         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37457         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37458         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37459         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37460         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37461         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37462         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37463         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37464         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37465         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37466         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37467         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37468         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37469         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37470         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37471         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37472         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37473         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37474         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37475         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37476         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37477         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37478         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37479         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37480         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37481         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37482         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37483         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37484         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37485         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37486
37487         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37488         _XOPEN_SOURCE_EXTENDED for XPG4.
37489
37490         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37491
37492         * Makeconfig (localtime): Remove variable.
37493         (inst_localtime-file): Likewise.
37494
37495 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37496
37497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37498         Update.
37499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37500         Update.
37501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37502         Update.
37503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37504         Update.
37505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37506         Update.
37507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37508         Update.
37509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37510         Update.
37511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37512         Update.
37513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37514         Update.
37515
37516 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37517
37518         [BZ #2550]
37519         [BZ #2570]
37520         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37521         comparisons to determine direction to adjust input.
37522         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37523         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37524         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37525         Likewise.
37526         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37527         Likewise.
37528         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37529         Likewise.
37530         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37531         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37532         Likewise.
37533         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37534         Likewise.
37535         * math/libm-test.inc (nexttoward_test): Add more tests.
37536
37537 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37538
37539         [BZ #14040]
37540         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37541         in version GLIBC_2.1, not GLIBC_2.0.
37542         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37543         Likewise.
37544
37545 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37546
37547         [BZ #13942]
37548         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37549         (1 - x) * (1 + x).
37550         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37551         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37552         * math/libm-test.inc (acos_test): Add more tests.
37553         (asin_test): Likewise.
37554         * sysdeps/i386/fpu/libm-test-ulps: Update.
37555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37556
37557         [BZ #14034]
37558         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37559         of square root.
37560         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37561         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37562         * math/libm-test.inc (acos_test_tonearest): New function.
37563         (acos_test_towardzero): Likewise.
37564         (acos_test_downward): Likewise.
37565         (acos_test_upward): Likewise.
37566         (asin_test_tonearest): Likewise.
37567         (asin_test_towardzero): Likewise.
37568         (asin_test_downward): Likewise.
37569         (asin_test_upward): Likewise.
37570         (main): Call the new functions.
37571         * sysdeps/i386/fpu/libm-test-ulps: Update.
37572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37573
37574         [BZ #13884]
37575         [BZ #13924]
37576         * math/e_exp10.c: Include <float.h>.
37577         (__ieee754_exp10): Handle underflow here rather than multiplying
37578         large negative argument by M_LN10.
37579         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37580         of __ieee754_expf.
37581         * math/e_exp10l.c: Include <float.h>.
37582         (__ieee754_exp10l): Handle underflow here rather than multiplying
37583         large negative argument by M_LN10l.
37584         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37585         spurious overflow exception on underflow.
37586
37587 2012-04-29  Marek Polacek  <polacek@redhat.com>
37588
37589         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37590         (__fortify_function): New macro.
37591         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37592         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37593         __extern_always_inline.
37594         * libio/bits/stdio2.h: Likewise.
37595         * libio/bits/stdio.h: Likewise.
37596         * string/string.h: Likewise.
37597         * string/bits/string3.h: Likewise.
37598         * include/stdio.h: Likewise.
37599         * stdlib/bits/stdlib.h: Likewise.
37600         * stdlib/stdlib.h: Likewise.
37601         * rt/bits/mqueue2.h: Likewise.
37602         * rt/mqueue.h: Likewise.
37603         * posix/bits/unistd.h: Likewise.
37604         * posix/unistd.h: Likewise.
37605         * io/bits/poll2.h: Likewise.
37606         * io/bits/fcntl2.h: Likewise.
37607         * io/fcntl.h: Likewise.
37608         * io/sys/poll.h: Likewise.
37609         * misc/bits/syslog.h: Likewise.
37610         * misc/bits/syslog-ldbl.h: Likewise.
37611         * misc/sys/syslog.h: Likewise.
37612         * socket/bits/socket2.h: Likewise.
37613         * socket/sys/socket.h: Likewise.
37614         * debug/tst-chk1.c: Likewise.
37615         * wcsmbs/bits/wchar2.h: Likewise.
37616         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37617         * wcsmbs/wchar.h: Likewise.
37618
37619 2012-04-29  Andreas Jaeger  <aj@suse.de>
37620
37621         * Makerules (tests): Remove enable-check-abi protection.
37622         (check-abi-warn): Remove.
37623         (check-abi-%): Remove check-abi-warn usage.
37624
37625         * configure.in: Remove check-abi configure option.
37626         * configure: Regenerated.
37627         * config.make.in (enable-check-abi): Remove.
37628
37629 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37630
37631         [BZ #14033]
37632         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37633         double functions to double *_finite functions.
37634
37635         [BZ #13941]
37636         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37637         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37638         LDBL_MIN_EXP.
37639         * stdio-common/Makefile (tests): Add tst-sprintf3.
37640         * stdio-common/tst-sprintf3.c: New file.
37641
37642         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37643         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37644
37645 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37646
37647         * conform/conformtest.pl: Remove duplicate typed-constant
37648         handling.
37649
37650 2012-04-28  David S. Miller  <davem@davemloft.net>
37651
37652         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37653         (check-abi-%): Remove AWK script prerequisite and explicit
37654         abilist directory.
37655         (check-abi): Rewrite to just diff the symlist with the abilist.
37656         (config-tls, config-abi-config): Delete, no longer used.
37657         (update-abi-%): Remove AWK script and explicit abilist directory.
37658         (update-abi): Rewrite to simply compare and conditionally copy the
37659         symlist and the sysdep abilist file.  Remove update-abi-config
37660         checks.
37661         * abilist/ld.abilist: Remove.
37662         * abilist/libBrokenLocale.abilist: Remove.
37663         * abilist/libanl.abilist: Remove.
37664         * abilist/libcrypt.abilist: Remove.
37665         * abilist/libdl.abilist: Remove.
37666         * abilist/librt.abilist: Remove.
37667         * abilist/libthread_db.abilist: Remove.
37668         * abilist/libutil.abilist: Remove.
37669         * scripts/extract-abilist.awk: Remove.
37670         * scripts/merge-abilist.awk: Remove.
37671         * sysdeps/generic/libcidn.abilist: New file.
37672         * sysdeps/generic/libnss_compat.abilist: New file.
37673         * sysdeps/generic/libnss_db.abilist: New file.
37674         * sysdeps/generic/libnss_dns.abilist: New file.
37675         * sysdeps/generic/libnss_files.abilist: New file.
37676         * sysdeps/generic/libnss_hesiod.abilist: New file.
37677         * sysdeps/generic/libnss_nis.abilist: New file.
37678         * sysdeps/generic/libnss_nisplus.abilist: New file.
37679         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37680         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37681         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37682         file.
37683         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37684         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37685         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37686         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37687         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37688         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37689         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37690         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37691         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37692         file.
37693         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37694         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37695         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37696         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37697         file.
37698         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37699         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37700         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37701         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37702         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37703         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37704         file.
37705         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37706         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37707         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37708         file.
37709         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37710         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37711         New file.
37712         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37713         New file.
37714         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37715         New file.
37716         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37717         New file.
37718         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37719         New file.
37720         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37721         New file.
37722         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37723         New file.
37724         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37725         New file.
37726         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37727         New file.
37728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37729         New file.
37730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37731         New file.
37732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37733         New file.
37734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37735         New file.
37736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37737         file.
37738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37739         New file.
37740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37741         New file.
37742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37743         file.
37744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37745         New file.
37746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37747         New file.
37748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37749         file.
37750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37751         New file.
37752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37753         New file.
37754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37755         New file.
37756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37757         New file.
37758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37759         New file.
37760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37761         New file.
37762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37764         file.
37765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37766         New file.
37767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37768         file.
37769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37770         file.
37771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37772         file.
37773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37774         file.
37775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37776         file.
37777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37778         New file.
37779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37780         file.
37781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37782         file.
37783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37784         New file.
37785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37786         file.
37787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37789         file.
37790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37791         New file.
37792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37793         file.
37794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37795         file.
37796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37797         file.
37798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37799         file.
37800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37801         file.
37802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37803         New file.
37804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37805         file.
37806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37807         file.
37808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37809         New file.
37810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37811         file.
37812         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37813         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37814         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37815         file.
37816         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37817         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37818         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37819         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37820         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37821         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37822         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37823         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37824         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37825         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37828         file.
37829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37830         New file.
37831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37832         file.
37833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37834         file.
37835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37836         file.
37837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37838         file.
37839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37840         file.
37841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37842         New file.
37843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37844         New file.
37845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37846         file.
37847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37848         New file.
37849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37850         file.
37851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37853         file.
37854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37855         New file.
37856         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37857         file.
37858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37859         file.
37860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37861         file.
37862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37863         file.
37864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37865         file.
37866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37867         New file.
37868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37869         New file.
37870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37871         file.
37872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37873         New file.
37874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37875         file.
37876
37877 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37878
37879         * conform/conformtest.pl: Fix typo in handling typed-constant from
37880         allow-header.
37881
37882 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37883
37884         * README: Cut down references to pre-2.6 Linux kernels and
37885         Linuxthreads.  Update lists of configurations in libc and ports
37886         and sort alphabetically.  Say "or newer" with Linux kernel version
37887         requirements.
37888
37889         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37890
37891 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37892
37893         [BZ #887]
37894         * math/libm-test.inc (logb_test_downward): New test to expose
37895         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37896         rounding mode.
37897
37898 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37899
37900         [BZ #14027]
37901         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37902         to be done.
37903         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37904         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37905
37906 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37907
37908         * sysdeps/unix/i386/brk.S: Remove file.
37909         * sysdeps/unix/i386/dl-brk.S: Likewise.
37910         * sysdeps/unix/i386/pipe.S: Likewise.
37911         * sysdeps/unix/i386/sigreturn.S: Likewise.
37912         * sysdeps/unix/i386/syscall.S: Likewise.
37913         * sysdeps/unix/i386/vfork.S: Likewise.
37914         * sysdeps/unix/i386/wait.S: Likewise.
37915
37916         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37917         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37918
37919         * configure.in (arm*-none*): Do not allow without
37920         --enable-hacker-mode.
37921         (netbsd*): Remove case setting base_os.
37922         (386bsd*): Likewise.
37923         (freebsd*): Likewise.
37924         (bsdi*): Likewise.
37925         (osf*): Likewise.
37926         (sunos*): Likewise.
37927         (ultrix*): Likewise.
37928         (newsos*): Likewise.
37929         (dynix*): Likewise.
37930         (*bsd*): Likewise.
37931         (sysv*): Likewise.
37932         (isc*): Likewise.
37933         (esix*): Likewise.
37934         (sco*): Likewise.
37935         (minix*): Likewise.
37936         (irix4*): Likewise.
37937         (irix6*): Likewise.
37938         (solaris[2-9]*): Likewise.
37939         (none): Likewise.
37940         * configure: Regenerated.
37941
37942 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37943
37944         [BZ #11521]
37945         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37946         overflow or cancellation in calculating denominator.
37947         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37948         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37949         down expression to avoid unexpected rounding in newer GCCs.
37950         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37951
37952 2012-04-26  David S. Miller  <davem@davemloft.net>
37953
37954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37955         long-double compat symbols.
37956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37969
37970 2012-04-25  David S. Miller  <davem@davemloft.net>
37971
37972         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37973         HWCAP_* values only after the memory barriers have been defined.
37974         (atomic_full_barrier): Define.
37975         (atomic_read_barrier): Define.
37976         (atomic_write_barrier): Define.
37977
37978 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37979
37980         * shlib-versions: Add libgcc_s version information.
37981         * sysdeps/generic/libgcc_s.h: Remove.
37982         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37983         libgcc_s.h.
37984         * sysdeps/gnu/unwind-resume.c: Likewise.
37985         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37986
37987 2012-04-25  David S. Miller  <davem@davemloft.net>
37988
37989         * sysdeps/unix/sparc/brk.S: Delete.
37990         * sysdeps/unix/sparc/dl-brk.S: Delete.
37991         * sysdeps/unix/sparc/pipe.S: Delete.
37992         * sysdeps/unix/sparc/sysdep.S: Delete.
37993         * sysdeps/unix/sparc/sysdep.h: Delete.
37994         * sysdeps/unix/sparc/vfork.S: Delete.
37995         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37996         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37997         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37998         (ret_ERRVAL, r0, r1, MOVE): Define.
37999         (JUMPTARGET): Remove.
38000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38001         sysdeps/unix/sparc/sysdep.h
38002         (ENTRY, END): Remove.
38003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38004
38005 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38006
38007         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38008         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38009         -DIS_IN_build.
38010
38011         * timezone/README: Update upstream location and email address for
38012         tzcode and tzdata.
38013         * timezone/zdump.c: Update from tzcode 2012b.
38014         * timezone/zic.c: Likewise.
38015
38016         * configure.in (libc_cv_as_needed): Remove test.
38017         * configure: Regenerated.
38018         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38019         conditional definition.
38020         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38021         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38022         * config.make.in (have-as-needed): Remove variable.
38023
38024 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38025             Paul Pluzhnikov  <ppluzhnikov@google.com>
38026
38027         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38028         strings correctly.
38029
38030 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38031
38032         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38033         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38034         * sysdeps/sh/strlen.S: Likewise.
38035
38036 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38037
38038         * sysdeps/unix/fork.S: Remove file.
38039         * sysdeps/unix/i386/fork.S: Likewise.
38040         * sysdeps/unix/sparc/fork.S: Likewise.
38041
38042         * sysdeps/unix/system.c: Remove file.
38043         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38044
38045         * sysdeps/unix/getegid.S: Remove file.
38046         * sysdeps/unix/geteuid.S: Likewise.
38047
38048 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38049
38050         * scripts/check-localplt.awk: New file.
38051         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38052         of diff.
38053         * scripts/data/localplt-generic.data: Add a comment.
38054
38055         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38056         NODE when __dir_mkfile failed.
38057         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38058         Reported by Ludovic Courtès <ludo@gnu.org>.
38059
38060 2012-04-24  Andreas Jaeger  <aj@suse.de>
38061
38062         * Makerules (common-clean): Also remove gen-as-const-headers
38063         files.
38064
38065 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38066
38067         * Makerules (native-compile): Do not change working directory for
38068         build.  Use $(OUTPUT_OPTION) in command.
38069         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38070
38071 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38072
38073         [BZ #13886]
38074         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38075         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38076         * math/libm-test.inc (floor_test): Add more tests.
38077         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38078
38079 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38080
38081         * sysdeps/unix/getdents.c: Remove file.
38082         * sysdeps/unix/sysv/getdents.c: Likewise.
38083         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38084
38085         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38086         sysdeps/unix/mman/syscalls.list.
38087         (mmap): Likewise.
38088         (mprotect): Likewise.
38089         (msync): Likewise.
38090         (munmap): Likewise.
38091         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38092         * sysdeps/unix/mman/syscalls.list: Remove.
38093         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38094
38095         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38096         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38097         * configure: Regenerated.
38098         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38099         $(libgcc_s_suffix).
38100         * config.make.in (libgcc_s_suffix): Remove variable.
38101
38102 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38103
38104         * sysdeps/unix/sysv/gethostname.c: Move to ...
38105         * sysdeps/posix/gethostname.c: ... here.
38106
38107         * sysdeps/unix/execve.S: Remove file.
38108
38109         * sysdeps/unix/_exit.S: Remove file.
38110
38111 2012-04-23  Andreas Jaeger  <aj@suse.de>
38112
38113         [BZ #13739]
38114         * manual/Makefile: Remove make dist support, there's no
38115         need for a stand-alone documentation tar ball.
38116         (TEXI2DVI): Define always, it's not in Makeconfig.
38117         (dist): Removed.
38118         (tar-it): Removed.
38119         (edition): Removed.
38120         (glibc-doc-$(edition).tar): Removed
38121         (%.Z): Removed.
38122         (%.gz): Removed.
38123         (%.uu): Removed.
38124         (ETAGS): Remove, it's in Makeconfig.
38125         (move-if-change): Remove, it's in Makeconfig.
38126
38127 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38128
38129         [BZ #13970]
38130         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38131         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38132         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38133         (strtod_l, strtof_l, strtold_l): Remove __wur.
38134         It is not necessarily an error to ignore strtol's return value.
38135         One can reliably look at the stored endptr to decide whether
38136         the number had valid syntax.
38137
38138 2012-04-21  Andreas Jaeger  <aj@suse.de>
38139
38140         [BZ #13739]
38141         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38142
38143 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38144
38145         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38146         * sysdeps/unix/sysv/Versions: Remove file.
38147
38148 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38149
38150         [BZ #13927]
38151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38152
38153 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38154
38155         [BZ #7064]
38156         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38157         version from __vm86.
38158
38159 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38160
38161         * sysdeps/unix/common/lxstat.c: Remove file.
38162         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38163
38164         * sysdeps/unix/sysv/Makefile: Remove file.
38165
38166         * sysdeps/unix/sysv/direct.h: Remove file.
38167
38168         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38169         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38170         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38171         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38172         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38173         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38174         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38175
38176         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38177
38178         * sysdeps/unix/xmknod.c: Remove file.
38179         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38180
38181         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38182
38183         * sysdeps/unix/sysv/i386/time.S: Remove file.
38184
38185         * sysdeps/unix/fxstat.c: Remove file.
38186         * sysdeps/unix/xstat.c: Likewise.
38187         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38188
38189         * sysdeps/unix/sysv/sigaction.c: Remove file.
38190
38191         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38192         (sysdep_headers): Remove variable.
38193         [termio.h not in sysdep_headers] (generated): Likewise.
38194         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38195         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38196         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38197         * sysdeps/unix/sysv/tcflow.c: Likewise.
38198         * sysdeps/unix/sysv/tcflush.c: Likewise.
38199         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38200         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38201         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38202         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38203         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38204
38205         * sysdeps/unix/siglist.c: Remove file.
38206
38207         * sysdeps/unix/getppid.S: Remove file.
38208
38209         * sysdeps/unix/mkdir.c: Remove file.
38210         * sysdeps/unix/rmdir.c: Likewise.
38211
38212 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38213
38214         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38215         ERR_MAX value.
38216         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38217         errlist-compat value.
38218
38219 2012-04-18  David S. Miller  <davem@davemloft.net>
38220
38221         * sysdeps/generic/memcopy.h (reg_char): Delete.
38222         * debug/strcat_chk.c: Use char, not reg_char.
38223         * debug/strcpy_chk.c: Likewise.
38224         * debug/strncat_chk.c: Likewise.
38225         * debug/strncpy_chk.c: Likewise.
38226         * string/memchr.c: Likewise.
38227         * string/memrchr.c: Likewise.
38228         * string/rawmemchr.c: Likewise.
38229         * string/strcat.c: Likewise.
38230         * string/strchr.c: Likewise.
38231         * string/strchrnul.c: Likewise.
38232         * string/strcmp.c: Likewise.
38233         * string/strcpy.c: Likewise.
38234         * string/strncat.c: Likewise.
38235         * string/strncmp.c: Likewise.
38236         * string/strncpy.c: Likewise.
38237
38238 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38239
38240         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38241         __builtin_memcopy is called when src and dest ranges are known to not
38242         overlap.
38243
38244 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38245
38246         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38247         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38248         fwd_align_merge macro call.
38249         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38250         bwd_align_merge macro call.
38251         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38252
38253 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38254
38255         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38256         bwd_align_merge macros.
38257         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38258         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38259         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38260
38261 2012-04-18  David S. Miller  <davem@davemloft.net>
38262
38263         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38264
38265 2012-04-18  Andreas Jaeger  <aj@suse.de>
38266
38267         [BZ# 6794]
38268         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38269         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38270         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38271
38272         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38273         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38274         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38275
38276         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38277         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38278         Adjust for changed ldbl-128 files.
38279
38280         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38281         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38282         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38283
38284 2012-04-17  David S. Miller  <davem@davemloft.net>
38285
38286         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38287
38288 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38289
38290         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38291         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38292         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38293         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38294         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38295         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38296
38297 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38298
38299         [BZ #6794]
38300         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38301         * math/libm-test.inc: Add ilogb errno and exception tests.
38302         * math/w_ilogb.c: New file: ilogb wrapper.
38303         * math/w_ilogbf.c: New file: ilogbf wrapper.
38304         * math/w_ilogbl.c: New file: ilogbl wrapper.
38305         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38306         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38307         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38308         exception being thrown with 0.0 as argument.
38309         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38310         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38311         exception being thrown with 0.0 as argument.
38312         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38313         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38314         exception being thrown with 0.0 as argument.
38315         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38316         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38317         exception being thrown with 0.0 as argument.
38318         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38319         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38320         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38321         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38322         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38323         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38324         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38325         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38326         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38327
38328 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38329
38330         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38331         with altivec.
38332
38333 2012-04-16  Marek Polacek  <polacek@redhat.com>
38334
38335         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38336
38337 2012-04-16  Marek Polacek  <polacek@redhat.com>
38338
38339         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38340         operands of fdivp instruction.
38341
38342 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38343
38344         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38345         * elf/tst-auditmod3b.c: Likewise.
38346         * elf/tst-auditmod4b.c: Likewise.
38347         * elf/tst-auditmod5b.c: Likewise.
38348         * elf/tst-auditmod6b.c: Likewise.
38349         * elf/tst-auditmod6c.c: Likewise.
38350         * elf/tst-auditmod7b.c: Likewise.
38351         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38352         * sysdeps/x86_64/preconfigure.in: Likewise.
38353         * sysdeps/x86_64/preconfigure: Regenerated.
38354
38355 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38356
38357         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38358         __ILP32__.
38359
38360 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38361
38362         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38363         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38364
38365 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38366
38367         [BZ #13973]
38368         * locale/iso-639.def: Fix gl language name. Spotted by
38369         Yaron Shahrabani.
38370
38371 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38372
38373         [BZ #2074]
38374         * libio/libio.h (__io_write_fn): Update comment.
38375
38376 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38377
38378         [BZ #2074]
38379         * stdio.texi (Hook Functions): The user provided writer function
38380         is not allowed to return -1.
38381
38382 2012-04-11  David S. Miller  <davem@davemloft.net>
38383
38384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38385
38386 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38387
38388         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38389         Add a leading slash to rtkaio.
38390
38391 2012-04-11  Jim Meyering  <meyering@redhat.com>
38392
38393         [BZ #11959]
38394         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38395         It is not necessarily an error to ignore fwrite's return
38396         value.  One can reliably use ferror to test for errors after
38397         the fact.
38398
38399 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38400
38401         * bits/types.h (__snseconds_t): New type.
38402         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38403
38404         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38405         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38406         (__SNSECONDS_T_TYPE): Likewise.
38407         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38408         (__SNSECONDS_T_TYPE): Likewise.
38409         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38410         (__SNSECONDS_T_TYPE): Likewise.
38411
38412 2012-04-10  Andreas Jaeger  <aj@suse.de>
38413
38414         [BZ #2636]
38415         * manual/time.texi (Processor Time): Return type of times is
38416         elapsed real time since an arbitrary point in the past.
38417         (CPU Time): Move CLK_TCK from here...
38418         (Processor Time): ...to here.  Correct description.
38419         * manual/conf.texi (Constants for Sysconf): Correct description of
38420         _SC_CLK_TCK.
38421
38422 2012-04-10  David S. Miller  <davem@davemloft.net>
38423
38424         [BZ #13967]
38425         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38426         where the is a gap between DT_REL(A) and DT_JMPREL.
38427
38428 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38429
38430         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38431         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38432         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38433
38434 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38435
38436         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38437         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38438         (dl_main): Handle --inhibit-cache.
38439         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38440         _dl_inhibit_cache.
38441         * elf/dl-load.c (_dl_map_object): Use it.
38442         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38443
38444 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38445
38446         [BZ #13872]
38447         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38448         (__ieee754_powl): Saturate large exponents rather than testing for
38449         overflow of y*log2(x).
38450         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38451         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38452         exceptions.
38453
38454         [BZ #11521]
38455         * math/s_ctan.c: Include <float.h>.
38456         (__ctan): Avoid internal overflow or cancellation in calculating
38457         denominator.
38458         * math/s_ctanf.c: Likewise.
38459         * math/s_ctanl.c: Likewise.
38460         * math/s_ctanh.c: Likewise.
38461         * math/s_ctanhf.c: Likewise.
38462         * math/s_ctanhl.c: Likewise.
38463         * math/libm-test.inc (ctan_test): Add more tests.
38464         (ctanh_test): Likewise.
38465         * sysdeps/i386/fpu/libm-test-ulps: Update.
38466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38467
38468 2012-04-09  Andreas Jaeger  <aj@suse.de>
38469
38470         [BZ #6894]
38471         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38472         is an optional BSD extension.
38473
38474         [BZ #10254]
38475         * manual/stdio.texi (Opening Streams): Document additional fopen
38476         parameters.
38477
38478 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38479
38480         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38481         %eax without telling the compiler.
38482
38483 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38484
38485         [BZ # 13963]
38486         * manual/install.texi: Use sourceware.org.
38487
38488 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38489
38490         [BZ #13873]
38491         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38492         (__ieee754_pow): Generate overflow and underflow using huge*huge
38493         and tiny*tiny rather than just returning constant infinity or zero
38494         for large exponents.
38495         * math/libm-test.inc (pow_test): Require overflow exceptions for
38496         applicable cases of large exponents.
38497
38498         [BZ #706]
38499         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38500         (__ieee754_pow): Use iterative multiplication algorithm only for
38501         integer exponents with absolute value below 1024.  Check for odd
38502         integer exponents when using algorithm for real exponents.
38503         * math/libm-test.inc (pow_test): Add more tests.
38504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38505
38506 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38507
38508         [BZ #13705]
38509         * math/libm-test.inc (exp_test): Do not allow overflow exception
38510         on underflow test.
38511
38512 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38513
38514         [BZ #13705]
38515         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38516         instead of __kernel_standard_f.
38517
38518 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38519
38520         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38521         * sysdeps/x86_64/memset_chk.S: Likewise.
38522
38523 2012-04-08  Andreas Jaeger  <aj@suse.de>
38524
38525         [BZ #10153]
38526         * manual/startup.texi (Environment Access): Describe return value
38527         for putenv and setenv.
38528
38529         [BZ #6895]
38530         * manual/filesys.texi (Directory Entries): Add description for
38531         DT_LNK.
38532
38533         [BZ #6890]
38534         * manual/filesys.texi (Directory Entries): Clarify that it's file
38535         system not operating system in the description of DT_UNKNOWN.
38536
38537         [BZ #6578]
38538         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38539
38540 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38541
38542         [BZ #6649]
38543         * manual/llio.texi (Opening and Closing Files): Add cross
38544         reference to explain mode argument.
38545
38546 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38547
38548         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38549         * sysdeps/x86_64/memset_chk.S: Likewise.
38550
38551 2012-04-07  David S. Miller  <davem@davemloft.net>
38552
38553         * elf/elf.h (R_SPARC_WDISP10): Define.
38554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38555         R_SPARC_SIZE32.
38556         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38557         R_SPARC_SIZE64 and R_SPARC_H34.
38558
38559 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38560
38561         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38562         conditions and remove no longer applicable assertion.
38563
38564 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38565
38566         * bits/byteswap.h: Include <features.h>.
38567         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38568         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38569
38570 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38571
38572         * bits/byteswap.h (__bswap_16): Removed.
38573         Include <bits/byteswap-16.h> to get __bswap_16.
38574         * sysdeps/i386/bits/byteswap.h: Likewise.
38575         * sysdeps/s390/bits/byteswap.h: Likewise.
38576         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38577         * bits/byteswap-16.h: New file.
38578         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38579         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38580         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38581         * string/Makefile (headers): Add bits/byteswap-16.h.
38582
38583 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38584
38585         [BZ #13895]
38586         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38587         extra indirection.
38588         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38589         * nss/tst-nss-static.c: New.
38590
38591 2012-04-06  Robert Millan  <rmh@gnu.org>
38592
38593         [BZ #6486]
38594         * manual/llio.texi (File Position Primitive): lseek
38595         refers to WHENCE when it really means OFFSET.
38596
38597 2012-04-06  Andreas Jaeger  <aj@suse.de>
38598
38599         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38600         strncmp declarations.
38601
38602         * abilist/libc.abilist: Add __poll and __ppoll.
38603
38604 2012-04-05  David S. Miller  <davem@davemloft.net>
38605
38606         * scripts/check-local-headers.sh: Accept a host triplet in the
38607         path matched by the exclude regexp.
38608
38609         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38610         definition.
38611         * sysdeps/powerpc/powerpc32/dl-machine.h
38612         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38613         * sysdeps/s390/s390-32/dl-machine.h
38614         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38615         * sysdeps/sparc/sparc32/dl-machine.h
38616         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38617         * sysdeps/sparc/sparc64/dl-machine.h
38618         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38619
38620         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38621         lazy binding.
38622         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38623         undefined symbol errors.
38624
38625         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38626         DT_NEEDED entries.
38627
38628 2012-04-05  Michael Matz  <matz@suse.de>
38629
38630         [BZ #13592]
38631         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38632
38633 2012-04-05  Andreas Jaeger  <aj@suse.de>
38634
38635         [BZ #13908]
38636         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38637         comment.
38638
38639 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38640
38641         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38642         which ROUND is no valid rounding mode.
38643
38644 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38645
38646         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38647         read again.
38648         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38649
38650 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38651
38652         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38653         an exception using FPU order intentionally.
38654
38655 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38656
38657         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38658         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38659         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38660         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38661
38662 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38663
38664         [BZ #12340]
38665         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38666         EINVAL when BUFLEN is too smal.
38667
38668 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38669
38670         [BZ #13553]
38671         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38672         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38673
38674 2012-04-03  Andreas Jaeger  <aj@suse.de>
38675
38676         [BZ #13938]
38677         * manual/setjmp.texi (System V contexts): Fix sentence.
38678
38679         [BZ #13926]
38680         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38681         New macro for this case.
38682         [!__GNUC__] (__bswap_64): New inline function for this case.
38683         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38684         * bits/byteswap.h: Likewise.
38685         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38686         ull, guard with __GLIBC_HAVE_LONG_LONG.
38687
38688         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38689         __GLIBC_HAVE_LONG_LONG.
38690
38691         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38692         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38693
38694 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38695
38696         [BZ #13691]
38697         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38698         inptr and inend, rather than using last_ch.
38699
38700 2012-04-02  David S. Miller  <davem@davemloft.net>
38701
38702         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38703         * stdio-common/printf-parse.h (read_int): Change return type to
38704         'int', return -1 on INT_MAX overflow.
38705         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38706         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38707         overflows INT_MAX.  Check for overflow of in-format-string precision
38708         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38709         SIZE_MAX not INT_MAX for integer overflow test.
38710         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38711         skip the construct in the format string but do not record anything.
38712         * stdio-common/bug22.c: Adjust to test both width/prevision
38713         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38714         explicitly for proper errno values.
38715
38716 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38717
38718         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38719         CHAR_MAX.
38720         * string/test-strcmp.c [! WIDE]: Likewise.
38721         * time/tst-mktime2.c: Likewise for INT_MAX.
38722         * string/test-string.h: #include <sys/param.h> for MIN.
38723
38724         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38725         * sysdeps/i386/init-first.c (init): Likewise.
38726         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38727         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38728         * sysdeps/sh/init-first.c (init): Likewise.
38729
38730 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38731
38732         * po/ru.po: Update from translation team.
38733         * po/vi.po: Likewise.
38734
38735 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38736
38737         * resolv/nss_dns/dns-host.c: Merge copyright years.
38738
38739 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38740
38741         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38742         Optimize memcpy with prefetch if
38743         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38744         src, dst pointers have unequal 16 byte alignments.
38745
38746 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38747
38748         [BZ #13928]
38749         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38750         from a CNAME entry and return the minimum ttl for the query.
38751         (gaih_getanswer_slice): Likewise.
38752
38753 2012-03-30  Jeff Law  <law@redhat.com>
38754
38755         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38756         due to long keys.
38757         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38758         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38759
38760         * resolv/nss_dns/dns-host.c: Update copyright year.
38761
38762 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38763
38764         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38765         requests to save a system call.  Fix check that all bytes are sent.
38766
38767         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38768         comments for sendmmsg.
38769
38770 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38771
38772         [BZ #13691]
38773         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38774         with only 1 character between 0x0041 and 0x01b0.
38775         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38776         * wcsmbs/tst-mbsnrtowcs.c: New file.
38777
38778 2012-03-29  David S. Miller  <davem@davemloft.net>
38779
38780         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38781         small copies by hand.
38782
38783 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38784
38785         [BZ #13761]
38786         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38787         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38788         group memberships.
38789
38790 2012-03-28  David S. Miller  <davem@davemloft.net>
38791
38792         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38793         that branches into memcpy.
38794         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38795         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38796         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38797         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38798         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38799         bits.
38800         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38801         implementation too.
38802         * sysdeps/sparc/mempcpy.S: New file.
38803
38804         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38805         the IFUNC routine in the libc case.
38806         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38807
38808         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38809         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38810         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38811         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38812         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38813         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38814         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38815         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38816
38817         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38818         loop to 256 bytes instead of 64 bytes and fix test signedness.
38819
38820         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38821         * sysdeps/sparc/sparc32/Makefile: rather than here...
38822         * sysdeps/sparc/sparc64/Makefile: and here.
38823
38824 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38825
38826         * malloc/mallocbug.c: Avoid warnings about unused variables.
38827
38828 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38829
38830         [BZ #13760]
38831         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38832         in the right place. Discard and retry query if response is
38833         larger than input buffer size.
38834
38835 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38836
38837         [BZ #369]
38838         [BZ #2678]
38839         [BZ #3866]
38840         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38841         x for large integer exponent.
38842         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38843         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38844         sign of result as needed afterwards.
38845         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38846         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38847         result for underflowing pow the same as for overflow.
38848         (__kernel_standard_l): Handle powl overflow and underflow here
38849         rather than calling __kernel_standard.
38850         * math/libm-test.inc (pow_test): Add more tests.
38851
38852         [BZ #3868]
38853         [BZ #13879]
38854         [BZ #13910]
38855         [BZ #13911]
38856         [BZ #13912]
38857         [BZ #13913]
38858         [BZ #13915]
38859         [BZ #13916]
38860         [BZ #13917]
38861         [BZ #13918]
38862         [BZ #13919]
38863         [BZ #13920]
38864         [BZ #13921]
38865         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38866         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38867         (__kernel_standard_l): New function.
38868         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38869         __kernel_standard.
38870         * math/w_acosl.c (__acosl): Likewise.
38871         * math/w_asinl.c (__asinl): Likewise.
38872         * math/w_atan2l.c (__atan2l): Likewise.
38873         * math/w_atanhl.c (__atanhl): Likewise.
38874         * math/w_coshl.c (__coshl): Likewise.
38875         * math/w_exp10l.c (__exp10l): Likewise.
38876         * math/w_exp2l.c (__exp2l): Likewise.
38877         * math/w_fmodl.c (__fmodl): Likewise.
38878         * math/w_hypotl.c (__hypotl): Likewise.
38879         * math/w_j0l.c (__j0l, __y0l): Likewise.
38880         * math/w_j1l.c (__j1l, __y1l): Likewise.
38881         * math/w_jnl.c (__jnl, __ynl): Likewise.
38882         * math/w_lgammal.c (__lgammal): Likewise.
38883         * math/w_log10l.c (__log10l): Likewise.
38884         * math/w_log2l.c (__log2l): Likewise.
38885         * math/w_logl.c (__logl): Likewise.
38886         * math/w_powl.c (__powl): Likewise.
38887         * math/w_remainderl.c (__remainderl): Likewise.
38888         * math/w_scalbl.c (sysv_scalbl): Likewise.
38889         * math/w_sinhl.c (__sinhl): Likewise.
38890         * math/w_sqrtl.c (__sqrtl): Likewise.
38891         * math/w_tgammal.c (__tgammal): Likewise.
38892         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38893         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38894         * math/libm-test.inc (acos_test): Add more tests.
38895         (acosh_test): Likewise.
38896         (asin_test): Likewise.
38897         (atanh_test): Likewise.
38898         (exp_test): Likewise.
38899         (exp10_test): Likewise.
38900         (exp2_test): Likewise.
38901         (expm1_test): Likewise.
38902         (lgamma_test): Likewise.
38903         (log_test): Likewise.
38904         (log10_test): Likewise.
38905         (log1p_test): Likewise.
38906         (log2_test): Likewise.
38907         (pow_test): Do not allow some spurious overflow exceptions.
38908         (sqrt_test): Add more tests.
38909         (tgamma_test): Likewise.
38910         (y0_test): Likewise.
38911         (y1_test): Likewise.
38912         (yn_test): Likewise.
38913
38914 2012-03-27  Anton Blanchard  <anton@samba.org>
38915
38916         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38917         MAP_HUGETLB.
38918         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38919         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38920         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38921
38922 2012-03-27  David S. Miller  <davem@davemloft.net>
38923
38924         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38925
38926         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38927         have-as-vis3 check.
38928
38929 2012-03-27  Andreas Jaeger  <aj@suse.de>
38930
38931         * sysdeps/x86_64/elf/configure.in: Moved to ...
38932         * sysdeps/x86_64/configure.in: ... here.
38933         * sysdeps/x86_64/elf/start.S: Moved to ...
38934         * sysdeps/x86_64/start.S: ... here.
38935         * sysdeps/x86_64/elf/configure: Delete.
38936
38937         * sysdeps/x86_64/configure.in: Merge contents from
38938         sysdeps/i386/configure.in (without i686 check).
38939
38940         * sysdeps/i386/elf/Versions: Merge into ...
38941         * sysdeps/i386/Versions: ... this.
38942         * sysdeps/i386/elf/Versions: Delete file.
38943         * sysdeps/i386/elf/start.S: Moved to ...
38944         * sysdeps/i386/start.S: ...here.
38945         * sysdeps/i386/elf/configure.in: Merge into...
38946         * sysdeps/i386/configure.in: ...here.
38947         * sysdeps/i386/elf/configure.in: Delete file.
38948         * sysdeps/i386/elf/configure: Delete file.
38949
38950         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38951         * debug/backtracesyms.c: ... here.
38952         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38953         * debug/backtracesymsfd.c: ... here.
38954         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38955         * sysdeps/generic/ifunc-sel.h: ... here.
38956
38957         * sysdeps/unix/i386/start.c: Delete file.
38958         * sysdeps/unix/sparc/start.c: Delete file.
38959         * sysdeps/unix/start.c: Delete file.
38960
38961         * sysdeps/sh/elf/configure.in: Moved to ...
38962         * sysdeps/sh/configure.in: ... here.
38963         * sysdeps/sh/elf/start.S: Moved to ...
38964         * sysdeps/sh/start.S: ... here.
38965         * sysdeps/sh/elf/configure: Delete file.
38966
38967         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38968         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38969         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38970         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38971         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38972         * sysdeps/powerpc/powerpc64/start.S: here.
38973         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38974         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38975         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38976         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38977         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38978
38979         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38980         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38981         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38982         * sysdeps/powerpc/powerpc32/start.S: ... here.
38983         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38984         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38985         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38986
38987         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38988         * sysdeps/powerpc/ifunc-sel.h: ... here.
38989         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38990         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38991
38992         * sysdeps/sparc/elf/configure.in: Moved to ...
38993         * sysdeps/sparc/configure.in: ... here.
38994         * sysdeps/sparc/elf/configure: Delete file.
38995         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38996         * sysdeps/sparc/sparc32/start.S: ... here.
38997         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38998         * sysdeps/sparc/sparc64/start.S: ... here.
38999         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39000         * sysdeps/sparc/sparc32/Makefile: ... this.
39001         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39002         * sysdeps/sparc/sparc64/Makefile: ... this.
39003
39004         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39005         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39006         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39007         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39008         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39009         * sysdeps/s390/s390-32/setjmp.S: ... here.
39010         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39011         * sysdeps/s390/s390-32/configure.in: ... here.
39012         * sysdeps/s390/s390-32/elf/configure: Delete file.
39013         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39014         * sysdeps/s390/s390-32/start.S: ... here.
39015
39016         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39017         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39018         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39019         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39020         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39021         * sysdeps/s390/s390-64/setjmp.S: ... here.
39022         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39023         * sysdeps/s390/s390-64/configure.in: ... here
39024         * sysdeps/s390/s390-64/elf/configure: Delete file.
39025         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39026         * sysdeps/s390/s390-64/start.S: ... here.
39027         * sysdeps/s390/s390-64/elf/configure: Delete.
39028
39029         * configure.in: Remove support for elf directories in sysdeps.
39030
39031         * configure: Regenerated.
39032         * sysdeps/i386/configure: Regenerated.
39033         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39034         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39035         * sysdeps/s390/s390-32/configure: Regenerated.
39036         * sysdeps/s390/s390-64/configure: Regenerated.
39037         * sysdeps/sh/configure: Regenerated.
39038         * sysdeps/sparc/configure: Regenerated.
39039         * sysdeps/x86_64/configure: Regenerated.
39040
39041 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39042
39043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39044
39045         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39046         denormal result into account.
39047
39048 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39049
39050         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39051         Reported by Allan McRae <allan@archlinux.org>.
39052
39053 2012-03-23  Jeff Law  <law@redhat.com>
39054
39055         * nss/getnssent.c (__nss_getent): Fix typo.
39056
39057 2012-03-23  David S. Miller  <davem@davemloft.net>
39058
39059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39060
39061 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39062
39063         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39064         to pad to uint64_t for each field.
39065         (dl_tls_index): Replace unsigned long with uint64_t.
39066
39067 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39068         Paul Pluzhnikov  <ppluzhnikov@google.com>
39069
39070         [BZ #6528]
39071         * grp/Makefile (otherlibs): Don't set it.
39072         * inet/Makefile (otherlibs): Likewise.
39073         * login/Makefile (otherlibs): Likewise.
39074         * nscd/Makefile (otherlibs): Likewise.
39075         * posix/Makefile (otherlibs): Likewise.
39076         * pwd/Makefile (otherlibs): Likewise.
39077         * rt/Makefile (otherlibs): Likewise.
39078         * sunrpc/Makefile (otherlibs): Likewise.
39079         * nss/Makefile (otherlibs): Likewise.
39080         Add libnss_files to routines and static-only-routines.
39081         ($(objpfx)getent): Remove rule.
39082         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39083         static-only-routines.
39084
39085 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39086
39087         [BZ #13892]
39088         * math/s_cexp.c: Include <float.h>.
39089         (__cexp): Handle exp result overflowing not necessarily
39090         overflowing both real and imaginary parts of result.
39091         * math/s_cexpf.c: Likewise.
39092         * math/s_cexpl.c: Likewise.
39093         * math/libm-test.inc (cexp_test): Add more tests.
39094         * sysdeps/i386/fpu/libm-test-ulps: Update.
39095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39096
39097 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39098
39099         * include/link.h (ELFW): New macro.
39100         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39101         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39102
39103 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39104
39105         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39106         with uint64_t.
39107
39108 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39109
39110         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39111         declaration.
39112         (struct La_x32_retval): Likewise.
39113
39114 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39115
39116         * sysdeps/x86_64/preconfigure.in: New file.
39117         * sysdeps/x86_64/preconfigure: New generated file.
39118
39119 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39120
39121         [BZ #13824]
39122         * math/e_exp2l.c: Include <float.h>.
39123         (__ieee754_exp2l): Handle overflow and underflow cases
39124         separately.  Only pass fractional part of argument to
39125         __ieee754_expl.
39126         * math/libm-test.inc (exp2_test): Add more tests.
39127
39128         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39129         negating x to take absolute value.
39130         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39131         Likewise.
39132         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39133         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39134         Likewise.
39135         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39136         computing low part if x was negated.
39137         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39138
39139 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39140
39141         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39142         la_x32_gnu_pltexit.
39143         (pltexit): Cast int_retval to ptrdiff_t.
39144         * elf/tst-auditmod3b.c: Likewise.
39145         * elf/tst-auditmod4b.c: Likewise.
39146         * elf/tst-auditmod5b.c: Likewise.
39147         * elf/tst-auditmod6b.c: Likewise.
39148         * elf/tst-auditmod6c.c: Likewise.
39149         * elf/tst-auditmod7b.c: Likewise.
39150
39151         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39152         and x32_gnu_pltexit.
39153
39154         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39155         __ELF_NATIVE_CLASS.
39156         (La_x32_regs): New macro.
39157         (La_x32_retval): Likewise.
39158         (la_x32_gnu_pltenter): New function prototype.
39159         (la_x32_gnu_pltexit): Likewise.
39160
39161 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39162
39163         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39164         exponent.
39165
39166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39167
39168         * configure.in (libc_cv_cc_nofma): Check for option to disable
39169         generation of FMA instructions.
39170         * configure: Regenerate.
39171         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39172         * sysdeps/ieee754/dbl-64/Makefile: New file.
39173         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39174         Remove brandred-fma4.
39175         (CFLAGS-brandred-fma4.c): Remove.
39176         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39177         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39178         define.
39179         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39180         define.
39181
39182 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39183
39184         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39185         LLONG_MAX != LONG_MAX.
39186         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39187         (_fitoa_word): Likewise.
39188         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39189         LLONG_MAX != LONG_MAX.
39190         * stdio-common/_itowa.h: Include <_itoa.h>.
39191         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39192         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39193         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39194         only if not defined.
39195         (_ITOA_WORD_TYPE): Likewise.
39196         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39197         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39198
39199 2012-03-21  David S. Miller  <davem@davemloft.net>
39200
39201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39202
39203 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39204
39205         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39206         of x86_64 when setting libc_cv_slibdir, libdir and
39207         libc_cv_localedir.
39208         * sysdeps/unix/sysv/linux/configure: Regenerated.
39209
39210 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39211
39212         * manual/lang.texi (Old Varargs): Remove section.
39213         (How Variadic): Update menu.
39214         (va_start): Do not mention varargs.h.
39215
39216 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39217             Joseph Myers  <joseph@codesourcery.com>
39218
39219         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39220         link test.
39221         * configure: Regenerated.
39222
39223 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39224
39225         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39226         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39227         conformtest.pl
39228
39229 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39230
39231         * NOTES: Remove.
39232         * Makefile (files-for-dist): Remove NOTES.
39233         (NOTES): Remove rule.
39234         * README: Don't refer to NOTES.
39235         * manual/creature.texi: Don't include macros.texi.
39236         * manual/intro.texi (creature.texi): Remove comment referring to
39237         NOTES.
39238
39239         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39240         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39241         * configure: Regenerated.
39242         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39243         LIBC_TRY_CC_OPTION.
39244         (libc_cv_as_i686): Likewise.
39245         (libc_cv_cc_avx): Likewise.
39246         (libc_cv_cc_sse2avx): Likewise.
39247         (libc_cv_cc_fma4): Likewise.
39248         (libc_cv_cc_novzeroupper): Likewise.
39249         * sysdeps/i386/configure: Regenerated.
39250
39251         [BZ #13883]
39252         * sysdeps/i386/fpu/s_cexp.S: Remove.
39253         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39254         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39255         * math/libm-test.inc (cexp_test): Add more tests.
39256         * sysdeps/i386/fpu/libm-test-ulps: Update.
39257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39258
39259 2012-03-21  Allan McRae  <allan@archlinux.org>
39260
39261         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39262
39263 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39264
39265         [BZ #13871]
39266         * math/w_exp2.c: Do not include <float.h>.
39267         (o_threshold, u_threshold): Remove.
39268         (__exp2): Calculate result before checking finiteness and calling
39269         __kernel_standard.
39270         * math/w_exp2f.c: Likewise.
39271         * math/w_exp2l.c: Likewise.
39272         * math/libm-test.inc (exp2_test): Require overflow exception for
39273         1e6 input.
39274
39275         [BZ #3866]
39276         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39277         range of signed 64-bit integers before using fistpll.  Remove
39278         checks for whether integers fit in mantissa bits.
39279         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39280         the range of signed 32-bit integers before using fistpl.  Remove
39281         checks for whether integers fit in mantissa bits.
39282         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39283         (__ieee754_powl): Test for y outside the range of signed 64-bit
39284         integers before using fistpll.  Reduce 64-bit values to 63-bit
39285         ones as needed.
39286         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39287         divide-by-zero is raised for zero to large negative powers.
39288         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39289         (__ieee754_powl): Test for y outside the range of signed 64-bit
39290         integers before using fistpll.  Reduce 64-bit values to 63-bit
39291         ones as needed.
39292         * math/libm-test.inc (pow_test): Add more tests.
39293
39294 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39295
39296         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39297         <stdio-common/_itoa.h>.
39298         * debug/segfault.c: Likewise.
39299         * elf/dl-cache.c: Likewise.
39300         * elf/dl-minimal.c: Likewise.
39301         * elf/dl-misc.c: Likewise.
39302         * elf/dl-sysdep.c: Likewise.
39303         * elf/dl-version.c: Likewise.
39304         * elf/rtld.c: Likewise.
39305         * hurd/hurdsock.c: Likewise.
39306         * hurd/lookup-retry.c: Likewise.
39307         * malloc/malloc.c: Likewise.
39308         * malloc/mtrace.c: Likewise.
39309         * nscd/nscd_getgr_r.c: Likewise.
39310         * nscd/nscd_getpw_r.c: Likewise.
39311         * nscd/nscd_getserv_r.c: Likewise.
39312         * posix/getopt_init.c: Likewise.
39313         * posix/wordexp.c: Likewise.
39314         * stdio-common/_itoa.c: Likewise.
39315         * stdio-common/printf_fphex.c: Likewise.
39316         * stdio-common/vfprintf.c: Likewise.
39317         * string/_strerror.c: Likewise.
39318         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39319         * sysdeps/i386/i686/hp-timing.h: Likewise.
39320         * sysdeps/mach/_strerror.c: Likewise.
39321         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39322         * sysdeps/mach/hurd/sethostid.c: Likewise.
39323         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39324         * sysdeps/mach/xpg-strerror.c: Likewise.
39325         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39326         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39327         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39328         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39329         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39330         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39331         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39332         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39333         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39334         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39335         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39336         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39337         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39338         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39339         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39340         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39341         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39342         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39343         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39344         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39345         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39346
39347         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39348
39349         * stdio-common/_itoa.h: Moved to ...
39350         * sysdeps/generic/_itoa.h: Here.
39351
39352         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39353
39354         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39355         instead of "_itoa.h" and "_itowa.h".
39356         * stdio-common/vfprintf.: Likewise.
39357
39358 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39359
39360         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39361         <bits/wordsize.h>.
39362         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39363         (__signbit): Likwise.
39364         (llrintf): Likwise.
39365         (llrint): Likwise.
39366
39367 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39368
39369         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39370         __WORDSIZE != 64.
39371
39372 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39373
39374         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39375         OVERFLOW_EXCEPTION_OK.
39376         * math/libm-test.inc ("Philosophy"): Update comment about
39377         exception testing.
39378         (OVERFLOW_EXCEPTION): Define.
39379         (OVERFLOW_EXCEPTION_OK): Likewise.
39380         (INVALID_EXCEPTION_OK): Renumber.
39381         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39382         (IGNORE_ZERO_INF_SIGN): Likewise.
39383         (test_exceptions): Handle FE_OVERFLOW.
39384         (exp10_test): Expect overflow exceptions.
39385         (exp2_test): Likewise.
39386         (expm1_test): Likewise.
39387         (nextafter_test): Likewise.
39388         (pow_test): Likewise.
39389         (scalbn_test): Likewise.
39390         (scalbln_test): Likewise.
39391
39392 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39393
39394         * sysdeps/x86_64/bits/atomic.h
39395         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39396         64bit integer.
39397         (atomic_exchange_acq): Likewise.
39398         (__arch_exchange_and_add_body): Likewise.
39399         (__arch_add_body): Likewise.
39400         (atomic_add_negative): Likewise.
39401         (atomic_add_zero): Likewise.
39402
39403 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39404
39405         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39406         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39407
39408 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39409
39410         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39411         Check __x86_64__ instead of __WORDSIZE.
39412
39413 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39414
39415         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39416
39417 2012-03-19  David S. Miller  <davem@davemloft.net>
39418
39419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39420
39421         * sysdeps/sparc/fpu/fenv_private.h: New file.
39422         * sysdeps/sparc/fpu/math_private.h: Use it.
39423         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39424         Remove.
39425         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39426         (libc_feholdexcept_setroundl): Remove.
39427         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39428         Remove.
39429         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39430         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39431
39432 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39433
39434         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39435         int64_t instead of long int.
39436         (INSERT_WORDS64): Likwise.
39437
39438 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39439
39440         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39441         _Unwind_GetCFA return to _Unwind_Ptr first.
39442
39443 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39444
39445         [BZ #13629]
39446         * math/s_clog.c: Include <float.h>.
39447         (__clog): Scale large or subnormal inputs.
39448         * math/s_clogf.c: Likewise.
39449         * math/s_clogl.c: Likewise.
39450         * math/s_clog10.c: Include <float.h>.
39451         (M_LOG10_2): Define.
39452         (__clog10): Scale large or subnormal inputs.
39453         * math/s_clog10f.c: Likewise.
39454         * math/s_clog10l.c: Likewise.
39455         * math/libm-test.inc (clog_test): Add more tests.
39456         (clog10_test): Likewise.
39457         * sysdeps/i386/fpu/libm-test-ulps: Update.
39458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39459
39460         [BZ #11451]
39461         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39462         x and y.
39463         * math/libm-test.inc (atan2_test): Add another test.
39464
39465         * Makerules (common-objdir-compile): Remove.
39466         * sysdeps/unix/Makefile (config-generated): Do not add
39467         $(unix-generated) to variable.
39468         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39469         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39470         Remove rule.
39471         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39472         Likewise.
39473         [generic bits/local_lim.h] (before-compile): Do not append to
39474         variable.
39475         [generic bits/local_lim.h] (common-generated): Likewise.
39476         [generic sys/param.h] (before-compile): Do not append to variable.
39477         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39478         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39479         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39480         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39481         include.
39482         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39483         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39484         [generic sys/param.h] ($(addprefix
39485         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39486         [generic sys/param.h] (common-generated): Do not append to
39487         variable.
39488         [generic sys/param.h] (sysdep_headers): Likewise.
39489         [generic bits/errno.h] (before-compile): Do not append to
39490         variable.
39491         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39492         rule.
39493         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39494         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39495         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39496         [generic bits/errno.h] (common-generated): Do not append to
39497         variable.
39498         [generic bits/ioctls.h] (before-compile): Do not append to
39499         variable.
39500         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39501         rule.
39502         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39503         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39504         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39505         rule.
39506         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39507         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39508         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39509         [generic bits/ioctls.h] (common-generated): Do not append to
39510         variable.
39511         [generic sys/syscall.h] (syscall.h): Remove variable.
39512         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39513         rule.
39514         [generic sys/syscall.h] (before-compile): Do not append to
39515         variable.
39516         [generic sys/syscall.h] (common-generated): Likewise.
39517         * sysdeps/unix/errnos-tmpl.c: Remove file.
39518         * sysdeps/unix/errnos.awk: Likewise.
39519         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39520         * sysdeps/unix/ioctls.awk: Likewise.
39521         * sysdeps/unix/mk-local_lim.c: Likewise.
39522         * sysdeps/unix/snarf-ioctls: Likewise.
39523
39524 2012-03-19  Richard Henderson  <rth@twiddle.net>
39525
39526         * sysdeps/i386/fpu/fenv_private.h: New file.
39527         * sysdeps/i386/fpu/math_private.h: Use it.
39528         (math_opt_barrier, math_force_eval): Remove.
39529         (libc_feholdexcept_setround_53bit): Remove.
39530         (libc_feupdateenv_53bit): Remove.
39531         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39532         (math_opt_barrier, math_force_eval): Remove.
39533         (libc_feholdexcept): Remove.
39534         (libc_feholdexcept_setround): Remove.
39535         (libc_fetestexcept, libc_fesetenv): Remove.
39536         (libc_feupdateenv_test): Remove.
39537         (libc_feupdateenv, libc_feholdsetround): Remove.
39538         (libc_feresetround): Remove.
39539
39540         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39541         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39542
39543         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39544         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39545         (libc_feupdateenv_testl): New.
39546         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39547         (libc_feupdateenv_testf): New.
39548         (libc_feupdateenv): Use libc_feupdateenv_test.
39549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39550         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39551
39552         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39553         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39554         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39555         (libc_feresetround_noex): New.
39556         (libc_feresetround_noexf): New.
39557         (libc_feresetround_noexl): New.
39558         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39559         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39560         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39561         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39562         SET_RESTORE_ROUND.
39563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39565         (__cos): Likewise.
39566         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39567         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39568         SET_RESTORE_ROUND_NOEX.
39569         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39570         SET_RESTORE_ROUND_NOEXF.
39571         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39572         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39573         (libc_feholdsetroundf): New.
39574         (libc_feresetround, libc_feresetroundf): New.
39575
39576         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39577         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39578         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39579
39580         * sysdeps/generic/math_private.h: Include <fenv.h>.
39581         (default_libc_feholdexcept): New.
39582         (default_libc_feholdexcept_setround): New.
39583         (default_libc_fesetenv, default_libc_feupdateenv): New.
39584         (libc_feholdexcept): Only define if undefined.
39585         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39586         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39587         (libc_feholdexcept_setroundl): Likewise.
39588         (libc_feholdexcept_setround_53bit): Likewise.
39589         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39590         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39591         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39592         (libc_feupdateenv_53bit): Likewise.
39593         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39594         (libc_feholdexcept): Convert from macro to inline function.
39595         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39596         (libc_fesetenv, libc_feupdateenv): Likewise.
39597
39598         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39599         not previously defined.
39600         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39601         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39602         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39603         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39604         * sysdeps/ieee754/flt-32/math_private.h: New file.
39605         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39606         math_private.h below SET_FLOAT_WORD.
39607         (__isnan, __isinf_ns, __finite): Remove.
39608         (__isnanf, __isinf_nsf, __finitef): Remove.
39609
39610 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39611
39612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39613
39614 2012-03-17  David S. Miller  <davem@davemloft.net>
39615
39616         [BZ #6471]
39617         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39618         for 2.16.
39619
39620 2012-03-16  David S. Miller  <davem@davemloft.net>
39621
39622         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39623         warnings.
39624
39625         [BZ #6471]
39626         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39627         properly.
39628         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39629         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39630         sysdep_routines when subdir is sysvipc.
39631         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39632         __getshmlba helper.
39633
39634         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39635
39636 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39637
39638         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39639         [__LP64__].
39640
39641 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39642
39643         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39644         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39645         (__lround): Renamed to ...
39646         (__llround): This.  Replace long int with long long int.
39647         Define lround functions as aliases of llround functions.
39648         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39649
39650 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39651
39652         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39653         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39654         adresses to uintptr_t.  Replace "long int" and "unsigned long
39655         int" with "greg_t" on va_arg.
39656
39657 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39658
39659         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39660         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39661
39662         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39663         Move e_machine check before EI_CLASS check.  Handle x32
39664         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39665         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39666         SKIP_EM_IA_64 and include
39667         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39668
39669         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39670         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39671         (add_system_dir): New macro.
39672
39673         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39674         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39675
39676 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39677
39678         [BZ #2551]
39679         [BZ #2552]
39680         [BZ #2553]
39681         [BZ #2554]
39682         [BZ #2562]
39683         [BZ #2563]
39684         [BZ #2565]
39685         [BZ #2566]
39686         [BZ #2576]
39687         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39688         (y0): Likewise.
39689         * math/w_j0f.c (j0f): Likewise.
39690         (y0f): Likewise.
39691         * math/w_j0l.c (__j0l): Likewise.
39692         (__y0l): Likewise.
39693         * math/w_j1.c (j1): Likewise.
39694         (y1): Likewise.
39695         * math/w_j1f.c (j1f): Likewise.
39696         (y1f): Likewise.
39697         * math/w_j1l.c (__j1l): Likewise.
39698         (__y1l): Likewise.
39699         * math/w_jn.c (jn): Likewise.
39700         (yn): Likewise.
39701         * math/w_jnf.c (jnf): Likewise.
39702         (ynf): Likewise.
39703         * math/w_jnl.c (__jnl): Likewise.
39704         (__ynl): Likewise.
39705         * math/libm-test.inc (j0_test): Add more tests.
39706         (j1_test): Likewise.
39707         (jn_test): Likewise.  Add trailing semicolon to existing test.
39708         (y0_test): Likewise.
39709         (y1_test): Likewise.
39710         * sysdeps/i386/fpu/libm-test-ulps: Update.
39711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39712
39713         [BZ #13851]
39714         [BZ #13854]
39715         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39716         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39717         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39718         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39719         (__tanl): Set errno for infinite argument.
39720         * sysdeps/i386/fpu/mptan.c: Remove.
39721         * sysdeps/i386/fpu/s_tan.S: Likewise.
39722         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39723         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39724         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39725         * math/libm-test.inc (tan_test): Add more tests and enable more
39726         tests for double and long double.
39727         * sysdeps/i386/fpu/libm-test-ulps: Update.
39728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39729
39730 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39731
39732         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39733         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39734
39735 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39736
39737         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39738         * configure.in: Use it for both main tree and add-ons.
39739         * configure: Regenerated.
39740
39741 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39742
39743         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39744
39745 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39746
39747         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39748         in comment.
39749
39750         [BZ #13851]
39751         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39752         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39753         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39754         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39755         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39756         infinite argument.
39757         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39758         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39759         != 0 for prec == 2.
39760         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39761         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39762         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39763         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39764         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39765         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39766         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39767         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39768         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39769         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39770         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39771         * math/libm-test.inc (cos_test): Add more tests and enable more
39772         tests for long double.
39773         (sin_test): Likewise.
39774         (sincos_test): Likewise.
39775         * sysdeps/i386/fpu/libm-test-ulps: Update.
39776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39777
39778 2012-03-16  David S. Miller  <davem@davemloft.net>
39779
39780         * sysdeps/sparc/fpu/math_private.h: New file.
39781
39782 2012-03-15  David S. Miller  <davem@davemloft.net>
39783
39784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39785         file.
39786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39788         file.
39789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39795         sysdep routines.
39796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39797
39798         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39799         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39800
39801         * sysdeps/sparc/sparc-ifunc.h: New file.
39802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39803         sparc-ifunc.h
39804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39806         Likewise.
39807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39808         Likewise.
39809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39813         Likewise.
39814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39819         Likewise.
39820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39821         Likewise.
39822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39828         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39829         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39830         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39831         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39835         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39836         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39837         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39838         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39839         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39840         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39841         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39842         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39843         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39844         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39845         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39846
39847 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39848
39849         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39850         scaling.
39851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39852
39853 2012-03-15  Andreas Jaeger  <aj@suse.de>
39854
39855         [BZ #13852]
39856         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39857         ieee754/flt-32 implementation for sin, cos and sincos.
39858         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39859         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39860         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39861         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39862         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39863         ieee754/flt-32 implementation for tan.
39864
39865         * math/libm-test.inc (cos_test): Enable some large input tests for
39866         float as well
39867         (sin_test): Likewise.
39868         (sincos_test): Likewise.
39869         (tan_test): Add tests for large input.
39870
39871         * sysdeps/i386/fpu/libm-test-ulps: Update.
39872
39873 2012-03-15  Andreas Jaeger  <aj@suse.de>
39874
39875         [BZ #13658]
39876         * math/libm-test.inc (cos_test): Add more test cases.
39877         (sin_test): Likewise.
39878         (sincos_test): Likewise.
39879
39880 2012-03-15  Andreas Jaeger  <aj@suse.de>
39881
39882         [BZ #13837]
39883         * math/libm-test.inc (cos_test): Add a test case for large input
39884         value.
39885         (sin_test): Likewise.
39886         (sincos_test): Likewise.
39887
39888 2012-03-15  Andreas Jaeger  <aj@suse.de>
39889             Joseph Myers  <joseph@codesourcery.com>
39890
39891         [BZ #13658]
39892         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39893         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39894         * sysdeps/i386/fpu/branred.c: Likewise.
39895         * sysdeps/i386/fpu/dosincos.c: Likewise.
39896         * sysdeps/i386/fpu/mpa.c: Likewise.
39897         * sysdeps/i386/fpu/s_cos.S: Likewise.
39898         * sysdeps/i386/fpu/s_sin.S: Likewise.
39899         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39900         * sysdeps/i386/fpu/sincos32.c: Likewise.
39901
39902         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39903         Define.
39904         (libc_feupdateenv_53bit): Define.
39905         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39906         Define.
39907         (libc_feupdateenv_53bit): Define.
39908
39909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39910         53 bit (without extend i386 double precision).
39911
39912         * math/libm-test.inc (sincos_test): Add tests for large input.
39913         (sin): Likewise.
39914         (cos): Likewise.
39915
39916         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39917
39918 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39919
39920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39921
39922 2012-03-15  David S. Miller  <davem@davemloft.net>
39923
39924         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39925         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39926         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39927         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39940         file.
39941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39943         file.
39944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39946         file.
39947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39949         file.
39950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39951         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39952         fmin/fmax sysdep routines.
39953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39954
39955 2012-03-14  David S. Miller  <davem@davemloft.net>
39956
39957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39958         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39961         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39962         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39963         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39964         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39969         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39970         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39971         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39972         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39974         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39977         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39978         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39979         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39980         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39981         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39982         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39983         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39984         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39985         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39986         routines.
39987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39988         file.
39989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39991         file.
39992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39994         file.
39995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39997         file.
39998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40000         file.
40001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40003         file.
40004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40005         file.
40006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40007         file.
40008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40009         file.
40010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40011         New file.
40012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40013         file.
40014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40015         file.
40016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40018         file.
40019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40021         file.
40022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40024         file.
40025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40027         VIS3 routines.
40028
40029         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40030         New file.
40031
40032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40033
40034         * sysdeps/sparc/configure.in: New file.
40035         * sysdeps/sparc/configure: Generate.
40036         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40037         * configure: Regenerate.
40038         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40039         * config.make.in (have-as-vis3): New.
40040         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40041         available use -Av9d instead of -Av9a.
40042         * sysdeps/sparc/sparc64/Makefile: Likewise.
40043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40045         New file.
40046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40047         file.
40048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40049         New file.
40050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40051         file.
40052         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40053         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40054         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40055         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40056         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40057
40058         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40059         fzeros/fnegs to load 0x80000000 into a float register instead of
40060         using the stack.
40061         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40062
40063 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40064
40065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40066         bits/syscall.h.
40067         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40068         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40069         ($(inst_includedir)/bits/syscall.h): Remove rule.
40070         ($(objpfx)bits/syscall.d): Include instead of
40071         $(objpfx)syscall-list.d.
40072         (generated): Change syscall-list.h and syscall-list.d to
40073         bits/syscall.h and bits/syscall.d.
40074
40075 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40076
40077         [BZ #13846]
40078         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40079
40080 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40081
40082         [BZ #13841]
40083         * math/s_csqrt.c: Include <float.h>.
40084         (__csqrt): Scale large or subnormal inputs.
40085         * math/s_csqrtf.c: Likewise.
40086         * math/s_csqrtl.c: Likewise.
40087         * math/libm-test.inc (csqrt_test): Add more tests.
40088         * sysdeps/i386/fpu/libm-test-ulps: Update.
40089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40090
40091         [BZ #13840]
40092         * math/libm-test.inc (hypot_test): Add more tests.
40093
40094 2012-03-13  David S. Miller  <davem@davemloft.net>
40095
40096         [BZ #13840]
40097         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40098         double-precision for the calculation instead of scaling.
40099
40100 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40101
40102         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40103         manipulate bits before adding and subtracting TWO52[sx].
40104         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40105         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40106         Likewise.
40107         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40108
40109 2012-03-13  David S. Miller  <davem@davemloft.net>
40110
40111         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40112         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40114         rtld-global-offsets.h
40115         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40116
40117         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40118         large parameters.
40119
40120         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40121
40122         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40123         'err' in the ifdef scope in which it is actually used.
40124
40125         * nss/nss_db/db-init.c: Include string.h
40126
40127 2012-03-12  David S. Miller  <davem@davemloft.net>
40128
40129         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40130         masking out of the most significant byte of random value used.
40131         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40132         Fix coding style in previous change.
40133
40134         * sysdeps/unix/sysv/linux/kernel-features.h
40135         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40136         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40137         expression.
40138         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40139         later.
40140
40141 2012-03-11  David S. Miller  <davem@davemloft.net>
40142
40143         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40144         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40145         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40146         for 'resultvar' otherwise things get truncated on 64-bit.
40147
40148         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40149         Fix masking out of the most significant byte of random value used.
40150
40151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40152
40153 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40154
40155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40156
40157 2012-03-09  David S. Miller  <davem@davemloft.net>
40158
40159         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40160         variables with appropriate CPP guards.
40161         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40162         from the frame pointer, not the stack pointer.  Correct layout
40163         comments.  Fix test on resulting framesize and the management of
40164         the outregs buffer for pltexit.  Preserve floating point return
40165         values across _dl_call_pltexit call.
40166         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40167         framesize and the management of the outregs buffer for pltexit.
40168         Preserve floating point return values across _dl_call_pltexit
40169         call.
40170         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40171         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40172         (la_sparc64_gnu_pltexit): New functions.
40173         (print_exit): Fix format string for return register value.
40174
40175 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40176
40177         * sunrpc/Makefile (others): Add rpcgen.
40178         ($(objpfx)rpcgen): Remove special build rule and dependency on
40179         libc.
40180         * sunrpc/rpcgen.c: New file.
40181
40182 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40183
40184         [BZ #13673]
40185         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40186         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40187         * sysdeps/i386/crti.S: Likewise.
40188         * sysdeps/i386/crtn.S: Likewise.
40189         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40190         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40191         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40192         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40193         * sysdeps/sh/crti.S: Likewise.
40194         * sysdeps/sh/crtn.S: Likewise.
40195         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40196
40197         [BZ #13673]
40198         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40199         with URL.
40200         * locale/programs/locfile-kw.gperf: Likewise.
40201         * locale/programs/charmap-kw.h: Regenerated.
40202         * locale/programs/locfile-kw.h: Likewise.
40203
40204         [BZ #13673]
40205         * intl/plural.y: Replace FSF snail mail address with URL.
40206         * intl/plural.c: Regenerated.
40207
40208 2012-03-09  Richard Henderson  <rth@twiddle.net>
40209
40210         * include/math_private.h: Remove file.
40211         * math/math_private.h: Move file ...
40212         * sysdeps/generic/math_private.h: ... here.
40213
40214         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40215         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40216         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40217
40218         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40219         and <math_private.h>.
40220         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40221         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40222         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40223         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40224         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40225         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40226         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40227         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40228         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40229         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40231         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40232         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40233         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40234         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40235         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40236         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40237         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40238         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40239         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40240         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40241         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40242         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40244         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40245         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40246         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40247         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40248         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40249         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40250         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40251         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40252         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40253         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40254         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40255         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40256         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40257         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40258         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40259         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40260         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40261         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40262         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40263         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40264         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40265         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40266         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40267         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40268         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40269         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40270         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40271         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40272         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40273         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40274         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40275         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40276         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40277         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40278         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40279         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40280         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40281         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40282         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40283         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40284         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40285         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40286         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40287         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40288         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40289         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40290         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40291         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40292         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40294         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40295         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40296         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40297         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40298         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40299         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40300         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40301         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40302         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40303         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40304         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40305         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40306         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40307         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40308         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40309         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40310         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40311         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40312         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40313         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40314         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40315         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40316         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40317         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40318         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40319         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40320         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40321         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40322         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40323         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40324         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40325         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40326         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40327         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40328         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40329         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40330         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40331         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40332         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40333         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40334         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40335         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40336         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40337         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40338         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40339         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40340         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40341         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40342         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40343         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40344         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40345         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40346         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40347         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40348         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40349         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40350         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40351         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40352         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40353         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40354         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40355         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40356         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40357         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40358         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40359         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40360         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40361         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40362         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40363         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40364         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40365         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40366         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40367         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40368         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40369         * sysdeps/ieee754/k_standard.c: Likewise.
40370         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40371         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40372         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40373         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40374         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40375         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40376         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40377         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40378         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40379         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40380         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40381         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40382         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40383         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40384         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40385         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40386         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40387         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40388         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40389         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40390         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40391         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40392         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40393         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40394         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40395         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40396         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40397         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40398         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40399         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40400         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40401         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40402         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40403         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40404         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40405         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40406         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40407         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40408         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40409         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40410         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40411         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40412         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40413         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40414         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40415         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40416         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40417         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40418         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40419         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40420         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40421         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40422         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40423         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40424         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40425         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40426         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40427         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40428         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40429         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40430         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40431         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40432         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40433         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40434         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40435         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40436         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40437         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40438         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40439         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40440         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40441         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40442         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40443         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40444         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40445         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40446         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40447         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40448         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40449         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40450         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40451         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40452         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40453         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40454         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40455         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40456         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40457         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40458         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40459         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40460         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40461         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40462         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40463         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40464         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40465         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40466         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40467         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40468         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40469         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40470         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40471         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40472         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40473         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40474         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40475         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40476         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40477         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40478         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40479         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40480         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40481         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40482         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40483         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40484         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40485         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40486         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40487         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40488         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40489         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40490         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40491         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40492         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40493         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40494         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40495         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40496         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40497         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40498         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40499         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40500         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40501         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40502         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40503         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40504         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40505         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40506         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40507         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40508         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40509         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40510         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40511         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40512         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40513         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40514         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40515         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40516         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40517         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40518         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40519         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40520         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40521         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40522         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40523         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40524         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40525         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40526         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40527         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40528         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40529         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40530         * sysdeps/ieee754/s_lib_version.c: Likewise.
40531         * sysdeps/ieee754/s_matherr.c: Likewise.
40532         * sysdeps/ieee754/s_signgam.c: Likewise.
40533         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40534         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40535         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40536         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40537         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40538         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40539         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40540         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40541         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40542         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40543         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40544         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40545         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40546         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40547         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40548         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40549         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40550         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40551         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40552         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40553         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40554
40555 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40556
40557         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40558         * sunrpc/rpc_main.c: Likewise.
40559         * sunrpc/rpc_svcout.c: Likewise.
40560
40561 2012-03-09  David S. Miller  <davem@davemloft.net>
40562
40563         * include/math_private.h: New file.
40564
40565 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40566
40567         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40568         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40569         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40570         from <bits/socket_type.h>.
40571         (enum __socket_type): Don't define here.
40572         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40574         bits/socket_type.h.
40575
40576         [BZ #13566]
40577         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40578         checking __USE_GNU.
40579
40580         * Makerules ($(inst_includedir)/%.h): New rule.
40581         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40582         (install-others): Remove variable setting.
40583         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40584
40585 2012-03-08  Richard Henderson  <rth@twiddle.net>
40586
40587         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40588         from macro to inline function; merge with the
40589         !__LIBC_INTERNAL_MATH_INLINES version.
40590         (__ieee754_sqrtf): Likewise.
40591
40592         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40593         to inline function.
40594         (__rintf, __floor, __floorf): Likewise.
40595
40596         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40597         macro to inline function.
40598         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40599
40600         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40601         not <math/math_private.h>.
40602
40603 2012-03-08  David S. Miller  <davem@davemloft.net>
40604
40605         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40606         copyright year.
40607         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40608
40609 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40610
40611         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40612         normalization.
40613         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40614         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40615
40616 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40617
40618         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40619         be defined individually, they must be defined as a block.  Define
40620         S for printing a string instead of hidint the different by using a
40621         macro for adding the 'l'.
40622         * stdio-common/tst-fphex-wide.c: Adjust.
40623
40624 2012-03-07  Marek Polacek  <polacek@redhat.com>
40625
40626         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40627
40628 2012-03-08  Marek Polacek  <polacek@redhat.com>
40629
40630         [BZ #13806]
40631         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40632         * stdio-common/tst-fphex.c: Define a few macros to make the
40633         test reusable.  Use them.
40634         * stdio-common/tst-fphex-wide.c: New file.
40635
40636 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40637
40638         [BZ #6911]
40639         * manual/macros.texi (gnusystems): New macro.
40640         (nongnusystems): Likewise.
40641         (gnulinuxhurdsystems): Likewise.
40642         (gnuhurdsystems): Likewise..
40643         (gnulinuxsystems): Likewise.
40644         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40645         variants of the GNU system, not "GNU system".
40646         * manual/conf.texi: Likewise.
40647         * manual/errno.texi: Likewise.  Update example of errno macro
40648         expansion.
40649         * manual/filesys.texi: Likewise.
40650         (getumask): Document as specific to GNU/Hurd.
40651         * manual/install.texi: Likewise.  Reword some references to
40652         GNU/Linux.
40653         * manual/intro.texi: Likewise.
40654         * manual/io.texi: Likewise.
40655         (File Name Portability): Detail which constraints are inapplicable
40656         to all GNU systems and which are only inapplicable to GNU/Hurd.
40657         * manual/job.texi: Likewise.
40658         * manual/llio.texi: Likewise.
40659         (O_NOCTTY): Document as present on GNU/Linux.
40660         * manual/maint.texi: Likewise.
40661         * manual/memory.texi: Likewise.
40662         * manual/pattern.texi: Likewise.
40663         * manual/pipe.texi: Likewise.
40664         * manual/process.texi: Likewise.
40665         * manual/resource.texi: Likewise.
40666         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40667         child on GNU/Hurd.
40668         * manual/setjmp.texi: Likewise.
40669         * manual/signal.texi: Likewise.
40670         * manual/startup.texi: Likewise.
40671         * manual/stdio.texi: Likewise.
40672         * manual/terminal.texi: Likewise.
40673         (ONLCR): Document as POSIX.
40674         (OXTABS): Document availability on GNU/Linux as XTABS.
40675         (ONOEOT): Document availability separately from other bits.
40676         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40677         * manual/time.texi: Likewise.
40678         * manual/users.texi: Likewise.
40679         * INSTALL: Regenerated.
40680         * sysdeps/gnu/errlist.c: Regenerated.
40681
40682         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40683         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40684         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40685         puts.
40686         * configure: Regenerated.
40687
40688 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40689
40690         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40691         default includes instead of AC_HEADER_CHECK.
40692         * sysdeps/i386/configure: Regenerated.
40693
40694         [BZ #10716]
40695         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40696         * math/s_cacoshf.c (__cacoshf): Likewise.
40697         * math/s_cacoshl.c (__cacoshl): Likewise.
40698         * math/s_casinh.c (__casinh): Set signs of result from argument.
40699         * math/s_casinhf.c (__casinhf): Likewise.
40700         * math/s_casinhl.c (__casinhl): Likewise.
40701         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40702         (casinh_test): Add more tests.
40703         * sysdeps/i386/fpu/libm-test-ulps: Update.
40704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40705
40706 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40707
40708         * po/zh_TW.po: Update from translation team.
40709
40710         * login/Makefile (distribute): Remove variable.
40711         * catgets/Makefile: Likewise.
40712         * mach/Makefile: Likewise.
40713         * malloc/Makefile: Likewise.
40714         * misc/Makefile: Likewise.
40715         * iconv/Makefile: Likewise.
40716         * nscd/Makefile: Likewise.
40717         * hurd/Makefile: Likewise.
40718         * manual/Makefile: Likewise.
40719         * locale/Makefile: Likewise.
40720         * intl/Makefile: Likewise.
40721         * conform/Makefile: Likewise.
40722         * nss/Makefile: Likewise.
40723         * time/Makefile: Likewise.
40724         * soft-fp/Makefile: Likewise.
40725         * dirent/Makefile: Likewise.
40726         * gmon/Makefile: Likewise.
40727         * po/Makefile: Likewise.
40728         * rt/Makefile: Likewise.
40729         * socket/Makefile: Likewise.
40730         * math/Makefile: Likewise.
40731         * signal/Makefile: Likewise.
40732         * debug/Makefile: Likewise.
40733         * elf/Makefile: Likewise.
40734         * timezone/Makefile: Likewise.
40735         * stdlib/Makefile: Likewise.
40736         * iconvdata/Makefile: Likewise.
40737         * sunrpc/Makefile: Likewise.
40738         * io/Makefile: Likewise.
40739         * argp/Makefile: Likewise.
40740         * inet/Makefile: Likewise.
40741         * hesiod/Makefile: Likewise.
40742         * grp/Makefile: Likewise.
40743         * csu/Makefile: Likewise.
40744         * wctype/Makefile: Likewise.
40745         * crypt/Makefile: Likewise.
40746         * libio/Makefile: Likewise.
40747         * string/Makefile: Likewise.
40748         * nis/Makefile: Likewise.
40749         * resolv/Makefile: Likewise.
40750         * stdio-common/Makefile: Likewise.
40751         * wcsmbs/Makefile: Likewise.
40752         * dlfcn/Makefile: Likewise.
40753         * posix/Makefile: Likewise.
40754
40755         [BZ #6959]
40756         * timezone/Makefile: Don't install timezone files, just the programs
40757         and scripts.
40758
40759 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40760
40761         * nss/databases.def: Add missing gshadow entry.
40762
40763         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40764
40765 2012-03-06  Marek Polacek  <polacek@redhat.com>
40766
40767         [BZ #13726]
40768         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40769         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40770         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40771         * stdio-common/tst-long-dbl-fphex.c: New file.
40772
40773 2012-03-06  David S. Miller  <davem@davemloft.net>
40774
40775         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40776         (set_obp_int): New function.
40777         (get_obp_int): New function.
40778         (__get_clockfreq_via_dev_openprom): Likewise.
40779         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40780         Avoid unused variable warnings on 'val' and use builtin_expect.
40781         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40782         __builtin_expect.
40783         (INLINE_CLONE_SYSCALL): Likewise.
40784
40785 2012-03-05  David S. Miller  <davem@davemloft.net>
40786
40787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40788
40789 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40790
40791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40792
40793         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40794         only for |x| >= 40.
40795         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40796
40797 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40798
40799         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40800         Replace gettimeofday with __vdso_gettimeofday.
40801
40802         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40803         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40804         __vdso_clock_gettime and __vdso_getcpu.
40805
40806         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40807         time with __vdso_time.
40808
40809 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40810
40811         * manual/lang.texi (size_t): Note types to which size_t may be
40812         equivalent with the GNU C Library, but do not describe when
40813         differences between them are significant.
40814
40815 2012-03-05  Andreas Jaeger  <aj@suse.de>
40816
40817         * sysdeps/i386/fpu/libm-test-ulps: Update.
40818
40819 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40820
40821         [BZ #3976]
40822         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40823         (__ieee754_pow): Save and restore rounding mode and use
40824         round-to-nearest for main computations.
40825         * math/libm-test.inc (pow_test_tonearest): New function.
40826         (pow_test_towardzero): Likewise.
40827         (pow_test_downward): Likewise.
40828         (pow_test_upward): Likewise.
40829         (main): Call the new functions.
40830         * sysdeps/i386/fpu/libm-test-ulps: Update.
40831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40832
40833         [BZ #3976]
40834         * math/libm-test.inc (cosh_test_tonearest): New function.
40835         (cosh_test_towardzero): Likewise.
40836         (cosh_test_downward): Likewise.
40837         (cosh_test_upward): Likewise.
40838         (sinh_test_tonearest): Likewise.
40839         (sinh_test_towardzero): Likewise.
40840         (sinh_test_downward): Likewise.
40841         (sinh_test_upward): Likewise.
40842         (main): Call the new functions.
40843         * sysdeps/i386/fpu/libm-test-ulps: Update.
40844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40845
40846 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40847
40848         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40849         default stack guard is set in last bytes.
40850         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40851
40852 2012-03-05  Kees Cook  <keescook@chromium.org>
40853
40854         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40855
40856         [BZ #13656]
40857         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40858         possibly allocate from heap instead of stack.
40859         * stdio-common/bug-vfprintf-nargs.c: New file.
40860         * stdio-common/Makefile (tests): Add nargs overflow test.
40861
40862 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40863
40864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40865
40866 2012-03-03  Marek Polacek  <polacek@redhat.com>
40867
40868         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40869         * math/math_private.h: Likewise.
40870         * stdlib/tst-strtod.c: Likewise.
40871         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40872         * sysdeps/x86_64/bits/atomic.h: Likewise.
40873
40874 2012-03-02  David S. Miller  <davem@davemloft.net>
40875
40876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40880         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40881         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40882         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40883         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40884
40885 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40886
40887         [BZ #13792]
40888         * manual/examples/README: New file, says the example source files
40889         can be used under GPL>=2.
40890         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40891         line containing just "*/".
40892         * manual/examples/add.c: Add copyright header (GPL>=2).
40893         * manual/examples/argp-ex1.c: Likewise.
40894         * manual/examples/argp-ex2.c: Likewise.
40895         * manual/examples/argp-ex3.c: Likewise.
40896         * manual/examples/argp-ex4.c: Likewise.
40897         * manual/examples/atexit.c: Likewise.
40898         * manual/examples/db.c: Likewise.
40899         * manual/examples/dir.c: Likewise.
40900         * manual/examples/dir2.c: Likewise.
40901         * manual/examples/execinfo.c: Likewise.
40902         * manual/examples/filecli.c: Likewise.
40903         * manual/examples/filesrv.c: Likewise.
40904         * manual/examples/fmtmsgexpl.c: Likewise.
40905         * manual/examples/genpass.c: Likewise.
40906         * manual/examples/inetcli.c: Likewise.
40907         * manual/examples/inetsrv.c: Likewise.
40908         * manual/examples/isockad.c: Likewise.
40909         * manual/examples/longopt.c: Likewise.
40910         * manual/examples/memopen.c: Likewise.
40911         * manual/examples/memstrm.c: Likewise.
40912         * manual/examples/mkfsock.c: Likewise.
40913         * manual/examples/mkisock.c: Likewise.
40914         * manual/examples/mygetpass.c: Likewise.
40915         * manual/examples/pipe.c: Likewise.
40916         * manual/examples/popen.c: Likewise.
40917         * manual/examples/rprintf.c: Likewise.
40918         * manual/examples/search.c: Likewise.
40919         * manual/examples/select.c: Likewise.
40920         * manual/examples/setjmp.c: Likewise.
40921         * manual/examples/sigh1.c: Likewise.
40922         * manual/examples/sigusr.c: Likewise.
40923         * manual/examples/stpcpy.c: Likewise.
40924         * manual/examples/strdupa.c: Likewise.
40925         * manual/examples/strftim.c: Likewise.
40926         * manual/examples/strncat.c: Likewise.
40927         * manual/examples/subopt.c: Likewise.
40928         * manual/examples/swapcontext.c: Likewise.
40929         * manual/examples/termios.c: Likewise.
40930         * manual/examples/testopt.c: Likewise.
40931         * manual/examples/testpass.c: Likewise.
40932         * manual/examples/timeval_subtract.c: Likewise.
40933
40934         [BZ #13792]
40935         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40936         function to ...
40937         * manual/timeval_subtract.c.texi: ... here, new file.
40938
40939 2012-03-02  David S. Miller  <davem@davemloft.net>
40940
40941         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40942
40943 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40944
40945         [BZ #3976]
40946         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40947         (__sin): Save and restore rounding mode and use round-to-nearest
40948         for all computations.
40949         (__cos): Save and restore rounding mode and use round-to-nearest
40950         for all computations.
40951         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40952         <fenv.h>.
40953         (tan): Save and restore rounding mode and use round-to-nearest for
40954         all computations.
40955         * math/libm-test.inc (cos_test_tonearest): New function.
40956         (cos_test_towardzero): Likewise.
40957         (cos_test_downward): Likewise.
40958         (cos_test_upward): Likewise.
40959         (sin_test_tonearest): Likewise.
40960         (sin_test_towardzero): Likewise.
40961         (sin_test_downward): Likewise.
40962         (sin_test_upward): Likewise.
40963         (tan_test_tonearest): Likewise.
40964         (tan_test_towardzero): Likewise.
40965         (tan_test_downward): Likewise.
40966         (tan_test_upward): Likewise.
40967         (main): Call the new functions.
40968         * sysdeps/i386/fpu/libm-test-ulps: Update.
40969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40970
40971         [BZ #10135]
40972         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40973         small n, then large n, before computing and testing k+n.
40974         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40975         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40976         Likewise.
40977         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40978         Likewise.
40979         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40980         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40981         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40982         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40983         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40984         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40985         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40986         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40987         * math/libm-test.inc (scalbn_test): Add more tests.
40988         (scalbln_test): Likewise.
40989
40990         * manual/filesys.texi (mode_t): Describe constraints on size and
40991         signedness, not exact equivalence to a particular type.
40992         (ino_t): Likewise.
40993         (ino64_t): Likewise.
40994         (dev_t): Likewise.
40995         (nlink_t): Likewise.
40996         (blkcnt_t): Likewise.
40997         (blkcnt64_t): Likewise.
40998         * manual/llio.texi (off_t): Likewise.
40999
41000         [BZ #3976]
41001         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41002         (__ieee754_exp): Save and restore rounding mode and use
41003         round-to-nearest for all computations.
41004         * math/libm-test.inc (exp_test_tonearest): New function.
41005         (exp_test_towardzero): Likewise.
41006         (exp_test_downward): Likewise.
41007         (exp_test_upward): Likewise.
41008         (main): Call the new functions.
41009         * sysdeps/i386/fpu/libm-test-ulps: Update.
41010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41011
41012 2012-03-01  Chris Demetriou  <cgd@google.com>
41013
41014         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41015         have predictable order.
41016
41017 2012-03-01  David S. Miller  <davem@davemloft.net>
41018
41019         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41020
41021         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41022         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41023         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41024         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41025
41026         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41027         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41028         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41030         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41031         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41032         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41033         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41034         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41035
41036         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41037
41038         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41039         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41040         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41041
41042         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41043         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41044         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41045         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41046         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41047         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41048         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41049         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41050         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41051         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41052         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41053         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41054         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41055         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41056         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41057         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41058         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41059         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41060         * sysdeps/sparc/elf/configure: Regenerated.
41061
41062 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41063
41064         * configure.in (AS, LD): Require binutils 2.20 or later.
41065         * configure: Regenerated.
41066         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41067         as required minimum version.
41068         * INSTALL: Regenerated.
41069
41070         [BZ #2541]
41071         [BZ #4108]
41072         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41073         before squaring exponent.
41074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41075         bottom long double and 27 bits of top long double before squaring
41076         exponent.
41077         * math/libm-test.inc (erfc_test): Add more tests.
41078         * sysdeps/i386/fpu/libm-test-ulps: Update.
41079         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41081
41082 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41083
41084         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41085         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41086         containing bit-fields.
41087         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41088         * soft-fp/single.h (_FP_UNION_S): Likewise.
41089         * soft-fp/double.h (_FP_UNION_D): Likewise.
41090
41091 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41092
41093         [BZ #13786]
41094         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41095         not include ../strcmp.S.
41096         [USE_AS_STRNCASECMP_L]: Likewise.
41097         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41098         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41099         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41100         (__strncasecmp_l_ia32): Define as alias to
41101         __strncasecmp_l_nonascii.
41102
41103         [BZ #5794]
41104         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41105         * sysdeps/i386/fpu/libm-test-ulps: Update.
41106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41107
41108         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41110
41111 2012-02-29  Jeff Law  <law@redhat.com>
41112
41113         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41114         out of bounds read.
41115
41116 2012-02-29  Marek Polacek  <polacek@redhat.com>
41117
41118         [BZ #13706]
41119         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41120         * elf/Makefile: Add rules to run tst-unused-dep.out.
41121
41122 2012-02-28  David S. Miller  <davem@davemloft.net>
41123
41124         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41125         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41126         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41127         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41128         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41129         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41130
41131 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41132
41133         * math/libm-test.inc (llround_test): Move one test from
41134         lround_test.  Use TEST_f_L in moved test.
41135         (lround_test): Move misplaced test to llround_test.  Add testcase
41136         from bug 2561.
41137
41138 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41139
41140         * sysdeps/x86_64/fpu/e_expf.S: New file.
41141         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41142
41143 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41144
41145         [BZ #13637]
41146         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41147         of remain_len that may cause incomplete multi-byte character and
41148         false match.
41149         * posix/bug-regex33.c: New file.
41150         * posix/Makefile (tests): Add bug-regex33.
41151
41152 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41153
41154         * manual/macros.texi: New file.
41155         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41156         * manual/libc.texinfo: Include macros.texi.
41157         * manual/creatute.texi: Likewise.
41158         * manual/install.texi: Likewise.
41159         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41160         @glibcadj{} in references to the GNU C Library.
41161         * manual/charset.texi: Likewise.
41162         * manual/conf.texi: Likewise.
41163         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41164         when not using those macros.
41165         * manual/creature.texi: Likewise.
41166         * manual/crypt.texi: Likewise.
41167         * manual/errno.texi: Likewise.
41168         * manual/filesys.texi: Likewise.
41169         * manual/header.texi: Likewise.
41170         * manual/install.texi: Likewise.
41171         * manual/intro.texi: Likewise.
41172         * manual/io.texi: Likewise.
41173         * manual/job.texi: Likewise.
41174         * manual/lang.texi: Likewise.
41175         * manual/libc.texiinfo: Likewise.
41176         * manual/llio.texi: Likewise.
41177         * manual/locale.texi: Likewise.
41178         * manual/maint.texi: Likewise.
41179         * manual/math.texi: Likewise.
41180         * manual/memory.texi: Likewise.
41181         * manual/message.texi: Likewise.
41182         * manual/nss.texi: Likewise.
41183         * manual/pattern.texi: Likewise.
41184         * manual/process.texi: Likewise.
41185         * manual/resource.texi: Likewise.
41186         * manual/search.texi: Likewise.
41187         * manual/setjmp.texi: Likewise.
41188         * manual/signal.texi: Likewise.
41189         * manual/socket.texi: Likewise.
41190         * manual/startup.texi: Likewise.
41191         * manual/stdio.texi: Likewise.
41192         * manual/string.texi: Likewise.
41193         * manual/sysinfo.texi: Likewise.
41194         * manual/syslog.texi: Likewise.
41195         * manual/terminal.texi: Likewise.
41196         * manual/time.texi: Likewise.
41197         * manual/users.texi: Likewise.
41198         * INSTALL: Regenerated.
41199         * NOTES: Regenerated.
41200         * sysdeps/gnu/errlist.c: Regenerated.
41201
41202 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41203
41204         * include/dirent.h: Include <dirstream.h> before
41205         <dirent/dirent.h>.
41206
41207 2012-02-28  David S. Miller  <davem@davemloft.net>
41208
41209         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41210         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41211         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41212         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41213
41214 2012-02-27  David S. Miller  <davem@davemloft.net>
41215
41216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41218         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41219         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41220
41221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41222         frame pointer instead of stack pointer relative arg slot.
41223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41224         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41225         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41226
41227 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41228
41229         [BZ #3992]
41230         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41231
41232 2012-02-27  David S. Miller  <davem@davemloft.net>
41233
41234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41238         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41239         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41240         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41241         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41242
41243 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41244
41245         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41246         later.  Allow versions 5-9.
41247         * configure: Regenerated.
41248         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41249         required minimum version and 4.6 as recommended version.  Do not
41250         mention bugs in GCC 2.7 and 2.8.
41251         * INSTALL: Regenerated.
41252
41253 2012-02-27  David S. Miller  <davem@davemloft.net>
41254
41255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41259         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41260         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41261         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41262         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41263
41264         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41265         manipulate bits before adding and subtracting TWO112[sx].
41266         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41267
41268 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41269
41270         [BZ #13775]
41271         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41272         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41273         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41274         being in POSIX, because they are in 1003.1-2008.
41275
41276         * rt/tst-aio.c: Include <fcntl.h>.
41277         * rt/tst-aio7.c: Likewise.
41278         * rt/tst-aio64.c: Likewise.
41279
41280         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41281
41282 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41283
41284         * manual/install.texi (--with-headers): Describe headers as
41285         interface headers, not private headers.
41286         (Specific advice for GNU/Linux systems): Describe use of headers
41287         from "make headers_install", not private headers from older
41288         kernels.
41289         * INSTALL: Regenerated.
41290         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41291         Change to 2.6.19.
41292         * sysdeps/unix/sysv/linux/configure: Regenerated.
41293
41294         * manual/llio.texi (fclean): Remove documentation.
41295
41296         * manual/Makefile (libc-texi-generated): New variable.  Include
41297         version.texi.
41298         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41299         $(libc-texi-generated), not duplicated list of files.
41300         (version.texi, stamp-version): New rules.
41301         (realclean): Remove $(libc-texi-generated), not individual files
41302         from that list.  Do not remove dir-add.texinfo.
41303         * manual/libc.texinfo: Comment out uses of edition numbers and
41304         references to printed manual.  Remove last-updated dates.
41305         (EDITION): Comment out.
41306         (ISBN): Likewise.
41307         (VERSION, UPDATED): Remove.
41308         (version.texi): Include.
41309
41310 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41311
41312         * sysdeps/posix/spawni.c: Include <signal.h>.
41313         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41314         * sysdeps/pthread/aio_fsync.c: Likewise.
41315
41316 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41317
41318         * conform/Makefile (tests): Run only when not cross-compiling and
41319         when fast-check is not defined.
41320
41321         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41322         * conform/data/limits.h-data: Fixes for POSIX2008.
41323         * conform/run-conformtest.sh: Run all tests.
41324         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41325         headers.
41326         * include/bits/dlfcn.h: Likewise.
41327         * include/langinfo.h: Likewise.
41328         * include/monetary.h: Likewise.
41329         * include/sys/poll.h: Likewise.
41330
41331         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41332         for __USE_GNU.
41333         * posix/spawn.h: Define __need_sigset_t.
41334         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41335         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41336         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41337         to get sigevent_t only.
41338         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41339         only for __USE_GNU.
41340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41341         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41342         process_vm_writev only for __USE_GNU.
41343         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41344
41345         * conform/Makefile: For now ignore errors from run-conformtest.
41346         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41347         POSIX to avoid namespace pollution.  Don't prepend headers.
41348         * conform/data/aio.h-data: Fixes for POSIX testing.
41349         * conform/data/fcntl.h-data: Likewise.
41350         * conform/data/glob.h-data: Likewise.
41351         * conform/data/grp.h-data: Likewise.
41352         * conform/data/pthread.h-data: Likewise.
41353         * conform/data/pwd.h-data: Likewise.
41354         * conform/data/signal.h-data: Likewise.
41355         * conform/data/spawn.h-data: Likewise.
41356         * conform/data/stdio.h-data: Likewise.
41357         * conform/data/stdlib.h-data: Likewise.
41358         * conform/data/stropts.h-data: Likewise.
41359         * conform/data/sys/mman.h-data: Likewise.
41360         * conform/data/sys/stat.h-data: Likewise.
41361         * conform/data/sys/types.h-data: Likewise.
41362         * conform/data/sys/wait.h-data: Likewise.
41363         * conform/data/time.h-data: Likewise.
41364         * conform/data/unistd.h-data: Likewise.
41365         * conform/data/utime.h-data: Likewise.
41366
41367         * io/sys/stat.h: fchmod was always in POSIX.
41368         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41369         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41370         * rt/aio.h: Define __need_timespec before including <time.h>.
41371         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41372         struct.  Add forward declaration of pthread_attr_t and use it in
41373         sigevent.
41374         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41375         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41376         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41377         always remove CLK_TCK definition.
41378
41379 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41380
41381         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41382
41383 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41384
41385         * conform/run-conformtest.sh: New file.
41386         * conform/Makefile: Run run-conformtest for tests.
41387         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41388         support.
41389
41390         * conform/data/uchar.h-data: New file.
41391         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41392         * conform/data/arpa/inet.h-data: Likewise.
41393         * conform/data/assert.h-data: Likewise.
41394         * conform/data/complex.h-data: Likewise.
41395         * conform/data/cpio.h-data: Likewise.
41396         * conform/data/ctype.h-data: Likewise.
41397         * conform/data/dirent.h-data: Likewise.
41398         * conform/data/dlfcn.h-data: Likewise.
41399         * conform/data/errno.h-data: Likewise.
41400         * conform/data/fcntl.h-data: Likewise.
41401         * conform/data/float.h-data: Likewise.
41402         * conform/data/fmtmsg.h-data: Likewise.
41403         * conform/data/fnmatch.h-data: Likewise.
41404         * conform/data/ftw.h-data: Likewise.
41405         * conform/data/glob.h-data: Likewise.
41406         * conform/data/grp.h-data: Likewise.
41407         * conform/data/iconv.h-data: Likewise.
41408         * conform/data/inttypes.h-data: Likewise.
41409         * conform/data/langinfo.h-data: Likewise.
41410         * conform/data/libgen.h-data: Likewise.
41411         * conform/data/limits.h-data: Likewise.
41412         * conform/data/locale.h-data: Likewise.
41413         * conform/data/math.h-data: Likewise.
41414         * conform/data/monetary.h-data: Likewise.
41415         * conform/data/mqueue.h-data: Likewise.
41416         * conform/data/ndbm.h-data: Likewise.
41417         * conform/data/net/if.h-data: Likewise.
41418         * conform/data/netdb.h-data: Likewise.
41419         * conform/data/netinet/in.h-data: Likewise.
41420         * conform/data/nl_types.h-data: Likewise.
41421         * conform/data/poll.h-data: Likewise.
41422         * conform/data/pthread.h-data: Likewise.
41423         * conform/data/pwd.h-data: Likewise.
41424         * conform/data/regex.h-data: Likewise.
41425         * conform/data/sched.h-data: Likewise.
41426         * conform/data/search.h-data: Likewise.
41427         * conform/data/semaphore.h-data: Likewise.
41428         * conform/data/setjmp.h-data: Likewise.
41429         * conform/data/signal.h-data: Likewise.
41430         * conform/data/spawn.h-data: Likewise.
41431         * conform/data/stdarg.h-data: Likewise.
41432         * conform/data/stdio.h-data: Likewise.
41433         * conform/data/stdlib.h-data: Likewise.
41434         * conform/data/string.h-data: Likewise.
41435         * conform/data/strings.h-data: Likewise.
41436         * conform/data/stropts.h-data: Likewise.
41437         * conform/data/sys/ipc.h-data: Likewise.
41438         * conform/data/sys/mman.h-data: Likewise.
41439         * conform/data/sys/msg.h-data: Likewise.
41440         * conform/data/sys/resource.h-data: Likewise.
41441         * conform/data/sys/select.h-data: Likewise.
41442         * conform/data/sys/sem.h-data: Likewise.
41443         * conform/data/sys/shm.h-data: Likewise.
41444         * conform/data/sys/socket.h-data: Likewise.
41445         * conform/data/sys/stat.h-data: Likewise.
41446         * conform/data/sys/statvfs.h-data: Likewise.
41447         * conform/data/sys/time.h-data: Likewise.
41448         * conform/data/sys/timeb.h-data: Likewise.
41449         * conform/data/sys/times.h-data: Likewise.
41450         * conform/data/sys/types.h-data: Likewise.
41451         * conform/data/sys/uio.h-data: Likewise.
41452         * conform/data/sys/un.h-data: Likewise.
41453         * conform/data/sys/utsname.h-data: Likewise.
41454         * conform/data/sys/wait.h-data: Likewise.
41455         * conform/data/syslog.h-data: Likewise.
41456         * conform/data/tar.h-data: Likewise.
41457         * conform/data/termios.h-data: Likewise.
41458         * conform/data/utime.h-data: Likewise.
41459         * conform/data/utmpx.h-data: Likewise.
41460         * conform/data/varargs.h-data: Likewise.
41461         * conform/data/wchar.h-data: Likewise.
41462         * conform/data/wctype.h-data: Likewise.
41463         * conform/data/wordexp.h-data: Likewise.
41464
41465         * include/stropts.h: New file.
41466         * include/uchar.h: New file.
41467         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41468         * include/assert.h: Likewise.
41469         * include/ctype.h: Likewise.
41470         * include/dirent.h: Likewise.
41471         * include/dlfcn.h: Likewise.
41472         * include/fcntl.h: Likewise.
41473         * include/fnmatch.h: Likewise.
41474         * include/glob.h: Likewise.
41475         * include/grp.h: Likewise.
41476         * include/libio.h: Likewise.
41477         * include/locale.h: Likewise.
41478         * include/math.h: Likewise.
41479         * include/net/if.h: Likewise.
41480         * include/netdb.h: Likewise.
41481         * include/netinet/in.h: Likewise.
41482         * include/pthread.h: Likewise.
41483         * include/pwd.h: Likewise.
41484         * include/regex.h: Likewise.
41485         * include/sched.h: Likewise.
41486         * include/search.h: Likewise.
41487         * include/setjmp.h: Likewise.
41488         * include/signal.h: Likewise.
41489         * include/stdio.h: Likewise.
41490         * include/stdlib.h: Likewise.
41491         * include/string.h: Likewise.
41492         * include/sys/cdefs.h: Likewise.
41493         * include/sys/mman.h: Likewise.
41494         * include/sys/msg.h: Likewise.
41495         * include/sys/resource.h: Likewise.
41496         * include/sys/select.h: Likewise.
41497         * include/sys/socket.h: Likewise.
41498         * include/sys/stat.h: Likewise.
41499         * include/sys/statvfs.h: Likewise.
41500         * include/sys/time.h: Likewise.
41501         * include/sys/times.h: Likewise.
41502         * include/sys/uio.h: Likewise.
41503         * include/sys/utsname.h: Likewise.
41504         * include/sys/wait.h: Likewise.
41505         * include/termios.h: Likewise.
41506         * include/time.h: Likewise.
41507         * include/ulimit.h: Likewise.
41508         * include/unistd.h: Likewise.
41509         * include/utime.h: Likewise.
41510         * include/wchar.h: Likewise.
41511         * include/wctype.h: Likewise.
41512         * include/wordexp.h: Likewise.
41513
41514         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41515
41516         * time/time.h: TIME_UTC must be a macro.
41517         Make timespec_get available for ISO C11 only as well.
41518
41519 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41520
41521         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41522         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41523
41524 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41525
41526         * configure.in: Use -o not -a in test for unsupported multi-arch.
41527
41528 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41529
41530         * manual/texinfo.tex: Update to version 2012-01-19.16.
41531
41532 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41533
41534         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41535
41536 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41537
41538         [BZ #13738]
41539         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41540         * manual/fdl-1.3.texi: New file.
41541         * manual/fdl-1.1.texi: File removed.
41542
41543         [BZ #13738]
41544         * manual/libc.texinfo (FDL_VERSION): New @set.
41545         Use it for mention of FDL in cover text.
41546         (Documentation License): Use it in @include file name.
41547
41548 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41549             Roland McGrath  <roland@hack.frob.com>
41550
41551         [BZ #5461]
41552         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41553         (not LONG_LONG_MAX and LONG_LONG_MIN.
41554         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41555         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41556         name.
41557         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41558
41559 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41560
41561         [BZ #2547]
41562         [BZ #11365]
41563         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41564         manipulate bits before adding and subtracting TWO23[sx].
41565         * math/libm-test.inc (nearbyint_test): Add more tests.
41566
41567 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41568
41569         [BZ #2548]
41570         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41571         bits before adding and subtracting TWO23[sx].
41572         * math/libm-test.inc (rint_test): Add more tests.
41573         (rint_test_tonearest): Likewise.
41574         (rint_test_towardzero): Likewise.
41575         (rint_test_downward): Likewise.
41576         (rint_test_upward: Likewise.
41577
41578 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41579
41580         [BZ #10110]
41581         * include/stdc-predef.h: New file.  Extracted from features.h.
41582         * include/features.h: Include stdc-predef.h.
41583         * Makefile (headers): Add stdc-predef.h.
41584         * CONFORMANCE (Compiler limitations): Update.
41585
41586 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41587
41588         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41589
41590 2012-02-21  David S. Miller  <davem@davemloft.net>
41591
41592         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41593         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41594
41595 2012-02-20  David S. Miller  <davem@davemloft.net>
41596
41597         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41598         using a normal save/restore sequence, rather than allocating a
41599         dummy stack frame just to store a frame pointer and restore.
41600         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41601
41602 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41603
41604         * manual/install.texi: Fix stray word in line-wrapped comment.
41605
41606 2012-02-20  David S. Miller  <davem@davemloft.net>
41607
41608         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41609         both binutils and gcc support GOTDATA.
41610
41611         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41612         "rd %pc" in the PIC register setup sequences.
41613
41614         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41615         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41616         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41617         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41618         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41620         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41621         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41622         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41623         (SYSCALL_ERROR_HANDLER): Likewise.
41624         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41625         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41626         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41627         (SYSCALL_ERROR_HANDLER): Likewise.
41628
41629         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41630         (HAVE_GCC_GOTDATA): New.
41631         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41632         relocation support in both binutils and gcc.
41633         * sysdeps/sparc/elf/configure: Regenerate.
41634
41635         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41636         * sysdeps/sparc/sparc32/elf/configure: Delete.
41637         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41638         * sysdeps/sparc/sparc64/elf/configure: Delete.
41639         * sysdeps/sparc/elf/configure.in: New file.
41640         * sysdeps/sparc/elf/configure: Generate.
41641
41642         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41643         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41644         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41645         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41646         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41647
41648 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41649
41650         * manual/install.texi: Do not mention specific glibc version
41651         numbers.
41652         * manual/libc.texinfo (VERSION, UPDATED): Update.
41653         (@copying): Use @copyright{} and range of years.
41654
41655 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41656
41657         [BZ #13695]
41658         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41659         [crti.S not in sysdirs] (generated): Do not append.
41660         [crti.S not in sysdirs] (omit-deps): Likewise.
41661         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41662         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41663         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41664         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41665         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41666         Likewise.
41667         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41668         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41669         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41670         * csu/defs.awk: Remove file.
41671         * sysdeps/generic/initfini.c: Likewise.
41672         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41673         variable.
41674         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41675         Likewise.
41676
41677 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41678
41679         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41680         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41681         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41682         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41683         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41684         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41685         <bits/epoll.h>.
41686         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41687         (__EPOLL_PACKED): Define to empty if not defined by
41688         <bits/epoll.h>.
41689         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41691         bits/epoll.h.
41692
41693 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41694
41695         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41696         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41697         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41698         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41699         <bits/timerfd.h>.
41700         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41702         bits/timerfd.h.
41703
41704 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41705
41706         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41707         in C locale.
41708         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41709         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41710         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41712
41713 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41714
41715         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41716         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41717
41718 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41719
41720         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41721         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41722         defined.
41723         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41724         Likewise.
41725         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41726         entry for 2.16.
41727
41728 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41729
41730         * math/w_acos.c: Use non-signaling floating-point comparisons.
41731         * math/w_acosf.c: Likewise.
41732         * math/w_acosh.c: Likewise.
41733         * math/w_acoshf.c: Likewise.
41734         * math/w_acoshl.c: Likewise.
41735         * math/w_acosl.c: Likewise.
41736         * math/w_asin.c: Likewise.
41737         * math/w_asinf.c: Likewise.
41738         * math/w_asinl.c: Likewise.
41739         * math/w_atanh.c: Likewise.
41740         * math/w_atanhf.c: Likewise.
41741         * math/w_atanhl.c: Likewise.
41742         * math/w_exp2.c: Likewise.
41743         * math/w_exp2f.c: Likewise.
41744         * math/w_exp2l.c: Likewise.
41745         * math/w_j0.c: Likewise.
41746         * math/w_j0f.c: Likewise.
41747         * math/w_j0l.c: Likewise.
41748         * math/w_j1.c: Likewise.
41749         * math/w_j1f.c: Likewise.
41750         * math/w_j1l.c: Likewise.
41751         * math/w_jn.c: Likewise.
41752         * math/w_jnf.c: Likewise.
41753         * math/w_log.c: Likewise.
41754         * math/w_log10.c: Likewise.
41755         * math/w_log10f.c: Likewise.
41756         * math/w_log10l.c: Likewise.
41757         * math/w_log2.c: Likewise.
41758         * math/w_log2f.c: Likewise.
41759         * math/w_log2l.c: Likewise.
41760         * math/w_logf.c: Likewise.
41761         * math/w_logl.c: Likewise.
41762         * math/w_sqrt.c: Likewise.
41763         * math/w_sqrtf.c: Likewise.
41764         * math/w_sqrtl.c: Likewise.
41765         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41766         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41767         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41768         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41769         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41770
41771 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41772
41773         [BZ #9739]
41774         * manual/string.texi (strnlen): Use correct parameter name in
41775         equivalent expression.
41776
41777 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41778
41779         [BZ #11174]
41780         * manual/users.texi (seteuid): Consistently use neweuid for
41781         argument name.
41782
41783 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41784
41785         [BZ #13704]
41786         * manual/nss.texi (Services in the NSS configuration): Correct
41787         list of services in example configuration file.
41788
41789 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41790
41791         [BZ #11322]
41792         * manual/arith.texi: Remove statements about negative zero
41793         behaving identically to zero.
41794
41795 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41796
41797         [BZ #5993]
41798         * manual/install.texi: Do not document upgrading from libc5.
41799
41800 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41801
41802         [BZ #4596]
41803         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41804
41805 2012-02-18  David S. Miller  <davem@davemloft.net>
41806
41807         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41808         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41809         %o7 across the call.
41810         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41811         instead.
41812         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41813         SETUP_PIC_REG_LEAF.
41814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41815         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41816         * sysdeps/sparc/crtn.S: Likewise.
41817
41818 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41819
41820         * aout/Makefile: Remove.
41821
41822 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41823
41824         [BZ #13058]
41825         * manual/examples/argp-ex1.c (main): Format definition in GNU
41826         style.
41827         * manual/examples/argp-ex2.c (main): Likewise.
41828         * manual/examples/argp-ex3.c (main): Likewise.
41829         * manual/examples/argp-ex4.c (main): Likewise.
41830         * manual/examples/longopt.c (main): Use new-style prototype
41831         definition.
41832         * manual/examples/strncat.c (main): Specify return type and use
41833         (void) for arguments.
41834         * manual/examples/subopt.c (main): Use char **argv argument.
41835
41836 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41837
41838         [BZ #5077]
41839         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41840         rounding modes.
41841
41842 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41843
41844         [BZ #6907]
41845         * manual/string.texi (strchr): Change when strchrnul is
41846         recommended.
41847
41848 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41849
41850         [BZ #174]
41851         * manual/locale.texi (setlocale): Document LOCPATH.
41852
41853 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41854
41855         [BZ #10210]
41856         * manual/process.texi (execle): Move @dots{} before last argument.
41857
41858 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41859
41860         [BZ #12047]
41861         * manual/charset.texi (Generic Charset Conversion): Fix typo
41862         (LC_TYPE -> LC_CTYPE).
41863
41864 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41865
41866         [BZ #5805]
41867         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41868         (scalbnf): Likewise.
41869         (scalbnl): Likewise.
41870         (scalbln): Likewise.
41871         (scalblnf): Likewise.
41872         (scalblnl): Likewise.
41873         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41874         (vwarnx): Likewise.
41875         (verr): Likewise.
41876         (verrx): Likewise.
41877         * manual/filesys.texi (telldir): Use braces around return type.
41878         * manual/llio.texi (mmap): Add space after comma.
41879         (mmap64): Likewise.
41880         * manual/math.texi (jn): Use @var{} on parameter names.
41881         (jnf): Likewise.
41882         (jnl): Likewise.
41883         (yn): Likewise.
41884         (ynf): Likewise.
41885         (ynl): Likewise.
41886         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41887         line.
41888         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41889         "...".
41890         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41891         (sched_get_priority_max): Likewise.
41892         * manual/signal.texi (sigvec): Add space after comma.
41893         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41894         names.
41895         (if_indextoname): Likewise.
41896         (if_freenameindex): Likewise.
41897         (sendto): Use ',' instead of '.' in prototype.
41898         * manual/startup.texi (syscall): Use @dots{} instead of literal
41899         "...".
41900         * manual/stdio.texi (__fpending): Separate initial words of
41901         paragraph from @deftypefun line.
41902         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41903         "...".
41904         (vsyslog): Use @var{} on parameter names.
41905         * manual/terminal.texi (stty): Use @var{} on parameter names.
41906         * manual/users.texi (getutmp): Use @var{} on parameter names.
41907         (getutmpx): Likewise.
41908
41909 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41910
41911         [BZ #6884]
41912         * manual/stdio.texi (fopen): Fix typos in description of
41913         ",ccs=STRING".
41914
41915 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41916
41917         [BZ #4026]
41918         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41919         get clock_id definition.
41920
41921 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41922
41923         [BZ #4822]
41924         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41925         (madvise): Cast every argument to void on its own.
41926
41927 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41928
41929         [BZ #9902]
41930         * manual/startup.texi (Exit Status): Fix typo.
41931
41932 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41933
41934         [BZ #10140]
41935         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41936         * manual/examples/argp-ex2.c: Likewise.
41937         * manual/examples/argp-ex3.c: Likewise.
41938
41939 2012-02-16  Richard Henderson  <rth@redhat.com>
41940
41941         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41942         * sysdeps/s390/s390-32/initfini.c: Remove.
41943         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41944         * sysdeps/s390/s390-64/initfini.c: Remove.
41945
41946 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41947
41948         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41949         compiler output for sysdeps/generic/initfini.c.
41950         * sysdeps/sh/elf/initfini.c: Remove file.
41951
41952 2012-02-16  David S. Miller  <davem@davemloft.net>
41953
41954         [BZ #11494]
41955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41956
41957         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41958         * sysdeps/sparc/crti.S: New file.
41959         * sysdeps/sparc/crtn.S: New file.
41960         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41961         * sysdeps/sparc/sparc64/Makefile: Likewise.
41962
41963 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41964
41965         [BZ #3335]
41966         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41967
41968 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41969
41970         [BZ #4822]
41971         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41972
41973         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41974         (write, read, close): Likewise.
41975         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41976
41977 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41978
41979         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41980         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41981         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41982         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41983         <bits/signalfd.h>.
41984         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41986         bits/signalfd.h.
41987
41988 2012-02-14  Marek Polacek  <polacek@redhat.com>
41989
41990         * sysdeps/x86_64/crti.S: New file.
41991         * sysdeps/x86_64/crtn.S: New file.
41992         * sysdeps/x86_64/elf/initfini.c: Remove file.
41993
41994 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41995
41996         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41997         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41998         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41999         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42000         <bits/inotify.h>.
42001         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42003         bits/inotify.h.
42004
42005 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42006
42007         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42008         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42009         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42010         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42011         <bits/eventfd.h>.
42012         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42014         bits/eventfd.h.
42015
42016 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42017
42018         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42019         __feraiseexcept instead of feraiseexcept.
42020
42021         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42022         nanosleep invocations.
42023         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42024         strings, and add error checking for a nanosleep invocations.
42025
42026 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42027
42028         Replace FSF snail mail address with URLs, as per GNU coding standards.
42029         Most of the snail mail addresses were wrong anyway, and omitting
42030         them makes the source code easier to maintain.  Almost all of the
42031         changes are to license notices and to locale LC_IDENTIFICATION
42032         addresses, except for this one:
42033         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42034         not its snail mail address.
42035
42036 2012-02-09  Richard Henderson  <rth@twiddle.net>
42037
42038         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42039         of kernel-features.h.
42040
42041         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42042
42043 2012-02-08  Marek Polacek  <polacek@redhat.com>
42044
42045         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42046         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42047         * sysdeps/gnu/_G_config.h: Likewise.
42048         * sysdeps/generic/_G_config.h: Likewise.
42049
42050 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42051
42052         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42053         tests.
42054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42055
42056         * sysdeps/powerpc/powerpc32/crti.S: New file.
42057         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42058         * sysdeps/powerpc/powerpc64/crti.S: New file.
42059         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42060
42061         * Makeconfig (have-initfini): Don't set.
42062         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42063         * configure.in (nopic_initfini): Don't substitute.
42064         * config.h.in (HAVE_INITFINI): Don't #undef.
42065         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42066         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42067
42068 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42069
42070         Support crti.S and crtn.S provided directly by architectures.
42071         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42072         [crti.S in sysdirs] (omit-deps): Likewise.
42073         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42074         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42075         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42076         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42077         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42078         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42079         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42080         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42081         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42082         compiler output for sysdeps/generic/initfini.c.
42083         * sysdeps/i386/elf/Makefile: Remove file.
42084         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42085
42086 2012-02-07  Marek Polacek  <polacek@redhat.com>
42087
42088         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42089         * sysdeps/gnu/_G_config.h: Likewise.
42090         * sysdeps/mach/hurd/_G_config.h: Likewise.
42091
42092 2012-02-07  Marek Polacek  <polacek@redhat.com>
42093
42094         * math/Makefile (tests): Add tst-CMPLX2.
42095         * math/tst-CMPLX2.c: New file.
42096
42097 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42098
42099         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42100
42101         * math/libm-test.inc (jn_test): Add missing L suffix.
42102
42103 2012-02-06  Marek Polacek  <polacek@redhat.com>
42104
42105         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42106         * sysdeps/i386/fpu/e_powf.S: Likewise.
42107         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42108         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42109         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42110         * sysdeps/i386/fpu/e_pow.S: Likewise.
42111         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42112         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42113         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42114         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42115         * sysdeps/i386/fpu/e_log2.S: Likewise.
42116         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42117         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42118         * sysdeps/i386/fpu/e_powl.S: Likewise.
42119         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42120         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42121         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42122         * sysdeps/i386/fpu/e_logl.S: Likewise.
42123         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42124         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42125         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42126         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42127         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42128         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42129         * sysdeps/i386/fpu/e_log.S: Likewise.
42130         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42131         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42132         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42133         * sysdeps/i386/fpu/e_logf.S: Likewise.
42134         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42135         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42136         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42137         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42138         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42139         * sysdeps/i386/fpu/e_log10.S: Likewise.
42140         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42141         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42142         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42143         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42144         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42145         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42146         * sysdeps/i386/asm-syntax.h: Likewise.
42147         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42148         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42149         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42150         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42151         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42152         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42153         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42154         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42155         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42156         * sysdeps/powerpc/sysdep.h: Likewise.
42157         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42158         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42159
42160 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42161
42162         [BZ #411]
42163         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42164
42165 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42166
42167         * sysdeps/i386/sysdep.h: Include <features.h>.
42168         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42169         version.
42170
42171 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42172
42173         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42174         Define.
42175         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42176         LOAD_PIC_REG_STR.
42177
42178 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42179
42180         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42181         (SETUP_PIC_REG): Use GET_PC_THUNK.
42182         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42183         macro.
42184
42185 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42186
42187         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42188         for non-PIC compilation.
42189         (SETUP_PIC_REG): Add .p2align directive.
42190         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42191         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42192         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42193         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42194         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42195         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42196         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42197         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42198         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42199         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42200         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42201         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42202         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42203         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42204         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42205         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42206         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42207         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42208         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42209         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42210         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42211         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42212         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42213         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42214         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42215         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42216         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42217         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42218         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42219         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42220         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42221         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42222         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42223         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42224         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42225         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42226         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42227         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42228         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42229         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42230         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42231
42232 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42233
42234         * math/tst-CMPLX.c: Include <stdio.h>.
42235
42236 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42237
42238         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42239         float.
42240         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42241         * sysdeps/sparc/bits/mathdef.h: Likewise.
42242
42243 2012-01-31  Marek Polacek  <polacek@redhat.com>
42244
42245         * libio/libio.h: Don't define _PARAMS.
42246         * locale/programs/config.h: Don't define PARAMS.
42247         * stdlib/strtol_l.c: Likewise.
42248         (__strtol_l): Remove PARAMS from the prototype.
42249
42250 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42251
42252         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42253         names.  Just use the correct names.  Remove unnecessary wrapper
42254         functions.
42255         * malloc/arena.c: Likewise.
42256         * malloc/hooks.c: Likewise.
42257
42258         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42259         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42260         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42261
42262 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42263
42264         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42265         into tail calls.
42266         (update_get_addr): New function.
42267         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42268         GET_ADDR_MODULE parameter.
42269
42270 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42271
42272         * crypt/cert.c: Remove __STDC__ conditionals.
42273         * crypt/crypt-entry.c: Likewise.
42274         * crypt/crypt_util.c: Likewise.
42275         * libio/filedoalloc.c: Likewise.
42276         * libio/fileops.c: Likewise.
42277         * libio/genops.c: Likewise.
42278         * libio/iofclose.c: Likewise.
42279         * libio/iofdopen.c: Likewise.
42280         * libio/iofopen.c: Likewise.
42281         * libio/iofopen64.c: Likewise.
42282         * libio/iogetdelim.c: Likewise.
42283         * libio/iopopen.c: Likewise.
42284         * libio/obprintf.c: Likewise.
42285         * libio/oldfileops.c: Likewise.
42286         * libio/oldiofclose.c: Likewise.
42287         * libio/oldiofdopen.c: Likewise.
42288         * libio/oldiofopen.c: Likewise.
42289         * libio/oldiopopen.c: Likewise.
42290         * libio/wfiledoalloc.c: Likewise.
42291         * libio/wgenops.c: Likewise.
42292         * locale/programs/xmalloc.c: Likewise.
42293         * misc/syslog.c: Likewise.
42294         * stdio-common/xbug.c: Likewise.
42295         * string/memchr.c: Likewise.
42296         * string/memcmp.c: Likewise.
42297         * string/memrchr.c: Likewise.
42298         * string/rawmemchr.c: Likewise.
42299         * sysdeps/posix/getcwd.c: Likewise.
42300         * time/strftime_l.c: Likewise.
42301
42302 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42303
42304         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42305         * config.make.in (config-cflags-sse2avx): Define.
42306         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42307         Fix typo.
42308
42309 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42310
42311         * scripts/config.guess: Update from upstream config git repository.
42312         * scripts/config.sub: Likewise.
42313
42314 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42315
42316         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42317         (EM_NUM): Update.
42318         (R_TILEPRO_*, R_TILEGX_*): New macros.
42319
42320         * scripts/firstversions.awk: Fix bug in version range handling.
42321
42322         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42323
42324         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42325
42326         * include/sys/epoll.h: New file.
42327         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42328         libc_hidden_def.
42329
42330 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42331
42332         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42333         Avoid unnecessary __WORDSIZE == 64 test.
42334         (fmaxf): Use VEX format if possible.
42335         (fmax): Likewise.
42336         (fminf): Likewise.
42337         (fmin): Likewise.
42338
42339         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42340         * math/math_private.h: Remove libc_fegetround* and
42341         libc_fesetround*.
42342         * sysdeps/i386/configure.in: Check for -msse2avx.
42343         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42344         also if SSE2AVX is defined.
42345         Remove libc_fegetround* and libc_fesetround*.
42346         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42347         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42348         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42349         of HAS_YMM_USABLE.
42350         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42351         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42352         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42353         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42354         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42355
42356         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42357
42358 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42359
42360         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42361         size is not set.
42362         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42363
42364 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42365
42366         [BZ #13618]
42367         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42368         relocation.
42369         * Makeconfig (libm): Define.
42370         * elf/Makefile: Add rules to build and run tst-relsort1.
42371         * elf/tst-relsort1.c: New file.
42372         * elf/tst-relsort1mod1.c: New file.
42373         * elf/tst-relsort1mod2.c: New file.
42374
42375 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42376
42377         * math/s_ldexp.c: Remove __STDC__ conditionals.
42378         * math/s_ldexpf.c: Likewise.
42379         * math/s_ldexpl.c: Likewise.
42380         * math/s_nextafter.c: Likewise.
42381         * math/s_nexttowardf.c: Likewise.
42382         * math/s_significand.c: Likewise.
42383         * math/s_significandf.c: Likewise.
42384         * math/s_significandl.c: Likewise.
42385         * math/w_jnl.c: Likewise.
42386         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42387         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42388         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42389         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42390         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42391         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42392         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42393         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42394         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42395         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42396         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42397         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42398         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42399         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42400         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42401         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42402         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42403         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42405         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42406         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42407         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42408         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42409         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42410         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42411         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42412         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42413         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42414         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42415         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42416         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42417         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42418         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42419         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42420         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42421         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42422         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42423         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42424         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42425         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42426         * sysdeps/ieee754/k_standard.c: Likewise.
42427         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42428         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42429         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42430         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42431         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42432         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42433         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42434         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42435         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42436         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42437         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42438         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42439         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42440         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42441         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42442         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42443         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42444         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42445         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42446         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42447         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42448         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42449         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42450         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42451         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42452         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42456         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42457         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42458         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42459         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42460         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42461         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42462         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42463         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42464         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42465         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42466         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42467         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42468         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42469         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42470         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42471         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42472         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42473         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42474         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42475         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42476         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42477         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42478         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42479         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42480         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42481         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42482         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42483         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42484         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42485         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42486         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42487         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42488         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42489         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42490         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42491         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42492         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42493         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42494         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42495         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42496         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42497         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42498         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42499         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42500         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42501         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42502         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42503         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42504         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42505         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42506         * sysdeps/ieee754/s_matherr.c: Likewise.
42507         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42508         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42509         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42510         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42511
42512 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42513
42514         * crypt/md5.h: Remove __STDC__ conditionals.
42515         * libio/libioP.h: Likewise.
42516         * locale/programs/config.h: Likewise.
42517         * sysdeps/generic/sysdep.h: Likewise.
42518         * sysdeps/i386/asm-syntax.h: Likewise.
42519         * sysdeps/s390/asm-syntax.h: Likewise.
42520         * sysdeps/unix/sysdep.h: Likewise.
42521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42523
42524 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42525
42526         * libio/libio.h: Remove __STDC__ conditionals.
42527         * malloc/obstack.h: Likewise.
42528         * math/complex.h: Likewise.
42529         * math/math.h: Likewise.
42530         * sysdeps/generic/_G_config.h: Likewise.
42531         * sysdeps/gnu/_G_config.h: Likewise.
42532         * sysdeps/mach/hurd/_G_config.h: Likewise.
42533         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42534         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42535         * sysdeps/sparc/bits/mathdef.h: Likewise.
42536
42537 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42538
42539         [BZ #13583]
42540         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42541         Clean up HAS_* macros.
42542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42543         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42544         possible.
42545         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42546         HAS_AVX.
42547         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42548         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42549         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42550         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42551         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42552
42553 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42554
42555         * elf/tst-unique3.cc (gets): Remove declaration.
42556         * elf/tst-unique3lib.cc (gets): Likewise.
42557         * elf/tst-unique3lib2.cc (gets): Likewise.
42558         * elf/tst-unique4.cc (gets): Likewise.
42559
42560 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42561
42562         * include/stdio.h: Add C++ protection.  Add gets declarations and
42563         definitions.
42564         * debug/tst-chk1.c: Don't declare gets here.
42565         * stdio-common/tst-gets.c: Likewise.
42566
42567 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42568
42569         * posix/glob: Remove directory.
42570
42571 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42572
42573         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42574
42575 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42576
42577         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42578         of the non-standard EPFNOSUPPORT.
42579
42580 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42581
42582         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42583         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42584         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42585
42586 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42587
42588         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42589
42590 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42591
42592         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42593         transient errors.
42594         * nscd/grpcache.c (cache_addgr): Likewise.
42595         * nscd/hstcache.c (cache_addhst): Likewise.
42596         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42597         * nscd/pwdcache.c (cache_addpw): Likewise.
42598         * nscd/servicescache.c (cache_addserv): Likewise.
42599
42600 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42601
42602         * malloc/malloc.c: Various cleanups.
42603         * malloc/hooks.c: Likewise.
42604
42605         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42606         * stdlib/bug-fmtmsg1.c: New file.
42607
42608         * stdlib/fmtmsg.c (init): Add missing unlock.
42609         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42610
42611 2012-01-12  Marek Polacek  <polacek@redhat.com>
42612
42613         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42614         and _GNU_SOURCE.
42615
42616 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42617
42618         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42619         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42620         macro to ensure uniqueness of label name.
42621         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42622         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42623
42624 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42625
42626         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42627
42628         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42629         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42630         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42631         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42632
42633 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42634
42635         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42636
42637         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42638         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42639         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42640
42641         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42642
42643         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42644         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42645         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42646         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42647
42648         * math/bits/math-finite.h: Add ldexp support.
42649
42650 2012-01-10  Marek Polacek  <polacek@redhat.com>
42651
42652         * locale/programs/localedef.h (show_archive_content): Add noreturn
42653         attribute.
42654
42655 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42656
42657         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42658
42659 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42660
42661         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42662
42663         * io/Makefile (headers): Add bits/poll2.h.
42664
42665 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42666
42667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42668         typo #include statement.
42669
42670 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42671
42672         * include/sys/cdefs.h: Define __attribute_alloc_size.
42673         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42674         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42675         * elf/pldd.c: Likewise.
42676         * iconv/iconv_charmap.c: Likewise.
42677         * iconv/iconvconfig.c: Likewise.
42678         * iconv/strtab.c: Likewise.
42679         * locale/programs/locale.c: Likewise.
42680         * locale/programs/localedef.h: Likewise.
42681         * locale/programs/simple-hash.c: Likewise.
42682         * nscd/nscd.h: Likewise.
42683         * nss/makedb.c: Likewise.
42684         * sysdeps/generic/ldconfig.h: Likewise.
42685         * locale/programs/localedef.c: Remove xmalloc prototype.
42686         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42687
42688 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42689
42690         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42691         appropriate.
42692
42693 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42694
42695         * math/Makefile (tests): Add tst-CMPLX.
42696         * math/tst-CMPLX.c: New file.
42697
42698         * math/complex.h (CMPLXL): Fix typo.
42699
42700         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42701         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42702         GLIBC_2.16.
42703         * debug/tst-chk1.c: Add poll and ppoll tests.
42704         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42705         * include/sys/poll.h: Add hidden proto for ppoll.
42706         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42707         * sysdeps/mach/hurd/ppoll.c: Likewise.
42708         * io/ppoll.c: Likewise.
42709         * debug/poll_chk.c: New file.
42710         * debug/ppoll_chk.c: New file.
42711         * include/bits/poll2.h: New file.
42712         * io/bits/poll2.h: New file.
42713
42714         [BZ #1350]
42715         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42716
42717         * configure.in: static is always set to yes.  Remove.
42718         * config.make.in: Don't set build-static.
42719         * Makeconfig: Remove use of build-static.
42720         * dlfcn/Makefile: Likewise.
42721         * elf/Makefile: Likewise.
42722         * math/Makefile: Likewise.
42723         * misc/Makefile: Likewise.
42724         * nptl/Makefile: Likewise.
42725         * sysdeps/mach/hurd/Makefile: Likewise.
42726
42727         * configure.in: PWD_P is not used anymore.
42728         * config.make.in: Remove PWD_P entry.
42729
42730         * configure.in: Remove last remnants of RANLIB.
42731         No need to check for signed size_t anymore.
42732         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42733         and IA-64.
42734         Remove __builtin_expect test because we require at least gcc 3.4.
42735         * aclocal.m4: Likewise.
42736
42737         * wcsmbs/mbrtoc16.c: Implement using towc function.
42738         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42739         * wcsmbs/wcsmbsload.c: Likewise.
42740         * iconv/gconv_simple.c: Likewise.
42741         * iconv/gconv_int.h: Likewise.
42742         * iconv/gconv_builtin.h: Likewise.
42743         * iconv/iconv_prog.c: Remove CHAR16 handling.
42744
42745         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42746
42747         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42748
42749         * configure.in: Remove --with-elf and --enable-bounded options.
42750         Dont set base_machine for ia64.  More non-ELF conditions removed.
42751         Remove testing and setting of leading underscore information.
42752         * config.make.in (build-bounded): Set to no.
42753         * config.h.in: Remove NO_UNDERSCORES entry.
42754         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42755         them.
42756         * csu/start.c: Remove !NO_UNDERSCORE code.
42757         * locale/localeinfo.h: Likewise.
42758         * sysdeps/generic/machine-gmon.h: Likewise.
42759         * sysdeps/generic/sysdep.h: Likewise.
42760         * sysdeps/i386/sysdep.h: Likewise.
42761         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42762         * sysdeps/mach/sysdep.h: Likewise.
42763         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42764         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42765         * sysdeps/sh/sysdep.h: Likewise.
42766         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42767         * sysdeps/unix/i386/sysdep.S: Likewise.
42768         * sysdeps/unix/sparc/start.c: Likewise.
42769         * sysdeps/unix/sparc/sysdep.S: Likewise.
42770         * sysdeps/unix/sparc/sysdep.h: Likewise.
42771         * sysdeps/unix/start.c: Likewise.
42772         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42773         * sysdeps/x86_64/sysdep.h: Likewise.
42774
42775 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42776
42777         [BZ #13553]
42778         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42779         for non-gcc.
42780         * argp/argp-fmtstream.h: Use const instead __const.
42781         * argp/argp.h: Likewise.
42782         * assert/assert.h: Likewise.
42783         * bits/fenv.h: Likewise.
42784         * bits/sched.h: Likewise.
42785         * bits/sigset.h: Likewise.
42786         * bits/sigthread.h: Likewise.
42787         * catgets/nl_types.h: Likewise.
42788         * conform/data/pthread.h-data: Likewise.
42789         * crypt/crypt-private.h: Likewise.
42790         * crypt/crypt.h: Likewise.
42791         * crypt/crypt_util.c: Likewise.
42792         * ctype/ctype.h: Likewise.
42793         * debug/execinfo.h: Likewise.
42794         * debug/mbsnrtowcs_chk.c: Likewise.
42795         * debug/mbsrtowcs_chk.c: Likewise.
42796         * debug/wcsnrtombs_chk.c: Likewise.
42797         * debug/wcsrtombs_chk.c: Likewise.
42798         * debug/wcstombs_chk.c: Likewise.
42799         * dirent/dirent.h: Likewise.
42800         * dlfcn/dlfcn.h: Likewise.
42801         * elf/neededtest4.c: Likewise.
42802         * grp/grp.h: Likewise.
42803         * gshadow/gshadow.h: Likewise.
42804         * iconv/gconv.h: Likewise.
42805         * iconv/gconv_int.h: Likewise.
42806         * iconv/gconv_simple.c: Likewise.
42807         * iconv/iconv.h: Likewise.
42808         * iconv/loop.c: Likewise.
42809         * iconv/skeleton.c: Likewise.
42810         * include/aio.h: Likewise.
42811         * include/aliases.h: Likewise.
42812         * include/argz.h: Likewise.
42813         * include/arpa/inet.h: Likewise.
42814         * include/assert.h: Likewise.
42815         * include/dirent.h: Likewise.
42816         * include/dlfcn.h: Likewise.
42817         * include/execinfo.h: Likewise.
42818         * include/fcntl.h: Likewise.
42819         * include/fenv.h: Likewise.
42820         * include/glob.h: Likewise.
42821         * include/grp.h: Likewise.
42822         * include/libintl.h: Likewise.
42823         * include/mntent.h: Likewise.
42824         * include/netdb.h: Likewise.
42825         * include/pwd.h: Likewise.
42826         * include/rpc/netdb.h: Likewise.
42827         * include/sched.h: Likewise.
42828         * include/search.h: Likewise.
42829         * include/shadow.h: Likewise.
42830         * include/signal.h: Likewise.
42831         * include/stdio.h: Likewise.
42832         * include/stdlib.h: Likewise.
42833         * include/string.h: Likewise.
42834         * include/sys/socket.h: Likewise.
42835         * include/sys/stat.h: Likewise.
42836         * include/sys/statfs.h: Likewise.
42837         * include/sys/statvfs.h: Likewise.
42838         * include/sys/syslog.h: Likewise.
42839         * include/sys/time.h: Likewise.
42840         * include/sys/uio.h: Likewise.
42841         * include/time.h: Likewise.
42842         * include/unistd.h: Likewise.
42843         * include/utmp.h: Likewise.
42844         * include/wchar.h: Likewise.
42845         * include/wctype.h: Likewise.
42846         * inet/aliases.h: Likewise.
42847         * inet/arpa/inet.h: Likewise.
42848         * inet/netinet/ether.h: Likewise.
42849         * inet/netinet/in.h: Likewise.
42850         * intl/libintl.h: Likewise.
42851         * io/bits/fcntl2.h: Likewise.
42852         * io/fcntl.h: Likewise.
42853         * io/ftw.h: Likewise.
42854         * io/sys/poll.h: Likewise.
42855         * io/sys/stat.h: Likewise.
42856         * io/sys/statfs.h: Likewise.
42857         * io/sys/statvfs.h: Likewise.
42858         * io/utime.h: Likewise.
42859         * libio/bits/stdio.h: Likewise.
42860         * libio/bits/stdio2.h: Likewise.
42861         * libio/libio.h: Likewise.
42862         * libio/libioP.h: Likewise.
42863         * libio/stdio.h: Likewise.
42864         * locale/lc-ctype.c: Likewise.
42865         * locale/locale.h: Likewise.
42866         * login/utmp.h: Likewise.
42867         * malloc/arena.c: Likewise.
42868         * malloc/malloc.c: Likewise.
42869         * malloc/malloc.h: Likewise.
42870         * malloc/mcheck.c: Likewise.
42871         * malloc/mtrace.c: Likewise.
42872         * math/bits/mathcalls.h: Likewise.
42873         * math/fenv.h: Likewise.
42874         * math/math_private.h: Likewise.
42875         * misc/bits/error.h: Likewise.
42876         * misc/bits/syslog.h: Likewise.
42877         * misc/err.h: Likewise.
42878         * misc/error.h: Likewise.
42879         * misc/fstab.h: Likewise.
42880         * misc/mntent.h: Likewise.
42881         * misc/regexp.h: Likewise.
42882         * misc/search.h: Likewise.
42883         * misc/sgtty.h: Likewise.
42884         * misc/sys/mman.h: Likewise.
42885         * misc/sys/syslog.h: Likewise.
42886         * misc/sys/uio.h: Likewise.
42887         * misc/sys/xattr.h: Likewise.
42888         * misc/ttyent.h: Likewise.
42889         * nis/rpcsvc/ypclnt.h: Likewise.
42890         * nss/nss.h: Likewise.
42891         * posix/bits/unistd.h: Likewise.
42892         * posix/fnmatch.h: Likewise.
42893         * posix/glob.h: Likewise.
42894         * posix/sched.h: Likewise.
42895         * posix/spawn.h: Likewise.
42896         * posix/sys/wait.h: Likewise.
42897         * posix/unistd.h: Likewise.
42898         * posix/wordexp.h: Likewise.
42899         * pwd/pwd.h: Likewise.
42900         * resolv/netdb.h: Likewise.
42901         * resource/sys/resource.h: Likewise.
42902         * rt/aio.h: Likewise.
42903         * rt/bits/mqueue2.h: Likewise.
42904         * rt/mqueue.h: Likewise.
42905         * shadow/shadow.h: Likewise.
42906         * signal/signal.h: Likewise.
42907         * socket/send.c: Likewise.
42908         * socket/sendto.c: Likewise.
42909         * socket/sys/socket.h: Likewise.
42910         * stdio-common/printf.h: Likewise.
42911         * stdlib/bits/stdlib.h: Likewise.
42912         * stdlib/fmtmsg.h: Likewise.
42913         * stdlib/monetary.h: Likewise.
42914         * stdlib/stdlib.h: Likewise.
42915         * stdlib/ucontext.h: Likewise.
42916         * streams/stropts.h: Likewise.
42917         * string/argz.h: Likewise.
42918         * string/bits/string2.h: Likewise.
42919         * string/string.h: Likewise.
42920         * string/strings.h: Likewise.
42921         * sunrpc/rpc/auth.h: Likewise.
42922         * sunrpc/rpc/auth_des.h: Likewise.
42923         * sunrpc/rpc/clnt.h: Likewise.
42924         * sunrpc/rpc/netdb.h: Likewise.
42925         * sunrpc/rpc/pmap_clnt.h: Likewise.
42926         * sunrpc/rpc/xdr.h: Likewise.
42927         * sysdeps/generic/inttypes.h: Likewise.
42928         * sysdeps/generic/net/if.h: Likewise.
42929         * sysdeps/generic/sys/swap.h: Likewise.
42930         * sysdeps/gnu/net/if.h: Likewise.
42931         * sysdeps/gnu/utmpx.h: Likewise.
42932         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42933         * sysdeps/i386/i486/bits/string.h: Likewise.
42934         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42935         * sysdeps/s390/bits/string.h: Likewise.
42936         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42937         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42938         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42939         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42940         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42941         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42942         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42943         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42944         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42945         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42946         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42947         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42948         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42949         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42950         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42951         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42952         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42954         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42955         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42956         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42957         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42958         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42959         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42960         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42961         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42962         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42963         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42964         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42965         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42966         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42967         * sysvipc/sys/ipc.h: Likewise.
42968         * sysvipc/sys/msg.h: Likewise.
42969         * sysvipc/sys/sem.h: Likewise.
42970         * sysvipc/sys/shm.h: Likewise.
42971         * termios/termios.h: Likewise.
42972         * time/sys/time.h: Likewise.
42973         * time/time.h: Likewise.
42974         * wcsmbs/bits/wchar2.h: Likewise.
42975         * wcsmbs/uchar.h: Likewise.
42976         * wcsmbs/wchar.h: Likewise.
42977         * wctype/wctype.h: Likewise.
42978
42979         [BZ #13551]
42980         * Makeconfig: Remove all but ELF support including AIX support.
42981         * Makerules: Likewise.
42982         * config.h.in: Likewise.
42983         * config.make.in: Likewise.
42984         * configure: Likewise.
42985         * configure.in: Likewise.
42986         * csu/Makefile: Likewise.
42987         * csu/version.c: Likewise.
42988         * debug/Makefile: Likewise.
42989         * dlfcn/Makefile: Likewise.
42990         * elf/Makefile: Likewise.
42991         * extra-lib.mk: Likewise.
42992         * iconv/Makefile: Likewise.
42993         * include/libc-symbols.h: Likewise.
42994         * include/shlib-compat.h: Likewise.
42995         * resolv/Makefile: Likewise.
42996         * resolv/res_libc.c: Likewise.
42997         * rt/Makefile: Likewise.
42998         * sysdeps/i386/asm-syntax.h: Likewise.
42999         * sysdeps/i386/sysdep.h: Likewise.
43000         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43001         * sysdeps/mach/sysdep.h: Likewise.
43002         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43003         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43004         * sysdeps/s390/asm-syntax.h: Likewise.
43005         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43006         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43007         * sysdeps/sh/sysdep.h: Likewise.
43008         * sysdeps/unix/sparc/sysdep.h: Likewise.
43009         * sysdeps/wordsize-32/divdi3.c: Likewise.
43010         * sysdeps/x86_64/sysdep.h: Likewise.
43011
43012         * argp/Versions: Remove _argp_unlock_xxx.
43013
43014         [BZ #13559]
43015         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43016         * abilist/libBrokenLocale.abilist: Likewise.
43017         * abilist/libanl.abilist: Likewise.
43018         * abilist/libc.abilist: Likewise.
43019         * abilist/libcrypt.abilist: Likewise.
43020         * abilist/libdl.abilist: Likewise.
43021         * abilist/libm.abilist: Likewise.
43022         * abilist/libnsl.abilist: Likewise.
43023         * abilist/libpthread.abilist: Likewise.
43024         * abilist/libresolv.abilist: Likewise.
43025         * abilist/librt.abilist: Likewise.
43026         * abilist/libthread_db.abilist: Likewise.
43027         * abilist/libutil.abilist: Likewise.
43028         * abilist/libnss_db.abilist: New file.
43029
43030         * scripts/abilist.awk: Add support for indirect functions.
43031
43032         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43033
43034         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43035
43036         * shlib-versions: Remove entries for ports architectures.
43037
43038         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43039         files in ports.
43040         * elf/stackguard-macros.h: Remove support for IA-64.
43041         * elf/tst-auditmod1.c: Likewise.
43042         * sysdeps/generic/ldsodefs.h: Likewise.
43043
43044         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43045         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43046         configure files.
43047
43048         [BZ #13552]
43049         * configure.in: Remove --enable-omitfp support.
43050         * FAQ.in: Adjust.
43051         * config.make.in: Likewise.
43052         * Makeconfig: Likewise.
43053         * manual/install.texi: Likewise.
43054
43055         In case anyone cares, the IA-64 architecture could move to ports.
43056         * sysdeps/ia64/*: Removed.
43057         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43058         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43059
43060         [BZ #13555]
43061         * configure.in: Remove entries for unsupported architectures.
43062
43063         [BZ #13533]
43064         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43065         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43066         routines.
43067         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43068         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43069         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43070         fall back to using wcrtomb.
43071         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43072         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43073         renaming.
43074         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43075         * wcsmbs/tst-c16c32-1.c: New file.
43076
43077         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43078         local variable.
43079
43080         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43081
43082         * elf/tst-unique3.cc: Add explicit declaration of gets.
43083         * elf/tst-unique3lib.cc: Likewise.
43084         * elf/tst-unique3lib2.cc: Likewise.
43085         * elf/tst-unique4.cc: Likewise.
43086
43087         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43088
43089 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43090
43091         [BZ #13566]
43092         * assert/assert.h (static_assert): Don't define for C++.
43093         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43094         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43095
43096 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43097
43098         * iconv/loop.c (single loop): Fix assertion in storing of
43099         remaining bytes.
43100
43101         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43102
43103 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43104
43105         * posix/getconf.c: Update copyright year.
43106         * nss/getent.c: Likewise.
43107         * nss/makedb.c: Likewise.
43108         * iconv/iconvconfig.c: Likewise.
43109         * iconv/iconv_prog.c: Likewise.
43110         * elf/ldconfig.c: Likewise.
43111         * elf/pldd.c: Likewise.
43112         * elf/sotruss.ksh: Likewise.
43113         * catgets/gencat.c: Likewise.
43114         * csu/version.c: Likewise.
43115         * elf/ldd.bash.in: Likewise.
43116         * elf/sprof.c (print_version): Likewise.
43117         * locale/programs/locale.c: Likewise.
43118         * locale/programs/localedef.c: Likewise.
43119         * login/programs/pt_chown.c: Likewise.
43120         * nscd/nscd.c (print_version): Likewise.
43121         * debug/xtrace.sh: Likewise.
43122         * malloc/memusage.sh: Likewise.
43123         * malloc/mtrace.pl: Likewise.
43124         * debug/catchsegv.sh: Likewise.
43125
43126 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43127
43128         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43129         pure attribute.
43130
43131 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43132
43133         [BZ #13533]
43134         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43135         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43136         transformations.
43137         * iconv/gconv_int.h: Likewise.
43138         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43139         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43140         from libc for GLIBC_2.16.
43141         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43142         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43143         * wcsmbs/uchar.h: Really define mbstate_t.
43144         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43145         * wcsmbs/c16rtomb.c: New file.
43146         * wcsmbs/mbrtoc16.c: New file.
43147         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43148         for C/POSIX locale.
43149         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43150         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43151
43152         * wcsmbs/wchar.h: Add missing __restrict.
43153
43154 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43155
43156         [BZ #13532]
43157         * time/Makefile (routines): Add timespec_get.
43158         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43159         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43160         timespec for ISO C11.
43161         * time/timespec_get.c: New file.
43162         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43163         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43164
43165         [BZ #13531]
43166         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43167         * stdlib/stdlib.h: Declare aligned_alloc.
43168         * Versions.def: Add GLIBC_2.16 for libc.
43169         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43170
43171         [BZ 13527]
43172         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43173         ISO C11.
43174
43175         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43176         code.
43177
43178         [BZ #13528]
43179         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43180
43181         [BZ #13529]
43182         * assert/assert.h (static_assert): Define.
43183
43184         * version.h: Update for 2.16 development version.
43185
43186         [BZ #13526]
43187         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43188         _ISOC11_SOURCE.
43189
43190         * version.h (RELEASE): Bump for 2.15 release.
43191         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43192
43193         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43194         Patch by Marek Polacek <mpolacek@redhat.com>.
43195
43196         * bits/byteswap.h: Protect long long constants with __extension__.
43197         * sysdeps/i386/bits/byteswap.h: Likewise.
43198         * sysdeps/ia64/bits/byteswap.h: Likewise.
43199         * sysdeps/s390/bits/byteswap.h: Likewise.
43200         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43201
43202 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43203
43204         [BZ #13540]
43205         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43206         destination buffer.
43207         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43208
43209 2011-12-23  Marek Polacek  <polacek@redhat.com>
43210
43211         * elf/dl-addr.c (determine_info): Add inline keyword.
43212         * elf/tst-auditmod4b.c (check_avx): Likewise.
43213         * elf/tst-auditmod6b.c (check_avx): Likewise.
43214         * elf/tst-auditmod6c.c (check_avx): Likewise.
43215         * elf/tst-auditmod7b.c (check_avx): Likewise.
43216
43217 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43218
43219         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43220         !__SSE_MATH__.
43221
43222 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43223
43224         [BZ #13540]
43225         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43226         processing for last bytes.
43227
43228 2011-08-06  Bruno Haible  <bruno@clisp.org>
43229
43230         [BZ #13061]
43231         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43232         U+0385, not to U+1FEE.
43233
43234         [BZ #13062]
43235         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43236         entry for U+00A5 U+0301.
43237
43238 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43239
43240         [BZ #13166]
43241         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43242         buffer for the output is too small.
43243
43244         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43245         optimization.
43246
43247         [BZ #13185]
43248         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43249         SSE flags if possible.
43250
43251 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43252
43253         [BZ #13540]
43254         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43255         processing for last bytes.
43256
43257 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43258
43259         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43260         (syscall-list-default-options, syscall-list-default-condition)
43261         (syscall-list-includes): Define.
43262         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43263         list of ABIs and options and #if conditions for each ABI.  Do not
43264         handle common syscalls between ABIs specially.
43265         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43266         Remove.
43267         (syscall-list-variants, syscall-list-32bit-options)
43268         (syscall-list-32bit-condition, syscall-list-64bit-options)
43269         (syscall-list-64bit-condition): Define.
43270         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43271         (syscall-list-variants, syscall-list-32bit-options)
43272         (syscall-list-32bit-condition, syscall-list-64bit-options)
43273         (syscall-list-64bit-condition): Define.
43274         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43275         Remove.
43276         (syscall-list-variants, syscall-list-32bit-options)
43277         (syscall-list-32bit-condition, syscall-list-64bit-options)
43278         (syscall-list-64bit-condition): Define.
43279         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43280         Remove.
43281         (syscall-list-variants, syscall-list-32bit-options)
43282         (syscall-list-32bit-condition, syscall-list-64bit-options)
43283         (syscall-list-64bit-condition): Define.
43284
43285 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43286
43287         * locale/iso-639.def: Add brx entry.
43288
43289         [BZ #13328]
43290         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43291         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43292
43293         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43294         __feraiseexcept_renamed.
43295
43296 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43297
43298         [BZ #13538]
43299         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43300         EPOLLET with unsigned values.
43301         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43302         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43303
43304         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43305         to large cancellation.
43306         * math/s_cacoshf.c: Likewise.
43307         * math/s_cacoshl.c: Likewise.
43308
43309 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43310
43311         [BZ #13305]
43312         [BZ #12786]
43313         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43314         * math/s_cacoshf.c: Likewise.
43315         * math/s_cacoshl.c: Likewise.
43316
43317 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43318
43319         [BZ #13439]
43320         * iconv/gconv.h: Define __GCONV_SWAP.
43321         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43322         * iconvdata/utf-16.c: Likewise.
43323         * iconvdata/utf-32.c: Likewise.
43324
43325 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43326
43327         [BZ #13524]
43328         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43329         numerator after shifting it by one limb.
43330
43331 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43332
43333         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43334         under [__USE_EXTERN_INLINES].
43335
43336 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43337
43338         [BZ #13446]
43339         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43340
43341 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43342
43343         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43344         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43345         optimized code.
43346         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43347         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43348         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43349         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43350         for strncasecmp/strncasecmp_l compilation.
43351         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43352         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43353
43354 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43355
43356         [BZ #13484]
43357         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43358         of __asm__.
43359
43360 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43361
43362         [BZ #13506]
43363         * time/tzfile.c (__tzfile_read): Check values from file header.
43364
43365 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43366
43367         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43368         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43369         * powerpc/powerpc32/dl-start.S: Likewise.
43370         * powerpc/powerpc32/elf/start.S: Likewise.
43371         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43372         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43373         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43374         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43375         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43376         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43377         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43378         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43379         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43380         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43381         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43382         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43383         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43384         * powerpc/powerpc32/memset.S: Likewise.
43385         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43386         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43387         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43388         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43389         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43390         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43391         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43392         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43393         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43394         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43395         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43396         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43397         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43398
43399 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43400
43401         * math/libm-test.inc: Added more nearbyint tests.
43402         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43403         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43404         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43405         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43406
43407 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43408
43409         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43410         FD_CLOEXEC.
43411
43412 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43413
43414         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43415         Add wcscpy-ssse3 wcscpy-c.
43416         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43417         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43418         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43419         * sysdeps/x86_64/wcschr.S: New file.
43420         * sysdeps/x86_64/wcsrchr.S: New file.
43421         * string/test-strcmp.c: Remove checking of wcscmp function for
43422         wrong alignments.
43423         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43424         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43425         wcsrchr-sse2 wcsrchr-c.
43426         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43427         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43428         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43429         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43430         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43431         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43432         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43433         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43434         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43435         * wcsmbc/wcschr.c (WCSCHR): New macro.
43436
43437 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43438
43439         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43440         * wcsmbs/test-wcsrchr.c: New file.
43441         * string/test-strrchr.c: Add wcsrchr support.
43442         (WIDE): New macro.
43443         * wcsmbs/test-wcscpy.c: New file.
43444         * string/test-strcpy.c: Add wcscpy support.
43445         (WIDE): New macro.
43446
43447 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43448
43449         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43450         the inner loop.
43451
43452 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43453
43454         [BZ #13472]
43455         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43456
43457 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43458
43459         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43460         Minor optimizations.
43461
43462         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43463         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43464         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43465
43466 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43467
43468         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43469         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43470         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43471         for gcc to avoid warnings.
43472         * inet/Makefile (tests): Add tst-checks.
43473         * inet/tst-checks.c: New file.
43474
43475         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43476         warning.
43477
43478         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43479         __wmemcmp_sse2.
43480
43481         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43482         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43483
43484         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43485
43486 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43487
43488         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43489         problem.
43490
43491         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43492
43493 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43494
43495         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43496         conditional on GCC version.
43497         (__arch_compare_and_exchange_val_8_acq)
43498         (__arch_compare_and_exchange_val_16_acq)
43499         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43500         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43501         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43502
43503 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43504
43505         * sysdeps/sh/backtrace.c: New file.
43506
43507 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43508
43509         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43510         parenthesis.
43511
43512 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43513
43514         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43515         falling back to utime.
43516
43517 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43518
43519         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43520         expectations for float.
43521
43522 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43523
43524         * locale/weight.h (findidx): Add parameter len.
43525         * locale/weightwc.h (findidx): Likewise.
43526         * posix/fnmatch_loop.c (FCT): Adjust caller.
43527         * posix/regcomp.c (build_equiv_class): Likewise.
43528         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43529         * posix/regexec.c (check_node_accept_bytes): Likewise.
43530         * string/strcoll_l.c (STRCOLL): Likewise.
43531         * string/strxfrm_l.c (STRXFRM): Likewise.
43532
43533 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43534
43535         * Makefile.in: Remove CVSOPT handling.
43536         * configure.in: Remove use of AC_REVISION.
43537         * iconvdata/Makefile (distribute): No need to filter out CVS.
43538         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43539         handling.
43540
43541 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43542
43543         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43544         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43545         [USE_AS_STRNCASECMP_L]: Likewise.
43546         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43547         NO_TLS_DIRECT_SEG_REFS.
43548         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43549         Fix argument offsets for non-PIC.
43550         [USE_AS_STRNCASECMP_L]: Likewise.
43551         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43552         NO_TLS_DIRECT_SEG_REFS.
43553
43554 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43555
43556         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43557         O_CLOEXEC.
43558         * locale/loadlocale.c (_nl_load_locale): Likewise.
43559
43560 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43561
43562         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43563         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43564         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43565         (SYSCALL_GETTIME): Set errno on error.
43566
43567         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43568         count references to noai6ai_cached.
43569
43570 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43571
43572         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43573
43574         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43575         FD_CLOEXEC for /proc/self/maps.
43576
43577         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43578         FD_CLOEXEC for /proc/meminfo.
43579
43580         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43581         gai.conf.
43582
43583         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43584         FD_CLOEXEC for given file.
43585
43586         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43587
43588         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43589         FD_CLOEXEC for /etc/hosts.
43590         (_gethtent): Likewise.
43591
43592         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43593
43594         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43595         cancellation and set FD_CLOEXEC for /etc/netgroup.
43596
43597         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43598         reading /etc/publickey.
43599
43600         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43601         allow cancellation when reading /etc/group.
43602
43603         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43604         cancellation.
43605         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43606
43607         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43608         when using data file.
43609
43610         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43611
43612         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43613         (write_nis_obj): Use "c" and "e" in fopen.
43614
43615         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43616
43617         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43618
43619         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43620
43621         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43622
43623         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43624         locale.alias.
43625
43626         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43627
43628         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43629
43630         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43631
43632         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43633         file parsing and set FD_CLOEXEC.
43634
43635 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43636
43637         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43638
43639 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43640
43641         * malloc/arena.c (arena_get2): Don't call reused_arena when
43642         _int_new_arena failed.
43643
43644 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43645
43646         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43647         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43648         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43649         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43650         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43651         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43652         to compile strcasecmp and strncasecmp.
43653         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43654         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43655
43656         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43657
43658 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43659
43660         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43661         locale-defines.sym to gen-as-const-headers.
43662         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43663         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43664         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43665         to compile strcasecmp and strncasecmp.
43666         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43667         strcasecmp_l and strncasecmp_l.
43668         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43669         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43670         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43671         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43672         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43673         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43674         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43675         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43676         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43677         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43678         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43679
43680 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43681
43682         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43683         result of SYSDEP_GETTIME_CPU to retval.
43684         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43685         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43686
43687         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43688         variable.
43689
43690         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43691         mantissa words.
43692         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43693
43694         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43695         from unused variable.
43696
43697         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43698         DWARF definitions.
43699         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43700         for assembling.
43701
43702         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43703         over namespaces.
43704
43705         * sunrpc/rpc_prot.c (rejected): Fix case value.
43706
43707         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43708         unsigned long long int to avoid warnings in shift.
43709
43710         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43711         of use of trans.
43712         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43713         variable tmp.
43714
43715         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43716         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43717         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43718
43719         * nis/nis_table.c (nis_list): Use variable of correct type for
43720         result of __follow_path call.
43721
43722 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43723
43724         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43725         of math functions ceil, trunc, floor, round, and sqrt, when
43726         avaliable on the platform.
43727         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43728         name clash.
43729         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43730         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43731         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43732
43733 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43734
43735         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43736         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43737
43738 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43739
43740         * include/unistd.h: Fix __readlink return type.
43741         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43742
43743 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43744
43745         * stdlib/ucontext.h: Undo last change for makecontext.
43746
43747 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43748
43749         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43750
43751         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43752         * setjmp/setjmp.h: Mark functions as non-leaf.
43753         * setjmp/bits/setjmp2.h: Likewise.
43754         * stdlib/ucontext.h: Likewise.
43755
43756 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43757
43758         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43759         (reused_arena): Don't check arena limit.
43760         (arena_get2): Atomically check arena limit.
43761
43762 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43763
43764         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43765         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43766
43767         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43768         instructions.
43769
43770 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43771
43772         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43773         handler when locking.
43774
43775         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43776         Fix size of allocated buffer.
43777
43778 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43779
43780         [BZ #10103]
43781         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43782         declarations for long double functions.
43783         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43784
43785         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43786
43787 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43788
43789         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43790         installed.
43791
43792         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43793         is disabled.
43794
43795 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43796
43797         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43798
43799 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43800
43801         * include/alloca.h (stackinfo_alloca_round): Define.
43802         (extend_alloca): Use it.
43803         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43804         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43805         here.
43806
43807         * scripts/check-local-headers.sh: Ignore libaudit.h.
43808
43809         * nscd/Makefile (extra-objs): Make recursively expanded.
43810
43811 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43812
43813         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43814         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43815
43816         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43817         * posix/tst-rfc3484-2.c: Likewise.
43818         * posix/tst-rfc3484-3.c: Likewise.
43819
43820         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43821         process_vm_writev.
43822         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43823         process_vm_writev.
43824         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43825         process_vm_writev from libc using GLIBC_2.15 version.
43826
43827         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43828
43829 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43830
43831         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43832         stack usage.
43833
43834 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43835
43836         [BZ #13367]
43837         * nss/getent.c (initgroups_keys): Show error message in case no group
43838         names are given.
43839
43840         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43841         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43842         __bump_nl_timestamp.
43843         * nscd/connections (nscd_init): When host database is served open
43844         netlink socket and request notification about configuration changes.
43845         (main_loop_poll): Track netlink file descriptor and bump timestamp
43846         in case data becomes available.
43847         (main_loop_epoll): Likewise.
43848         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43849         (database_pers_head): Add extra_data fileds.
43850         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43851         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43852         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43853         Adjust caller.
43854         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43855         in6ai data, call __free_in6ai.
43856         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43857         Add -DHAVE_NETLINK.
43858         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43859         interface information.  Reuse previous data if netlink timestamp
43860         is not changed.
43861         (__bump_nl_timestamp): New function.
43862         (__free_in6ai): New function.
43863
43864 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43865
43866         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43867         close_not_cancel_no_status here.
43868         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43869
43870 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43871
43872         [BZ #13276]
43873         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43874         return value.
43875
43876         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43877         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43878         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43879
43880 2011-07-03  Andreas Jaeger  <aj@suse.de>
43881
43882         [BZ #10709]
43883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43884         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43885         * math/libm-test.inc (sin_test): Add test case.
43886
43887 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43888
43889         [BZ #13337]
43890         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43891         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43892
43893         * elf/chroot_canon.c (chroot_canon): Cleanups.
43894
43895         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43896
43897         [BZ #13335]
43898         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43899         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43900
43901         * string/test-strchr.c: Make usable for strchrnul testing.
43902         * string/test-strchrnul.c: New file.
43903         * string/Makefile (strop-tests): Add strchrnul.
43904
43905         * po/it.po: Update from translation team.
43906         * po/es.po: Likewise.
43907
43908 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43909
43910         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43911         the three constants needed as parameters.  Drop the others.
43912         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43913         __m128i_strloadu_tolower.
43914         Create and initialize variable zero and use it in all the places
43915         where _mm_setzero_si128 was used.
43916
43917         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43918         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43919         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43920         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43921         anymore.
43922         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43923         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43924         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43925         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43926         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43927         __mpranred, __mptan.
43928         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43929         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43930         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43931         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43932         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43933         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43934         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43935         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43936         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43937
43938 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43939
43940         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43941         redefine if SHARED.
43942         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43943
43944         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43945         wide char related routines to wcsmbs subdir.
43946
43947 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43948
43949         [BZ #13344]
43950         * misc/sys/cdefs.h (__THROWNL): Define.
43951         * posix/unistd.h: Use __THREADNL instead of __THREAD
43952         for memory synchronization functions.
43953
43954 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43955
43956         [BZ #13349]
43957         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43958         doesn't exist.
43959         * manual/stdio.texi (Obstack Streams): Node removed.
43960
43961 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43962
43963         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43964         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43965         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43966
43967         * math/math_private.h (math_force_eval): Allow non-addressable
43968         arguments.
43969         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43970
43971 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43972
43973         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43974         file is not needed.
43975
43976         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43977         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43978         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43979         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43980         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43981         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43982         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43983         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43984         Add AVX variants.
43985         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43986         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43987         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43988         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43989         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43990         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43991         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43992         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43993         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43994         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43995         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43996         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43997         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43998         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43999         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44000         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44001         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44002         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44003         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44004
44005         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44006         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44007
44008         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44009         place.  Use VEX encoding when compiling for AVX.
44010
44011 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44012
44013         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44014         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44015
44016         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44017
44018 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44019
44020         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44021         useless if() expression.
44022         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44023         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44024         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44025         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44026         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44027         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44028         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44029         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44030         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44031         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44032         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44033         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44034         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44035         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44036         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44037         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44038         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44039         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44040         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44041
44042         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44043
44044 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44045
44046         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44047         condition.
44048         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44049
44050 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44051
44052         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44053         .text section.  Avoid duplicate constants.
44054         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44055         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44056         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44058         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44059         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44060         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44061         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44062         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44063         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44064         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44065         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44066         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44067         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44068         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44069         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44070         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44071         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44072         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44073         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44074         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44075         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44076         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44077         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44078         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44079         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44080         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44081         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44082         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44083         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44084         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44085         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44086         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44087         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44088         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44089         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44090         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44091         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44092         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44093         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44094         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44095         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44096         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44097         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44098         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44099
44100 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44101
44102         * sysdeps/x86_64/dla.h: Move to ...
44103         * sysdeps/x86_64/fpu/dla.h: ...here.
44104         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44105         situations.  Use __builtin_fma only for gcc 4.6 and up.
44106
44107         * config.make.in: Add have-mfma4 entry.
44108         * configure.in: Substitute libc_cv_cc_fma4.
44109         * math/Makefile (dbl-only-routines): Add sincostab.
44110         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44111         Use __sincostab not sincos.
44112         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44113         name is a macro.
44114         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44115         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44117         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44118         using __copysign.
44119         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44120         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44121         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44122         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44123         and __inv.
44124         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44125         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44126         __copysign.
44127         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44128         define aliases when function name is a macro.
44129         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44130         sysdeps/ieee754/dbl-64/sincos.tbl.
44131         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44132         fma4-enabled routines.
44133         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44134         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44135         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44136         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44137         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44138         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44139         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44140         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44141         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44142         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44143         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44144         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44145         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44146         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44147         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44148         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44149         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44150         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44151         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44152         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44153         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44154         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44155         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44156         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44157         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44158         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44159         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44160         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44161         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44162         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44163
44164         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44165         rename.
44166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44167         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44168         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44169         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44170         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44171         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44172         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44173         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44174
44175 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44176
44177         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44178
44179 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44180
44181         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44182
44183         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44184         prediction.
44185         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44186
44187         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44188         Remove unused variable magic_bits.
44189         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44190
44191         * string/strnlen.c: Define and use STRNLEN macro.
44192         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44193         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44194         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44195         * wcsmbs/wcslen.c: Define and use WCSLEN.
44196         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44197         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44198         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44199         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44200         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44201         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44202         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44203
44204 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44205
44206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44207         strnlen-sse2-no-bsf.
44208         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44209         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44210         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44211         Add strnlen support.
44212         (USE_AS_STRNLEN): New macro.
44213         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44214         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44215         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44216         * sysdeps/x86_64/wcslen.S: New file.
44217
44218 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44219
44220         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44221         XMM-moves are used for copying on small sizes.
44222
44223 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44224
44225         * wcsmbs/Makefile (strop-tests): Add wcschr.
44226         * wcsmbs/test-wcschr.c: New file.
44227         * string/test-strchr.c: Update.
44228         Add wcschr support.
44229         (WIDE): New macro.
44230
44231 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44232
44233         * wcsmbs/Makefile (strop-tests): Add wcslen.
44234         * wcsmbs/test-wcslen.c: New file.
44235         * string/test-strlen.c: Update.
44236         Add wcslen support.
44237         (WIDE): New macro.
44238
44239 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44240
44241         * po/it.po: Update from translation team.
44242
44243 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44244
44245         * sysdeps/x86_64/wcscmp.S: Update.
44246         Fix wrong comparison semantics.
44247         wcscmp shall use signed comparison not unsigned.
44248         Don't use substraction to avoid overflow bug.
44249         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44250         * wcsmbc/wcscmp.c: Likewise.
44251         * string/test-strcmp.c: Likewise.
44252         Add new tests to check cases with negative values.
44253
44254 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44255
44256         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44257         * sysdeps/x86_64/dla.h: ...here.  New file.
44258         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44259         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44265         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44266         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44267
44268 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44269
44270         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44271         __ynl_finite aliases.
44272
44273 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44274
44275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44276
44277         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44278         define DLA_FMA.
44279         [DLA_FMA] (EMULV): Use DLA_FMA.
44280         [DLA_FMA] (MUL12): Use EMULV.
44281         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44282         that are not needed.
44283         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44284         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44285         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44287         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44288         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44290
44291 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44292
44293         * math/s_nan.c: Undef __nan.
44294         * math/s_nanf.c: Undef __nanf.
44295         * math/s_nanl.c: Undef __nanl.
44296         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44297         "math_private.h".
44298
44299 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44300
44301         * math/s_catan.c: Add branch predictions.
44302         * math/s_catanf.c: Likewise.
44303         * math/s_catanh.c: Likewise.
44304         * math/s_catanhf.c: Likewise.
44305         * math/s_catanhl.c: Likewise.
44306         * math/s_catanl.c: Likewise.
44307         * math/s_cexp.c: Likewise.
44308         * math/s_cexpf.c: Likewise.
44309         * math/s_cexpl.c: Likewise.
44310         * math/s_clog.c: Likewise.
44311         * math/s_clog10.c: Likewise.
44312         * math/s_clog10f.c: Likewise.
44313         * math/s_clog10l.c: Likewise.
44314         * math/s_clogf.c: Likewise.
44315         * math/s_clogl.c: Likewise.
44316         * math/s_csqrt.c: Likewise.
44317         * math/s_csqrtf.c: Likewise.
44318         * math/s_csqrtl.c: Likewise.
44319         * math/s_ctanf.c: Likewise.
44320         * math/s_ctanh.c: Likewise.
44321         * math/s_ctanhf.c: Likewise.
44322         * math/s_ctanhl.c: Likewise.
44323         * math/s_ctanl.c: Likewise.
44324
44325         * math/math_private.h: Define __nan, __nanf, __nanl.
44326         * math/s_cacosh.c: Include <math_private.h>.
44327         * math/s_cacoshl.c: Likewise.
44328         * math/s_casinh.c: Likewise.
44329         * math/s_casinhf.c: Likewise.
44330         * math/s_casinhl.c: Likewise.
44331         * math/s_ccos.c: Rely entire on ccosh.
44332         * math/s_ccosf.c: Rely entire on ccoshf.
44333         * math/s_ccosl.c: Rely entirely on ccoshl.
44334         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44335         Remove tests for FE_INVALID.
44336         * math/s_ccoshf.c: Likewise.
44337         * math/s_ccoshl.c: Likewise.
44338         * math/s_csin.c: Likewise.
44339         * math/s_csinf.c: Likewise.
44340         * math/s_csinh.c Likewise.
44341         * math/s_csinhf.c: Likewise.
44342         * math/s_csinhl.c: Likewise.
44343         * math/s_csinl.c: Likewise.
44344         * math/s_ctan.c: Likewise.
44345         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44346         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44347         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44348
44349 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44350
44351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44352         compilation problems.
44353
44354         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44355         __builtin_expect.
44356
44357 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44358
44359         * sysdeps/i386/configure.in: Test for -mfma4 option.
44360         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44361         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44362         COMMON_CPUID_INDEX_80000001.
44363         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44364         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44365         use it if FMA3 is not supported.
44366         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44367
44368         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44369         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44370
44371 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44372
44373         [BZ #12892]
44374         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44375         it would create a cycle with a link time dependency.
44376
44377 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44378
44379         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44380         instruction.
44381         * string/Makefile (strop-tests): Add rawmemchr.
44382         * string/test-rawmemchr.c: New file.
44383
44384         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44385         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44386         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44387         when compiling str{,n}casecmp and when AVX is available.  Hook up
44388         new optimized code in initializers.
44389
44390 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44391
44392         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44393         __feraiseexcept instead of feraiseexcept.
44394
44395 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44396
44397         * math/math_private.h: Define defaults for libc_fetestexcept and
44398         libc_feupdateenv.
44399         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44400         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44401         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44402         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44403         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44404         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44405         libc_fetestexcept and libc_feupdateenv.
44406
44407         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44408         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44409         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44410         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44411         libc_feholdexcept_setround.
44412
44413         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44414         Add s_nearbyint-c and s_nearbyintf-c.
44415         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44416         nearbyintf inlines.
44417         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44418         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44419         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44420         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44421
44422         * math/math_private.h: Define defaults for libc_fegetround,
44423         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44424         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44425         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44426         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44427         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44428         standard functions.
44429         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44430         Remove comments and hacks for old compiler versions.
44431         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44432         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44433         libc_feholdexceptl.
44434
44435 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44436
44437         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44438         (__feraiseexcept_renamed): Add __NTH.
44439         (feraiseexcept): Add __NTH.  Rename local variables to fix
44440         namespace violations.
44441
44442 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44443
44444         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44445
44446         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44447
44448         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44449         recently added interfaces.
44450         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44451
44452         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44453         about macro parameter expansion.
44454
44455         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44456         __NO_MATH_INLINES is defined.  Cleanups.
44457
44458         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44459         and __floorf is target has SSE4.1.
44460         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44461         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44462         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44463         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44464
44465         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44466         name.
44467         (floorf): Likewise.
44468
44469         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44470
44471 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44472
44473         * misc/sys/cdefs.h: Fix last change.
44474
44475         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44476         database lookup.
44477
44478 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44479
44480         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44481
44482         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44483         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44484         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44485         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44486         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44487         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44488         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44489         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44490         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44491         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44492         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44493         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44494         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44495         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44496         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44497         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44498         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44499         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44500         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44501         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44502         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44503         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44504
44505         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44506         ceil, ceilf, floor, floorf.
44507
44508         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44509         Perform IRELATIVE relocations last.
44510
44511         * elf/do-rel.h: Add another parameter nrelative, replacing the
44512         local variable with the same name.  Change name of the function
44513         to end in Rel or Rela (uppercase).
44514         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44515         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44516         elf_dynamic_do_##reloc function.
44517
44518 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44519
44520         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44521         is sufficient, at least on modern CPUs.
44522
44523         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44524
44525         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44526         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44527
44528         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44529         __expl_finite.
44530         * math/bits/math-finite.h: Add entries for exp.
44531         * math/e_expl.c: Add __*_finite alias.
44532         * sysdeps/i386/fpu/e_exp.S: Likewise.
44533         * sysdeps/i386/fpu/e_expf.S: Likewise.
44534         * sysdeps/i386/fpu/e_expl.c: Likewise.
44535         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44536         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44537         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44538         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44539         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44540         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44541         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44542
44543         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44544         is sufficient, at least on modern CPUs.
44545
44546         * ctype/ctype-info.c (__ctype_init): Define.
44547         * include/ctype.h (__ctype_init): Declare.
44548         (__ctype_b_loc): The variable is always initialized.
44549         (__ctype_toupper_loc): Likewise.
44550         (__ctype_tolower_loc): Likewise.
44551         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44552         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44553
44554 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44555
44556         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44557
44558         * configure.in: Also look in $cxxmachine/include for C++ system
44559         headers.
44560
44561 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44562
44563         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44564         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44565         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44566         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44567         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44568         (USE_AS_WMEMCMP): New macro.
44569         Fixing indents.
44570         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44571         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44572         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44573         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44574         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44575         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44576         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44577         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44578         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44579         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44580         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44581         (USE_AS_WMEMCMP): New macro.
44582         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44583         * sysdeps/string/test-memcmp.c: Update.
44584         Fix simple_wmemcmp.
44585         Add new tests.
44586         * wcsmbs/wmemcmp.c: Update.
44587         (WMEMCMP): New macro.
44588         Fix overflow bug.
44589
44590 2011-10-12  Andreas Jaeger  <aj@suse.de>
44591
44592         [BZ #13268]
44593         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44594
44595 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44596
44597         * libio/iofwide.c (do_length): Avoid warning.
44598
44599         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44600
44601 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44602
44603         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44604
44605         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44606         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44607         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44608         * sysdeps/i386/i686/fpu/e_log.S: New file.
44609         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44610         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44611
44612         * ctype/ctype.h: Add support for inlined isXXX functions when
44613         compiling C++ code.
44614
44615 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44616
44617         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44618
44619         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44620
44621 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44622
44623         [BZ #13291]
44624         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44625
44626 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44627
44628         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44629         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44630         feraiseexcept.
44631
44632         * sysdeps/x86_64/memrchr.S: Check for zero size.
44633
44634         * string/stratcliff.c: Add memrchr tests.
44635
44636 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44637
44638         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44639         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44640         rawmemchr-sse2 rawmemchr-sse2-bsf.
44641         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44642         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44643         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44644         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44645         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44646         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44647         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44648         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44649         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44650         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44651         * string/memrchr.c (MEMRCHR): New macro.
44652
44653 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44654
44655         Add integration with gcc's -ffinite-math-only and optimize wrapper
44656         functions in libm.
44657         * Versions.def: Define GLIBC_2.15 version for libm.
44658         * math/Makefile (headers): Add bits/math-finite.h.
44659         * math/bits/math-finite.h: New file.
44660         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44661         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44662         * math/e_acoshl.c: Add __*_finite alias.
44663         * math/e_acosl.c: Likewise.
44664         * math/e_asinl.c: Likewise.
44665         * math/e_atan2l.c: Likewise.
44666         * math/e_atanhl.c: Likewise.
44667         * math/e_coshl.c: Likewise.
44668         * math/e_exp10.c: Likewise.
44669         * math/e_exp10f.c: Likewise.
44670         * math/e_exp10l.c: Likewise.
44671         * math/e_exp2l.c: Likewise.
44672         * math/e_fmodl.c: Likewise.
44673         * math/e_gammal_r.c: Likewise.
44674         * math/e_hypotl.c: Likewise.
44675         * math/e_j0l.c: Likewise.
44676         * math/e_j1l.c: Likewise.
44677         * math/e_jnl.c: Likewise.
44678         * math/e_lgammal_r.c: Likewise.
44679         * math/e_log10l.c: Likewise.
44680         * math/e_log2l.c: Likewise.
44681         * math/e_logl.c: Likewise.
44682         * math/e_powl.c: Likewise.
44683         * math/e_sinhl.c: Likewise.
44684         * math/e_sqrtl.c: Likewise.
44685         * math/e_scalb.c: Completely rewritten and optimized.
44686         * math/e_scalbf.c: Likewise.
44687         * math/e_scalbl.c: Likewise.
44688         * math/w_acos.c: Likewise.
44689         * math/w_acosf.c: Likewise.
44690         * math/w_acosl.c: Likewise.
44691         * math/w_acosh.c: Likewise.
44692         * math/w_acoshf.c: Likewise.
44693         * math/w_acoshl.c: Likewise.
44694         * math/w_asin.c: Likewise.
44695         * math/w_asinf.c: Likewise.
44696         * math/w_asinl.c: Likewise.
44697         * math/w_atan2.c: Likewise.
44698         * math/w_atan2f.c: Likewise.
44699         * math/w_atan2l.c: Likewise.
44700         * math/w_atanh.c: Likewise.
44701         * math/w_atanhf.c: Likewise.
44702         * math/w_atanhl.c: Likewise.
44703         * math/w_exp10.c: Likewise.
44704         * math/w_exp10f.c: Likewise.
44705         * math/w_exp10l.c: Likewise.
44706         * math/w_fmod.c: Likewise.
44707         * math/w_fmodf.c: Likewise.
44708         * math/w_fmodl.c: Likewise.
44709         * math/w_j0.c: Likewise.
44710         * math/w_j0f.c: Likewise.
44711         * math/w_j0l.c: Likewise.
44712         * math/w_j1.c: Likewise.
44713         * math/w_j1f.c: Likewise.
44714         * math/w_j1l.c: Likewise.
44715         * math/w_jn.c: Likewise.
44716         * math/w_jnf.c: Likewise.
44717         * math/w_log.c: Likewise.
44718         * math/w_logf.c: Likewise.
44719         * math/w_logl.c: Likewise.
44720         * math/w_log10.c: Likewise.
44721         * math/w_log10f.c: Likewise.
44722         * math/w_log10l.c: Likewise.
44723         * math/w_log2.c: Likewise.
44724         * math/w_log2f.c: Likewise.
44725         * math/w_log2l.c: Likewise.
44726         * math/w_pow.c: Likewise.
44727         * math/w_powf.c: Likewise.
44728         * math/w_powl.c: Likewise.
44729         * math/w_remainder.c: Likewise.
44730         * math/w_remainderf.c: Likewise.
44731         * math/w_remainderl.c: Likewise.
44732         * math/w_scalb.c: Likewise.
44733         * math/w_scalbf.c: Likewise.
44734         * math/w_scalbl.c: Likewise.
44735         * math/w_sqrt.c: Likewise.
44736         * math/w_sqrtf.c: Likewise.
44737         * math/w_sqrtl.c: Likewise.
44738         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44739         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44740         used.
44741         * math/math_private.h: Declare __kernel_standard_f.
44742         * math/w_cosh.c: Remove cruft and optimize a bit.
44743         * math/w_coshf.c: Likewise.
44744         * math/w_coshl.c: Likewise.
44745         * math/w_exp2.c: Likewise.
44746         * math/w_exp2f.c: Likewise.
44747         * math/w_exp2l.c: Likewise.
44748         * math/w_hypot.c: Likewise.
44749         * math/w_hypotf.c: Likewise.
44750         * math/w_hypotl.c: Likewise.
44751         * math/w_lgamma.c: Likewise.
44752         * math/w_lgamma_r.c: Likewise.
44753         * math/w_lgammaf.c: Likewise.
44754         * math/w_lgammaf_r.c: Likewise.
44755         * math/w_lgammal.c: Likewise.
44756         * math/w_lgammal_r.c: Likewise.
44757         * math/w_sinh.c: Likewise.
44758         * math/w_sinhf.c: Likewise.
44759         * math/w_sinhl.c: Likewise.
44760         * math/w_tgamma.c: Likewise.
44761         * math/w_tgammaf.c: Likewise.
44762         * math/w_tgammal.c: Likewise.
44763         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44764         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44765         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44766         Minor optimizations.  Pretty printing.  Remove cruft.
44767         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44768         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44769         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44770         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44771         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44772         * sysdeps/i386/fpu/e_asin.S: Likewise.
44773         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44774         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44775         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44776         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44777         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44778         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44779         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44780         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44781         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44782         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44783         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44784         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44785         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44786         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44787         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44788         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44789         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44790         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44791         * sysdeps/i386/fpu/e_log.S: Likewise.
44792         * sysdeps/i386/fpu/e_log10.S: Likewise.
44793         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44794         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44795         * sysdeps/i386/fpu/e_log2.S: Likewise.
44796         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44797         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44798         * sysdeps/i386/fpu/e_logf.S: Likewise.
44799         * sysdeps/i386/fpu/e_logl.S: Likewise.
44800         * sysdeps/i386/fpu/e_pow.S: Likewise.
44801         * sysdeps/i386/fpu/e_powf.S: Likewise.
44802         * sysdeps/i386/fpu/e_powl.S: Likewise.
44803         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44804         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44805         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44806         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44807         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44808         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44809         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44810         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44811         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44812         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44815         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44816         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44817         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44818         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44819         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44820         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44821         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44822         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44823         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44824         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44825         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44826         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44828         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44829         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44830         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44831         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44832         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44833         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44834         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44835         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44836         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44837         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44838         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44839         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44840         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44841         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44842         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44843         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44844         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44845         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44846         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44847         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44848         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44849         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44850         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44851         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44852         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44853         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44854         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44855         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44856         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44857         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44858         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44859         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44860         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44861         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44862         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44863         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44864         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44865         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44866         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44867         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44868         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44869         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44870         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44871         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44872         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44873         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44874         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44876         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44877         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44878         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44879         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44880         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44881         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44882         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44883         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44884         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44885         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44886         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44887         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44888         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44889         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44890         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44891         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44892         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44893         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44894         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44895         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44896         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44897         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44898         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44899         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44900         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44901         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44902         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44903         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44904         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44905         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44906         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44907         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44908         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44909         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44910         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44911         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44912         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44913         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44914         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44915         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44916         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44917         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44918         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44919         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44920         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44921         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44922         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44923         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44924         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44925         (__isnanf): Likewise.
44926         (__isinf_ns): Likewise.
44927         (__isinf_nsf): Likewise.
44928         (__finite): Likewise.
44929         (__finitef): Likewise.
44930         (__ieee754_sqrt): Define as macro.
44931         (__ieee754_sqrtf): Define as macro.
44932         (__ieee754_sqrtl): Define as macro.
44933         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44934         inlined copy.
44935         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44936         __FINITE_MATH_ONLY__ consistent.
44937         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44938
44939 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44940
44941         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44942         of rawmemchr.
44943
44944         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44945
44946 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44947
44948         * po/ja.po: Update from translation team.
44949
44950 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44951
44952         * locale/programs/locarchive.c (prepare_address_space): New function.
44953         (create_archive, enlarge_archive, open_archive): Use it.
44954
44955         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44956         inside [SHARED], where it is used.
44957
44958         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44959
44960         * nss/getent.c (netgroup_keys): Remove unused variable.
44961         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44962
44963 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44964
44965         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44966         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44967         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44968         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44969         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44970         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44971         * math/Makefile (libm-calls): Add s_isinf_ns.
44972         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44973         * math/multc3.c: Likewise.
44974         * math/s_casin.c: Likewise.
44975         * math/s_casinf.c: Likewise.
44976         * math/s_casinl.c: Likewise.
44977         * math/s_ccos.c: Likewise.
44978         * math/s_ccosf.c: Likewise.
44979         * math/s_ccosl.c: Likewise.
44980         * math/s_ctan.c: Likewise.
44981         * math/s_ctanf.c: Likewise.
44982         * math/s_ctanh.c: Likewise.
44983         * math/s_ctanhf.c: Likewise.
44984         * math/s_ctanhl.c: Likewise.
44985         * math/s_ctanl.c: Likewise.
44986         * math/w_fmod.c: Likewise.
44987         * math/w_fmodf.c: Likewise.
44988         * math/w_fmodl.c: Likewise.
44989         * math/w_remainder.c: Likewise.
44990         * math/w_remainderf.c: Likewise.
44991         * math/w_remainderl.c: Likewise.
44992         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44993         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44994         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44995         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44996         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44997         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44998         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44999         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45000
45001         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45002         of the number.
45003         * stdio-common/printf_fphex.c: Likewise.
45004         * stdio-common/printf_size.c: Likewise.
45005
45006         * math/e_exp10.c: Include math_private.h using <...> not "...".
45007         * math/e_exp10f.c: Likewise.
45008         * math/e_exp10l.c: Likewise.
45009         * math/e_exp2l.c: Likewise.
45010         * math/e_j0l.c: Likewise.
45011         * math/e_j1l.c: Likewise.
45012         * math/e_jnl.c: Likewise.
45013         * math/e_lgammal_r.c: Likewise.
45014         * math/e_rem_pio2l.c: Likewise.
45015         * math/e_scalb.c: Likewise.
45016         * math/e_scalbf.c: Likewise.
45017         * math/e_scalbl.c: Likewise.
45018         * math/k_cosl.c: Likewise.
45019         * math/k_sinl.c: Likewise.
45020         * math/k_tanl.c: Likewise.
45021         * math/s_cacoshf.c: Likewise.
45022         * math/s_catan.c: Likewise.
45023         * math/s_catanf.c: Likewise.
45024         * math/s_catanh.c: Likewise.
45025         * math/s_catanhf.c: Likewise.
45026         * math/s_catanhl.c: Likewise.
45027         * math/s_catanl.c: Likewise.
45028         * math/s_ccosh.c: Likewise.
45029         * math/s_ccoshf.c: Likewise.
45030         * math/s_ccoshl.c: Likewise.
45031         * math/s_cexp.c: Likewise.
45032         * math/s_cexpf.c: Likewise.
45033         * math/s_cexpl.c: Likewise.
45034         * math/s_clog.c: Likewise.
45035         * math/s_clog10.c: Likewise.
45036         * math/s_clog10f.c: Likewise.
45037         * math/s_clog10l.c: Likewise.
45038         * math/s_clogf.c: Likewise.
45039         * math/s_clogl.c: Likewise.
45040         * math/s_csin.c: Likewise.
45041         * math/s_csinf.c: Likewise.
45042         * math/s_csinh.c: Likewise.
45043         * math/s_csinhf.c: Likewise.
45044         * math/s_csinhl.c: Likewise.
45045         * math/s_csinl.c: Likewise.
45046         * math/s_csqrt.c: Likewise.
45047         * math/s_csqrtf.c: Likewise.
45048         * math/s_csqrtl.c: Likewise.
45049         * math/s_ctan.c: Likewise.
45050         * math/s_ctanf.c: Likewise.
45051         * math/s_ctanh.c: Likewise.
45052         * math/s_ctanhf.c: Likewise.
45053         * math/s_ctanhl.c: Likewise.
45054         * math/s_ctanl.c: Likewise.
45055         * math/s_ldexp.c: Likewise.
45056         * math/s_ldexpf.c: Likewise.
45057         * math/s_ldexpl.c: Likewise.
45058         * math/s_significand.c: Likewise.
45059         * math/s_significandf.c: Likewise.
45060         * math/s_significandl.c: Likewise.
45061         * math/w_acos.c: Likewise.
45062         * math/w_acosf.c: Likewise.
45063         * math/w_acosh.c: Likewise.
45064         * math/w_acoshf.c: Likewise.
45065         * math/w_acoshl.c: Likewise.
45066         * math/w_acosl.c: Likewise.
45067         * math/w_asin.c: Likewise.
45068         * math/w_asinf.c: Likewise.
45069         * math/w_asinl.c: Likewise.
45070         * math/w_atan2.c: Likewise.
45071         * math/w_atan2f.c: Likewise.
45072         * math/w_atan2l.c: Likewise.
45073         * math/w_atanh.c: Likewise.
45074         * math/w_atanhf.c: Likewise.
45075         * math/w_atanhl.c: Likewise.
45076         * math/w_cosh.c: Likewise.
45077         * math/w_coshf.c: Likewise.
45078         * math/w_coshl.c: Likewise.
45079         * math/w_dremf.c: Likewise.
45080         * math/w_exp10.c: Likewise.
45081         * math/w_exp10f.c: Likewise.
45082         * math/w_exp10l.c: Likewise.
45083         * math/w_exp2.c: Likewise.
45084         * math/w_exp2f.c: Likewise.
45085         * math/w_fmod.c: Likewise.
45086         * math/w_fmodf.c: Likewise.
45087         * math/w_fmodl.c: Likewise.
45088         * math/w_hypot.c: Likewise.
45089         * math/w_hypotf.c: Likewise.
45090         * math/w_hypotl.c: Likewise.
45091         * math/w_j0.c: Likewise.
45092         * math/w_j0f.c: Likewise.
45093         * math/w_j0l.c: Likewise.
45094         * math/w_j1.c: Likewise.
45095         * math/w_j1f.c: Likewise.
45096         * math/w_j1l.c: Likewise.
45097         * math/w_jn.c: Likewise.
45098         * math/w_jnf.c: Likewise.
45099         * math/w_jnl.c: Likewise.
45100         * math/w_lgamma.c: Likewise.
45101         * math/w_lgamma_r.c: Likewise.
45102         * math/w_lgammaf.c: Likewise.
45103         * math/w_lgammaf_r.c: Likewise.
45104         * math/w_lgammal.c: Likewise.
45105         * math/w_lgammal_r.c: Likewise.
45106         * math/w_log.c: Likewise.
45107         * math/w_log10.c: Likewise.
45108         * math/w_log10f.c: Likewise.
45109         * math/w_log10l.c: Likewise.
45110         * math/w_log2.c: Likewise.
45111         * math/w_log2f.c: Likewise.
45112         * math/w_log2l.c: Likewise.
45113         * math/w_logf.c: Likewise.
45114         * math/w_logl.c: Likewise.
45115         * math/w_pow.c: Likewise.
45116         * math/w_powf.c: Likewise.
45117         * math/w_powl.c: Likewise.
45118         * math/w_remainder.c: Likewise.
45119         * math/w_remainderf.c: Likewise.
45120         * math/w_remainderl.c: Likewise.
45121         * math/w_scalb.c: Likewise.
45122         * math/w_scalbf.c: Likewise.
45123         * math/w_scalbl.c: Likewise.
45124         * math/w_sinh.c: Likewise.
45125         * math/w_sinhf.c: Likewise.
45126         * math/w_sinhl.c: Likewise.
45127         * math/w_sqrt.c: Likewise.
45128         * math/w_sqrtf.c: Likewise.
45129         * math/w_sqrtl.c: Likewise.
45130         * math/w_tgamma.c: Likewise.
45131         * math/w_tgammaf.c: Likewise.
45132         * math/w_tgammal.c: Likewise.
45133
45134         * po/ja.po: Update from translation team.
45135
45136 2011-09-29  Andreas Jaeger  <aj@suse.de>
45137
45138         [BZ #13179]
45139         * sunrpc/netname.c (netname2host): Fix logic.
45140
45141         [BZ #6779]
45142         [BZ #6783]
45143         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45144         correctly.
45145         * math/w_remainder.c (__remainder): Likewise.
45146         * math/w_remainderf.c (__remainderf): Likewise.
45147         * math/libm-test.inc (remainder_test): Add test cases.
45148
45149 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45150
45151         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45152         sdiv_qrnnd.
45153
45154 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45155
45156         * string/test-memcmp.c: Avoid unncessary #defines.
45157         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45158
45159 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45160
45161         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45162         Use new sse2 version for core i3 - i7 as it's faster
45163         than sse42 version.
45164         (bit_Prefer_PMINUB_for_stringop): New.
45165         * sysdeps/x86_64/rawmemchr.S: Update.
45166         Replace with faster SSE2 version.
45167         * sysdeps/x86_64/memrchr.S: New file.
45168         * sysdeps/x86_64/memchr.S: Update.
45169         Replace with faster SSE2 version.
45170
45171 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45172
45173         * elf/dl-load.c (lose): Add cast to avoid warning.
45174
45175 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45176
45177         * po/ca.po: Update from translation team.
45178
45179         * inet/getnetgrent_r.c: Hook up nscd.
45180         * nscd/Makefile (routines): Add nscd_netgroup.
45181         (nscd-modules): Add netgroupcache.
45182         (CFLAGS-netgroupcache.c): Define.
45183         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45184         (cache_search): Add const to second parameter.
45185         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45186         INNETGR.
45187         (dbs): Add netgrdb entry.
45188         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45189         (verify_persistent_db): Handle netgrdb.
45190         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45191         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45192         GETFDNETGR.
45193         (netgroup_response_header): Define.
45194         (innetgroup_response_header): Define.
45195         (datahead): Add netgroup_response_header and innetgroup_response_header
45196         elements.
45197         * nscd/nscd.conf: Add entries for netgroup cache.
45198         * nscd/nscd.h (dbtype): Add netgrdb.
45199         (_PATH_NSCD_NETGROUP_DB): Define.
45200         (netgroup_iov_disabled): Declare.
45201         (xmalloc, xcalloc, xrealloc): Move declarations here.
45202         (cache_search): Adjust prototype.
45203         Add netgroup-related prototypes.
45204         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45205         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45206         (__nscd_innetgr): Declare.
45207         * nscd/selinux.c (perms): Use access_vector_t as element type and
45208         add netgroup-related initializers.
45209         * nscd/netgroupcache.c: New file.
45210         * nscd/nscd_netgroup.c: New file.
45211         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45212         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45213         For four parameters use innetgr.
45214         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45215         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45216         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45217         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45218
45219         * nscd/connections.c (register_traced_file): Don't register file
45220         for disabled databases.
45221
45222 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45223
45224         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45225
45226         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45227         from tree and freeing node.
45228
45229 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45230
45231         * nss/nsswitch.c (__nss_database_lookup): Handle
45232         nss_parse_service_list out of memory case.
45233
45234 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45235
45236         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45237         out of memory case.
45238
45239 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45240
45241         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45242         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45243         pass it down.
45244         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45245         elf_machine_rela, elf_machine_lazy_rel.
45246         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45247         (ELF_DYNAMIC_DO_REL): Likewise.
45248         (ELF_DYNAMIC_DO_RELA): Likewise.
45249         (ELF_DYNAMIC_RELOCATE): Likewise.
45250         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45251         to ELF_DYNAMIC_DO_REL.
45252         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45253         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45254         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45255         elf_machine_rela.
45256         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45257         skip_ifunc, don't call ifunc function if non-zero.
45258         (elf_machine_rela): Likewise.
45259         (elf_machine_lazy_rel): Likewise.
45260         (elf_machine_lazy_rela): Likewise.
45261         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45262         (elf_machine_lazy_rel): Likewise.
45263         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45264         Likewise.
45265         (elf_machine_lazy_rel): Likewise.
45266         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45267         Likewise.
45268         (elf_machine_lazy_rel): Likewise.
45269         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45270         (elf_machine_lazy_rel): Likewise.
45271         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45272         (elf_machine_lazy_rel): Likewise.
45273         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45274         (elf_machine_lazy_rel): Likewise.
45275         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45276         (elf_machine_lazy_rel): Likewise.
45277         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45278         (elf_machine_lazy_rel): Likewise.
45279         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45280         (elf_machine_lazy_rel): Likewise.
45281
45282 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45283
45284         * nss/nss_files/files-init.c (_nss_files_init): Use static
45285         initialization for all the *_traced_file variables.
45286
45287 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45288
45289         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45290
45291 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45292
45293         [BZ #13226]
45294         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45295
45296 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45297
45298         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45299         Reread the line before reparsing it.
45300
45301 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45302
45303         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45304
45305 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45306             Maxim Kuvyrkov  <maxim@codesourcery.com>
45307             Joseph Myers  <joseph@codesourcery.com>
45308
45309         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45310         if needed for __stack_chk_guard.
45311
45312 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45313
45314         * sysdeps/posix/spawni.c (script_execute): Always define it.
45315         It will be optimized away if unused.
45316         (maybe_script_execute): New function.
45317         (__spawni): Call it.
45318
45319         * Makerules: Don't include tls.make.
45320         (config-tls): Always set to thread.
45321         * tls.make.c: File removed.
45322
45323 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45324
45325         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45326         * config.make.in (CPPFLAGS-config): New substituted variable.
45327
45328 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45329
45330         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45331
45332         [BZ #13192]
45333         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45334         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45335
45336 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45337
45338         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45339         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45340         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45341         (CALL_FAIL): Likewise.
45342         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45343         (CALL_FAIL): Macro removed.
45344         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45345
45346 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45347
45348         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45349         for __FINITE_MATH_ONLY__ == 1.
45350
45351 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45352
45353         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45354         __ieee754_sqrt instead of sqrt.
45355         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45356         __ieee754_sqrtf instead of sqrtf.
45357         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45358         __floorf instead of floorf.
45359         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45360         __floorf, __truncf instead of floorf, truncf.
45361
45362 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45363
45364         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45365
45366         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45367         __extern_always_inline.
45368         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45369         32-bit.
45370
45371 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45372
45373         * elf/rtld.c (dl_main): Also relocate in dependency order when
45374         doing symbol dependency testing.
45375
45376 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45377
45378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45379         Always define `refsym'.
45380
45381 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45382
45383         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45384         (__FD_ELT): Renamed from __FDELT.
45385         * misc/bits/select2.h (__FD_ELT): Likewise.
45386         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45387         __FD_MASK instead of __FDELT, __FDMASK.
45388         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45389         Likewise.
45390         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45391         Likewise.
45392
45393         * elf/Makefile (gen-ldd): Fix pattern.
45394
45395         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45396         (init_tls): Likewise.
45397
45398 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45399
45400         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45401
45402 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45403
45404         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45405         `struct cmsghdr *' instead of `void *'.
45406         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45407         Likewise.
45408
45409 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45410
45411         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45412         if non-absolute.
45413         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45414         ldd_rewrite_script.
45415
45416 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45417
45418         * configure.in: Remove --with-tls option.
45419         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45420         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45421         out in case it is missing.
45422         * sysdeps/ia64/elf/configure.in: Likewise.
45423         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45424         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45425         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45426         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45427         * sysdeps/sh/elf/configure.in: Likewise.
45428         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45429         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45430         * sysdeps/x86_64/elf/configure.in: Likewise.
45431         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45432         * sysdeps/mach/hurd/tls.h: Likewise.
45433
45434         [BZ #13067]
45435         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45436
45437         [BZ #13090]
45438         * configure.in: Fix use of AC_INIT.
45439
45440         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45441
45442 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45443
45444         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45445         __set_errno.
45446         * malloc/hooks.c: Likewise.
45447
45448         [BZ #11929]
45449         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45450         variables statically.
45451         (narenas): Initialize.
45452         (list_lock): Initialize.
45453         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45454         initializtion of main_arena and list_lock.  Small cleanups.
45455         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45456         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45457         Add initializers to main_arena and mp_.
45458         (malloc_state): Remove pagesize member.  Change all users to use
45459         GLRO(dl_pagesize).
45460
45461         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45462         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45463         is always initialized.
45464
45465         * malloc/malloc.c: Removed unused configurations and dead code.
45466         * malloc/arena.c: Likewise.
45467         * malloc/hooks.c: Likewise.
45468         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45469
45470         * include/tls.h: Removed.  USE___THREAD must always be defined.
45471         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45472         * elf/dl-libc.c: Likewise.
45473         * elf/dl-tsd.c: Likewise.
45474         * include/errno.h: Likewise.
45475         * include/netdb.h: Likewise.
45476         * include/resolv.h: Likewise.
45477         * inet/herrno-loc.c: Likewise.
45478         * inet/herrno.c: Likewise.
45479         * malloc/arena.c: Likewise.
45480         * malloc/hooks.c: Likewise.
45481         * malloc/malloc.c: Likewise.
45482         * resolv/res-state.c: Likewise.
45483         * resolv/res_libc.c: Likewise.
45484         * sysdeps/i386/dl-machine.h: Likewise.
45485         * sysdeps/ia64/dl-machine.h: Likewise.
45486         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45487         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45488         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45489         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45490         * sysdeps/sh/dl-machine.h: Likewise.
45491         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45492         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45493         * sysdeps/unix/i386/sysdep.S: Likewise.
45494         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45495         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45496         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45497         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45498         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45499         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45500         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45501         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45502         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45503         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45504         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45505         * sysdeps/x86_64/dl-machine.h: Likewise.
45506         * tls.make.c: Likewise.
45507
45508         * configure.in: Remove --with-__thread option.  Make tests for
45509         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45510         tls_model attribute fail if no support is available.  Remove
45511         USE_IN_LIBIO.
45512         * Makeconfig: Adjust for dropped configure option.  All features are
45513         now mandatory.
45514         * Makerules: Likewise.
45515         * Versions.def: Likewise.
45516         * argp/argp-fmtstream.c: Likewise.
45517         * argp/argp-fmtstream.h: Likewise.
45518         * argp/argp-help.c: Likewise.
45519         * assert/assert.c: Likewise.
45520         * config.h.in: Likewise.
45521         * config.make.in: Likewise.
45522         * configure: Likewise.
45523         * configure.in: Likewise.
45524         * csu/Versions: Likewise.
45525         * csu/init.c: Likewise.
45526         * elf/tst-audit2.c: Likewise.
45527         * elf/tst-tls10.c: Likewise.
45528         * elf/tst-tls10.h: Likewise.
45529         * elf/tst-tls11.c: Likewise.
45530         * elf/tst-tls12.c: Likewise.
45531         * elf/tst-tls14.c: Likewise.
45532         * elf/tst-tlsmod11.c: Likewise.
45533         * elf/tst-tlsmod12.c: Likewise.
45534         * elf/tst-tlsmod13.c: Likewise.
45535         * elf/tst-tlsmod13a.c: Likewise.
45536         * elf/tst-tlsmod14a.c: Likewise.
45537         * elf/tst-tlsmod15b.c: Likewise.
45538         * elf/tst-tlsmod16a.c: Likewise.
45539         * elf/tst-tlsmod16b.c: Likewise.
45540         * elf/tst-tlsmod7.c: Likewise.
45541         * elf/tst-tlsmod8.c: Likewise.
45542         * elf/tst-tlsmod9.c: Likewise.
45543         * gmon/gmon.c: Likewise.
45544         * grp/fgetgrent_r.c: Likewise.
45545         * grp/putgrent.c: Likewise.
45546         * hurd/fopenport.c: Likewise.
45547         * include/libc-symbols.h: Likewise.
45548         * include/tls.h: Likewise.
45549         * intl/gettextP.h: Likewise.
45550         * intl/loadinfo.h: Likewise.
45551         * locale/global-locale.c: Likewise.
45552         * locale/localeinfo.h: Likewise.
45553         * mach/devstream.c: Likewise.
45554         * malloc/arena.c: Likewise.
45555         * malloc/set-freeres.c: Likewise.
45556         * misc/err.c: Likewise.
45557         * misc/getttyent.c: Likewise.
45558         * misc/mntent_r.c: Likewise.
45559         * posix/getopt.c: Likewise.
45560         * posix/wordexp.c: Likewise.
45561         * pwd/fgetpwent_r.c: Likewise.
45562         * resolv/Versions: Likewise.
45563         * resolv/res_hconf.c: Likewise.
45564         * shadow/fgetspent_r.c: Likewise.
45565         * shadow/putspent.c: Likewise.
45566         * stdio-common/printf_fphex.c: Likewise.
45567         * stdio-common/tmpfile.c: Likewise.
45568         * stdlib/abort.c: Likewise.
45569         * stdlib/fmtmsg.c: Likewise.
45570         * sunrpc/auth_unix.c: Likewise.
45571         * sunrpc/clnt_perr.c: Likewise.
45572         * sunrpc/clnt_tcp.c: Likewise.
45573         * sunrpc/clnt_udp.c: Likewise.
45574         * sunrpc/clnt_unix.c: Likewise.
45575         * sunrpc/openchild.c: Likewise.
45576         * sunrpc/svc_simple.c: Likewise.
45577         * sunrpc/svc_tcp.c: Likewise.
45578         * sunrpc/svc_udp.c: Likewise.
45579         * sunrpc/svc_unix.c: Likewise.
45580         * sunrpc/xdr.c: Likewise.
45581         * sunrpc/xdr_array.c: Likewise.
45582         * sunrpc/xdr_rec.c: Likewise.
45583         * sunrpc/xdr_ref.c: Likewise.
45584         * sunrpc/xdr_stdio.c: Likewise.
45585
45586 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45587
45588         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45589
45590 2011-07-03  Andreas Jaeger  <aj@suse.de>
45591
45592         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45593         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45594         regenerate with gen-libm-tests.pl.
45595
45596 2010-05-12  Petr Baudis  <pasky@suse.cz>
45597
45598         [BZ #11589]
45599         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45600         around j0() zero points by switching to j1().
45601         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45602         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45603         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45604         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45605
45606 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45607
45608         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45609         instead of 0.
45610         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45611         instead of 0.
45612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45613         Patch in part by Pavel Roskin <proski@gnu.org>.
45614
45615         [BZ #13138]
45616         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45617         realloc.
45618         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45619         Free memory block if necessary.
45620
45621         [BZ #12847]
45622         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45623         be NULL.  Don't lock in this case.
45624
45625 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45626
45627         * elf/elf.h (ELFOSABI_GNU): New macro.
45628         (ELFOSABI_LINUX): Define to that.
45629
45630 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45631
45632         * string/strncat.c (strncat): Undef the symbol in case it has been
45633         defined in bits/string.h.
45634
45635 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45636
45637         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45638
45639         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45640         link map.
45641
45642 2011-08-17  Andreas Jaeger  <aj@suse.de>
45643
45644         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45645
45646 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45647             Ian Lance Taylor  <iant@google.com>
45648
45649         * math/libm-test.inc (lround_test): New testcase.
45650         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45651
45652 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45653
45654         * Makefile: Remove support for automatic cvs check-ins.
45655         * Makerules: Likewise.
45656         * config.make.in: Likewise.
45657         * configure.in: Likewise.
45658         * intl/Makefile: Likewise.
45659         * locale/Makefile: Likewise.
45660         * po/Makefile: Likewise.
45661         * posix/Makefile: Likewise.
45662         * sysdeps/gnu/Makefile: Likewise.
45663         * sysdeps/mach/hurd/Makefile: Likewise.
45664         * sysdeps/sparc/sparc32/Makefile: Likewise.
45665
45666         [BZ #13118]
45667         * posix/Makefile (bug-regex32-ENV): Define.
45668         Patch by John Stanley <jpsinthemix@verizon.net>.
45669
45670         * misc/Makefile (headers): Add bits/select2.h.
45671         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45672         * misc/bits/select2.h: New file.
45673         * include/bits/select2.h: New file.
45674         * debug/Makefile (routines): Add fdelt_chk.
45675         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45676         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45677         FD_ISSET.
45678         * debug/fdelt_chk.c: New file.
45679
45680         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45681         * wcsmbs/test-wmemcmp.c: Likewise.
45682         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45683         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45684
45685 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45686
45687         * string/Makefile (strop-tests): Add memcmp.
45688         * string/test-wmemcmp.c: New file.
45689         * string/test-memcmp.c: Add wmemcmp support.
45690
45691 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45692
45693         [BZ #13153]
45694         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45695         2011-07-19 change.
45696
45697         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45698         garbage value in a __mach_port_mod_refs call in the cases of the
45699         task-self and thread-self ports.
45700
45701 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45702
45703         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45704
45705 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45706
45707         * elf/dl-load.c (lose): Check for non-null L.
45708
45709 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45710
45711         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45712
45713         * elf/dl-libc.c (dlerror_run): Pass back error code from
45714         dl_catch_error.
45715
45716         [BZ #13123]
45717         * elf/dl-load.c (lose): Free l_origin if it is valid.
45718
45719         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45720         names.
45721         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45722         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45723         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45724         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45725         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45726         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45727
45728 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45729
45730         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45731         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45732         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45733         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45734         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45735         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45736         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45737         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45738         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45739         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45740
45741 2011-08-15  Alan Modra  <amodra@gmail.com>
45742
45743         [BZ #13092]
45744         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45745         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45746         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45747         ppc_mcount to static-only-routines.
45748         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45749         __mcount_internal.
45750         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45751         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45752
45753 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45754
45755         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45756         for finite and infinity parameters.
45757
45758 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45759
45760         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45761         and add nop instructions for throughput optimization.
45762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45763
45764 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45765
45766         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45767         aligned copy for power7 with vector-scalar instructions.
45768         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45769
45770 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45771
45772         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45773         AVX check.
45774
45775 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45776
45777         [BZ #13144]
45778         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45779         last change.
45780
45781 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45782
45783         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45784         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45785         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45786         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45787         clock_gettime.
45788
45789 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45790
45791         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45792         Forgot to demangle the pointer.
45793
45794         * sysdeps/i386/sysdep.h: Define atom_text_section.
45795         * sysdeps/x86_64/sysdep.h: Likewise.
45796         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45797         section with atom_text_section.
45798         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45799         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45800         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45801         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45802         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45803
45804         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45805         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45806         already be defined.  Change to take two parameters and don't assign
45807         result to variable.  Adjust all users.
45808         Define INTERNAL_GETTIME if not already defined.
45809         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45810         call.
45811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45812         HAVE_CLOCK_GETTIME_VSYSCALL.
45813         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45814
45815         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45816         gettimeofday vsyscall, just use time.
45817
45818 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45819
45820         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45821         <errno.h>.
45822
45823 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45824
45825         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45826         syscall on x86-64.
45827         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45828         syscall.
45829         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45830         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45831         syscall if possible.
45832
45833 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45834
45835         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45836         e_ident.  Don't pass to find_mapsXX.
45837         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45838
45839 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45840
45841         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45842         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45843         * sysdeps/x86_64/multiarch/strchr.S: Update.
45844         Check bit_slow_BSF bit.
45845         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45846         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45847         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45848
45849 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45850
45851         [BZ #13134]
45852         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45853         before glibc 2.15.
45854         (tryshell): Define.
45855         (__spawni): Change last parameter to be flag.  Test
45856         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45857         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45858         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45859         * posix/spawni.c: Likewise.
45860         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45861         * posix/spawnp.c: Likewise.  Change normal version to use
45862         SPAWN_XFLAGS_USE_PATH.
45863         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45864         SPAWN_XFLAGS_TRY_SHELL.
45865
45866         [BZ #13150]
45867         * posix/glob.h: Remove gcc 1.x support.
45868
45869         [BZ #13068]
45870         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45871
45872 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45873
45874         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45875         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45876         strrchr-sse2-bsf
45877         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45878         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45879         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45880         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45881         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45882         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45883
45884 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45885
45886         * sysdeps/x86_64/wcscmp.S: New file.
45887
45888         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45889         wcscmp-c wcscmp-sse2
45890         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45891         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45892         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45893         * wcsmbs/wcscmp.c: Allow renaming.
45894
45895 2011-09-05  David S. Miller  <davem@davemloft.net>
45896
45897         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45898         stack slot, rather than the struct return pointer slot.
45899         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45900         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45902         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45903
45904 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45905
45906         * po/ja.po: Update from translation team.
45907
45908         [BZ #13144]
45909         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45910         kernel in 64-bit binaries.
45911
45912 2011-09-01  David S. Miller  <davem@davemloft.net>
45913
45914         * elf/elf.h (HWCAP_SPARC_*): Move to..
45915         * sysdeps/sparc/sysdep.h: this new file and add new values.
45916         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45917         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45918         _DL_HWCAP_COUNT to 24.
45919         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45920         entries.
45921         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45922         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45923         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45925         instead of magic constants.
45926         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45927
45928 2011-08-31  David S. Miller  <davem@davemloft.net>
45929
45930         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45932         Reimplement to do errno handling inline.
45933         (SYSCALL_ERROR_HANDLER): New macro.
45934         (__SYSCALL_STRING): Do not do errno handling in asm.
45935         (__CLONE_SYSCALL_STRING): Delete.
45936         (__INTERNAL_SYSCALL_STRING): Delete.
45937         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45938         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45939         (PSEUDO): Reimplement to do errno handling inline.
45940         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45941         (SYSCALL_ERROR_HANDLER): New macro.
45942         (__SYSCALL_STRING): Do not do errno handling in asm.
45943         (__CLONE_SYSCALL_STRING): Delete.
45944         (__INTERNAL_SYSCALL_STRING): Delete.
45945         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45946         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45947         i386.
45948         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45949         (inline_syscall*): Add 'err' argument.
45950         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45951         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45952         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45953         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45954
45955         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45956         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45957
45958 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45959
45960         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45961
45962 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45963
45964         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45965         directive.
45966
45967 2011-08-24  David S. Miller  <davem@davemloft.net>
45968
45969         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45970
45971 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45972
45973         * elf/Makefile: Add rules to build and run unload8 test.
45974         * elf/unload8.c: New file.
45975         * elf/unload8mod1.c: New file.
45976         * elf/unload8mod1x.c: New file.
45977         * elf/unload8mod2.c: New file.
45978         * elf/unload8mod3.c: New file.
45979
45980         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45981         it wasn't used.
45982
45983 2011-08-23  David S. Miller  <davem@davemloft.net>
45984
45985         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45986         subtract stack bias.
45987         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45988         %sp not %fp in calculations.
45989         (_JMPBUF_UNWINDS_ADJ): Likewise.
45990
45991         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45992         (aio_suspend): Call it to force an exception region around the
45993         AIO_MISC_WAIT() invocation.
45994
45995 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45996
45997         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45998         backslash.
45999
46000 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46001
46002         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46003         protection macro.
46004         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46005         and <dl-machine.h>.
46006         (Elf64_FuncDesc): Remove.
46007
46008 2011-08-22  David S. Miller  <davem@davemloft.net>
46009
46010         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46011         sigaltstack check, add missing cfi directives.
46012         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46013         missing cfi directives, and sigaltstack handling.
46014
46015 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46016
46017         [BZ #11724]
46018         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46019         object is seen twice.
46020         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46021
46022         * elf/Makefile (distribute): Add tst-initorder2.c.
46023         (tests): Add tst-initorder2.
46024         (modules-names): Add tst-initorder2a tst-initorder2b
46025         tst-initorder2c tst-initorder2d.  Add rules to build them.
46026         ($(objpfx)tst-initorder2.out): New rule.
46027         * elf/tst-initorder2.c: New file.
46028         * elf/tst-initorder2.exp: New file.
46029
46030 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46031
46032         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46033
46034         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46035         dependencies back to end of function.
46036
46037         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46038         $(elfobjdir)/ld.so.
46039
46040 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46041
46042         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46043         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46044         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46045         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46046         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46047         of __vdso_gettimeofday.
46048         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46049         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46050         attribute_hidden.
46051         (_libc_vdso_platform_setup): Remove initialization of
46052         __vdso_gettimeofday and __vdso_time.
46053
46054 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46055
46056         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46057         and fgetc_unlocked.
46058         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46059         getc_unlocked.
46060
46061         * elf/dl-open.c (add_to_global): Report additions to the global scope
46062         for LD_DEBUG=scopes.
46063         (dl_open_worker): Also print scope of newly loaded dependencies.
46064         (_dl_show_scope): Indicate if there is no scope.
46065
46066         [BZ #13114]
46067         * stdio-common/Makefile (tests): Add bug24.
46068         * stdio-common/bug24.c: New file.
46069
46070 2011-08-19  Andreas Jaeger  <aj@suse.de>
46071
46072         [BZ #13114]
46073         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46074         non-existant file when using close-on-exec mode.
46075
46076 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46077
46078         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46079         the very first instruction.
46080
46081         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46082         the CFI state in the end.
46083         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46084         inclusion of dl-trampoline.h.
46085         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46086
46087 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46088
46089         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46090         expectations for long double.
46091
46092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46093         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46094
46095 2011-08-14  David S. Miller  <davem@davemloft.net>
46096
46097         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46098         artificual limit depends upon the system page size.
46099
46100 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46101
46102         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46103         * resolv/Makefile: Define CFLAGS-libresolv.
46104
46105 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46106
46107         * nss/makedb.c (compute_tables): Make variables used in nested
46108         function static.
46109
46110 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46111
46112         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46113         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46114         if buffer was too small.
46115
46116         * elf/pldd.c (main): Attach to all threads in the process.
46117         Rewrite /proc handling to use *at functions.
46118
46119 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46120
46121         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46122         specifies first scope to show.
46123         (dl_open_worker): Update callers.  Move printing scope of new
46124         object to before the relocation.
46125         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46126         * sysdeps/generic/ldsodefs.h: Update declaration.
46127
46128         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46129         string for the scope number.
46130
46131 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46132
46133         * nscd/servicescache.c (cache_addserv): Make sure written is always
46134         initialized.
46135
46136 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46137
46138         * sysdeps/i386/i486/bits/atomic.h
46139         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46140         statement expression, so as to suppress "set but not used" warning.
46141         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46142
46143         * string/strncat.c (STRNCAT): Use prototype definition.
46144
46145         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46146         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46147         -Iprograms here.
46148         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46149         (localedef-modules): Add localedef.
46150         (locale-modules): Add locale.
46151
46152         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46153         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46154         to avoid a warning.
46155
46156 2011-08-14  David S. Miller  <davem@davemloft.net>
46157
46158         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46159         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46160
46161 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46162
46163         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46164         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46165         * elf/rtld.c (dl_main): Set l_name of vDSO.
46166         Call _dl_show_scope when DL_DEBUG_SCOPES.
46167         (process_dl_debug): Recognize scopes flag and also set it for all.
46168         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46169         Declare _dl_show_scope.
46170
46171         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46172         (do_dlopen): Pass caller_dlopen to dl_open.
46173         (__libc_dlopen_mode): Initialize caller_dlopen.
46174
46175         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46176         of libc.  Make tolower call locale-independent.  Optimize a bit by
46177         using isdigit instead of isalnum.
46178         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46179
46180 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46181
46182         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46183         was a dependency or dynamically loaded.
46184
46185 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46186
46187         * intl/l10nflist.c: Allow architecture-specific pop function.
46188         * sysdeps/x86_64/l10nflist.c: New file.
46189
46190         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46191         classification.
46192
46193 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46194
46195         * include/dirent.h: Add libc_hidden_proto for scandirat and
46196         scandirat64.  Don't declare __scandirat64.
46197         * dirent/scandirat.c: Add libc_hidden_def.
46198         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46199         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46200
46201 2011-08-10  David S. Miller  <davem@davemloft.net>
46202
46203         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46204         enum.
46205         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46206         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46207         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46208
46209 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46210
46211         * Versions.def [libc]: Add GLIBC_2.15.
46212         * dirent/Makefile (routines): Add scandirat and scandirat64.
46213         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46214         GLIBC_2.15.
46215         * dirent/dirent.h: Declare scandirat and scandirat64.
46216         * dirent/scandirat.c: New file.
46217         * dirent/scandirat64.c: New file.
46218         * sysdeps/wordsize-64/scandirat.c: New file.
46219         * sysdeps/wordsize-64/scandirat64.c: New file.
46220         * dirent/opendir.c: Define opendirat.
46221         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46222         using scandirat.
46223         * dirent/scandir64.c: Adjust for scandir.c change.
46224         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46225         __scandirat64, and __scandir_cancel_handler.
46226         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46227         additional parameter and use openat instead of open (outside of ld.so).
46228         Add new __opendir as wrapper around __opendirat.
46229         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46230         here without requiring old scandirat implementation.
46231
46232 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46233
46234         * dirent/scandir.c (cancel_handler): Renamed to
46235         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46236         defined.  Adjust users.
46237         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46238         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46239
46240 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46241
46242         * string/test-string.h (IMPL): Use __STRING to expand name and then
46243         stringify it.
46244
46245         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46246         of cleanups.
46247
46248 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46249
46250         * string/Makefile: Update.
46251         (strop-tests): Append strncat.
46252         * string/test-wcscmp.c: New file.
46253         New comprehensive test for wcscmp.
46254         * string/test-strcmp.c: Update.
46255         (WIDE): New define.
46256
46257 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46258
46259         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46260         line.
46261
46262 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46263
46264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46265         encoding to ACE if AI_IDN.
46266
46267 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46268
46269         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46270         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46271
46272 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46273
46274         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46275         Fix overflow bug in strncat.
46276         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46277
46278         * string/test-strncat.c: Update.
46279         Add new tests for checking overflow bugs.
46280
46281 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46282
46283         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46284         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46285         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46286         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46288         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46289         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46290         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46291         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46292
46293         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46294         (USE_AS_STRCAT): Define.
46295         Add strcat and strncat support.
46296         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46297
46298 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46299
46300         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46301         __n bigger than INT_MAX+1.
46302         (__strncmp_g): Likewise.
46303
46304 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46305
46306         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46307         * libio/stido.h: Likewise.
46308
46309         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46310         (AF_NFC): Define.
46311         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46312         (AF_NFC): Define.
46313
46314         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46315         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46316         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46317         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46318         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46319
46320         [BZ #13021]
46321         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46322         installed.
46323
46324         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46325         typo.
46326         (_dl_x86_64_save_sse): Likewise.
46327
46328 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46329
46330         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46331         OSXSAVE.
46332         (_dl_x86_64_save_sse): Likewise.
46333
46334         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46335
46336         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46337
46338 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46339
46340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46341         change.
46342         (_dl_x86_64_save_sse): Use correct AVX check.
46343
46344 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46345
46346         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46347         bug in strncpy/strncat.
46348         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46349
46350 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46351
46352         * string/tester.c (test_strcat): Add tests for different alignments
46353         of source and destination.
46354         (test_strncat): Likewise.
46355
46356 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46357
46358         [BZ #12852]
46359         * posix/glob.c (glob): Check passed in values before using them in
46360         expressions to avoid some overflows.
46361         (glob_in_dir): Likewise.
46362
46363         [BZ #13007]
46364         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46365         check for AVX enablement so that we don't crash with old kernels and
46366         new hardware.
46367         * elf/tst-audit4.c: Add same checks here.
46368         * elf/tst-audit6.c: Likewise.
46369
46370         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46371
46372 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46373
46374         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46375
46376 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46377
46378         * po/cs.po: Update from translation team.
46379         * po/bg.po: Likewise.
46380
46381 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46382
46383         * misc/sys/cdefs.h: Add support for const attribute.
46384         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46385         to gnu_dev_{major,minor,makedev} functions.
46386
46387 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46388
46389         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46390
46391 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46392
46393         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46394         strlen results.
46395
46396 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46397
46398         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46399         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46400         register in order to avoid conflicts with the soft frame pointer
46401         being held in r11 when necessary.
46402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46403         (INTERNAL_VSYSCALL_NCS): Likewise.
46404
46405 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46406
46407         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46408         * elf/dl-fini.c (_dl_fini): Adjust caller.
46409         * elf/dl-close.c (_dl_close_worker): Likewise.
46410         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46411
46412 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46413
46414         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46415         "aux_cache->nlibs < 0".
46416
46417         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46418         in the reload-count case.
46419
46420 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46421
46422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46423         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46424         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46425         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46426         * sysdeps/x86_64/multiarch/strcat.S: New file.
46427         * sysdeps/x86_64/multiarch/strncat.S: New file.
46428         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46429         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46430         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46431         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46432         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46433         (USE_AS_STRCAT): Define.
46434         Add strcat and strncat support.
46435         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46436         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46437         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46438         * string/strncat.c: Update.
46439         (USE_AS_STRNCAT): Define.
46440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46441         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46442         and i7.
46443         * sysdeps/x86_64/multiarch/init-arch.h
46444         (bit_Prefer_PMINUB_for_stringop): New.
46445         (index_Prefer_PMINUB_for_stringop): Likewise.
46446         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46447         bit_Prefer_PMINUB_for_stringop.
46448
46449 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46450
46451         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46452         buffer64.
46453         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46454         of casting of buffer.
46455         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46456         buffer32 and buffer64.
46457         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46458         writes instead of casting of buffer.
46459         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46460         buffer32.
46461         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46462         casting of buffer.
46463
46464 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46465
46466         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46467
46468 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46469
46470         * nscd/nscd.c (termination_handler): Don't do anything for a database
46471         if it has not yet been initialized.
46472
46473 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46474
46475         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46476
46477 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46478
46479         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46480
46481 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46482
46483         * po/nl.po: Update from translation team.
46484         * po/sv.po: Likewise.
46485
46486 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46487
46488         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46489         now disallowed by GCC.
46490
46491         * configure.in (use-default-link): Default to yes if a test -shared
46492         link meets our qualifications.
46493         * configure: Regenerated.
46494
46495         * config.make.in (output-format): New variable.
46496         * configure.in: Check for ld --print-output-format support.
46497         * configure: Regenerated.
46498         * Makerules ($(common-objpfx)format.lds)
46499         [$(output-format) != unknown]: Just use $(output-format),
46500         instead of the linker-script munging.
46501
46502 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46503
46504         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46505         of $(common-objpfx)shlib.lds.
46506         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46507
46508         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46509         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46510
46511         * configure.in (-z relro check): Adjust test code to add a large
46512         writable data section after it.
46513         * configure: Regenerated.
46514
46515 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46516
46517         * configure.in (-z relro check): Fix test code to make the variable
46518         truly const.
46519         * configure: Regenerated.
46520
46521 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46522
46523         * nscd/nscd.h (struct traced_file): Define.
46524         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46525         elements.  Add traced_files.
46526         (inotify_fd): Declare.
46527         (register_traced_file): Declare.
46528         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46529         (inotify_fd): Export.
46530         (resolv_conf_descr): Remove.
46531         (nscd_init): Move inotify descriptor creation to main.
46532         Don't register files for notification here.
46533         (register_traced_file): New function.
46534         (invalidate_cache): Don't use reset_res to determine whether to call
46535         res_init, go through the list of registered files.
46536         (main_loop_poll): The inotify descriptors are now stored in the
46537         structures for the traced files.
46538         (main_loop_epoll): Likewise
46539         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46540         to __nss_disable_nscd.
46541         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46542         for a database anymore.  Check the records for all the registered
46543         files instead.
46544         * nss/Makefile (libnss_files-routines): Add files-init.
46545         (libnss_db-routines): Add db-init.
46546         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46547         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46548         * nss/nss_db/db-init.c: New file.
46549         * nss/nss_files/files-init.c: New file.
46550         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46551         __nss_lookup_function.
46552         (__nss_lookup_function): Call nss_load_library.
46553         (nss_load_all_libraries): New function.
46554         (__nss_disable_nscd): Take parameter with callback function for files
46555         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46556         used for the cached services.
46557         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46558         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46559         options for features to all the files in nscd.
46560
46561         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46562
46563 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46564
46565         * csu/elf-init.c (__libc_csu_init): Comment typo.
46566
46567 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46568
46569         * po/pl.po: Update from translation team.
46570         * po/ja.po: Likewise.
46571         * po/ru.po: Likewise.
46572         * po/ko.po: Likewise.
46573         * po/fr.po: Likewise.
46574
46575 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46576
46577         * configure.in (.ctors/.dtors header and trailer check):
46578         Use an empirical test on a built program.
46579         * configure: Regenerated.
46580
46581         * configure.in (-z relro check): Use an empirical test on a built DSO.
46582         Detect, but do not require, on ia64.
46583         * configure: Regenerated.
46584
46585         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46586         Update tests that use readelf to use $READELF instead.
46587         * configure: Regenerated.
46588
46589 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46590
46591         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46592         if the result is not used.
46593
46594 2011-07-05  Andreas Jaeger  <aj@suse.de>
46595
46596         [BZ#9696]
46597         * stdlib/tst-strtod.c: Add testcase.
46598
46599 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46600
46601         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46602         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46603         The latter has a higher limit.  Take additional parameter to pass to
46604         the new function.
46605         (__pathconf): Pass file to __statfs_link_max.
46606         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46607         __statfs_link_max.
46608         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46609         __statfs_link_max.
46610
46611         [BZ #12868]
46612         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46613         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46614         Handle Lustre.
46615         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46616         (__statfs_filesize_max): Likewise.
46617         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46618
46619 2011-07-05  Andreas Jaeger  <aj@suse.de>
46620
46621         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46622
46623 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46624
46625         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46626         `status' variable.
46627         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46628         Likewise.
46629
46630 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46631
46632         * Makefile (strop-tests): Add strncat.
46633         * string/test-strncat.c: New file.
46634
46635 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46636
46637         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46638
46639 2011-06-21  Andreas Jaeger  <aj@suse.de>
46640
46641         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46642         Copy rule from iconvdata/Makefile.
46643
46644 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46645
46646         [BZ #12922]
46647         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46648         but no long options are defined, just return 'W'.
46649
46650 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46651
46652         [BZ #9696]
46653         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46654
46655 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46656
46657         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46658         netgroups to read.
46659         (innetgr): Likewise.
46660
46661 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46662
46663         * config.make.in (install_root): Default to $(DESTDIR).
46664
46665 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46666
46667         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46668
46669 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46670
46671         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46672
46673         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46674         containing directory rather than embedding absolute directory names.
46675
46676         * scripts/check-local-headers.sh: Rewritten using awk.
46677         Match by word, not by line.  Print error messages for matches.
46678         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46679
46680         * Makerules [shlib-lds-flags empty]:
46681         ($(common-objpfx)libc_pic.opts): New target.
46682         ($(common-objpfx)libc_pic.os.clean): New target.
46683         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46684
46685         * config.make.in (OBJCOPY): New variable.
46686         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46687         * configure: Regenerated.
46688
46689         * config.make.in (use-default-link): New variable.
46690         * configure.in (use_default_link): Grok --with-default-link to set it.
46691         * configure: Regenerated.
46692         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46693         (shlib-lds, shlib-lds-flags): Define to empty.
46694
46695         * Makerules (shlib-lds): New variable.
46696         (shlib-lds-flags): New variable.
46697         (build-shlib, build-moduile, build-module-asneeded): Use it.
46698         ($(common-objpfx)libc.so): Use $(shlib-lds).
46699         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46700         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46701
46702         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46703         DT_FLAGS/DT_FLAGS_1 with zero flags.
46704
46705         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46706         linker script munging.
46707
46708 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46709
46710         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46711         as 128-bit value.
46712         * crypt/sha512.c (sha512_process_block): Perform total addition using
46713         128-bit if possible.
46714         (__sha512_finish_ctx): Likewise.
46715         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46716         as 64-bit value.
46717         * crypt/sha256.c (SWAP64): Define.
46718         (sha256_process_block): Perform total addition using 64-bit if
46719         possible.
46720         (__sha256_finish_ctx): Likewise.
46721
46722 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46723
46724         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46725         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46726         * nscd/hstcache.c (cache_addhst): Likewise.
46727         * nscd/grpcache.c (cache_addgr): Likewise.
46728         * nscd/aicache.c (addhstaiX): Likewise
46729         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46730
46731 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46732
46733         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46734         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46735         * nscd/hstcache.c (cache_addhst): Likewise.
46736         * nscd/grpcache.c (cache_addgr): Likewise.
46737         * nscd/aicache.c (addhstaiX): Likewise
46738
46739 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46740
46741         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46742         domain only when needed.
46743
46744 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46745
46746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46747         is always restored.
46748
46749 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46750
46751         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46752         are re-adding the entry.
46753         * nscd/servicescache.c (cache_addserv): Likewise.
46754
46755 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46756
46757         * sysdeps/generic/dl-irel.h: fix protection against multiple
46758         inclusions.
46759         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46760
46761 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46762
46763         [BZ #12935]
46764         * malloc/memusage.sh: Fix quoting in message.
46765         * debug/xtrace.sh: Likewise.
46766
46767         * configure.in: Remove support for --experimental-malloc option, make
46768         it the default.
46769         * config.make.in: Likewise.
46770         * malloc/Makefile: Likewise.
46771
46772 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46773
46774         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46775         two-byte characters.
46776
46777 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46778
46779         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46780         AC_CACHE_CHECK invocation.
46781         * configure: Regenerated.
46782
46783         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46784
46785 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46786
46787         [BZ #12350]
46788         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46789         bit from old_res_options.
46790
46791         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46792
46793         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46794         value type for setfct.
46795
46796 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46797
46798         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46799         __gettimeofday instead of gettimeofday.
46800
46801 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46802
46803         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46804
46805 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46806
46807         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46808
46809         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46810         info.
46811
46812 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46813
46814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46815         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46816         strcpy-sse2-unaligned strncpy-sse2-unaligned
46817         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46818         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46819         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46820         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46821         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46822         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46823         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46824         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46825         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46826         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46827         (STRCPY): Support SSE2 and SSSE3 versions.
46828
46829 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46830
46831         [BZ #12874]
46832         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46833         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46834         kernels which artificially limit size of requests.
46835
46836 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46837
46838         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46839         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46840         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46841         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46842         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46843         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46844         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46845         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46846         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46847         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46848         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46849         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46850         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46851         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46852         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46854         Enable unaligned load optimization for Intel Core i3, i5 and i7
46855         processors.
46856         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46857         Define.
46858         (index_Fast_Unaligned_Load): Define.
46859         (HAS_FAST_UNALIGNED_LOAD): Define.
46860
46861 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46862
46863         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46864
46865 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46866
46867         [BZ #12907]
46868         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46869         until it is clear that the information is realy needed.
46870         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46871
46872 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46873
46874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46875
46876 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46877
46878         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46879         /sys/devices/system/cpu/online if it is usable.
46880
46881         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46882         reading the information from the /proc filesystem to once a second.
46883
46884 2011-06-21  Andreas Jaeger  <aj@suse.de>
46885
46886         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46887         NULL after inclusion of kernel headers.
46888
46889 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46890
46891         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46892         calls to internal_setent.
46893
46894         [BZ #12885]
46895         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46896         addresses using gethostbyname4_r ignore IPv4 addresses.
46897
46898         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46899         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46900
46901         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46902
46903 2011-06-20  David S. Miller  <davem@davemloft.net>
46904
46905         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46906         inclusions.
46907         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46908
46909         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46910         (elf_irel): Use it.
46911         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46912         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46913         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46914         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46915         * sysdeps/x86_64/dl-irel.h: Likewise.
46916
46917         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46918         * elf/dl-sym.c: Likewise.
46919
46920 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46921
46922         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46923         need to dereference resplen2.
46924
46925 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46926
46927         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46928
46929 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46930
46931         * Makeconfig: Define vardbdir and inst_vardbdir.
46932         * nss/Makefile: Add rules to install db-Makefile.
46933
46934         * nss/nss_db/db-XXX.c: Cleanup.
46935
46936         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46937         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46938         GLIBC_PRIVATE.
46939         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46940         * nss/makedb.c: Implement -g option to specify that value strings
46941         are generated and should not be added to table iterated over for
46942         get*ent calls.
46943         * nss/nss_db/db-initgroups.c: New file.
46944
46945         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46946         interface.
46947
46948         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46949         (internal_getgrouplist): Adjust to name change.
46950         Update use_initgroups_entry if this is not the first call.
46951         * nss/databases.def: Add initgroups entry.
46952
46953         * nss/makedb.c (compute_tables): Check result of multiple hash table
46954         sizes to minimize maximum chain length.
46955
46956 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46957
46958         * Versions.def: Add entry for libnss_db.
46959         * shlib-versions: Likewise.
46960         * nss/Makefile: Add rules to build libnss_db.
46961         * nss/Versions: Add libnss_db information.  Organize libnss_files
46962         entries better.
46963         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46964         makedb progra.  Some minor improvements to generate smaller files.
46965         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46966         here from...
46967         * nss/makedb.c: ...here.
46968         Improve database format to be smaller and require less memory at
46969         runtime.
46970         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46971         db anymore.
46972         * nss/nss_db/db-netgrp.c: Likewise.
46973         * nss/nss_db/db-open.c: Likewise.
46974         * nss/nss_files/flies-XXX.x: Adjust comments.
46975         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46976         * nss/nss_files/files-grp.c: Likewise.
46977         * nss/nss_files/files-hosts.c: Likewise.
46978         * nss/nss_files/files-network.c: Likewise.
46979         * nss/nss_files/files-proto.c: Likewise.
46980         * nss/nss_files/files-pwd.c: Likewise.
46981         * nss/nss_files/files-rpc.c: Likewise.
46982         * nss/nss_files/files-service.c: Likewise.
46983         * nss/nss_files/files-sgrp.c: Likewise.
46984         * nss/nss_files/files-spwd.c: Likewise.
46985         * nss/nss_db/db-alias.c: Removed.
46986         * nss/nss_db/dummy-db.h: Removed.
46987
46988 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46989
46990         * nss/makedb.c: Rewritten to not use database library.
46991         * nss/Makefile: Update to build new makedb program.
46992
46993 2011-06-14  Andreas Jaeger  <aj@suse.de>
46994
46995         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46996         memset declaration.
46997
46998 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46999
47000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47001         tmpbuf.
47002
47003 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47004
47005         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47006         * elf/Makefile ($(objpfx)ld.so): Likewise.
47007
47008         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47009         Don't list ld.so twice in dependencies.
47010
47011         * posix/bug-regex31.c: Include <stdlib.h>.
47012
47013         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47014
47015         * nis/nss_compat/compat-spwd.c
47016         (getspent_next_nss_netgr): Remove unused variable.
47017         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47018
47019         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47020         nonmembers" output to use the right array.
47021
47022         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47023
47024         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47025
47026         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47027         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47028         * catgets/gencat.c (read_input_file): Likewise.
47029         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47030
47031         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47032         variable definition inside #if's controlling its use.
47033
47034         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47035
47036         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47037
47038         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47039
47040         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47041         unreachable code.
47042
47043         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47044
47045         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47046         * configure: Regenerated.
47047
47048         * Makerules: Revert last change.
47049         * elf/Makefile: Likewise.
47050
47051 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47052
47053         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47054         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47055         (reloc-link): Likewise.
47056
47057 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47058
47059         * elf/Makefile: Add rules to build pldd.
47060         * elf/pldd.c: New file.
47061         * elf/pldd-xx.c: New file.
47062
47063 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47064
47065         * version.h: Update for 2.15 development version.
47066
47067 2011-06-07  David S. Miller  <davem@davemloft.net>
47068
47069         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47070         ifuncs.
47071         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47072         elf_machine_lazy_rel): Likewise.
47073         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47074         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47075         elf_machine_lazy_rel): Likewise.
47076         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47077         dl_hwcap via passed in argument.
47078         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47079         Likewise.
47080
47081 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47082
47083         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47084
47085 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47086
47087         [BZ #12849]
47088         * manual/fdl-1.1.texi: New file, verbatim from:
47089         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47090         * manual/lgpl-2.1.texi: New file, verbatim from:
47091         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47092         * manual/Makefile (licenses): New variable, list those new file names.
47093         (texis): Use it.
47094         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47095
47096         * manual/fdl.texi: File removed.
47097         * manual/lesser.texi: File removed.
47098         * manual/libc.texinfo (Copying, Documentation License):
47099         Use new @include file names, put @appendix directive before @include.
47100
47101 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47102
47103         [BZ #12841]
47104         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47105         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47106         (mq_open): Add __NTH.
47107
47108 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47109
47110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47111         Assume Intel Core i3/i5/i7 processor if AVX is available.
47112
47113 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47114
47115         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47116         typo.
47117
47118 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47119
47120         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47121         memory.  Use alloca_account.  Fix memory leak when retrying.
47122
47123 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47124
47125         * version.h (RELEASE): Bump for 2.14 release.
47126         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47127
47128         * config.make.in (RANLIB): Remove entry.
47129
47130 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47131
47132         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47133         (libc.pot): Work around missing support for .ksh extension in xgettext.
47134
47135         [BZ #12684]
47136         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47137         if both request failed.
47138         (send_dg): In case of server errors clear resplen or *resplen2.
47139
47140         [BZ #12454]
47141         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47142         when there are multiple maps.
47143         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47144         (_dl_fini): Remove test here.
47145
47146         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47147
47148 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47149
47150         [BZ #12350]
47151         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47152         bit from old_res_options.
47153         (gaih_inet): Likewise.
47154
47155         [BZ #11099]
47156         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47157         as signed.
47158
47159         * resolv/res_init.c (res_setoptions): Make the code more compact.
47160
47161         [BZ #11558]
47162         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47163         set RES_USEVC.
47164
47165         [BZ #11634]
47166         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47167
47168         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47169
47170         [BZ #11781]
47171         * malloc/malloc.h: Declare malloc hook variables as volatile.
47172
47173         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47174         in last patch.
47175
47176         [BZ #11799]
47177         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47178         raise in the comment.
47179         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47180         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47181         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47182
47183 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47184
47185         [BZ #12811]
47186         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47187         grow the buffers more if it already has to be sufficient.
47188         (build_wcs_upper_buffer): Likewise.
47189         * posix/regexec.c (check_matching): Likewise.
47190         (clean_state_log_if_needed): Likewise.
47191         (extend_buffers): Don't enlarge buffers beyond size of the input
47192         buffer.
47193         Patches mostly by Emil Wojak <emil@wojak.eu>.
47194         * posix/bug-regex32.c: New file.
47195         * posix/Makefile (tests): Add bug-regex32.
47196
47197         * locale/findlocale.c (_nl_find_locale): Return right away if
47198         _nl_explode_name failed.
47199         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47200
47201         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47202
47203         * debug/xtrace.sh: Unify messages.
47204         * malloc/memusage.sh: Likewise.
47205
47206         [BZ #12813]
47207         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47208         time symbol from vDSO.  Substitute with vsyscall if not available.
47209         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47210         __vdso_time.
47211
47212         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47213         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47214         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47215         Add sendmmsg and internal_sendmmsg.
47216         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47217         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47218         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47219
47220         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47221         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47222         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47223
47224 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47225
47226         [BZ #12813]
47227         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47228         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47229         available.
47230         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47231         __vdso_getcpu.
47232
47233         [BZ #12814]
47234         * iconvdata/Makefile (tests): Add bug-iconv9.
47235         * iconvdata/bug-iconv9.c: New file.
47236
47237 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47238
47239         [BZ #12814]
47240         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47241
47242 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47243
47244         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47245         (struct user_regs_struct): Change intcs field back to cs.
47246
47247 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47248
47249         * po/ja.po: Update from translation team.
47250
47251 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47252
47253         [BZ #12795]
47254         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47255         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47256
47257 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47258
47259         * stdlib/longlong.h: Update from GCC.
47260
47261 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47262
47263         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47264         parameter name.
47265         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47266         Add parameter name.
47267         (__sysconf): Pass it down.
47268
47269 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47270
47271         [BZ #12671]
47272         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47273         some situations.
47274         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47275         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47276         add in in __libc_use_alloca calls.  Adjust callers.
47277         (glob): Use malloc in some situations.
47278
47279         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47280         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47281         pltexit.
47282
47283 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47284
47285         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47286         and CLOCK_BOOTTIME_ALARM.
47287
47288         [BZ #12782]
47289         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47290         is returned.
47291
47292         * string/_strerror.c (__strerror_r): Print negative errors as signed
47293         numbers.
47294
47295         [BZ #12777]
47296         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47297         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47298         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47299
47300         * configure.in: Fix typo in redirection and correct removal of test
47301         files in two cases.
47302
47303         [BZ #12788]
47304         * locale/setlocale.c (new_composite_name): Fix test to check for
47305         identical name of all categories.
47306
47307         [BZ #12792]
47308         * libio/filedoalloc.c (local_isatty): New function.
47309         (_IO_file_doallocate): Use local_isatty.
47310         * stdio-common/perror.c (perror): In case a new stream is used
47311         forward the stream error.
47312         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47313         error flag.
47314
47315 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47316
47317         [BZ #11869]
47318         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47319         alloca.
47320         * include/alloca.h (extend_alloca_account): Define.
47321
47322         [BZ #11857]
47323         * posix/regex.h: Fix comments with documentation of user-accessible
47324         fields after compilation and describe correct free'ing of pattern
47325         after re_compile_pattern.
47326         Patch by Reuben Thomas <rrt@sc3d.org>.
47327
47328 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47329
47330         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47331         and -mno-altivec to prevent the compiler from using Altivec and/or
47332         VSX instructions when the corresponding registers are not available.
47333
47334 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47335
47336         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47337
47338 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47339
47340         * libio/freopen.c (freopen): Use __dup2, not dup2.
47341         * libio/freopen64.c (freopen64): Likewise.
47342
47343 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47344
47345         [BZ #12775]
47346         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47347         * math/Makefile (tests): Add test-powl.
47348         (CFLAGS-test-powl.c): Define.
47349         * math/test-powl.c: New file.
47350
47351 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47352
47353         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47354
47355 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47356
47357         [BZ #11837]
47358         * iconvdata/gb18030.c: Update to GB18020-2005.
47359
47360 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47361
47362         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47363         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47364         Patch by Aharon Robbins <arnold@skeeve.com>.
47365
47366         [BZ #11892]
47367         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47368         on the stack.
47369
47370         [BZ #11895]
47371         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47372         through underflows.
47373
47374         [BZ #12766]
47375         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47376         point to strings before performing equality test for error_one_per_line
47377         mode.
47378
47379         [BZ #11697]
47380         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47381
47382         [BZ #11820]
47383         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47384         (struct user_fpregs_struct): Avoid __uint*_t types.
47385
47386         [BZ #6420]
47387         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47388         symbol info.  Use it instead of calling _dl_addr locally.
47389         (lock_and_info): New function.
47390         (tr_freehook): Call lock_and_info and pass symbol info as additional
47391         parameter to tr_where.
47392         (tr_mallochook): Likewise.
47393         (tr_reallochook): Likewise.
47394         (tr_memalignhook): Likewise.
47395
47396         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47397         used and couldn't be at all thread-safe.
47398
47399 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47400
47401         * libio/freopen.c (freopen): Don't close old file descriptor
47402         before the new one is opened.  Instead dup the new file descriptor
47403         to the old one after the new stream is created.
47404         * libio/freopen64.c (freopen64): Likewise.
47405         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47406         * libio/fileops.c (_IO_new_file_close_it): Handle new
47407         _IO_FLAGS2_NOCLOSE flag.
47408         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47409         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47410         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47411         _IO_FLAGS2_NOCLOSE flag.
47412         * include/unistd.h: Add hidden_proto for dup3.
47413         Define __have_dup3.
47414         * io/dup3.c: Define hidden symbol.
47415         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47416
47417         [BZ #7101]
47418         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47419         when an incomplete long option is used.
47420         * posix/tst-getopt_long1.c: New file.
47421         * posix/Makefile (tests): Add tst-getopt_long1.
47422
47423         [BZ #10138]
47424         * scripts/config.guess: Update from autoconf-2.68.
47425         * scripts/config.sub: Likewise.
47426
47427         [BZ #10157]
47428         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47429         tests into ...
47430         (has_cpuclock): ...this.  New function.
47431         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47432         macro here based on has_cpuclock code.
47433
47434         [BZ #10149]
47435         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47436         First byte (not low byte) is now always NUL.
47437         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47438
47439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47440         Use non-cancelable interfaces.
47441
47442         [BZ #9809]
47443         * locale/iso-639.def: Add entry for Sorani.
47444
47445         [BZ #11901]
47446         * include/stdlib.h: Move include protection to the right place.
47447         Define abort_msg_s.  Declare __abort_msg with it.
47448         * stdlib/abort.c (__abort_msg): Adjust type.
47449         * assert/assert.c (__assert_fail_base): New function.  Majority
47450         of code from __assert_fail.  Allocate memory for __abort_msg with
47451         mmap.
47452         (__assert_fail): Now call __assert_fail_base.
47453         * assert/assert-perr.c: Remove bulk of implementation.  Use
47454         __assert_fail_base.
47455         * include/assert.hL Declare __assert_fail_base.
47456         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47457         mmap.
47458         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47459
47460 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47461
47462         [BZ #11952]
47463         [BZ #12453]
47464         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47465         until all modules are registered in the DTV.
47466         * elf/Makefile: Add rules to build and run tst-tls19.
47467         * elf/tst-tls19.c: New file.
47468         * elf/tst-tls19mod1.c: New file.
47469         * elf/tst-tls19mod2.c: New file.
47470         * elf/tst-tls19mod3.c: New file.
47471         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47472
47473         [BZ #12083]
47474         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47475         correctly.
47476
47477         [BZ #12601]
47478         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47479         two-byte sequence errors.
47480         * iconvdata/Makefile (tests): Add bug-iconv8.
47481         * iconvdata/bug-iconv8.c: New file.
47482
47483         [BZ #12626]
47484         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47485         buf2 definition.
47486
47487         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47488
47489         [BZ #12432]
47490         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47491         (dummy_getcfa): New function.
47492         (init): Get _Unwind_GetCFA address, use dummy if not found.
47493         (backtrace_helper): In recursion check, also check whether CFA changes.
47494         (__backtrace): Completely initialize arg.
47495
47496         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47497         storing incomplete byte sequence in state object.  Avoid testing for
47498         guaranteed too small input if we know there is enough data available.
47499
47500 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47501
47502         * Makeconfig (+link-pie): Indent.
47503         * Rules (binaries-pie): Define if $(have-fpie) and
47504         $(build-shared).
47505         (binaries-shared): Also filter out $(binaries-pie).
47506         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47507         * nscd/Makefile (others-pie): Add nscd.
47508         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47509         ($(objpfx)nscd): Remove command override.
47510         * login/Makefile (others-pie): Add pt_chown.
47511         ($(objpfx)pt_chown): Remove command override.
47512         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47513         remove command overrides.
47514
47515 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47516
47517         * libio/tst_putwc.c: Fix error messages.
47518
47519         [BZ #12724]
47520         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47521         currently writing and seek to current position when not.
47522         * libio/Makefile (tests): Add bug-fclose1.
47523         * libio/bug-fclose1.c: New file.
47524
47525 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47526
47527         [BZ #12511]
47528         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47529         don't set DF_1_NODELETE here.
47530         (do_lookup_x): When entering new entry test for copy relocation
47531         and if necessary set DF_1_NODELETE flag.
47532         * elf/tst-unique4.cc: New file.
47533         * elf/tst-unique4.h: New file.
47534         * elf/tst-unique4lib.cc: New file.
47535         * elf/Makefile: Add rules to build and run tst-unique4.
47536         Patch by Piotr Bury <pbury@goahead.com>.
47537
47538 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47539
47540         [BZ #12052]
47541         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47542
47543         [BZ #12625]
47544         * misc/mntent_r.c (addmntent): Flush the stream after the output
47545
47546         [BZ #12393]
47547         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47548         (is_trusted_path_normalize): Skip initial colon.  Append slash
47549         to empty buffer.  Duplicate is_trusted_path code but allow
47550         constructed patch to be prefix.
47551         (is_dst): Allow $ORIGIN followed by /.
47552         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47553         Correct testing of result of is_trusted_path_normalize
47554         (decompose_rpath): Fix warning.
47555
47556 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47557
47558         [BZ #11257]
47559         * grp/initgroups.c (internal_getgrouplist): When we found the service
47560         list through the initgroups entry in nsswitch.conf do not always
47561         continue on a successful lookup.  Don't always use the
47562         __nss_group_database value if it is set.
47563         * nss/nsswitch.conf (initgroups): Change action for successful db
47564         lookup to continue for compatibility.
47565
47566 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47567
47568         [BZ #11532]
47569         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47570         and CP774 modules.
47571         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47572         and CP774 modules.
47573         * iconvdata/tst-tables.sh: Likewise.
47574         * iconvdata/cp770.c: New file.
47575         * iconvdata/cp771.c: New file.
47576         * iconvdata/cp772.c: New file.
47577         * iconvdata/cp773.c: New file.
47578         * iconvdata/cp774.c: New file.
47579         * iconvdata/testdata/CP770: New file.
47580         * iconvdata/testdata/CP770..UTF8: New file.
47581         * iconvdata/testdata/CP771: New file.
47582         * iconvdata/testdata/CP771..UTF8: New file.
47583         * iconvdata/testdata/CP772: New file.
47584         * iconvdata/testdata/CP772..UTF8: New file.
47585         * iconvdata/testdata/CP773: New file.
47586         * iconvdata/testdata/CP773..UTF8: New file.
47587         * iconvdata/testdata/CP774: New file.
47588         * iconvdata/testdata/CP774..UTF8: New file.
47589
47590         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47591         END CHARMAP line.
47592         * iconvdata/gen-8bit-gap.sh: Likewise.
47593         * iconvdata/gen-8bit.sh: Likewise.
47594
47595         * locale/iso-639.def: Add ary entry.
47596
47597         [BZ #11258]
47598         * locale/C-translit.h.in: Add U20A1 transliteration.
47599
47600         [BZ #12178]
47601         * locale/iso-639.def: Add wae entry.
47602         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47603
47604         [BZ #12545]
47605         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47606         for n.
47607
47608         [BZ #12711]
47609         * locale/C-translit.h.in: Add entry for U20B9.
47610         Patch by pravin.d.s@gmail.com.
47611
47612 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47613
47614         [BZ #12713]
47615         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47616         ENAMETOOLONG use generic getcwd.
47617         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47618         in rtld.  Use *stat64.
47619         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47620         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47621         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47622         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47623         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47624         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47625         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47626         __fstatat64 macros.
47627         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47628         * dirent/rewinddir.c: Add libc_hidden_def.
47629         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47630         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47631
47632         * include/dirent.h (__alloc_dir): Add flags parameter.
47633         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47634         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47635         __alloc_dir.
47636         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47637         from fdopendir if O_CLOEXEC is already set.
47638
47639 2011-03-15  Alan Modra  <amodra@gmail.com>
47640
47641         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47642         l_tls_firstbyte_offset non-zero.  Save padding offset in
47643         l_tls_firstbyte_offset for later use.
47644         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47645         freeing static tls block.
47646
47647 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47648
47649         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47650         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47651         being defined by the kernel headers.
47652
47653 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47654
47655         [BZ #12734]
47656         * resolv/resolv.h: Define RES_NOTLDQUERY.
47657         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47658         no-tld-query and set RES_NOTLDQUERY.
47659         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47660         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47661         modern BIND to search name as TLD unless forbidden.
47662
47663 2011-05-07  Petr Baudis  <pasky@suse.cz>
47664             Ulrich Drepper  <drepper@gmail.com>
47665
47666         [BZ #12393]
47667         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47668         (is_trusted_path): ...to here.
47669         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47670         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47671         using is_trusted_path_normalize() in setuid scripts.
47672
47673 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47674
47675         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47676         __BEGIN/__END_DECLS.
47677
47678 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47679
47680         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47681         NSS_STATUS_NOTFOUND if no record was found.
47682
47683 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47684
47685         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47686         (headers-not-in-tirpc): Remove rpc/netdb.h
47687         * resolv/netdb.h: Revert last change.
47688
47689 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47690
47691         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47692         circular dependency between libgcc.a and libc.a.
47693
47694 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47695
47696         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47697         * nis/Makefile: Don't install rpcsvc/*.
47698         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47699         instead of <rpc/types.h>.
47700         (MAXHOSTNAMELEN): Define.
47701
47702 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47703
47704         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47705
47706 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47707
47708         [BZ #12714]
47709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47710         gethostbyname4_r when IPv6 results are possible.
47711
47712 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47713
47714         [BZ #12723]
47715         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47716         _PC_PIPE_BUF handling.
47717
47718 2011-04-30  Bruno Haible  <bruno@clisp.org>
47719
47720         [BZ #12717]
47721         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47722         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47723         to 'int'.
47724         * inet/getnameinfo.c (getnameinfo): Likewise.
47725
47726 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47727
47728         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47729         to groups setting in database lookup.
47730         * nss/nsswitch.conf: Add initgroups entry.
47731
47732 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47733
47734         [BZ #12685]
47735         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47736         mode string.
47737         Patch by Eric Blake <eblake@redhat.com>.
47738
47739 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47740
47741         * sunrpc/Makefile (need-export-routines): Add svc_run.
47742         (routines): Remove svc_run.
47743         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47744         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47745         * sunrpc/svc_run.c (svc_run): Likewise.
47746         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47747
47748 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47749
47750         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47751         problem in reallocation in last patch.
47752
47753 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47754
47755         * sunrpc/Makefile: Move inclusion of Rules.
47756
47757 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47758
47759         * nss/nss_files/files-initgroups.c: New file.
47760         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47761         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47762         _nss_files_initgroups_dyn.
47763
47764 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47765
47766         * elf/elf.h (R_ARM_IRELATIVE): Define.
47767
47768 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47769
47770         * po/ru.po: Update from translation team.
47771
47772 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47773
47774         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47775         dependencies.
47776
47777 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47778
47779         [BZ #12653]
47780         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47781         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47782         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47783         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47784         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47785
47786 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47787
47788         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47789         differing bytes.
47790         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47791         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47792         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47793
47794 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47795
47796         [BZ #12420]
47797         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47798         storing it.
47799         * stdlib/bug-getcontext.c: New file.
47800         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47801
47802 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47803
47804         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47805         instructions into .machine "z9-109".
47806         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47807         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47808
47809 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47810
47811         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47812         between environment variables and auxiliary vector.
47813
47814 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47815
47816         * Makefile: Add rules to build linkobj/libc.so.
47817         * include/libc-symbols.h: Define libc_hidden_nolink.
47818         * include/rpc/auth.h: Mark functions which are to be hidden.
47819         * include/rpc/auth_des.h: Likewise.
47820         * include/rpc/auth_unix.h: Likewise.
47821         * include/rpc/clnt.h: Likewise.
47822         * include/rpc/des_crypt.h: Likewise.
47823         * include/rpc/key_prot.h: Likewise.
47824         * include/rpc/pmap_clnt.h: Likewise.
47825         * include/rpc/pmap_prot.h: Likewise.
47826         * include/rpc/pmap_rmt.h: Likewise.
47827         * include/rpc/rpc_msg.h: Likewise.
47828         * include/rpc/svc.h: Likewise.
47829         * include/rpc/svc_auth.h: Likewise.
47830         * include/rpc/xdr.h: Likewise.
47831         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47832         * nss/Makefile: Likewise.
47833         * sunrpc/Makefile: Don't install headers.  Build library with normal
47834         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47835         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47836         for the compat linking library.  Remove use of INTDEF/INTUSE.
47837         * sunrpc/auth_none.c: Likewise.
47838         * sunrpc/auth_unix.c: Likewise.
47839         * sunrpc/authdes_prot.c: Likewise.
47840         * sunrpc/authuxprot.c: Likewise.
47841         * sunrpc/clnt_gen.c: Likewise.
47842         * sunrpc/clnt_perr.c: Likewise.
47843         * sunrpc/clnt_raw.c: Likewise.
47844         * sunrpc/clnt_simp.c: Likewise.
47845         * sunrpc/clnt_tcp.c: Likewise.
47846         * sunrpc/clnt_udp.c: Likewise.
47847         * sunrpc/clnt_unix.c: Likewise.
47848         * sunrpc/des_crypt.c: Likewise.
47849         * sunrpc/des_soft.c: Likewise.
47850         * sunrpc/get_myaddr.c: Likewise.
47851         * sunrpc/key_call.c: Likewise.
47852         * sunrpc/key_prot.c: Likewise.
47853         * sunrpc/netname.c: Likewise.
47854         * sunrpc/pm_getmaps.c: Likewise.
47855         * sunrpc/pm_getport.c: Likewise.
47856         * sunrpc/pmap_clnt.c: Likewise.
47857         * sunrpc/pmap_prot.c: Likewise.
47858         * sunrpc/pmap_prot2.c: Likewise.
47859         * sunrpc/pmap_rmt.c: Likewise.
47860         * sunrpc/publickey.c: Likewise.
47861         * sunrpc/rpc_cmsg.c: Likewise.
47862         * sunrpc/rpc_common.c: Likewise.
47863         * sunrpc/rpc_dtable.c: Likewise.
47864         * sunrpc/rpc_prot.c: Likewise.
47865         * sunrpc/rpc_thread.c: Likewise.
47866         * sunrpc/rtime.c: Likewise.
47867         * sunrpc/svc.c: Likewise.
47868         * sunrpc/svc_auth.c: Likewise.
47869         * sunrpc/svc_authux.c: Likewise.
47870         * sunrpc/svc_raw.c: Likewise.
47871         * sunrpc/svc_run.c: Likewise.
47872         * sunrpc/svc_simple.c: Likewise.
47873         * sunrpc/svc_tcp.c: Likewise.
47874         * sunrpc/svc_udp.c: Likewise.
47875         * sunrpc/svc_unix.c: Likewise.
47876         * sunrpc/svcauth_des.c: Likewise.
47877         * sunrpc/xcrypt.c: Likewise.
47878         * sunrpc/xdr.c: Likewise.
47879         * sunrpc/xdr_array.c: Likewise.
47880         * sunrpc/xdr_float.c: Likewise.
47881         * sunrpc/xdr_intXX_t.c: Likewise.
47882         * sunrpc/xdr_mem.c: Likewise.
47883         * sunrpc/xdr_rec.c: Likewise.
47884         * sunrpc/xdr_ref.c: Likewise.
47885         * sunrpc/xdr_sizeof.c: Likewise.
47886         * sunrpc/xdr_stdio.c: Likewise.
47887
47888 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47889
47890         [BZ #12650]
47891         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47892         * sysdeps/ia64/dl-tls.h: Likewise.
47893         * sysdeps/powerpc/dl-tls.h: Likewise.
47894         * sysdeps/s390/dl-tls.h: Likewise.
47895         * sysdeps/sh/dl-tls.h: Likewise.
47896         * sysdeps/sparc/dl-tls.h: Likewise.
47897         * sysdeps/x86_64/dl-tls.h: Likewise.
47898         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47899
47900 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47901
47902         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47903         rpath element also skip the following colon.
47904         (expand_dynamic_string_token): Add is_path parameter and pass
47905         down to DL_DST_REQUIRED and _dl_dst_substitute.
47906         (decompose_rpath): Call expand_dynamic_string_token with
47907         non-zero is_path.  Ignore empty rpaths.
47908         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47909         with zero is_path.
47910
47911 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47912
47913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47914         Make cancelable.
47915
47916 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47917
47918         [BZ #12655]
47919         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47920         Patch by Filipe David Manana <fdmanana@apache.org>.
47921
47922 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47923
47924         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47925         Maintain aligned stack.
47926         (CHECK_RSP): Remove unused macro.
47927
47928 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47929
47930         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47931         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47932
47933 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47934
47935         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47936
47937         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47938
47939 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47940
47941         [BZ #12518]
47942         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47943         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47944         * sysdeps/x86_64/memmove.c: New file.
47945         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47946         (memcpy): Renamed to ...
47947         (__new_memcpy): This.
47948         (memcpy): Provide GLIBC_2_14 memcpy.
47949         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47950         (memcpy): Provide GLIBC_2_2_5 memcpy.
47951
47952 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47953
47954         [BZ #12631]
47955         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47956
47957 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47958
47959         * misc/syncfs.c: New file.
47960         * misc/Makefile (routines): Add syncfs.
47961         * posix/unistd.h: Declare syncfs.
47962         * sysdeps/unix/syscalls.list: Add syncfs.
47963
47964 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47965
47966         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47967         open_by_handle_at.
47968         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47969         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47970         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47971         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47972         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47973         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47974         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47975
47976 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47977
47978         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47979         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47980         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47981         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47982         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47984         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47985
47986         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47987         sync_file_range.c with -fexceptions.
47988         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47989         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47990         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47991         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47992         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47993         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47994         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47995         sync_file_range as cancellation point
47996         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47997         now a wrapper around __call_sync_file_range with cancellation handling.
47998         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47999         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48000         function name to __call_sync_file_range.
48001         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48002         Add call_sync_file_range.
48003
48004 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48005
48006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48007         bits/timex.h.
48008
48009 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48010
48011         * iconv/iconv.h: Fix typo in comment.
48012         * io/fcntl.h: Likewise.
48013         * libio/stdio.h: Likewise.
48014         * posix/spawn.h: Likewise.
48015         * posix/unistd.h: Likewise.
48016         * stdlib/stdlib.h: Likewise.
48017         * time/time.h: Likewise.
48018         * wcsmbs/wchar.h: Likewise.
48019
48020         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48021         open_by_handle): Add.
48022         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48023         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48024         Augment a few comments.
48025         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48026         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48027         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48029         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48030         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48031         open_by_handle.
48032
48033         * io/fcntl.h (AT_EMPTY_PATH): Define.
48034
48035 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48036
48037         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48038         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48039         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48040         to...
48041         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48042         * Versions.def: Add GLIBC_2.14.
48043         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48044         Export.
48045
48046 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48047
48048         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48049         round counter.
48050         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48051
48052 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48053
48054         [BZ #12597]
48055         * string/test-strncmp.c (do_page_test): New function.
48056         (check2): Likewise.
48057         (test_main): Call check2.
48058         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48059
48060 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48061
48062         [BZ #12587]
48063         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48064         Handle cache information in CPU leaf 4.
48065         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48066
48067 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48068
48069         [BZ #12583]
48070         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48071         character representation.
48072         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48073
48074 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48075
48076         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48077         END(__isnan) to END(__isnanf) to match function entry point/label
48078         EALIGN(__isnanf,...).
48079
48080 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48081
48082         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48083
48084 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48085
48086         [BZ #12510]
48087         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48088         copy from the symbol referenced in the relocation to initialize the
48089         used variable.
48090         Patch by Piotr Bury <pbury@goahead.com>.
48091         * elf/Makefile: Add rules to build and tst-unique3.
48092         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48093         * elf/tst-unique3.cc: New file.
48094         * elf/tst-unique3.h: New file.
48095         * elf/tst-unique3lib.cc: New file.
48096         * elf/tst-unique3lib2.cc: New file.
48097
48098         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48099
48100 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48101
48102         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48103         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48104         to _start.
48105
48106 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48107
48108         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48109         to-be-loaded object along a path to loader is ld.so.
48110
48111 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48112             Ulrich Drepper  <drepper@gmail.com>
48113
48114         * sysdeps/x86_64/memset.S: After aligning destination, code
48115         branches to different locations depending on the value of
48116         misalignment, when multiarch is enabled. Fix this.
48117
48118 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48119
48120         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48121         Set _x86_64_preferred_memory_instruction for AMD processsors.
48122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48123         Set bit_Prefer_SSE_for_memop for AMD processors.
48124
48125 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48126
48127         * libio/fmemopen.c (fmemopen): Optimize a bit.
48128
48129 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48130
48131         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48132
48133 2011-03-03  Roland McGrath  <roland@redhat.com>
48134
48135         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48136
48137 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48138
48139         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48140         __bzero_ultra1 instead of __memset_ultra1.
48141
48142 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48143             Ulrich Drepper  <drepper@gmail.com>
48144
48145         [BZ #12509]
48146         * include/link.h (struct link_map): Add l_orig_initfini.
48147         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48148         returning unsuccessfully.
48149         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48150         close of a file loaded at startup, restore the original l_initfini
48151         list.
48152         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48153         list, store the pointer.
48154         * elf/Makefile ($(objpfx)noload-mem): New rule.
48155         (noload-ENV): Define.
48156         (tests): Add $(objpfx)noload-mem.
48157         * elf/noload.c: Include <memcheck.h>.
48158         (main): Call mtrace.  Close all opened handles.
48159
48160 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48161
48162         [BZ #12454]
48163         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48164         dependencies are missing.
48165
48166 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48167
48168         Fix __if_freereq crash: Unlike the generic version which uses free,
48169         Hurd needs munmap.
48170         * sysdeps/mach/hurd/ifreq.h: New file.
48171
48172 2011-01-27  Petr Baudis  <pasky@suse.cz>
48173             Ulrich Drepper  <drepper@gmail.com>
48174
48175         [BZ 12445]#
48176         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48177         to extend_alloca().
48178         * stdio-common/bug23.c: New file.
48179         * stdio-common/Makefile (tests): Add bug23.
48180
48181 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48182             Ulrich Drepper  <drepper@gmail.com>
48183
48184         [BZ #12489]
48185         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48186         before performing relro protection.  At old place add assertion
48187         to make sure nothing changed.
48188
48189 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48190             Glauber de Oliveira Costa  <glommer@gmail.com>
48191
48192         * elf/elf.h: Add new ARM TLS relocs.
48193
48194 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48195
48196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48197         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48198         cast from r3.
48199         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48200         'tests' variable.
48201         * sysdeps/wordsize-64/tst-writev.c: New file.
48202
48203 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48204
48205         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48206         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48207         insns in _dl_start to prevent a TOC reference before relocs are
48208         resolved.
48209
48210 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48211
48212         [BZ #12469]
48213         * Makeconfig: Remove RANLIB definition.
48214         * Makerules: Don't use RANLIB.
48215         * aclocal.m4: Remove ranlib test.
48216         * configure.in: No need to check for ranlib.
48217         * elf/rtld-Rules: Don't use RANLIB.
48218
48219 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48220
48221         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48222         protection macro.
48223         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48224         inclusion protection macro.
48225
48226         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48227         SIGRTMIN and SIGRTMAX and print information in that case only when
48228         SIGRTMIN is defined.
48229
48230 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48231
48232         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48233         arginfo fn returning -1.
48234
48235         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48236         and thousands string is zero terminated.
48237
48238 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48239
48240         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48241         sysdeps/unix/sysv/linux/bits/socket.h.
48242
48243 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48244
48245         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48246         (__CPU_COUNT): Remove old macros.
48247         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48248         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48249         (__CPU_ALLOC, __CPU_FREE): Add macros.
48250         (__sched_cpualloc, __sched_cpufree): Add declarations.
48251
48252 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48253
48254         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48255         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48256         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48257         (readdhstai): Return value of addhstaiX call.
48258         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48259         (addgrbyX): Return value returned by cache_addgr.
48260         (readdgrbyname): Return value returned by addgrbyX.
48261         (readdgrbygid): Likewise.
48262         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48263         (addpwbyX): Return value returned by cache_addpw.
48264         (readdpwbyname): Return value returned by addhstbyX.
48265         (readdpwbyuid): Likewise.
48266         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48267         (addservbyX): Return value returned by cache_addserv.
48268         (readdservbyname): Return value returned by addservbyX:
48269         (readdservbyport): Likewise.
48270         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48271         (addhstbyX): Return value returned by cache_addhst.
48272         (readdhstbyname): Return value returned by addhstbyX.
48273         (readdhstbyaddr): Likewise.
48274         (readdhstbynamev6): Likewise.
48275         (readdhstbyaddrv6): Likewise.
48276         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48277         (readdinitgroups): Return value returned by addinitgroupsX.
48278         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48279         (prune_cache): Keep track of timeout value of re-added entries.
48280         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48281         * nscd/nscd.h: Adjust prototypes of readd* functions.
48282
48283 2011-02-04  Roland McGrath  <roland@redhat.com>
48284
48285         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48286         (nis_stats): Likewise.
48287         * nis/nis_modify.c (nis_modify): Likewise.
48288         * nis/nis_remove.c (nis_remove): Likewise.
48289         * nis/nis_add.c (nis_add): Likewise.
48290
48291         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48292
48293         * posix/fnmatch_loop.c: Add some consts.
48294
48295         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48296
48297 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48298
48299         [BZ #12460]
48300         * config.make.in (config-cflags-novzeroupper): Define.
48301         * configure.in: Substitute libc_cv_cc_novzeroupper.
48302         * elf/Makefile (AVX-CFLAGS): Define.
48303         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48304         (CFLAGS-tst-auditmod4a.c): Likewise.
48305         (CFLAGS-tst-auditmod4b.c): Likewise.
48306         (CFLAGS-tst-auditmod6b.c): Likewise.
48307         (CFLAGS-tst-auditmod6c.c): Likewise.
48308         (CFLAGS-tst-auditmod7b.c): Likewise.
48309         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48310
48311 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48312
48313         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48314         function to the callback.
48315         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48316
48317 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48318
48319         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48320         of errno.
48321
48322 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48323
48324         [BZ #11724]
48325         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48326         of constructors.
48327         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48328         of destructors.
48329         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48330
48331         [BZ #11724]
48332         * elf/Makefile: Add rules to build and run new test.
48333         * elf/tst-initorder.c: New file.
48334         * elf/tst-initorder.exp: New file.
48335         * elf/tst-initordera1.c: New file.
48336         * elf/tst-initordera2.c: New file.
48337         * elf/tst-initordera3.c: New file.
48338         * elf/tst-initordera4.c: New file.
48339         * elf/tst-initorderb1.c: New file.
48340         * elf/tst-initorderb2.c: New file.
48341         * elf/tst-order-a1.c: New file.
48342         * elf/tst-order-a2.c: New file.
48343         * elf/tst-order-a3.c: New file.
48344         * elf/tst-order-a4.c: New file.
48345         * elf/tst-order-b1.c: New file.
48346         * elf/tst-order-b2.c: New file.
48347         * elf/tst-order-main.c: New file.
48348         New test case by George Gensure <werkt0@gmail.com>.
48349
48350 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48351
48352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48353         decoding ACE if AI_CANONIDN.
48354
48355 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48356
48357         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48358
48359 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48360
48361         * version.h (RELEASE): Bump for 2.13 release.
48362         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48363
48364         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48365
48366         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48367         MADV_NOHUGEPAGE.
48368         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48369         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48370         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48371         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48372         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48373         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48374
48375         * posix/getconf.c: Update copyright year.
48376         * catgets/gencat.c: Likewise.
48377         * csu/version.c: Likewise.
48378         * debug/catchsegv.sh: Likewise.
48379         * debug/xtrace.sh: Likewise.
48380         * elf/ldconfig.c: Likewise.
48381         * elf/ldd.bash.in: Likewise.
48382         * elf/sprof.c (print_version): Likewise.
48383         * iconv/iconv_prog.c: Likewise.
48384         * iconv/iconvconfig.c: Likewise.
48385         * locale/programs/locale.c: Likewise.
48386         * locale/programs/localedef.c: Likewise.
48387         * malloc/memusage.sh: Likewise.
48388         * malloc/mtrace.pl: Likewise.
48389         * nscd/nscd.c (print_version): Likewise.
48390         * nss/getent.c: Likewise.
48391
48392         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48393         PF_CAIF, and PF_ALG.
48394         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48395
48396 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48397
48398         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48399         (modules-names): Use them.
48400         (ifunc-test-modules, ifunc-pie-tests): Define.
48401         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48402         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48403         (test-extras): Likewise.
48404         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48405         $(compile-command.c).
48406         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48407         (all-built-dso): Define.
48408         (check-textrel.out, check-execstack.out): Depend on it.
48409
48410         * configure.in: Don't override --enable-multi-arch.
48411
48412 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48413
48414         [BZ #6812]
48415         * nscd/hstcache.c (tryagain): Define.
48416         (cache_addhst): Return tryagain not notfound for temporary errors.
48417         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48418         failed.
48419
48420 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48421
48422         [BZ #10563]
48423         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48424         to make the syscall.
48425         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48426
48427         [BZ #12378]
48428         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48429         and fall back to matching as normal character if the string ends before
48430         the matching ']' is found.  This is what POSIX requires.
48431         * posix/testfnm.c: Adjust test result.
48432         * posix/globtest.sh: Adjust test result.  Add new test.
48433         * posix/tst-fnmatch.input: Likewise.
48434         * posix/tst-fnmatch2.c: Add new test.
48435
48436 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48437
48438         * elf/Makefile (check-execstack): Revert last change.  Depend on
48439         check-execstack.h.
48440         (check-execstack.h): New target.
48441         (generated): Add check-execstack.h.
48442         * elf/check-execstack.c: Include "check-execstack.h".
48443         (main): Revert last change.
48444         (handle_file): Return zero if GNU_STACK is absent and
48445         DEFAULT_STACK_PERMS doesn't include PF_X.
48446
48447 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48448
48449         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48450         in child fails because the descriptor is already closed.
48451         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48452         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48453         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48454
48455         [BZ #12397]
48456         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48457         syscall.
48458
48459         [BZ #10484]
48460         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48461         temporary buffer used to handle multi lookups locally.
48462         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48463
48464 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48465
48466         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48467         loader is ld.so.
48468
48469 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48470
48471         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48472         alignment for SSE2.
48473
48474 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48475
48476         [BZ #12394]
48477         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48478         characters.  When rounding increased number of integer digits recompute
48479         number of groups.
48480         * stdio-common/tst-grouping.c: New file.
48481         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48482
48483 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48484
48485         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48486         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48487
48488         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48489         void.
48490         * bits/select.h: Likewise.
48491
48492 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48493
48494         * po/ja.po: Update from translation team.
48495
48496 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48497
48498         [BZ #11155]
48499         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48500         implementation just like for lxstat, fxstatat, et al.
48501
48502 2010-12-27  Jim Meyering  <meyering@redhat.com>
48503
48504         [BZ #12348]
48505         * posix/regexec.c (build_trtable): Return failure indication upon
48506         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48507
48508 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48509
48510         [BZ #12201]
48511         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48512         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48513         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48514         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48515
48516         [BZ #12207]
48517         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48518
48519         [BZ #12204]
48520         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48521         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48522
48523 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48524
48525         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48526         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48527         script has SORT_BY_INIT_PRIORITY.
48528         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48529         NO_CTORS_DTORS_SECTIONS is defined.
48530         * elf/soinit.c: Likewise.
48531         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48532         NO_CTORS_DTORS_SECTIONS is defined.
48533         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48534         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48535         * sysdeps/sh/init-first.c: Likewise.
48536         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48537
48538 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48539
48540         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48541         always use the slow path.
48542
48543 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48544
48545         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48546         similar rule which adds the sysdep directories to the header search in
48547         order to pick up the correct platform stackinfo.h.
48548         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48549         perform test if it is, otherwise return successfully without testing.
48550         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48551         DEFAULT_STACK_PERMS define in stackinfo.h.
48552         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48553         defined in stackinfo.h.
48554         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48555         DEFAULT_STACK_PERMS defined in stackinfo.h.
48556         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48557         * sysdeps/ia64/stackinfo.h: Likewise.
48558         * sysdeps/s390/stackinfo.h: Likewise.
48559         * sysdeps/sh/stackinfo.h: Likewise.
48560         * sysdeps/sparc/stackinfo.h: Likewise.
48561         * sysdeps/x86_64/stackinfo.h: Likewise.
48562         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48563         PF_X for powerpc64.  Retain PF_X for powerpc32.
48564
48565 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48566
48567         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48568         accurately.
48569         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48570         GETDENTS_64BIT_ALIGNED.
48571
48572 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48573
48574         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48575
48576 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48577
48578         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48579         _GNU_SOURCE.
48580
48581         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48582         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48583         Remove __restrict.
48584         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48585         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48586
48587 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48588
48589         [BZ #11655]
48590         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48591         are initialized.
48592
48593 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48594
48595         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48596
48597 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48598
48599         * po/it.po: Update from translation team.
48600
48601 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48602
48603         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48604         unused codes.
48605
48606 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48607
48608         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48609
48610 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48611
48612         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48613         specially.
48614         (gaih_getanswer_slice): Likewise.
48615
48616 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48617
48618         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48619
48620 2010-05-31  Petr Baudis  <pasky@suse.cz>
48621
48622         [BZ #11149]
48623         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48624         silently even in the chroot mode.
48625
48626 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48627
48628         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48629         last patch a bit.  Pretty printing
48630
48631 2010-05-31  Petr Baudis <pasky@suse.cz>
48632
48633         [BZ #10085]
48634         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48635         initialization of skip_initgroups_dyn.
48636
48637 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48638
48639         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48640         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48641
48642 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48643
48644         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48645
48646 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48647
48648         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48649         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48650         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48651         ($(objpfx)tst-fnmatch-mem): New rule.
48652         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48653         * posix/tst-fnmatch.c (main): Call mtrace.
48654
48655 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48656
48657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48658         Support Intel processor model 6 and model 0x2c.
48659
48660 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48661
48662         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48663           signed comparison.
48664
48665 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48666
48667         [BZ #12205]
48668         * string/test-strncasecmp.c (check_result): New function.
48669         (do_one_test): Use it.
48670         (check1): New function.
48671         (test_main): Use it.
48672         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48673         Support strcasecmp and strncasecmp.
48674
48675 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48676
48677         [BZ #12194]
48678         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48679         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48680
48681 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48682
48683         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48684         IFUNC support.
48685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48686         memset-x86-64.
48687         * sysdeps/x86_64/multiarch/bzero.S: New file.
48688         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48689         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48690         * sysdeps/x86_64/multiarch/memset.S: New file.
48691         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48693         Set bit_Prefer_SSE_for_memop for Intel processors.
48694         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48695         Define.
48696         (index_Prefer_SSE_for_memop): Define.
48697         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48698
48699 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48700
48701         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48702         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48703
48704 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48705
48706         [BZ #12191]
48707         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48708         (__x86_64_raw_data_cache_size_half): Likewise.
48709         (__x86_64_raw_shared_cache_size): Likewise.
48710         (__x86_64_raw_shared_cache_size_half): Likewise.
48711
48712         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48713         (__x86_64_raw_data_cache_size_half): Likewise.
48714         (__x86_64_raw_shared_cache_size): Likewise.
48715         (__x86_64_raw_shared_cache_size_half): Likewise.
48716         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48717         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48718         and __x86_64_raw_shared_cache_size_half.  Round
48719         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48720         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48721         to multiple of 256 bytes.
48722
48723 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48724
48725         [BZ #12167]
48726         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48727         of inacessible symlinks.  Verify result of symlink before returning it.
48728         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48729         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48730
48731 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48732
48733         * math/math.h (isinf): Fix typo in comment.
48734
48735 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48736
48737         * po/da.po: Update from translation team.
48738
48739 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48740
48741         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48742         is added to the list.
48743
48744 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48745             Ulrich Drepper  <drepper@gmail.com>
48746
48747         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48748         the global list here.  Move code to...
48749         (_dl_add_to_namespace_list): ...here.  New function.
48750         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48751         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48752         * elf/dl-load.c (lose): Don't remove the element from the list.
48753         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48754         (_dl_map_object): Likewise.
48755
48756 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48757
48758         [BZ #12159]
48759         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48760         into all bytes of SSE register.
48761         Patch by Richard Li <richardpku@gmail.com>.
48762
48763 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48764
48765         [BZ #12140]
48766         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48767         perturbing.
48768
48769 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48770
48771         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48772         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48773         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48774         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48776         submachine.
48777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48778
48779 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48780
48781         * include/dlfcn.h (__RTLD_SECURE): Define.
48782         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48783         mode & __RTLD_SECURE instead.
48784         (open_path): Rename preloaded parameter to secure.
48785         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48786         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48787         * elf/dl-deps.c (openaux): Likewise.
48788         * elf/rtld.c (struct map_args): Remove is_preloaded.
48789         (map_doit): Don't use it.
48790         (dl_main): Likewise.
48791         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48792         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48793
48794 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48795
48796         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48797         (sysd-rules-targets): Remove duplicates.
48798         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48799         rtld-%.$o dependency.
48800
48801 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48802
48803         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48804         _dl_map_object do it.
48805
48806 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48807
48808         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48809         fast fma builtins, define the macros in the C99 standard.
48810         (FP_FAST_FMAF): Likewise.
48811         (FP_FAST_FMAL): Likewise.
48812         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48813
48814         * bits/mathdef.h: Update copyright year.
48815         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48816
48817 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48818
48819         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48820         builtins, define the macros in the C99 standard.
48821         (FP_FAST_FMAF): Likewise.
48822         (FP_FAST_FMAL): Likewise.
48823         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48824         multiply/add.
48825         (FP_FAST_FMAF): Likewise.
48826
48827 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48828
48829         [BZ #3268]
48830         * math/libm-test.inc (fma_test): Some new testcases.
48831         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48832         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48833         y and infinite z.  Do multiplication by C already in long double.
48834         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48836         y and infinite z.  Do bitwise or of inexact bit into u.d.
48837         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48838         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48839         * sysdeps/i386/fpu/s_fma.S: Removed.
48840         * sysdeps/i386/fpu/s_fmal.S: Removed.
48841
48842 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48843
48844         [BZ #3268]
48845         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48846         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48847         computation is not scheduled after fetestexcept.  Fix value
48848         of minimum denormal long double.
48849
48850 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48851
48852         [BZ #3268]
48853         * math/libm-test.inc (fma_test): Add some more tests.
48854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48855         correctly.
48856
48857 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48858
48859         * scripts/data/localplt-s390-linux-gnu.data: New file.
48860         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48861
48862 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48863
48864         [BZ #3268]
48865         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48866         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48867         instead of dbl-64.
48868         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48869         inlines.
48870         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48872         if one of x and y is very large and the other is subnormal.
48873         * sysdeps/s390/fpu/s_fmaf.c: New file.
48874         * sysdeps/s390/fpu/s_fma.c: New file.
48875         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48876         * sysdeps/powerpc/fpu/s_fma.S: New file.
48877         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48878         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48879         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48880
48881 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48882
48883         [BZ #3268]
48884         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48885         fma tests.
48886         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48887         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48888         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48889         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48890         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48891         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48892         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48893
48894 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48895
48896         [BZ #12078]
48897         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48898         * posix/bug-regex31.input: Add test case.
48899
48900 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48901
48902         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48903         * posix/bug-regex31.input: New file.
48904
48905         [BZ #12078]
48906         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48907         (parse_sub_exp): Fix last change, use postorder.
48908
48909         * posix/bug-regex31.c: New file.
48910         * posix/Makefile: Add rules to build and run bug-regex31.
48911
48912         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48913
48914         [BZ #12078]
48915         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48916
48917         [BZ #12108]
48918         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48919         to have entries in sys_siglist.
48920
48921         [BZ #12093]
48922         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48923         be NULL.
48924
48925 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48926
48927         [BZ #3268]
48928         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48929         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48930         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48931         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48932         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48933         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48934         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48935         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48936         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48937         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48938         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48939         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48940         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48941         * math/ftestexcept.c (fetestexcept): Likewise.
48942         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48943         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48944         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48945         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48946         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48947         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48948         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48949
48950 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48951
48952         [BZ #12107]
48953         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48954         newline.
48955
48956 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48957
48958         * string/bug-strstr1.c: New file.
48959         * string/Makefile: Add rules to build and run bug-strstr1.
48960
48961 2010-10-05  Eric Blake  <eblake@redhat.com>
48962
48963         [BZ #12092]
48964         * string/str-two-way.h (two_way_long_needle): Always clear memory
48965         when skipping input due to the shift table.
48966
48967 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48968
48969         [BZ #12005]
48970         * malloc/mcheck.c: Handle large requests.
48971
48972         [BZ #12077]
48973         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48974         for strncmp and strncasecmp.
48975         * string/stratcliff.c: Add tests for strcmp and strncmp.
48976         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48977
48978 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48979
48980         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48981         __set_fpscr.
48982
48983 2010-09-30  Andreas Jaeger  <aj@suse.de>
48984
48985         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48986         (CGROUP_SUPER_MAGIC): Define.
48987         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48988         Handle btrfs and cgroup file systems.
48989         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48990         Likewise.
48991
48992 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48993
48994         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48995         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48996
48997 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48998
48999         [BZ #12067]
49000         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49001         trying to locate the ELF header.
49002
49003 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49004
49005         [BZ #11611]
49006         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49007         Mask out sign-bit copies when constructing f_fsid.
49008
49009 2010-09-24  Petr Baudis <pasky@suse.cz>
49010
49011         * debug/stack_chk_fail_local.c: Add missing licence exception.
49012         * debug/warning-nop.c: Likewise.
49013
49014 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49015
49016         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49017         implementing getdents64 using getdents syscall, set d_type if
49018         __ASSUME_GETDENTS32_D_TYPE.
49019
49020 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49021
49022         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49023         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49024
49025 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49026
49027         [BZ #12037]
49028         * posix/unistd.h: Undo change of feature selection for ftruncate from
49029         2010-01-11.
49030
49031 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49032
49033         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49034         detection.
49035
49036 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49037
49038         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49039         fanotify_mark.
49040         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49041
49042 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49043
49044         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49045         variables after CHECK_SP call.
49046         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49047
49048 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49049             Ulrich Drepper  <drepper@redhat.com>
49050
49051         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49052         re-relocationg ld.so.
49053         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49054         _dl_init_paths call.
49055         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49056         here anymore.
49057
49058 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49059
49060         * resolv/res_init.c (__res_vinit): Count the default server we added.
49061
49062 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49063             Ulrich Drepper  <drepper@redhat.com>
49064
49065         [BZ #11968]
49066         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49067         (____longjmp_chk): Use %ebx for saving value across system call.
49068         Add unwind info.
49069
49070 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49071
49072         * manual/Makefile: Don't mix pattern rules with normal rules.
49073
49074 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49075
49076         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49077         operation.
49078         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49079         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49080         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49081         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49082         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49083         Likewise.
49084
49085 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49086
49087         [BZ #11979]
49088         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49089         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49090
49091 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49092
49093         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49094         * sysdeps/x86_64/addmul_1.S: Likewise.
49095         * sysdeps/x86_64/lshift.S: Likewise.
49096         * sysdeps/x86_64/mul_1.S: Likewise.
49097         * sysdeps/x86_64/rshift.S: Likewise.
49098         * sysdeps/x86_64/sub_n.S: Likewise.
49099         * sysdeps/x86_64/submul_1.S: Likewise.
49100
49101 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49102
49103         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49104         Define __sched_param instead of SCHED_* and sched_param when
49105         <bits/sched.h> is included with __need_schedparam defined.
49106         * bits/sched.h [__need_schedparam]
49107         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49108         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49109         (__defined_schedparam): Define to 1.
49110         (__sched_param): New structure, identical to sched_param.
49111         (__need_schedparam): Undefine.
49112
49113 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49114
49115         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49116         (epoll_create1): Declare.
49117
49118         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49119
49120 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49121
49122         [BZ #7066]
49123         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49124         shifting retval into place.
49125
49126 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49127
49128         * nis/rpcsvc/nis.h: Update copyright notice.
49129         * nis/rpcsvc/nis.x: Likewise.
49130         * nis/rpcsvc/nis_callback.h: Likewise.
49131         * nis/rpcsvc/nis_callback.x: Likewise.
49132         * nis/rpcsvc/nis_object.x: Likewise.
49133         * nis/rpcsvc/nis_tags.h: Likewise.
49134         * nis/rpcsvc/yp.h: Likewise.
49135         * nis/rpcsvc/yp.x: Likewise.
49136         * nis/rpcsvc/ypupd.h: Likewise.
49137         * nis/yp_xdr.c: Likewise.
49138         * nis/ypupdate_xdr.c: Likewise.
49139
49140         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49141         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49142         (pmap_getport): Use __libc_rpc_getport.
49143         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49144         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49145         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49146
49147 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49148
49149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49150         fanotify_mark.
49151
49152 2010-08-27  Roland McGrath  <roland@redhat.com>
49153
49154         * sysdeps/i386/i686/multiarch/Makefile
49155         (CFLAGS-varshift.c): New variable.
49156
49157 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49158
49159         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49160         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49161
49162         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49163
49164         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49165
49166 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49167
49168         * sysdeps/x86_64/strlen.S: Unroll the loop.
49169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49170         strlen-sse2 strlen-sse2-bsf.
49171         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49172         __strlen_no_bsf if bit_Slow_BSF is set.
49173         (__strlen_sse42): Removed.
49174         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49175         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49176
49177 2010-08-25  Roland McGrath  <roland@redhat.com>
49178
49179         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49180         * sysdeps/x86_64/multiarch/varshift.c: New file.
49181         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49182         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49183         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49184         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49185
49186 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49187
49188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49189         strlen-sse2 strlen-sse2-bsf.
49190         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49191         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49192         (__strlen_sse2): Removed.
49193         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49194         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49196         bit_Slow_BSF for Atom.
49197         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49198         (index_Slow_BSF): Define.
49199         (HAS_SLOW_BSF): Define.
49200
49201 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49202
49203         [BZ #10851]
49204         * resolv/res_init.c (__res_vinit): When no server address at all
49205         is given default to loopback.
49206
49207 2010-08-24  Roland McGrath  <roland@redhat.com>
49208
49209         * configure.in: Remove config-name.h generation.
49210         * configure: Regenerated.
49211         * config-name.in: File removed.
49212         * scripts/config-uname.sh: New file.
49213         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49214         ($(objdir)config-name.h): New target.
49215
49216         * sunrpc/rpc_parse.h: Avoid nested comment.
49217
49218 2010-08-24  Richard Henderson  <rth@redhat.com>
49219             Ulrich Drepper  <drepper@redhat.com>
49220             H.J. Lu  <hongjiu.lu@intel.com>
49221
49222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49224         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49225         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49226         _mm_alignr_epi8 with _mm_loadu_si128.
49227         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49228         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49229         (__m128i_shift_right): Removed.
49230         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49231         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49232         * sysdeps/x86_64/multiarch/varshift.h: New file.
49233         * sysdeps/x86_64/multiarch/varshift.S: New file.
49234
49235 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49236
49237         * configure.in: Move assembler checks to before sysdep dir checking.
49238
49239 2010-08-20  Petr Baudis  <pasky@suse.cz>
49240
49241         * LICENSES: Sync the sunrpc license.
49242
49243 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49244
49245         * sunrpc/auth_des.c: Update copyright notice once again.
49246         * sunrpc/auth_none.c: Likewise.
49247         * sunrpc/auth_unix.c: Likewise.
49248         * sunrpc/authdes_prot.c: Likewise.
49249         * sunrpc/authuxprot.c: Likewise.
49250         * sunrpc/bindrsvprt.c: Likewise.
49251         * sunrpc/clnt_gen.c: Likewise.
49252         * sunrpc/clnt_perr.c: Likewise.
49253         * sunrpc/clnt_raw.c: Likewise.
49254         * sunrpc/clnt_simp.c: Likewise.
49255         * sunrpc/clnt_tcp.c: Likewise.
49256         * sunrpc/clnt_udp.c: Likewise.
49257         * sunrpc/clnt_unix.c: Likewise.
49258         * sunrpc/des_crypt.c: Likewise.
49259         * sunrpc/des_soft.c: Likewise.
49260         * sunrpc/get_myaddr.c: Likewise.
49261         * sunrpc/getrpcport.c: Likewise.
49262         * sunrpc/key_call.c: Likewise.
49263         * sunrpc/key_prot.c: Likewise.
49264         * sunrpc/openchild.c: Likewise.
49265         * sunrpc/pm_getmaps.c: Likewise.
49266         * sunrpc/pm_getport.c: Likewise.
49267         * sunrpc/pmap_clnt.c: Likewise.
49268         * sunrpc/pmap_prot.c: Likewise.
49269         * sunrpc/pmap_prot2.c: Likewise.
49270         * sunrpc/pmap_rmt.c: Likewise.
49271         * sunrpc/rpc/auth.h: Likewise.
49272         * sunrpc/rpc/auth_unix.h: Likewise.
49273         * sunrpc/rpc/clnt.h: Likewise.
49274         * sunrpc/rpc/des_crypt.h: Likewise.
49275         * sunrpc/rpc/key_prot.h: Likewise.
49276         * sunrpc/rpc/netdb.h: Likewise.
49277         * sunrpc/rpc/pmap_clnt.h: Likewise.
49278         * sunrpc/rpc/pmap_prot.h: Likewise.
49279         * sunrpc/rpc/pmap_rmt.h: Likewise.
49280         * sunrpc/rpc/rpc.h: Likewise.
49281         * sunrpc/rpc/rpc_des.h: Likewise.
49282         * sunrpc/rpc/rpc_msg.h: Likewise.
49283         * sunrpc/rpc/svc.h: Likewise.
49284         * sunrpc/rpc/svc_auth.h: Likewise.
49285         * sunrpc/rpc/types.h: Likewise.
49286         * sunrpc/rpc/xdr.h: Likewise.
49287         * sunrpc/rpc_clntout.c: Likewise.
49288         * sunrpc/rpc_cmsg.c: Likewise.
49289         * sunrpc/rpc_common.c: Likewise.
49290         * sunrpc/rpc_cout.c: Likewise.
49291         * sunrpc/rpc_dtable.c: Likewise.
49292         * sunrpc/rpc_hout.c: Likewise.
49293         * sunrpc/rpc_main.c: Likewise.
49294         * sunrpc/rpc_parse.c: Likewise.
49295         * sunrpc/rpc_parse.h: Likewise.
49296         * sunrpc/rpc_prot.c: Likewise.
49297         * sunrpc/rpc_sample.c: Likewise.
49298         * sunrpc/rpc_scan.c: Likewise.
49299         * sunrpc/rpc_scan.h: Likewise.
49300         * sunrpc/rpc_svcout.c: Likewise.
49301         * sunrpc/rpc_tblout.c: Likewise.
49302         * sunrpc/rpc_util.c: Likewise.
49303         * sunrpc/rpc_util.h: Likewise.
49304         * sunrpc/rpcinfo.c: Likewise.
49305         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49306         * sunrpc/rpcsvc/key_prot.x: Likewise.
49307         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49308         * sunrpc/rpcsvc/mount.x: Likewise.
49309         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49310         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49311         * sunrpc/rpcsvc/rex.x: Likewise.
49312         * sunrpc/rpcsvc/rstat.x: Likewise.
49313         * sunrpc/rpcsvc/rusers.x: Likewise.
49314         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49315         * sunrpc/rpcsvc/spray.x: Likewise.
49316         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49317         * sunrpc/rtime.c: Likewise.
49318         * sunrpc/svc.c: Likewise.
49319         * sunrpc/svc_auth.c: Likewise.
49320         * sunrpc/svc_authux.c: Likewise.
49321         * sunrpc/svc_raw.c: Likewise.
49322         * sunrpc/svc_run.c: Likewise.
49323         * sunrpc/svc_simple.c: Likewise.
49324         * sunrpc/svc_tcp.c: Likewise.
49325         * sunrpc/svc_udp.c: Likewise.
49326         * sunrpc/svc_unix.c: Likewise.
49327         * sunrpc/svcauth_des.c: Likewise.
49328         * sunrpc/xcrypt.c: Likewise.
49329         * sunrpc/xdr.c: Likewise.
49330         * sunrpc/xdr_array.c: Likewise.
49331         * sunrpc/xdr_float.c: Likewise.
49332         * sunrpc/xdr_mem.c: Likewise.
49333         * sunrpc/xdr_rec.c: Likewise.
49334         * sunrpc/xdr_ref.c: Likewise.
49335         * sunrpc/xdr_sizeof.c: Likewise.
49336         * sunrpc/xdr_stdio.c: Likewise.
49337
49338         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49339         handling.
49340
49341 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49342
49343         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49344
49345 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49346
49347         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49348         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49349         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49350         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49351         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49352         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49353         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49354         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49355         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49356         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49357         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49358         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49359         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49360         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49361
49362 2010-07-26  Anton Blanchard  <anton@samba.org>
49363
49364         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49365         * malloc/arena.c (heap_trim): Likewise.
49366
49367 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49368
49369         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49370         here.  Not...
49371         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49372         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49373
49374 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49375
49376         * sysdeps/i386/elf/Makefile: New file.
49377
49378 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49379
49380         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49381         from fanotify_init.
49382         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49383         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49384
49385 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49386
49387         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49388         of strncasecmp_l.
49389         * sysdeps/multiarch/strcmp.S: Likewise.
49390
49391 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49392
49393         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49394         strncase_l-nonascii.
49395         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49396         Add strncase_l-ssse3.
49397         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49398         * sysdeps/x86_64/strcmp.S: Likewise.
49399         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49400         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49401         * sysdeps/x86_64/strncase.S: New file.
49402         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49403         * sysdeps/x86_64/strncase_l.S: New file.
49404         * string/Makefile (strop-tests): Add strncasecmp.
49405         * string/test-strncasecmp.c: New file.
49406
49407         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49408         warning.
49409
49410         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49411         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49412
49413 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49414
49415         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49416
49417 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49418
49419         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49420         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49421         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49422
49423 2010-05-01  Alan Modra  <amodra@gmail.com>
49424
49425         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49426         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49427         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49428         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49429         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49430         tidying.  Don't tail-call __sigjmp_save for static lib.
49431         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49432         save location.
49433         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49434         (CALL_MCOUNT): Add eh info, and nop after bl.
49435         (TAIL_CALL_SYSCALL_ERROR): New macro.
49436         (PSEUDO_RET): Use it.
49437         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49438         Correct save location of integer regs and cr.
49439         (_dl_profile_resolve): Correct cr save location.  Delete nops
49440         after bl when SHARED.  Reduce cfi size a little by better
49441         placement of cfi directives.
49442         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49443         make a stack frame.  Instead use parm save area as a temp.
49444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49445         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49447         Don't make a stack frame for parent, use parm save area.
49448         Increase child stack frame to 112 bytes.  Don't save unused reg,
49449         and adjust reg usage.  Set up cfi on error recovery and
49450         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49452         (__makecontext): Add dummy nop after jump to exit.
49453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49454         Use correct parm save area and cr save, reduce stack frame.
49455         Correct cfi for possible PSEUDO_RET frame setup.
49456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49457         Branch to local label emitted by PSEUDO_RET rather than
49458         __syscall_error.
49459
49460 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49461
49462         [BZ #11904]
49463         * locale/programs/locale.c (print_assignment): New function.
49464         (show_locale_vars): Use it.
49465
49466 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49467
49468         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49469         field.
49470         (struct statfs64): Likewise.
49471         (_STATFS_F_FLAGS): Define.
49472         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49473         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49474         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49475         (ST_VALID): Define locally.
49476         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49477         __statvfs_getflags, use the provided value.
49478         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49479         __ASSUME_STATFS_F_FLAGS.
49480
49481         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49482
49483         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49484         Add sys/fanotify.h.
49485         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49486         fanotify_mask for GLIBC_2.13.
49487         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49488         fanotify_init and fanotify_mark.
49489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49490         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49491
49492         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49493         Add prlimit.
49494         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49495         prlimit64 for GLIBC_2.13.
49496         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49497         prlimit64.
49498         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49499         syscall.
49500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49501         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49502         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49503         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49504         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49505         add prlimit alias.
49506         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49507
49508         [BZ #11903]
49509         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49510         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49511
49512         * nss/Makefile: Add rules to build and run tst-nss-test1.
49513         * shlib-versions: Add entry for libnss_test1.
49514         * nss/nss_test1.c: New file.
49515         * nss/tst-nss-test1.c: New file.
49516
49517         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49518         (__nss_configure_lookup): Set appropriate entry in
49519         __nss_configure_lookup to true.
49520         * nss/nsswitch.h: Define enum with indeces of databases in
49521         databases and __nss_database_custom arrays.  Declare
49522         __nss_database_custom.
49523         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49524         to avoid using nscd when custom rules are installed.
49525         * nss/getXXbyYY_r.c: Likewise.
49526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49527
49528         * nss/nss_files/files-parse.c: Whitespace fixes.
49529
49530 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49531
49532         [BZ #11883]
49533         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49534         * posix/fnmatch_loop.c: Likewise.
49535
49536 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49537
49538         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49539         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49540         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49541         * Versions.def [GLIBC_2.13]: Add.
49542
49543 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49544
49545         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49546         Also fail if tpwd after pwuid call is NULL.
49547
49548 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49549
49550         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49551         when converting to ms.
49552
49553 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49554
49555         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49556         EOPNOTSUPP errors with ENOTTY.
49557         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49558         EOPNOTSUPP errors with ENOTTY.
49559
49560 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49561
49562         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49563         Add strcasecmp_l-ssse3.
49564         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49565         strcasecmp.
49566         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49567         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49568         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49569
49570 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49571
49572         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49573
49574         * string/Makefile (strop-tests): Add strcasecmp.
49575         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49576         strcasecmp_l-nonascii.
49577         (gen-as-const-headers): Add locale-defines.sym.
49578         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49579         * sysdeps/x86_64/strcasecmp.S: New file.
49580         * sysdeps/x86_64/strcasecmp_l.S: New file.
49581         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49582         * sysdeps/x86_64/locale-defines.sym: New file.
49583         * string/test-strcasecmp.c: New file.
49584
49585         * string/test-strcasestr.c: Test both ends of the range of characters.
49586         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49587
49588 2010-07-29  Roland McGrath  <roland@redhat.com>
49589
49590         [BZ #11856]
49591         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49592
49593 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49594
49595         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49596         for ld.so.
49597
49598 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49599
49600         * manual/memory.texi (Malloc Tunable Parameters): Document
49601         M_PERTURB.
49602
49603 2010-07-26  Roland McGrath  <roland@redhat.com>
49604
49605         [BZ #11840]
49606         * configure.in (-fgnu89-inline check): Set and substitute
49607         gnu89_inline, not libc_cv_gnu89_inline.
49608         * configure: Regenerated.
49609         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49610
49611 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49612
49613         * string/test-strnlen.c: New file.
49614         * string/Makefile (strop-tests): Add strnlen.
49615         * string/tester.c (test_strnlen): Add a few more test cases.
49616         * string/tst-strlen.c: Better error reporting.
49617
49618         * sysdeps/x86_64/strnlen.S: New file.
49619
49620 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49621
49622         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49623         lower-latency instructions.
49624
49625 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49626
49627         * string/test-strcasestr.c: New file.
49628         * string/test-strstr.c: New file.
49629         * string/Makefile (strop-tests): Add strstr and strcasestr.
49630         * string/str-two-way.h: Don't undefine MAX.
49631         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49632
49633 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49634
49635         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49636         strcasestr-nonascii.
49637         (CFLAGS-strcasestr-nonascii.c): Define.
49638         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49639         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49640         Remove unused attribute.
49641
49642 2010-07-20  Roland McGrath  <roland@redhat.com>
49643
49644         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49645         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49646         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49647         like LD_HWCAP_MASK can disable hwcaps.
49648
49649 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49650
49651         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49652
49653 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49654
49655         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49656         call in strcasestr.
49657         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49658         __strcasestr_sse42_nonascii.
49659         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49660         strcasestr-nonascii.c.
49661         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49662
49663 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49664
49665         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49666         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49667         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49668         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49669
49670 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49671
49672         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49673         fcntl.
49674
49675 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49676
49677         [BZ #11577]
49678         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49679         dl_signal_cerror.
49680
49681 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49682
49683         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49684         _PC_PIPE_BUF using F_GETPIPE_SZ.
49685
49686 2010-07-05  Roland McGrath  <roland@redhat.com>
49687
49688         * manual/arith.texi (Rounding Functions): Fix rint description
49689         implicit in round description.
49690
49691 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49692
49693         * elf/Makefile: Fix linking for a few tests to make recent linker
49694         happy.
49695
49696 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49697
49698         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49699         $(common-objpfx)libc_nonshared.a.
49700
49701 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49702
49703         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49704         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49705         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49706         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49707         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49708         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49709         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49710         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49725         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49726         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49727         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49728         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49729         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49730         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49731         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49732         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49733         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49734         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49735         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49736         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49751
49752 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49753
49754         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49755         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49756         * string/memmove.c (memmove): Renamed to ...
49757         (MEMMOVE): ...this.  Default to memmove.
49758         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49759         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49760         (END_CHK): Define.
49761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49762         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49763         mempcpy-ssse3-back memmove-ssse3-back.
49764         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49765         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49766         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49767         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49768         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49769         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49770         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49771         * sysdeps/x86_64/multiarch/memmove.c: New file.
49772         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49773         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49774         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49775         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49776         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49777         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49778         Define.
49779         (index_Fast_Copy_Backward): Define.
49780         (HAS_ARCH_FEATURE): Define.
49781         (HAS_FAST_REP_STRING): Define.
49782         (HAS_FAST_COPY_BACKWARD): Define.
49783
49784 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49785
49786         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49787         Restore proper fallback handling.
49788
49789 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49790
49791         [BZ #11701]
49792         * posix/group_member.c (__group_member): Correct checking loop.
49793
49794         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49795         OOM in getpwuid_r correctly.  Return error number when the caller
49796         should return, otherwise -1.
49797         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49798         call returning > 0 value.
49799         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49800
49801 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49802
49803         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49804         libc_nonshared.a from targets in modules-names.
49805
49806 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49807
49808         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49809         requires it.
49810
49811 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49812
49813         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49814         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49815         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49816         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49817
49818 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49819
49820         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49821
49822 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49823
49824         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49825         and F_GETPIPE_SZ.
49826         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49827         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49829         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49830         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49831         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49832
49833 2010-06-14  Roland McGrath  <roland@redhat.com>
49834
49835         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49836
49837 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49838
49839         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49840         __REDIRECT followed by __THROW.
49841         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49842         * posix/getopt.h (getopt): Likewise.
49843
49844 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49845
49846         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49847         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49848         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49849         in AT_FLAGS.
49850         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49851         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49852
49853 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49854
49855         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49856
49857 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49858
49859         [BZ #11640]
49860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49861         Properly check family and model.
49862
49863 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49864
49865         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49866
49867 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49868
49869         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49870
49871 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49872
49873         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49874         symbol reference.
49875
49876 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49877
49878         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49879         symbol reference.
49880
49881 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49882
49883         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49884         and internal_recvmmsg.
49885         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49886         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49887         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49888         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49889
49890         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49891         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49892         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49893
49894 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49895
49896         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49897
49898 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49899
49900         POWER7 optimizations.
49901         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49902         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49903
49904 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49905
49906         * version.h: Update for 2.13 development version.
49907
49908 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49909
49910         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49911         exceptions.  Return 0.
49912
49913 2010-05-07  Roland McGrath  <roland@redhat.com>
49914
49915         * elf/ldconfig.c (main): Add a const.
49916
49917 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49918
49919         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49920         (args_options): Add no-idn option.
49921         (ahosts_keys_int): Add idn_flags to ai_flags.
49922         (parse_option): Handle 'i' option to clear idn_flags.
49923
49924         * malloc/malloc.c (_int_free): Possible race in the most recently
49925         added check.  Only act on the data if no current modification
49926         happened.
49927
49928 See ChangeLog.17 for earlier changes.